Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@rex:~$ sudo /etc/init.d/apache2 stop
- [ ok ] Stopping apache2 (via systemctl): apache2.service.
- user@rex:~$ ps -ef | grep httpd
- user 1855 1642 0 16:03 pts/0 00:00:00 grep --color=auto httpd
- user@rex:~$ sudo /etc/init.d/apache2 status
- β apache2.service - LSB: Apache2 web server
- Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
- Drop-In: /lib/systemd/system/apache2.service.d
- ββapache2-systemd.conf
- Active: inactive (dead) since Thu 2017-01-19 16:03:20 CET; 44s ago
- Docs: man:systemd-sysv-generator(8)
- Process: 1785 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
- Process: 1768 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
- Jan 19 16:03:20 rex apache2[1768]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
- Jan 19 16:03:20 rex apache2[1768]: no listening sockets available, shutting down
- Jan 19 16:03:20 rex apache2[1768]: AH00015: Unable to open logs
- Jan 19 16:03:20 rex apache2[1768]: Action 'start' failed.
- Jan 19 16:03:20 rex apache2[1768]: The Apache error log may have more information.
- Jan 19 16:03:20 rex apache2[1768]: *
- Jan 19 16:03:20 rex apache2[1785]: * Stopping Apache httpd web server apache2
- Jan 19 16:03:20 rex apache2[1785]: *
- Jan 19 16:03:20 rex systemd[1]: Started LSB: Apache2 web server.
- Jan 19 16:03:46 rex systemd[1]: Stopped LSB: Apache2 web server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement