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:
[EMAIL PROTECTED] ~]# /usr/sbin/apachectl -v
[EMAIL PROTECTED] ~]# /usr/sbin/apachectl -V
[EMAIL PROTECTED] ~]# /usr/sbin/apachectl help
[EMAIL PROTECTED] ~]# /usr/sbin/httpd -v
[EMAIL PROTECTED] ~]# /usr/sbin/httpd -V
[EMAIL PROTECTED] ~]# /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.

[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]#
"

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
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Sander Temme
[EMAIL PROTECTED]
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



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

Reply via email to