Re: Apache httpd with custom module does not start when I am not running is root

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

 



On Tuesday, March 13, 2012 11:01:51 PM, Abhi Auradkar wrote:
>
> All,
>
>
> I have apache httpd 2.2.21. I load a custom module into it.
> When this is done I always need to be a root or sudo to start apache
> process.
>
> If I run apache as any other user the command 'httpd -k start' never
> returns to prompt.
> If I comment the LoadModule for my module apache starts fine even if I
> am not root.
>
> Any pointers why is this so. Am doing something wrong while building
> my module?
> I use apxs to compile the module.
>
> Appreciate your help!!
>

If you run strace when starting apache it might give you an idea of what
is going on.
Anything in the error logs?
Apache needs to be root to bind to any port <1024.  Are you running
apache on port
higher then that? Is your module trying to bind to a port also?

---------------------------------------------------------------------
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