ispconfig cannot create databases

Discussion in 'Installation/Configuration' started by Nolan, Sep 24, 2014.

  1. Nolan

    Nolan Member

    Hi,

    In the past everything was working properly, database creation at all, but I had to fix the file system on my server using fsck because the server was booting in read only mode, and I accidentally messed up some file permissions on my server.

    In doing this, I think some of the files needed for database creation might have the wrong permissions.

    Any ideas what files would affect this process and what the permissions have to be?

    The users and databases are created in ISPconfig, but when I log into PHPMyAdmin I don't see the users or database that I created.

    Thanks for your help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ispconfig might be able to fix its file permissions. Try this:

    Code:
    cd /tmp
    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    tar xvfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install
    php -q update.php
    and choose to reconfigure services during update.
     
  3. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Is mysql running?

    Evertyhing under /var/lib/mysql is owned recursive by mysql.mysql with permissions 660 for files and 700 for directories.

    You should also check the permissions for the mysql-logs.

    mysql won´t start with permissions anyway.
     

Share This Page