τα στοιχεία επικοινωνίας μου
Ταχυδρομείο[email protected]
2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Στο διακομιστή linux όταν πρόκειται να κλείσω την εφαρμογή Java, λαμβάνω το ακόλουθο σφάλμα:
- [root@VM-32-25-centos ~]# service eposGatewayService stop
- Application is running as root (UID 0). This is considered insecure.
- Unable to kill process 7080
Εάν δεν θέλετε να επανεκκινήσετε τον κεντρικό υπολογιστή, μπορείτε να δοκιμάσετε τις ακόλουθες μεθόδους για να λύσετε αυτό το πρόβλημα:
1. Ελέγξτε την κατάσταση της διαδικασίας ps aux | grep eposGatewayService
- [root@VM-32-25-centos ~]# ps aux | grep eposGatewayService
- root 28217 0.0 0.0 112812 964 pts/0 S+ 15:09 0:00 grep --color=auto eposGatewayService
2. Επεξεργαστείτε με μη αυτόματο τρόπο τη διαδικασία sudo kill -9 7080
- [root@VM-32-25-centos ~]# sudo kill -9 7080
- [root@VM-32-25-centos ~]# service eposGatewayService stop
- Application is running as root (UID 0). This is considered insecure.
- Not running (process 7080). Removing stale pid file.
- [root@VM-32-25-centos ~]# service eposGatewayService start
- Application is running as root (UID 0). This is considered insecure.
- Started [28643]
Κρίνοντας από τα παραπάνω αποτελέσματα τρεξίματος, είναι εντάξει