Unable to install (permissions and quota problem)

Discussion in 'Installation/Configuration' started by dotslasher, May 15, 2010.

  1. dotslasher

    dotslasher New Member

    I'm getting the following error when installing Ispconfig 3

    chown: changing ownership of `/var/www/apps': Disk quota exceeded

    chown: changing ownership of `/usr/local/bin/run-getmail.sh': Disk quota exceeded

    But if I do df -h I have enough space.

    Filesystem Size Used Avail Use% Mounted on

    /dev/hdv1 76G 22G 54G 29% /

    and If I want to visit the webpage I get you do not have permission access to access / on this server

    I'm running debian lenny and I have followed the perfect server howto on the site. Everything except the quota section is installed but I cannot get ISPConfig working.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    repquota -avug
    ?
     
  3. dotslasher

    dotslasher New Member

    nothing, no output at all.

    $ repquota -avug
    $

    also edquota gives me: No filesystems with quota detected.

    I am able to create new users, new files, chown dirs and change the ownership to those new users. so that's not an issue.

    could there be a problem with the creation of those groups/users in the Install script of ISPConfig?

    and I have checked the ispconfig installation log again: the only things that I see in there that did not work are the two chown actions

    WARNING: Failed to execute the command chown -R ispconfig:ispconfig /usr/local/ispconfig
    WARNING: Failed to execute the command chown -R getmail /etc/getmail

    what puzzles me is that the other Chown commands work just fine. Only for these two it fails.

    because: EXECUTED: chown -R vmail:vmail /var/vmail/.mailfilter
    works just fine
     
    Last edited: May 16, 2010
  4. dotslasher

    dotslasher New Member

    ok, I chowned /usr/local/ispconfig to www-data:ispconfig and I can now access ISPConfig.
    I hope I did not compromise security doing the above. I'm not really sure why ispconfig:ispconfig and getmail give me disk quota errors when chowning.
     
    Last edited: May 17, 2010
  5. falko

    falko Super Moderator ISPConfig Developer

    Are the users ispconfig and getmail listed in /etc/passwd?
     
  6. dotslasher

    dotslasher New Member

    yes:

    getmail:x:5001:5001::/etc/getmail:/bin/sh
    ispconfig:x:5003:5004::/usr/local/ispconfig:/bin/sh
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    As which user were you logged in as you installed ispconfig? You must be logged in as root user, using sudo or any other user will not work when you install ispconfig.
     
  8. dotslasher

    dotslasher New Member

    I logged in as the root account directly. not sudo.
     

Share This Page