[opensuse] whereis apache2/httpd to be found running
(42.1) I know it's running, because my web site works as it has been working for years. Yet, none of systemctl, chkconfig, rc*, service or ps -A seem able to find anything to do with httpd or apache2. How, other than web page load success, does one examine the state of a running web server in openSUSE? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 18 Aug 2016 23:34:06 -0400 Felix Miata wrote:
(42.1) I know it's running, because my web site works as it has been working for years. Yet, none of systemctl, chkconfig, rc*, service or ps -A seem able to find anything to do with httpd or apache2. How, other than web page load success, does one examine the state of a running web server in openSUSE?
Hi Felix, So neither of these works?: # systemctl status apache2 or # apache2ctl status regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carl Hartung composed on 2016-08-18 23:42 (UTC-0400):
On Thu, 18 Aug 2016 23:34:06 -0400 Felix Miata wrote:
(42.1) I know it's running, because my web site works as it has been working for years. Yet, none of systemctl, chkconfig, rc*, service or ps -A seem able to find anything to do with httpd or apache2. How, other than web page load success, does one examine the state of a running web server in openSUSE?
Hi Felix,
So neither of these works?:
# systemctl status apache2
Works now....
or
# apache2ctl status
Error generated. Mea culpa. I was trying various commands in a user window instead of as root. :-P -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 18 Aug 2016 23:55:48 -0400 Felix Miata wrote:
Mea culpa. I was trying various commands in a user window instead of as root. :-P
Ha! That'll do it every time! ;-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata wrote:
Carl Hartung composed on 2016-08-18 23:42 (UTC-0400):
On Thu, 18 Aug 2016 23:34:06 -0400 Felix Miata wrote:
(42.1) I know it's running, because my web site works as it has been working for years. Yet, none of systemctl, chkconfig, rc*, service or ps -A seem able to find anything to do with httpd or apache2. How, other than web page load success, does one examine the state of a running web server in openSUSE?
Hi Felix,
So neither of these works?:
# systemctl status apache2
Works now....
or
# apache2ctl status
Error generated.
Mea culpa. I was trying various commands in a user window instead of as root. :-P
This would have done it too: ps axfl | grep http Your "ps -A" surely did find some "httpd2-prefork" tasks? /Per -- Per Jessen, Zürich (17.9°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen composed on 2016-08-19 08:44 (UTC+0200):
This would have done it too:
ps axfl | grep http
Your "ps -A" surely did find some "httpd2-prefork" tasks?
As user, none. As root, 11. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Felix Miata wrote:
Per Jessen composed on 2016-08-19 08:44 (UTC+0200):
This would have done it too:
ps axfl | grep http
Your "ps -A" surely did find some "httpd2-prefork" tasks?
As user, none. As root, 11.
Odd - even when running as a user, "ps -A" shows me the httpd2-prefork tasks. (on openSUSE 13.2). -- Per Jessen, Zürich (17.8°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-08-19 09:04, Per Jessen wrote:
Felix Miata wrote:
Per Jessen composed on 2016-08-19 08:44 (UTC+0200):
This would have done it too:
ps axfl | grep http
Your "ps -A" surely did find some "httpd2-prefork" tasks?
As user, none. As root, 11.
Odd - even when running as a user, "ps -A" shows me the httpd2-prefork tasks. (on openSUSE 13.2).
Same here. 13.1. Same results as root or as user. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Per Jessen composed on 2016-08-19 09:04 (UTC+0200):
Felix Miata wrote:
Per Jessen composed on 2016-08-19 08:44 (UTC+0200):
This would have done it too:
ps axfl | grep http
Your "ps -A" surely did find some "httpd2-prefork" tasks?
As user, none. As root, 11.
Odd - even when running as a user, "ps -A" shows me the httpd2-prefork tasks. (on openSUSE 13.2).
Turns out I was logged in as root after all, but in a remote login session that I forgot I had started with a LAN PC not running Apache, more fallout of that awful openSUSE-only red text root login prompt that I can hardly see on any background other than white on Konsole's yellow root session background. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Felix Miata <mrmazda@earthlink.net>:
Carl Hartung composed on 2016-08-18 23:42 (UTC-0400):
On Thu, 18 Aug 2016 23:34:06 -0400 Felix Miata wrote:
(42.1) I know it's running, because my web site works as it has been working for years. Yet, none of systemctl, chkconfig, rc*, service or ps -A seem able to find anything to do with httpd or apache2. How, other than web page load success, does one examine the state of a running web server in openSUSE?
Hi Felix,
So neither of these works?:
# systemctl status apache2
Works now....
or
# apache2ctl status
Error generated.
Mea culpa. I was trying various commands in a user window instead of as root. :-P
Nearly twenty years ago another programmer showed me the trick of having root and user windows colored differently. Root terminals is white text on a black background. User terminals are black on white. Of course, this only applies to CLI apps. I don't do much as root with GUI apps. Also editor sessions (emacs in my case). I have not made the root/user mistake since. HTH, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Carl Hartung
-
Carlos E. R.
-
Felix Miata
-
Jeffrey L. Taylor
-
Per Jessen