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 <john.ili...@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-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >