Page 1 of 2 12 LastLast
Results 1 to 25 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.
    I also own ConcertCables. We build power/data cables for the entertainment industry.

  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,675
    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?
    ||

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

  17. #17
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    No in the php.ini and related folders.
    hello,
    i found mcrypt.ini file in here "/etc/php5/conf.d"

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

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

  20. #20
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    Quote Originally Posted by anthonyinit View Post
    hello,
    i found mcrypt.ini file in here "/etc/php5/conf.d"
    So you probably have duplicate entries, comment or remove the line in either the php.ini or mcrypt.ini calling for mcrypt.
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

  21. #21
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    So you probably have duplicate entries, comment or remove the line in either the php.ini or mcrypt.ini calling for mcrypt.
    Hi and thank you somuch,
    wow i did remove and
    PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
    gone from error log now my error log looks more cleaner than before.

    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
    what i do to fix this?

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

  23. #23
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    Quote Originally Posted by daejuanj View Post
    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
    what about this error?
    [Sun Jun 24 23:31:28 2012] [error] [client 74.63.216.123] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
    just now i saw it

  24. #24
    Join Date
    Jul 2011
    Location
    Who knows
    Posts
    269
    I guess that is not a error...

  25. #25
    Join Date
    Aug 2003
    Location
    Chicago, IL USA
    Posts
    2,772
    Quote Originally Posted by anthonyinit View Post
    what about this error?
    just now i saw it
    This is a very common attack. Install mod_security and/or Fail2ban

    Google "w00tw00t"
    CloudRck.com - Host on Cloudrck
    Unmetered VPS Solutions at it's finest

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
  •