logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: cgid daemon failed to initialize upgrade 2.2->2.4
Author
gursoz



Joined: 13 Aug 2015
Posts: 4

PostPosted: Thu 03 Sep '15 22:17    Post subject: cgid daemon failed to initialize upgrade 2.2->2.4 Reply with quote

Hi,
Upgraded successfully from 2.2 to 2.4 apart from the following failure.

"cgid daemon failed to initialize".

The full error_log msg (with trace8) is
===============
[Thu Sep 03 20:53:17.442583 2015] [core:notice] [pid 26616:tid 140360572372928] AH00094: Command line: '/nas/sbin/httpd -D HAVE_SSL -D HAVE_PERL -D NODETACH -f /nas/http/conf/httpd.conf'
[Thu Sep 03 20:53:17.446343 2015] [mpm_worker:debug] [pid 26616:tid 140360572372928] worker.c(1829): AH00294: Accept mutex: pthread (default: pthread)
[Thu Sep 03 20:53:17.453740 2015] [proxy:debug] [pid 26619:tid 140360572372928] proxy_util.c(1771): AH00925: initializing worker https://localhost:5989/ shared
[Thu Sep 03 20:53:17.453780 2015] [cgid:crit] [pid 26616:tid 140360572372928] AH01238: cgid daemon failed to initialize
===============

The related configuration is

<IfModule mod_cgid.c>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
Scriptsock run/httpd.cgid
</IfModule>


And,
<IfModule worker.c>
LoadModule cgid_module modules-worker/mod_cgid.so
</IfModule>

Thanks in advance for any help.

Amit.
Back to top
gursoz



Joined: 13 Aug 2015
Posts: 4

PostPosted: Fri 04 Sep '15 0:10    Post subject: problem resolved Reply with quote

Had to change Scriptsock pathname

<IfModule mod_cgid.c>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
Scriptsock run/httpd.cgid
</IfModule>
Back to top


Reply to topic   Topic: cgid daemon failed to initialize upgrade 2.2->2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Apache