HELP! New ISPConfig Upgrade Messed up server!

Discussion in 'Installation/Configuration' started by midcarolina, Nov 2, 2011.

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    The upgrade link works fine on my systems. Just tested the upgrade again from 3.0.3.3 to 3.0.4. That I recommend to use the shell script is just a general consideration as you have more control over the update process and see error messages. It does not mean that the update function in the interface dont work. You mentioned above that the update link in the dashboard opened the auto update page as you clicked on it, on my servers it opened the ispconfig.org download page where you find the download link and release notes with instructions for this specific update.

    I'am not able to help you with the issues on your server if you dont answer the questions that I ask you.
     
  2. midcarolina

    midcarolina New Member

    The upgrade link you're referring to is located at the top, as an alert, not the link that is there at all times, located on the bottom left under "System". This link in always available in ISPConfig. The "notice" (top center) takes you to the download link, yes. This is not what I used. I elected to use the "System" "Update ISPConfig" (lower left)

    The amavisd.conf was wiped-out...empty. I "robbed" a copy of the file from server two, which is still ISPC 3.0.3.3 and that did the trick. At the moment, I am attempting to treat Dovecot the same way, only it is tricker. Fedora 14 64 bit in ISPConfig only works w/ dovecot 1.2.x, ot the latest 2.0.x (this should have been implemented with the update of ISPConfig....the ATRM for fed. 14 65 bit in 1.2.x is no longer even listed as a link rpm. Deprecated) So, the mail is still stuck in the clientmqueue. Amavisd is running fine. Postfix is fine

    This file (and path) does exist. config.inc.php The file is empty.
     
  3. midcarolina

    midcarolina New Member

    Ok, Till

    Progress. I robbed this file too from the other server. However, it won't let me log in because it is stating "Incorrect Password" The MySql DB is running, this file was "robbed" from a server with ISPConfig 3.0.3.3. Do any changes need to be made? Where can I reset the password? The mail system no longer works, so that is not an option. At least the 500 IS error is gone and the CPanel interface launches (or tries to)

    Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You still havent answered a lot of questions from the above posts, so I dont know what you did from the suggested steps and you did not post the messages that you got after running the update manually. So I can mainly guess what you did till now due to lack of posted infos.

    Yes. Please download ispconfig 3.0.4, you can find the master template for the file in install/tpl/config.inc.php.master. Use that file and just replace the login details in the lines:

    $conf['db_host'] = '{mysql_server_host}';
    $conf['db_database'] = '{mysql_server_database}';
    $conf['db_user'] = '{mysql_server_ispconfig_user}';
    $conf['db_password'] = '{mysql_server_ispconfig_password}';

    with the correct details for your setup. The details for your setup can be found e.g. in the mysql* files in the /etc/postfix/ directory. Dont reset the password of the ispconfig user in mysql, instaed check if the password in the postfix files work and then use that password in the ispconfig config.inc.php file.

    Again, if you dont post details, nobody will be able to help you!
     
  5. midcarolina

    midcarolina New Member

    Till,

    I reviewed each of your requests and can't seem to find one that I did not give you the direct outcome, output, etc. Just looked through the threads and didn't see one unanswered????
     
  6. midcarolina

    midcarolina New Member

    Also,

    I have posted this at least twice. I can't download 3.0.4 because I get this error:

    PHP notice: Undefined variable: conf in /tmp/ispconfig3_install/install/update.php on line 76
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    - #6 No file content posted (not nescessary to post it anymore as you seem to reach the interface again, just listed here as example for what I mean).
    - Have you done #17? Is DNS working again after you fixed that so that you could redo #12? Have ou redone #12 then?
    - Whats with #19 2)?
    - Whats with #24, mailsystem errors?

    Please dont get me wrong, this is not meant as rant. But if I dont get detailed information about the problem and which steps you did already, I simply cant help much.

    Just a guess for the reasons of your problems, have you edited the php.ini on your server and changed any values since you installed ispconfig? Especially have you disabled any php functions by adding them to "disable_functions" in php.ini?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    And I posted what you should check in post #17 to solve that.
     
  9. midcarolina

    midcarolina New Member

    Till,

    OK, Here we go:

    #17 Check
    #12 Check - does not work - errors sent
    #19 - 2 Check
    #24 Maillogs - This excerpt is fairly repetitive, it pretty much repeats on this block of info:

    Nov 3 03:26:56 webserverone postfix/smtpd[2242]: connect from ham-cannon.twitter.com[199.59.148.231]
    Nov 3 03:26:56 webserverone postfix/smtpd[2242]: warning: SASL: Connect to private/auth failed: No such file or directory
    Nov 3 03:26:56 webserverone postfix/smtpd[2242]: fatal: no SASL authentication mechanisms
    Nov 3 03:26:57 webserverone postfix/master[13821]: warning: process /usr/libexec/postfix/smtpd pid 2242 exit status 1
    Nov 3 03:26:57 webserverone postfix/master[13821]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Nov 3 03:28:37 webserverone postfix/anvil[2244]: statistics: max connection rate 1/60s for (smtp:199.59.148.231) at Nov 3 03:26:56
    Nov 3 03:28:37 webserverone postfix/anvil[2244]: statistics: max connection count 1 for (smtp:199.59.148.231) at Nov 3 03:26:56
    Nov 3 03:28:37 webserverone postfix/anvil[2244]: statistics: max cache size 1 at Nov 3 03:26:56
    Nov 3 03:32:19 webserverone clamd.amavisd[2002]: SelfCheck: Database status OK.

    I have made very little changes to php.ini. I think maybe file upload size is it.

    Also, for the file that needs revision (for CPanel login), does the "host" need to change to "localhost" and db to "ispconfigdb" or leave at defaults and change only username and password?

    Thanks Till
     
  10. midcarolina

    midcarolina New Member

    Till,

    I have done everything in the book to change the password in the config.php file and nothing works. (Control Panel Interface)

    /etc/resolv.conf brings an error nameserver not found. Open the file and there they are...plain as day. All of my sites are live...servers running, so the nameservers are working?
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Host has to be 'localhost' and database name is the name of your ispconfig database.

    So you tested the login details from the postfix mysql file first (e.g. by using them to login to phpmyadmin or the mysql command) as I asked you in #24? So whats the outcome, did they work or did they not work when you use this username and password to login to phpmyadmin? And you used the correct filename, the file is named config.inc.php and not config.php.

    Thats a text file file, it can not bring up such a error as it is not a pplication. So whats exactly inside that file?

    No. Thats something different.
     
    Last edited: Nov 3, 2011
  12. midcarolina

    midcarolina New Member

    Till,

    Ok, host is localhost and db name is left at default dbispconfig.

    In the /etc/postfix/mysql* the password is a long string of letters and numbers about 25 total. (encrypted password maybe?) I can log into phpMyAdmin just fine through mu old root password and the server URL, so what relation does the postfix password string have to ISPConfig CPanel login password?

    Next answer...sorry for the abbreviation, but yes I am using this file:

    config.inc.php

    /etc/resolv.conf contains the exact same information has it has from day one with the old version of ISPConfig:

    # Generated by NetworkManager
    search example.com
    nameserver 24.25.x.xx
    nameserver 24.25.x.xx

    I think I answered everything this time
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats the cleartext password. Please try the username and password that you find there to see if you can login with them to the mysql database with phpmyadmin.

    You can not test the relevant login with the root user.

    #
    This is the username and password used by all services incl. the controlpanel to access the ispconfig database.

    According to wget, they are unreachable at the moment. Please replace the file content with this data:

    Code:
    search example.com
    nameserver 8.8.8.8
    nameserver 8.8.4.4
     
  14. midcarolina

    midcarolina New Member

    The problem doesn't seem to be the IPs, as Google global ips are not working either. This is the error:


    nameserver: command not found

    The command "nameserver" is simply not recognized
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no command nameserver, I asked you to replace the content of the file /etc/resolv.conf with the content I posted above and not to execite the content of the file as linux shell commands.
     
  16. midcarolina

    midcarolina New Member

    Ok, in other words, the EXACT contents.

    Also, the user and password string in /etc/postfix/mysql* gives no access.
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    yes. Then please try if downloading ispconfug with wget works now.

    Ok.

    Is the mysql root password in the file /usr/local/ispconfig/server/lib/mysql_clientdb.conf correct?
     
  18. midcarolina

    midcarolina New Member

    Till,

    I made a mistake and didn't follow instructions. I used the username and password from /etc/postfix/mysql* to access the CPanel, NOT phpMyAdmin.

    When I used it to access phpMyAdmin, I accessed it. The only db there is ispconfig and the Information Schema

    Progress??
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, thats good.

    Next step, please do what I suggested in #37 to see if changing /etc/resolv.conf fixes the dns resolving issue and also verify if the root password in that file is correct.
     
  20. midcarolina

    midcarolina New Member

    Ok, I did precisely what you suggested with regards to /etc/resolv.conf

    error: hostname not found
     

Share This Page