Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jun 2005
    Location
    Den Haag
    Posts
    120

    Default New server setup steps make server crash?

    Hi,

    i have installed cPanel on my server, (Fedora Core 2) and when i first login to WHM, i see on the left a wizard. When i go through the steps, after step 3? of setting quota's my server become's unreachable.

    What can this be?

    I still can ping the server, but ssh or cPanel ports (or any other) won't respond anymore.

    ( I am sorry if this is in the wrong forums)

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It can happen. One thing to check when you get back in is that the laus (audit) rpm is not installed:

    rpm -ev laus

    That can definitely cause server crashes. If that's not installed, then it could indicate a memory/fiel system/disk problem with the server, possibly in that order.

    Checking /var/log/maillog for the time of the crash and/or the serial console may shed more light on the problem.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jun 2005
    Location
    Den Haag
    Posts
    120

    Default

    root@dozer [~]# rpm -ev laus
    error: package laus is not installed

    So it's not installed.

    I have it on 3 servers, so i can't imagine all of them have faulty hardware. They are brand new dell servers.

    In /var/logs/ went through couple of logs, but nothing strange in them?

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That is odd. An alternative might be to run the quota setup from shell rather than through WHM so that you can keep a closer eye on what's happening:

    /scripts/fixquotas

    One thing to check is that usrquota is setup appropriately on the mountpoints in /etc/fstab (usually on / /usr /var and /home depending on your partitioning scheme)
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jun 2005
    Location
    Den Haag
    Posts
    120

    Default

    When i do this in ssh it goes fine:

    root@dozer [/scripts]# ./fixquotas
    Installing Default Quota Databases...../aquota.user..../quota.user..../boot/aquota.user..../boot/quota.user.....Done
    Quotas are now on
    Updating Quota Files......
    quotacheck: Scanning /dev/sda3 [/] done
    quotacheck: Checked 13698 directories and 150524 files


    quotacheck: Scanning /dev/sda3 [/] done
    quotacheck: Checked 13698 directories and 150524 files

    ....Done
    Note: call resetquota with --useplanquotas to reset all quotas to plan defaults
    Resetting quota for xxx to 0 Meg....Done

    But after that last message, my server hangs. I can't do anything more after that.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    The last thing it does is to turn the quotas on using quotaon. You could check whether that is the issue after it comes back by running:

    quotaon -av

    If that hangs it, post your /etc/fstab as it may be a problem in there.

    If your ftab is OK, then I suppose it could conceivably be a kernel issue and down/upgrading it might be worth a try.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Jun 2005
    Location
    Den Haag
    Posts
    120

    Default

    It gives

    root@neo [/scripts]# quotaon -av
    quotaon: using //aquota.user on /dev/sda3 [/]: Device or resource busy
    quotaon: using /data/aquota.user on /dev/sdb1 [/data]: Device or resource busy

    Then it hangs...

    Here is my fstab:

    root@dozer [~]# less /etc/fstab












    LABEL=/ / ext3 defaults,usrquota
    1 1
    LABEL=/boot /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    none /dev/shm tmpfs defaults 0 0
    none /proc proc defaults 0 0
    none /sys sysfs defaults 0 0
    /dev/sda2 swap swap defaults 0 0
    /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,r
    o 0 0
    /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
    /etc/fstab (END)

    Hopefully this gives you some more information.
    Here is my server info:

    WHM 10.1.0 cPanel 10.2.0-S83
    Fedora i686 - WHM X v3.1.0
    Kernelversion 2.6

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That makes no sense. You only have quotas enabled on the / partition (which I presume is /dev/sda3) but it's trying to enable them on /dev/sdb1 which must be have a mount point in fstab that doesn't have usrquota enabled on it. What is /dev/sdb1? It might be an idea to remove any quota-ing on that disk and reformat it if it's just an old disk with old data on it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    Member
    Join Date
    Sep 2004
    Posts
    10

    Default

    It "LABEL=/ / ext3 defaults,usrquota" will be "LABEL=/ / ext3 defaults,usrquota,gprquota"?
    Last edited by gara; 10-26-2005 at 09:27 AM.

Similar Threads & Tags
Similar threads

  1. Server crash - High Server Load
    By konrath in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-19-2006, 11:05 AM
  2. What changes can I make to sysctl.conf to make the server perform better?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-11-2005, 11:25 AM
  3. Server Crash
    By Solokron in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-19-2005, 10:56 AM
  4. need you help, server crash always...
    By Jedia in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-17-2005, 05:27 AM
  5. Simple steps to Secure my Server?
    By Blingbabe.com in forum New User Questions
    Replies: 4
    Last Post: 02-02-2005, 05:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube