Re: achectl Not Working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Nov 30, 2008, at 11:02 PM, apache123 wrote:




Sander Temme-2 wrote:


On Nov 30, 2008, at 8:20 PM, apache123 wrote:


Hi,
 I tried apachectl command on two Linux hosts where Apache HTTP
Server is
installed. The command is giving result only on one host not on the
other.

What output do you get when you run the apachectl command on the not
updated host (no. 2)?

"When I run command it returns nothing.

Commands excerpt:
[root@vm06 ~]# /usr/sbin/apachectl -v
[root@vm06 ~]# /usr/sbin/apachectl -V
[root@vm06 ~]# /usr/sbin/apachectl help
[root@vm06 ~]# /usr/sbin/httpd -v
[root@vm06 ~]# /usr/sbin/httpd -V
[root@vm06 ~]# /usr/sbin/httpd help

That is most strange: apachectl is a thin wrapper around httpd -k, and httpd should return something when invoked in this way. Could it be that it has been replaced by something that behaves differently from the way Apache does?

S.

[root@vm06 ~]# ps -ef | grep httpd
root      3950     1  0 Nov25 ?        00:00:08 /usr/sbin/httpd
apache   20564  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20565  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20568  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20570  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20572  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20574  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20576  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
apache   20578  3950  0 Nov30 ?        00:00:00 /usr/sbin/httpd
root     13888 13832  0 08:31 pts/5    00:00:00 grep httpd
[root@vm06 ~]#
"

1. Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
[ apachectl
working fine ]

2. Red Hat Enterprise Linux AS release 4 (Nahant)   [ apachectl not
working
]


S.

--
Sander Temme
sctemme@xxxxxxxxxx
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF







--
View this message in context: http://www.nabble.com/achectl-Not-Working-tp20765887p20766973.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





--
Sander Temme
sctemme@xxxxxxxxxx
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux