httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Taylor <>
Subject Re: [users@httpd] Apache httpd with custom module does not start when I am not running is root
Date Wed, 14 Mar 2012 06:12:09 GMT
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:
For additional commands, e-mail:

View raw message