Re: [users@httpd] httpd.conf Invalid Argument
On Wed, Jun 13, 2018 at 4:40 PM Vandana Sakamuri 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-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] httpd.conf Invalid Argument
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 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", 044000) Err#22 EINVAL > > > > On a good server, it shows > > > > kopen("/usr/local/etc/httpd/conf/httpd.conf", 044000) = 3 > > > > Any help is appreciated. > > > > Thanks! > > > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >
Re: [users@httpd] httpd.conf Invalid Argument
On Tue, Jun 12, 2018 at 5:17 PM 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 Seems likely that you didn't compile it on a sufficiently old maintenance release of the OS. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] httpd.conf Invalid Argument
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", 044000) Err#22 EINVAL > > On a good server, it shows > > kopen("/usr/local/etc/httpd/conf/httpd.conf", 044000) = 3 > > Any help is appreciated. > > Thanks! > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org