You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vandana Sakamuri <sa...@gmail.com> on 2018/06/12 21:17:19 UTC
[users@httpd] httpd.conf Invalid Argument
Hi all,
I compiled apache 2.4.27 on an AIX server and installed it on to other AIX
servers of same OS. It works on all servers except one where I see the
error "httpd: Could not open configuration file
/usr/local/etc/httpd/conf/httpd.conf: Invalid argument" when I try to start
using apachectl. The same error appears when I try httpd -M. The
configuration file exists and the permissions are correct. Any suggestions
on what might be wrong?
I did httpd -M under truss and see this
kopen("/usr/local/etc/httpd/conf/httpd.conf", 0440000000) Err#22 EINVAL
On a good server, it shows
kopen("/usr/local/etc/httpd/conf/httpd.conf", 0440000000) = 3
Any help is appreciated.
Thanks!
Re: [users@httpd] httpd.conf Invalid Argument
Posted by Eric Covener <co...@gmail.com>.
On Wed, Jun 13, 2018 at 4:40 PM Vandana Sakamuri
<sa...@gmail.com> wrote:
>
> I gave full permissions 777 to the conf file and that still did not help. I compiled it on 7.1 AIX and the error server also has AIX 7.1. Any other suggestions?
Build on 7.1.0.0 or 6.1.x. Unix only has forward compat for binaries.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] httpd.conf Invalid Argument
Posted by Vandana Sakamuri <sa...@gmail.com>.
I gave full permissions 777 to the conf file and that still did not help. I
compiled it on 7.1 AIX and the error server also has AIX 7.1. Any other
suggestions?
On Tue, Jun 12, 2018 at 6:36 PM, John <jo...@iliffe.ca> wrote:
> I'm not an AIX user but for Linux, the definition of EINVAL is:
>
> The mode provided to fopen(), fdopen(), or freopen() was invalid.
>
> The file could exist but you might be trying to open it for writing or
> appending?
>
> Regards,
>
> John
> ==========================================================
> On Tue, 2018-06-12 at 16:17 -0500, Vandana Sakamuri wrote:
> > Hi all,
> >
> > I compiled apache 2.4.27 on an AIX server and installed it on to other
> AIX
> > servers of same OS. It works on all servers except one where I see the
> error
> > "httpd: Could not open configuration file
> > /usr/local/etc/httpd/conf/httpd.conf: Invalid argument" when I try to
> start
> > using apachectl. The same error appears when I try httpd -M. The
> configuration
> > file exists and the permissions are correct. Any suggestions on what
> might be
> > wrong?
> >
> > I did httpd -M under truss and see this
> >
> > kopen("/usr/local/etc/httpd/conf/httpd.conf", 0440000000) Err#22 EINVAL
> >
> > On a good server, it shows
> >
> > kopen("/usr/local/etc/httpd/conf/httpd.conf", 0440000000) = 3
> >
> > Any help is appreciated.
> >
> > Thanks!
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] httpd.conf Invalid Argument
Posted by John <jo...@iliffe.ca>.
I'm not an AIX user but for Linux, the definition of EINVAL is:
The mode provided to fopen(), fdopen(), or freopen() was invalid.
The file could exist but you might be trying to open it for writing or
appending?
Regards,
John
==========================================================
On Tue, 2018-06-12 at 16:17 -0500, Vandana Sakamuri wrote:
> Hi all,
>
> I compiled apache 2.4.27 on an AIX server and installed it on to other AIX
> servers of same OS. It works on all servers except one where I see the error
> "httpd: Could not open configuration file
> /usr/local/etc/httpd/conf/httpd.conf: Invalid argument" when I try to start
> using apachectl. The same error appears when I try httpd -M. The configuration
> file exists and the permissions are correct. Any suggestions on what might be
> wrong?
>
> I did httpd -M under truss and see this
>
> kopen("/usr/local/etc/httpd/conf/httpd.conf", 0440000000) Err#22 EINVAL
>
> On a good server, it shows
>
> kopen("/usr/local/etc/httpd/conf/httpd.conf", 0440000000) = 3
>
> Any help is appreciated.
>
> Thanks!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-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 Tue, Jun 12, 2018 at 5:17 PM Vandana Sakamuri
<sa...@gmail.com> wrote:
>
> Hi all,
>
> I compiled apache 2.4.27 on an AIX server and installed it on to other AIX servers of same OS
Seems likely that you didn't compile it on a sufficiently old
maintenance release of the OS.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org