Results 1 to 25 of 30

Hybrid View

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

  2. #2
    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


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

  4. #4
    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.

  5. #5
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    452
    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
    Aug 2003
    Location
    Dallas, TX USA
    Posts
    2,812
    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


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

  8. #8
    Join Date
    Aug 2003
    Location
    Dallas, TX USA
    Posts
    2,812
    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


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

  10. #10
    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>

  11. #11
    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
    ||

  12. #12
    Join Date
    Aug 2003
    Location
    Dallas, TX USA
    Posts
    2,812
    Quote Originally Posted by kpmedia View Post
    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.
    That might work, but in my opinion if he has no experience this would be a good chance to learn to fix issues. The wipe and do again is a bad habit to pick up in Linux.


  13. #13
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    452
    Quote Originally Posted by daejuanj View Post
    That might work, but in my opinion if he has no experience this would be a good chance to learn to fix issues. The wipe and do again is a bad habit to pick up in Linux.
    since i bought this VPS i have learn many things and i'm still learning and thats why i'm asking more and more question bcuz i want to fix it by my self with professional help

  14. #14
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    452
    Quote Originally Posted by kpmedia View Post
    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.
    believe it or not i did reinstall more than 5 times but still no luck i'm tired of reinstalling and putting my site online.

  15. #15
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    452
    I think i found where to edit
    /etc/apache2/mods-available/fcgid.conf
    is this correct?
    <IfModule mod_fcgid.c>
    AddHandler fcgid-script .fcgi
    FcgidConnectTimeout 20
    FcgidMaxRequestsPerProcess 500
    </IfModule>
    actually FcgidMaxRequestsPerProcess 500 was not there in that file i add it. i didn't save it yet just want to confirm

  16. #16
    Join Date
    Aug 2003
    Location
    Dallas, TX USA
    Posts
    2,812
    Quote Originally Posted by anthonyinit View Post
    I think i found where to edit is this correct?


    actually FcgidMaxRequestsPerProcess 500 was not there in that file i add it. i didn't save it yet just want to confirm
    Sure, should be fine


  17. #17
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    452
    Quote Originally Posted by daejuanj View Post
    Sure, should be fine
    Hehe... Thank you sir, you helped me a lot... now i can relax a bit. now i know the reasons for those errors.

    Thanks you again and i will keep you updated here if anything wrong in the log file.

    Take care.

  18. #18
    Join Date
    Aug 2003
    Location
    Dallas, TX USA
    Posts
    2,812
    Quote Originally Posted by anthonyinit View Post
    Hehe... Thank you sir, you helped me a lot... now i can relax a bit. now i know the reasons for those errors.

    Thanks you again and i will keep you updated here if anything wrong in the log file.

    Take care.
    No problem


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

Posting Permissions

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