On 12/28/19 2:57 PM, Michael Rasmussen wrote:
On 2019-12-28 09:20, Dick Steffens wrote:
I run Apache on my Xubuntu 18.04 machine. This morning it isn't
working. Looking for answers on the Internet gave me an instruction
for checking the status of Apache:

$ sudo systemctl status apache2
[sudo] password for rsteff:
Unit apache2.service could not be found.

Where do I start looking for why this is the case, and how to fix it?

First, check to see if it is running:
  ps ax | grep http
or
  ps ax | grep apache

Does one of them show up?
ps ax | grep http
 2511 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-http --spawner :1.22 /org/gtk/gvfs/exec_spaw/1

ps ax | grep apache
 4553 pts/0    S+     0:00 grep --color=auto apache



If not:

You might try:
  sudo systemctl status apache
or
  sudo systejctl status httpd

Report back on these.


$ sudo systemctl status apache
[sudo] password for rsteff:
Unit apache.service could not be found.

$ sudo systejctl status httpd
sudo: systejctl: command not found


From what I understand -- admittedly not a lot -- apache of some flavor is missing in action. Should I just reinstall apache? If I do, do I need to copy my www directory first?

BTW, I have not lost apache on my laptop. Same OS and version.

--
Regards,

Dick Steffens


_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to