You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Carlos _ <si...@gmail.com> on 2010/07/12 13:15:52 UTC

Re: [users@httpd] httpd.conf: Invalid argument

Hi Eric, i Executed

apachectl -X -f /opt/jakarta/apache2/conf/httpd.conf

and the output is the same
"httpd: Could not open configuration file
/opt/jakarta/apache2/conf/httpd.conf: Invalid argument"

I don't see EINVAL

2010/6/30 Eric Covener <co...@gmail.com>

> On Wed, Jun 30, 2010 at 6:12 AM, Carlos _ <si...@gmail.com> wrote:
> > Someone knows where is the problem??
>
> try starting apache via apachectl -X under strace -f, you should see
> something set errno to EINVAL. Post some context to a pastebin and
> followup to the list.
>
>
> --
> Eric Covener
> covener@gmail.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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] httpd.conf: Invalid argument

Posted by Carlos _ <si...@gmail.com>.
Hi Eric, and how can I resolve this? I need to install apache in that
machine
2010/7/12 Eric Covener <co...@gmail.com>

> On Mon, Jul 12, 2010 at 7:15 AM, Carlos _ <si...@gmail.com> wrote:
> > Hi Eric, i Executed
> >
> > apachectl -X -f /opt/jakarta/apache2/conf/httpd.conf
> >
> > and the output is the same
> > "httpd: Could not open configuration file
> > /opt/jakarta/apache2/conf/httpd.conf: Invalid argument"
> >
> > I don't see EINVAL
>
> Seems like you missed the operative part, strace.
>
> >> try starting apache via apachectl -X under strace -f, you should see
>
>
>
> --
> Eric Covener
> covener@gmail.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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] httpd.conf: Invalid argument

Posted by Eric Covener <co...@gmail.com>.
On Mon, Jul 12, 2010 at 7:15 AM, Carlos _ <si...@gmail.com> wrote:
> Hi Eric, i Executed
>
> apachectl -X -f /opt/jakarta/apache2/conf/httpd.conf
>
> and the output is the same
> "httpd: Could not open configuration file
> /opt/jakarta/apache2/conf/httpd.conf: Invalid argument"
>
> I don't see EINVAL

Seems like you missed the operative part, strace.

>> try starting apache via apachectl -X under strace -f, you should see



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