Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269

    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
    OS Debian / Virtualmin
    Thank you

  2. #2
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    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
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

  3. #3
    Join Date
    Mar 2005
    Location
    New York City
    Posts
    2,554
    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.
    MCSE, cPanel Certified, Asterisk Specialist.
    My company, BurstAV, specializes in A/V Systems Design as well as VOIP Hardware Sales.
    Simply put: Server admin, programmer, concert lighting dude.

  4. #4
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    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
    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 reinstall
    Last edited by anthonyinit; 06-23-2012 at 08:18 AM.

  5. #5
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by Matt R View Post
    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.
    No not at all

  6. #6
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    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>

  7. #7
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    Quote Originally Posted by anthonyinit View Post
    No not at all
    Have you done upgrades and choose to keep the old php.ini? Look through the mcrypt.ini and/or php.ini for calls to mcrypt
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

  8. #8
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    Have you done upgrades and choose to keep the old php.ini? Look through the mcrypt.ini and/or php.ini for calls to mcrypt
    no just clean install thats it... after installing i did edit the php.ini file only to set "output buffer off" and "Memory Limit" only that two things.

    how can i uninstall mcrypt and reinstall

    Thank you

  9. #9
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    Quote Originally Posted by anthonyinit View Post
    no just clean install thats it... after installing i did edit the php.ini file only to set "output buffer off" and "Memory Limit" only that two things.

    how can i uninstall mcrypt and reinstall

    Thank you
    http://wiki.debian.org/DebianPackageManagement
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

  10. #10
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by Matt R View Post
    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.
    I'm not sure about what you are asking.. i'm bit confused here..

  11. #11
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    i have no idea what i'm looking for.. just new to all this.. but thank you. i will try to search for tutorials

  12. #12
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    Look through the conf files for duplicates of mcrypt
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

  13. #13
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    Look through the conf files for duplicates of mcrypt
    you mean to say my apache2conf file? i'm really sorry for all these question i'm so new and i don't have any idea what i'm doing. just trying get information and follow them carefully

  14. #14
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    Quote Originally Posted by anthonyinit View Post
    you mean to say my apache2conf file? i'm really sorry for all these question i'm so new and i don't have any idea what i'm doing. just trying get information and follow them carefully
    No in the php.ini and related folders.
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

  15. #15
    Join Date
    Feb 2006
    Location
    Kepler 62F
    Posts
    13,396
    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 || New Editorial: HostGator Alternatives & Who is EIG?
    ||

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 11-06-2011, 03:26 AM
  2. MCrypt module probleme
    By unknownman in forum Programming Discussion
    Replies: 0
    Last Post: 09-16-2004, 07:31 AM
  3. Which Mcrypt Module and Cipher mode do you use?
    By Pheaton in forum Programming Discussion
    Replies: 1
    Last Post: 08-16-2004, 05:24 AM
  4. mcrypt() php module
    By Tariq in forum Employment / Job Offers
    Replies: 4
    Last Post: 01-18-2003, 01:43 PM
  5. Replies: 4
    Last Post: 11-25-2002, 11:27 PM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •