Re: [users@httpd] init.d/httpd file missing and error running apachectl

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

 



Hi All,


Hi


cmd not found,

[root@localhost ~]# apachectl -f /usr/local/apache2/conf/httpd.conf -k start
-bash: apachectl: command not found

Ehm... 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 blablabla


Although, 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



[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