Re: httpd.conf Invalid Argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux