Results 1 to 25 of 30
-
06-22-2012, 10:23 PM #1Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
PHP Warning: Module 'mcrypt' / mod_fcgid
Hi all,
i'm getting these error in my log file please help me fix this
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Sat Jun 23 04:10:34 2012] [warn] mod_fcgid: process 27956 graceful kill fail, sending SIGKILL
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Sat Jun 23 04:11:09 2012] [warn] mod_fcgid: process 28167 graceful kill fail, sending SIGKILL
[Sat Jun 23 04:11:09 2012] [warn] mod_fcgid: process 28164 graceful kill fail, sending SIGKILL
[Sat Jun 23 04:11:09 2012] [warn] mod_fcgid: process 28162 graceful kill fail, sending SIGKILL
[Sat Jun 23 04:11:09 2012] [warn] mod_fcgid: process 28160 graceful kill fail, sending SIGKILL
[Sat Jun 23 04:11:09 2012] [warn] mod_fcgid: process 27946 graceful kill fail, sending SIGKILL
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
[Sat Jun 23 04:11:19 2012] [warn] mod_fcgid: process 28169 graceful kill fail, sending SIGKILL
Thank you
-
06-23-2012, 06:33 AM #2Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
Did you manually enter the mcrypt entry in the php.ini? Remove it, uninstall (use the --purge switch), and re-install php5-mcrypt.
I'm assuming you're using Apache2, what are your "MaxClients" settings
-
06-23-2012, 06:37 AM #3Web Hosting Master
- Join Date
- Mar 2005
- Location
- Orlando, Florida
- Posts
- 2,625
Also, are you using a custom php.ini file within your websites directory? If so, remove everything unnecessary to help keep duplicate libraries from being loaded.
█ Matthew Rosenblatt, and I do lots of things.
█ Used to be a full time server administrator, now I help build cruise ships and inspect homes.
█ My company, Ferrell Solutions, specializes in home inspections and property management.
█ RecallScan is a service for monitoring appliances and vehicles in your home for recalls.
-
06-23-2012, 08:07 AM #4Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
Hello,
i didn't do anything all i did was install new Debian with Virtualmin, nothing else.
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
please can you tell me how to uninstall in PUTTY and reinstallLast edited by anthonyinit; 06-23-2012 at 08:18 AM.
-
06-23-2012, 08:22 AM #5Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 08:56 AM #6Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
Too much info in my apache2.conf
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
# graceful restart. ThreadLimit can only be changed by stopping
# and starting Apache.
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
# event MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_event_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
-
06-23-2012, 11:07 AM #7Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
-
06-23-2012, 11:12 AM #8Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 11:15 AM #9Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
-
06-23-2012, 11:27 AM #10Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 11:39 AM #11Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 12:25 PM #12Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
Look through the conf files for duplicates of mcrypt
-
06-23-2012, 01:01 PM #13Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 02:22 PM #14Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
-
06-23-2012, 03:48 PM #15Web Host Reviewer
- Join Date
- Feb 2006
- Location
- Kepler 62f
- Posts
- 16,703
If this is a new VPS, I'd wipe it and try again.
There's a chance something simply did not install properly the first time, and it made a mess.|| Need a good host?
|| See my Suggested Hosts List || Editorial: EIG/Site5/Arvixe/Hostgator Alternatives
||
-
06-23-2012, 03:52 PM #16Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
-
06-23-2012, 05:05 PM #17Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 05:07 PM #18Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-23-2012, 05:09 PM #19Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-24-2012, 01:23 AM #20Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
-
06-24-2012, 05:27 PM #21Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
Hi and thank you somuch,
wow i did remove andPHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
now i get only this message
[Sun Jun 24 19:26:46 2012] [notice] Apache/2.2.16 (Debian) DAV/2 SVN/1.6.12 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze13 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
[Sun Jun 24 21:46:46 2012] [warn] mod_fcgid: process 21441 graceful kill fail, sending SIGKILL
[Sun Jun 24 21:46:46 2012] [warn] mod_fcgid: process 20163 graceful kill fail, sending SIGKILL
-
06-24-2012, 05:31 PM #22Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
That's not really an issue, unless you notice problems, mod_fcgid will try to stop php process with sending an event first, if it doesn't quit in time, mod_fcgid just kill the process with SIGKILL.
But you can try to increase MaxRequestsPerProcess
-
06-24-2012, 05:33 PM #23Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
-
06-24-2012, 05:36 PM #24Web Hosting Evangelist
- Join Date
- Jul 2011
- Location
- Who knows
- Posts
- 452
I guess that is not a error...
-
06-24-2012, 05:42 PM #25Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
Similar Threads
-
PHP Warning: Module 'imagick' already loaded in Unknown on line 0
By andr0meda in forum Web HostingReplies: 1Last Post: 11-06-2011, 03:26 AM -
MCrypt module probleme
By unknownman in forum Programming DiscussionReplies: 0Last Post: 09-16-2004, 07:31 AM -
Which Mcrypt Module and Cipher mode do you use?
By Pheaton in forum Programming DiscussionReplies: 1Last Post: 08-16-2004, 05:24 AM -
mcrypt() php module
By Tariq in forum Employment / Job OffersReplies: 4Last Post: 01-18-2003, 01:43 PM -
Tried to add mcrypt, now having problems adding ming/mcrypt/gd/imap
By abmad in forum Programming DiscussionReplies: 4Last Post: 11-25-2002, 11:27 PM