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

Reply via email to