httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos _ <sigb...@gmail.com>
Subject Re: [users@httpd] httpd.conf: Invalid argument
Date Thu, 24 Jun 2010 06:41:13 GMT
This is the output from httpd -V

Server version: /0.0.0 (Unix)
Server built:   Jun 17 2010 08:49:51
Server's Module Magic Number: 20051115:23
Server loaded:  APR 1.3.7, APR-Util 1.3.8
Compiled using: APR 1.3.7, APR-Util 1.3.8
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


2010/6/24 Carlos _ <sigbert@gmail.com>

> 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@gmail.com>
>
> 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@jaqui-greenlees.net>
>>
>> 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@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>
>

Mime
View raw message