Litespeed problem - accounts being created in /var instead of /home. New accounts not

Discussion in 'General' started by vmunich, Jun 14, 2013.

  1. vmunich

    vmunich New Member

    Hello, here is my scenario:

    I installed Litespeed trial in my cPanel server. Pretty fast, so far so good.

    3 days before the trial ends, I decided to go back to Apache 2.4.4 and remove Litespeed.

    Now, if I create a new account in my server, it will not work until I rearrange it.

    The new accounts are being created inside /var, instead of /home.

    I went to one of these accounts' cPanel and it shows that the accounts are being created in /var/suexec/

    df -h shows a bunch of these:

    /dev/simfs 470G 299G 172G 64% /var/suexec/baseos/chroot
    none 9.0G 4.2M 9.0G 1% /var/suexec/baseos/chroot/tmp
    none 410M 237M 174M 58% /var/suexec/account1
    /dev/simfs 470G 299G 172G 64% /var/suexec/account1/chroot
    none 9.0G 4.2M 9.0G 1% /var/suexec/account1/chroot/tmp
    /dev/simfs 470G 299G 172G 64% /var/suexec/account1/home/account1
    none 410M 237M 174M 58% /var/suexec/account2
    /dev/simfs 470G 299G 172G 64% /var/suexec/account2/chroot
    none 9.0G 4.2M 9.0G 1% /var/suexec/account2/chroot/tmp
    /dev/simfs 470G 299G 172G 64% /var/suexec/account2/home/account2
    none 410M 237M 174M 58% /var/suexec/munin
    /dev/simfs 470G 299G 172G 64% /var/suexec/munin/chroot
    none 9.0G 4.2M 9.0G 1% /var/suexec/munin/chroot/tmp
    /dev/simfs 470G 299G 172G 64% /var/suexec/munin/home/munin
    none 410M 237M 174M 58% /var/suexec/account3
    /dev/simfs 470G 299G 172G 64% /var/suexec/account3/chroot
    none 9.0G 4.2M 9.0G 1% /var/suexec/account3/chroot/tmp
    /dev/simfs 470G 299G 172G 64% /var/suexec/account3/home/account3

    Now, how do I fix this? I can no longer have new accounts created automatically in this server, since I have to rearrange (move) all new accounts from /var/suexec to /home.

    WHM is configured to create new accounts inside /home but after I installed Litespeed it just ignores it. cPanel ticket support said there is nothing they can do since this was caused by Litespeed..

    Help??????????
    Last edited: Jun 14, 2013
  2. webizen

    webizen New Member

    LSWS does not change the way your user account is created (by cPanel) but only reads the Apache httpd.conf (created by cPanel). If LSWS changed it, httpd.conf would have mess up, then how can it run without problem those days?

    Please check your httpd.conf vhost and see if vhroot and docroot points to the user home and home/public_html.

    Please also elaborate below, what do you mean by 'it just ignores it'?
  3. vmunich

    vmunich New Member

    Hello,
    I'm sorry for the delay.

    "Please also elaborate below, what do you mean by 'it just ignores it'?"

    What I meant is, in WHM > Basic cPanel & WHM Setup, there is this option:

    Enter the location where you wish for new users’ home directories to be created. By default all directories matching the "Home Directory Prefix" are checked for available disk space and the directory with the most free space will be used.

    I have it set up to create new accounts in the directory /home. I never changed that option.

    However, after I installed Litespeed, accounts started to be created inside /var/suexec, ignoring the configuration I just stated above.

    I will check my httpd.conf but I don't think it will help, since I recompiled Apache using EasyApache, it should have changed httpd.conf back to the default configuration.
    Last edited: Jun 15, 2013
  4. vmunich

    vmunich New Member

    Anyone? I still have this problem going on.

Share This Page