Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2008
    Location
    NewYork
    Posts
    436

    how to enable csf on start up ?

    Hello,

    I have a VPS server, i installed and configure csf, but wonder if i reboot my server the csf would close the connection, or wont work...

    so i remmeber how but i really forget and cannot remmber how to enable the csf on the vps start up..

    Thanks in advice ..

  2. #2
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Once enabled (csf -e), it will come up on startup. Also, make sure it's set to on as a service:

    chkconfig --list|grep -i csf

    Be sure to disable "testing" mode.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  3. #3
    Join Date
    Sep 2008
    Location
    NewYork
    Posts
    436
    Thanks !

    It's give me this

    Code:
    srv6 ~: chkconfig --list|grep -i csf
    csf             0:off   1:off   2:on    3:on    4:on    5:on    6:off
    srv6 ~:

  4. #4
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by boxer View Post
    Thanks !

    It's give me this

    Code:
    srv6 ~: chkconfig --list|grep -i csf
    csf             0:off   1:off   2:on    3:on    4:on    5:on    6:off
    srv6 ~:
    Looks good. Try:

    grep ^TESTING /etc/csf/csf.conf
    And

    csf -e
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  5. #5
    Join Date
    Sep 2008
    Location
    NewYork
    Posts
    436
    Code:
    srv6 ~: grep ^TESTING /etc/csf/csf.conf
    TESTING = "0"
    TESTING_INTERVAL = "5"
    srv6 ~:

  6. #6
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Did you run csf -e? That's all you need for CSF to run on startup. If it's not able to run on startup, your VPS may not have the necessary resources to do so. Are you on VZ? If so, try cat /proc/user_beancounters
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  7. #7
    Join Date
    Mar 2009
    Location
    Chicago, IL
    Posts
    219
    If you run into further problems, in the CSF config there's an option for "Monolithic kernel", I think it's something like "MONOLITHIC_KERNEL". Set that to one and give it a shot. It's a fix that works on monolithic kernels and sometimes fixes up CSF on a VPS depending on how your provider has it configured.



    Chris

  8. #8
    Join Date
    Sep 2008
    Location
    NewYork
    Posts
    436
    the vps down now ... what the problem is ??

    i have centos 5.3/cpanel/vps

  9. #9
    Join Date
    Mar 2009
    Location
    Near You..
    Posts
    81
    Is cpanel also down? If not, try disabling CSF from WHM -> Plugins -> CSF and check again.

Similar Threads

  1. How to enable SCP?
    By aingaran in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-10-2006, 07:36 AM
  2. Replies: 10
    Last Post: 12-29-2005, 02:12 PM
  3. 1500GB Bandwidth start from $98.00, unmetered colo start from $50.00
    By nocser in forum Dedicated Hosting Offers
    Replies: 4
    Last Post: 07-16-2005, 04:53 AM
  4. How do I enable cgi in WHM?
    By ajiabs in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 10-01-2002, 10:14 PM
  5. how to enable cgi
    By md2001 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 07-13-2001, 05:08 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
  •