Re: httpd.conf: Invalid argument

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

 



Hi, i have checked the file and there are no changes. I tried to put another httpd.conf compiled in another machine and the error is the same
httpd: Could not open configuration file /usr/local/apache2/conf/httpd.conf: Invalid argument

Someone can help me with this error.

When i execute uname -a this is the output

Linux {machine}1 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

When i execute file httpd this is the output

httpd: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

Thanks


2010/6/21 Carlos _ <sigbert@xxxxxxxxx>
Hi, i have checked permissions and they are ok,  the sintax of the file i think is ok. About the default httpd.conf i only make two changes
Listen --> 80 to 7000
User and Group --> nobody to myuser.

I compiled Apache with the option --prefix, it's the one option i have used
They aren't logs and the error isn't like other error about Syntax Error



2010/6/20 J. Greenlees <lists@xxxxxxxxxxxxxxxxxxx>

Carlos _ wrote:
I am working with Apache v2.2.6 and with v2.2.12, but when i try to start
Apache i receive de next error message:
httpd: Could not open configuration file /usr/local/apache2.2/conf/
httpd.conf: Invalid argument, the file exists and have permissions,

The SO is Linux x86_64 x86_64 x86_64 GNU/Linux,

Someone can tell me where is the error with Apache??

Thanks

/usr/local/apache2/conf/httpd.conf?
usually it's in /ect/httpd/conf/

permissions have to allow httpd to access the conf file for /usr and for /usr/local and for /usr/local/apache2 and for /usr/local/apache2/conf

one of those folders isn't readable by the server.


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