Server settings don't save

Discussion in 'Installation/Configuration' started by NuttyGambler, Jun 5, 2007.

  1. NuttyGambler

    NuttyGambler New Member

    I am unable to change passwords, realized that the Server settings are not correct nor the email, (email is sendmail when I have postfix installed).

    When I change the server settings the screen changes, but when I go back in still the same.

    Note: This is the server I lost the database on months ago, finally had someone who forgot their password, and we can not get it to change.

    At a loss as to where to start.

    Thanks much.
     
  2. Ben

    Ben Active Member Moderator

    Maybe you find something in /root/ispconfig/ispconfig.log?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you load the sql dump for ISPConfig manually into the database?
     
  4. NuttyGambler

    NuttyGambler New Member

    Not sure

    It has been a while. Are you asking if I manually ran the setup script.

    I would think I did, as that is what you at least at one time had to do, not?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    No. Till wanted to know if you imported the db_ispconfig.sql dump that comes with ISPConfig manually, or if you just ran the installer. Because some people make the mistake of importing that file manually, but it should be done by the installer.
     
  6. NuttyGambler

    NuttyGambler New Member

    Guess my reply was not very good.

    What I meant to say, is yes, I believe (hard to remember) I manually ran the database setup script after the regular setup. As the setup did not create the tables.

    If this is/was a mistake is there a fix?

    May I suggest changing the readme for that database setup script to say DO NOT RUN THIS.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you created the database manually befoer you installed ISPConfig so the ISPConfig installer was not able to create it itself and this resulted in a broken installation.

    To fix this, you will have to uninstall ISPConfig and reinstall it. The database is created and fileld by the setup script with values gathered from your system.

    run:

    /root/ispconfig/uninstall

    all configuration data in ISPConfig will be lost.

    There is no readme file or instruction that tells you to do this. For installation instructions, please have a look at the installation manual and there is note to create any databases before you install ISPConfig or upload any database dumps.
     
  8. NuttyGambler

    NuttyGambler New Member

    >To fix this, you will have to uninstall ISPConfig and reinstall it. The database is created and fileld by the setup script with values gathered from your system.

    So this will not delete the email accounts, and recreate them when reinstalled?

    Just want to make sure, I don't go from working email accounts that can not change passwords to, no email accounts.

    -----
    When I ran
    php /root/ispconfig/uninstall
    I got

    PHP Notice: Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 32
    PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 32
    PHP Notice: Undefined variable: HTTP_POST_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 38
    PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 38
    PHP Notice: Undefined variable: HTTP_COOKIE_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 44
    PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 44
    PHP Notice: Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 53
    No results found!PHP Warning: Unknown: open(/var/lib/php/session/sess_549goakg6puoksvbmq91b3lpp3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

    Thanks
     
    Last edited: Jun 11, 2007
  9. falko

    falko Super Moderator Howtoforge Staff

    If you uninstall ISPConfig, it will delete your email accounts.
     
  10. NuttyGambler

    NuttyGambler New Member

    I am getting more confused by these replies.

    How is this a fix then?

    Is there anyway to keep the email for users? I don't have a problem recreating the accounts via ISPconfig, but don't want to lose all the email.

    Right now I can not even unistall, (see errors below), are these related issues?
     
  11. NuttyGambler

    NuttyGambler New Member

    Maybe we still are not on the same page.
    Here is what I remember happening.
    I lost all my MySQL databases, ISPConfig was still installed but no database.
    I upgraded ISPConfig, but do not believe it created the database.
    I then must have manually created the ISPConfig database via the script.

    That is where I am now. ISPConfig, acts like all is working, but
    I can't change the server settings.
    When I create a user it never shows up under any directory
    Old users email still work, but they can not change passwords.
    http side of things appear to work.

    So my question is. Is there a way to save mail directories, get ISPConfig in sync with dovecot, and bring the mail back?

    Thanks much. I realize it must be a pain to deal with us clueless fools.
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Please check your /tmp directory. There must be an SQL dump from your working ISPConfig database from just before the update. Try to restore the database from it.
     
  13. NuttyGambler

    NuttyGambler New Member

    Oh I have already done that, the only backups there are from a few days ago, which are the same as what I have now. I updated again, in hopes that would maybe help. There where no backups because there was no database at the time of the upgrade, and setup did not create one.

    So, if I do not have a backup from before the database went missing, I have to completely rebuild my system, as there is no way to get this right, as I can not even uninstall ISPConfig?

    Seems hard to believe, as making changes and adding email accounts are the only things that appear to be broken.
     

Share This Page