Install errors

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Aug 23, 2015.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,
    I've prepared the Perfect Server on CentOS 7.
    Linux CentOS Linux release 7.1.1503 (Core)
    Apache/2.4.6 (CentOS)
    MariaDB-common-10.0.21-1
    PHP 5.4.16
    *Also added PHP fastcgi and php-fpm 5.6.12

    When I installed ISPConfig I got these 2 errors:
    1)
    ...
    Warning
    MySQL charset [utf8]:

    PHP Warning: mysqli_connect(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /tmp/ispconfig3_install/install/lib/mysql.lib.php on line 78
    postalias: fatal: open /var/lib/mailman/data/aliases: No such file or directory

    2)
    ...
    Restarting services ...
    Job for amavisd.service failed. See 'systemctl status amavisd.service' and 'journalctl -xn' for details.
    Installation completed.

    # systemctl restart amavisd.service
    Job for amavisd.service failed. See 'systemctl status amavisd.service' and 'journalctl -xn' for details.
    # systemctl status amavisd.service
    amavisd.service - Amavisd-new is an interface between MTA and content checkers.
    Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled)
    Active: failed (Result: start-limit) since Sun 2015-08-23 02:01:08 EDT; 11s ago
    Docs: http://www.ijs.si/software/amavisd/#doc
    Process: 3282 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=227/NO_NEW_PRIVILEGES)

    Aug 23 02:01:08 testtrottibus systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Aug 23 02:01:08 testtrottibus systemd[1]: Unit amavisd.service entered failed state.
    Aug 23 02:01:08 testtrottibus systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Aug 23 02:01:08 testtrottibus systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers....
    Aug 23 02:01:08 testtrottibus systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers....
    Aug 23 02:01:08 testtrottibus systemd[1]: amavisd.service start request repeated too quickly, refusing to start.
    Aug 23 02:01:08 testtrottibus systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Aug 23 02:01:08 testtrottibus systemd[1]: Unit amavisd.service entered failed state.

    Is there an issue with #1 ? It is a warning but with a Fatal?
    Any trace on fixing #2 ? In the procedure we never launch it (only enable).
    sa-update
    freshclam
    systemctl enable amavisd.service

    Thaks ahead once again,

    JP
     
  2. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    I get this in the Apache log every time I ask a single page in ISPConfig:


    [Sun Aug 23 15:32:16.919192 2015] [fcgid:warn] [pid 9915] [client 70.54.165.84:51957] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61
    [Sun Aug 23 15:32:16.919228 2015] [fcgid:warn] [pid 9915] [client 70.54.165.84:51957] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61
    [Sun Aug 23 15:32:17.110545 2015] [fcgid:warn] [pid 9748] [client 70.54.165.84:51961] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:17.110576 2015] [fcgid:warn] [pid 9748] [client 70.54.165.84:51961] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.025937 2015] [fcgid:warn] [pid 9781] [client 70.54.165.84:51962] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.025962 2015] [fcgid:warn] [pid 9781] [client 70.54.165.84:51962] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.032367 2015] [fcgid:warn] [pid 9951] [client 70.54.165.84:51960] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.032392 2015] [fcgid:warn] [pid 9951] [client 70.54.165.84:51960] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.042281 2015] [fcgid:warn] [pid 9748] [client 70.54.165.84:51961] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.042305 2015] [fcgid:warn] [pid 9748] [client 70.54.165.84:51961] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.047357 2015] [fcgid:warn] [pid 9915] [client 70.54.165.84:51957] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.047375 2015] [fcgid:warn] [pid 9915] [client 70.54.165.84:51957] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.099680 2015] [fcgid:warn] [pid 9781] [client 70.54.165.84:51962] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
    [Sun Aug 23 15:32:18.099706 2015] [fcgid:warn] [pid 9781] [client 70.54.165.84:51962] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:100021 in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 61, referer: https://167.114.34.78:8080/index.php
     
  3. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Could a mailx issue have to do with this?
    # mail [email protected] (used a real mail to test)

    Aug 23 16:38:02 testtrottibus postfix/pickup[631]: A0A56181182: uid=0 from=<root>
    Aug 23 16:38:02 testtrottibus postfix/cleanup[763]: A0A56181182: message-id=<[email protected]>
    Aug 23 16:38:02 testtrottibus postfix/qmgr[632]: A0A56181182: from=<[email protected]>, size=480, nrcpt=1 (queue active)
    Aug 23 16:38:02 testtrottibus postfix/smtp[635]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 23 16:38:02 testtrottibus postfix/smtp[635]: A0A56181182: to=<[email protected]>, relay=none, delay=0.29, delays=0.29/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Aug 23 16:38:02 testtrottibus postfix/smtp[635]: warning: mysql:/etc/postfix/mysql-virtual_relaydomains.cf: table lookup problem
    Aug 23 16:38:02 testtrottibus postfix/smtp[635]: warning: A0A56181182: flush service failure
     
  4. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    I removed the smtps settings in master.cf and still an issue? (restarted Postfix and Dovecot)

    Aug 23 16:50:02 testtrottibus dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<DwwepQAetQAAAAAAAAAAAAAAAAAAAAAB>
    Aug 23 16:50:02 testtrottibus postfix/smtpd[1279]: connect from localhost[::1]
    Aug 23 16:50:02 testtrottibus postfix/smtpd[1279]: lost connection after CONNECT from localhost[::1]
    Aug 23 16:50:02 testtrottibus postfix/smtpd[1279]: disconnect from localhost[::1]
    Aug 23 16:50:02 testtrottibus dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<FjsepQAerQAAAAAAAAAAAAAAAAAAAAAB>
    Aug 23 16:50:02 testtrottibus postfix/pickup[1206]: BBA981811F6: uid=0 from=<root>
    Aug 23 16:50:02 testtrottibus postfix/cleanup[1312]: BBA981811F6: message-id=<[email protected]>
    Aug 23 16:50:02 testtrottibus postfix/qmgr[1207]: BBA981811F6: from=<[email protected]>, size=482, nrcpt=1 (queue active)
    Aug 23 16:50:02 testtrottibus postfix/smtp[1315]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Aug 23 16:50:02 testtrottibus postfix/smtp[1315]: BBA981811F6: to=<[email protected]>, relay=none, delay=0.07, delays=0.06/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
     
  5. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    3) When I reboot the server, I can't access the web. I need to stop iptables. Doesn't seem like ISPConfig is managing iptables?
    Thanks,
    JP
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This happens when MariaDB is used instead of mysql. You can either check if there is a mysqlnd driver like on Debian or you ignore the message, it does not harm.

    The most likely reason is a problem with the hostname. Does the commands:

    hostname

    and

    hostname -f

    both return the full hostname (w.g. server1.example.com) and not just server1?

    ISPConfig does not use iptables.
     
  7. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good Day,
    I never got an answer about the mail issue... Still can't send. Here's a part of the maillog:

    Sep 6 12:52:24 testtrottibus postfix/qmgr[600]: 1585D181245: from=<[email protected]>, size=2973, nrcpt=1 (queue active)
    Sep 6 12:52:24 testtrottibus postfix/qmgr[600]: 3DFCC181240: from=<[email protected]>, size=483, nrcpt=1 (queue active)
    Sep 6 12:52:24 testtrottibus postfix/smtp[14882]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Sep 6 12:52:24 testtrottibus postfix/smtp[14883]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Sep 6 12:52:24 testtrottibus postfix/smtp[14882]: 1585D181245: to=<[email protected]>, orig_to=<root@localhost>, relay=none, delay=118187, delays=118187/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Sep 6 12:52:24 testtrottibus postfix/smtp[14883]: 3DFCC181240: to=<[email protected]>, relay=none, delay=1118, delays=1118/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Sep 6 12:52:27 testtrottibus clamd[582]: SelfCheck: Database status OK.
    Sep 6 12:53:18 testtrottibus postfix/pickup[14765]: CE88218124C: uid=0 from=<root>
    Sep 6 12:53:18 testtrottibus postfix/cleanup[14907]: CE88218124C: message-id=<[email protected]>
    Sep 6 12:53:18 testtrottibus postfix/qmgr[600]: CE88218124C: from=<[email protected]>, size=486, nrcpt=1 (queue active)
    Sep 6 12:53:18 testtrottibus postfix/smtp[14883]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Sep 6 12:53:18 testtrottibus postfix/smtp[14883]: CE88218124C: to=<[email protected]>, relay=none, delay=0.11, delays=0.11/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

    ?? Port 10024 vs 10025 ??

    [root@testtrottibus ~]# netstat -nltp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 167.114.34.78:53 0.0.0.0:* LISTEN 400/named
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 400/named
    tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 407/pure-ftpd (SERV
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 355/sshd
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 567/master
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 400/named
    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 581/httpd
    tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 380/dovecot
    tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 380/dovecot
    tcp 0 0 127.0.0.1:8998 0.0.0.0:* LISTEN 257/php-fpm: master
    tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 365/php-fpm: master
    tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 567/master
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 380/dovecot
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 380/dovecot
    tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 581/httpd
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 581/httpd
    tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 581/httpd
    tcp6 0 0 :::53 :::* LISTEN 400/named
    tcp6 0 0 :::21 :::* LISTEN 407/pure-ftpd (SERV
    tcp6 0 0 :::22 :::* LISTEN 355/sshd
    tcp6 0 0 :::25 :::* LISTEN 567/master
    tcp6 0 0 ::1:953 :::* LISTEN 400/named
    tcp6 0 0 :::993 :::* LISTEN 380/dovecot
    tcp6 0 0 :::995 :::* LISTEN 380/dovecot
    tcp6 0 0 :::3306 :::* LISTEN 662/mysqld
    tcp6 0 0 :::110 :::* LISTEN 380/dovecot
    tcp6 0 0 :::143 :::* LISTEN 380/dovecot
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    I posted an answer to your mail issue, see #6 in this thread. Your mail will not work until Amavisd is started.
     

Share This Page