Ivan Barrera A. wrote:
Hi All,Hicmd not found,[root@localhost ~]# apachectl -f /usr/local/apache2/conf/httpd.conf -k start-bash: apachectl: command not foundEhm... you dont have apachectl on your path.You must add the path to the apache bin to your env path, or just point the full pathname.. i.e. /usr/local/apache2/bin/apachectl -f blablablaAlthough, logically, I don't think it has anything to do with the httpd.conf file. Looking at it, it hasn't even opened it yet, simply because it doesn't know where it is, based on it saying it's not in the apache dir, which doesn't even exist on the machine..lol..corrupt server perhaps..? Cheers.Nope.. In this case, the binary isn't loading. So, the config files arent being read yet.P.S. ServerRoot points to the apache2 dir, as it should. Mark Sargent. ---------------------------------------------------------------------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---------------------------------------------------------------------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
Hi All,thanx, yes, with the full path, it loads, but, why is it trying to find httpd.conf in a dir that doesn't exist, and has never ever existed on this machine..? Rather curious. Cheers.
Mark Sargent. --------------------------------------------------------------------- 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