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

Re: mpm-itk and mod_fcgid



2013/7/28 AZ 9901 <az9901@gmail.com>:
> Hello all,
>
> I run into troubles using mod_fcgid (for PHP) and mpm-itk together.
> I use Debian stable version / Apache 2.2.22.
>
> As soon as I add the ITK directive "AssignUserID" to my vhost, specifying a different user than the global Apache one, mod_fcgid fails returning the following error :
> [Sun Jul 28 15:09:37 2013] [emerg] [client x.x.x.x] (13)Permission denied: mod_fcgid: can't lock process table in pid 1973
>
> I noted that the socket file is created with permissions 700.
> So, as a test, I tried the following, in fcgid_proc_unix.c, I replaced :
>    rv = apr_file_perms_set(unix_addr.sun_path,
>                            APR_FPROT_UREAD|APR_FPROT_UWRITE|APR_FPROT_UEXECUTE);
> by :
>    rv = apr_file_perms_set(unix_addr.sun_path,
>                            APR_FPROT_UREAD|APR_FPROT_UWRITE|APR_FPROT_UEXECUTE|APR_FPROT_GREAD|APR_FPROT_GWRITE|APR_FPROT_GEXECUTE|APR_FPROT_WREAD|APR_FPROT_WWRITE|APR_FPROT_WEXECUTE);
>
> The socket is then created with 777 permissions, but it does not solve the issue.
>
> Certainly that the issue is somewhere else, perhaps Apache tries to instance mod_fcgid with global Apache user instead of ITK defined user.
>
> Could you help me with that ?
> Perhaps a patch already exists ?

Hello,

I also tested with unstable (SID) packages / Apache 2.4.6, same issue.
Do I need to open a bug report ?
Into ApacheSF Bugzilla ?
https://issues.apache.org/bugzilla/
To Debian Apache ?
http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=apache2
To Debian mod-fcgid ?
http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=libapache2-mod-fcgid

Thank you very much !

Best regards,

Ben


Reply to: