Salut,
j'ai un VPS qui tourne avec Ubuntu 18.04 64bits. je l'ai configuré avec Virtualmin. Dépuis 3 jours je n'arrive pas à démarrer le serveur apache et mysql.
Voici les messages d'erreur que j'ai lorsque je te tente de les démarrer :
- MySql
j'ai un VPS qui tourne avec Ubuntu 18.04 64bits. je l'ai configuré avec Virtualmin. Dépuis 3 jours je n'arrive pas à démarrer le serveur apache et mysql.
Voici les messages d'erreur que j'ai lorsque je te tente de les démarrer :
- MySql
root@vps44369637:~# sudo systemctl restart mysql.service
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
root@vps44369637:~# systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-02-17 11:36:47 UTC; 21s ago
Process: 24539 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 24530 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Feb 17 11:36:47 vps44369637.local systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Feb 17 11:36:47 vps44369637.local systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Feb 17 11:36:47 vps44369637.local systemd[1]: Stopped MySQL Community Server.
Feb 17 11:36:47 vps44369637.local systemd[1]: mysql.service: Start request repeated too quickly.
Feb 17 11:36:47 vps44369637.local systemd[1]: mysql.service: Failed with result 'exit-code'.
Feb 17 11:36:47 vps44369637.local systemd[1]: Failed to start MySQL Community Server.
root@vps44369637:~#
- Apache
root@vps44369637:~# sudo systemctl restart apache2.service
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
root@vps44369637:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Mon 2020-02-17 11:50:24 UTC; 6s ago
Process: 26414 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Feb 17 11:50:23 vps44369637.local apachectl[26414]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log
Feb 17 11:50:23 vps44369637.local apachectl[26414]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/virtualmin/' for error log of vhost defined at /etc/apache2/sites-enabled/webmin.1580822682.conf:1
Feb 17 11:50:23 vps44369637.local apachectl[26414]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/virtualmin/' for error log of vhost defined at /etc/apache2/sites-enabled/setrag-info.com.conf:60
Feb 17 11:50:23 vps44369637.local apachectl[26414]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/virtualmin/' for error log of vhost defined at /etc/apache2/sites-enabled/setrag-info.com.conf:1
Feb 17 11:50:23 vps44369637.local apachectl[26414]: AH00014: Configuration check failed
Feb 17 11:50:23 vps44369637.local apachectl[26414]: Action 'start' failed.
Feb 17 11:50:23 vps44369637.local apachectl[26414]: The Apache error log may have more information.
Feb 17 11:50:24 vps44369637.local systemd[1]: apache2.service: Control process exited, code=exited status=1
Feb 17 11:50:24 vps44369637.local systemd[1]: apache2.service: Failed with result 'exit-code'.
Feb 17 11:50:24 vps44369637.local systemd[1]: Failed to start The Apache HTTP Server.
root@vps44369637:~#
Merci d'avance pour votre aide 