Problems after installation

Discussion in 'Installation/Configuration' started by voiteck, Jul 2, 2011.

  1. voiteck

    voiteck New Member

    Hi to all,
    I've installed ISPconfig 3 on OpenSUSE 11.3 x86_64, i've been following HowtoForge tutorial (http://www.howtoforge.com/perfect-server-opensuse-11.3-x86_64-ispconfig-3-p3). I've skipped installation of Journaled Quota and fail2ban as i don't need quota and i'm not entirely convinced to the solutions like fail2ban. As well i didn't disable the AppArmor, as it's not installed on my system.
    After installation i'm able to navigate to the login page, but after attempt to login i'm getting login screen back.

    Here's my ISPConfig installation log:
    (i've replaced my domain with domain.com)
    PHP:
    Fri Jul 1 13:23:18 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/lib/installer_base.lib.phpLine 153read in ispconfig3.sql
    Fri Jul 1 13
    :23:18 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 75chmod on mysql-virtual_*.cf*
    Fri Jul 1 13:23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 77chgrp on mysql-virtual_*.cf*
    Fri Jul 1 13:23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 84EXECUTEDgroupmod -g 5000 vmail
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 92EXECUTEDusermod -g vmail -u 5000 -/var/vmail -/bin/bash vmail
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e myhostname domain.com
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e mydestination domain.comlocalhostlocalhost.localdomain
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e mynetworks 127.0.0.0/[::1]/128
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_alias_domains =
    Fri Jul 1 13:23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_alias_maps proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cfmysql:/etc/postfix/mysql-virtual_email2email.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_mailbox_domains proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_mailbox_maps proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_mailbox_base = /var/vmail
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_uid_maps = static:5000
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_gid_maps = static:5000
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_sasl_auth_enable yes
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e broken_sasl_auth_clients yes
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_sasl_authenticated_header yes
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_recipient_restrictions permit_mynetworkspermit_sasl_authenticatedcheck_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cfreject_unauth_destination
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_use_tls yes
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_tls_security_level may
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_tls_key_file = /etc/postfix/smtpd.key
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e transport_maps proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e relay_domains mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e relay_recipient_maps mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e proxy_read_maps $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_sender_restrictions check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e smtpd_client_restrictions check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e maildrop_destination_concurrency_limit 1
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e maildrop_destination_recipient_limit   1
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e virtual_transport maildrop
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e header_checks regexp:/etc/postfix/header_checks
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e mime_header_checks regexp:/etc/postfix/mime_header_checks
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e nested_header_checks regexp:/etc/postfix/nested_header_checks
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e body_checks regexp:/etc/postfix/body_checks
    Fri Jul 1 13
    :23:19 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 148EXECUTEDpostconf -e inet_interfaces all
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 158EXECUTEDchmod o= /etc/postfix/smtpd.key
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 163WARNINGFailed to execute the command chmod 755 /var/run/authdaemon.courier-imap
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 199EXECUTEDmkdir /var/vmail/mailfilters
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 203EXECUTEDchown -R vmail:vmail /var/vmail/.mailfilter
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 206EXECUTEDchmod -R 600 /var/vmail/.mailfilter
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 349EXECUTEDpostconf -e dovecot_destination_recipient_limit 1
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 349EXECUTEDpostconf -e virtual_transport dovecot
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 349EXECUTEDpostconf -e smtpd_sasl_type dovecot
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 349EXECUTEDpostconf -e smtpd_sasl_path = private/auth
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 349EXECUTEDpostconf -e receive_override_options no_address_mappings
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 405EXECUTEDpostconf -e content_filter amavis:[127.0.0.1]:10024
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 405EXECUTEDpostconf -e receive_override_options no_address_mappings
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 450EXECUTEDuseradd -/etc/getmail getmail
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 453EXECUTEDchown -R getmail /etc/getmail
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 456EXECUTEDchmod -R 700 /etc/getmail
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 568EXECUTEDgroupadd sshusers
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/lib/installer_base.lib.phpLine 1135EXECUTEDgroupadd ispapps
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/lib/installer_base.lib.phpLine 1138EXECUTEDuseradd -g ispapps -/srv/www/apps ispapps
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/lib/installer_base.lib.phpLine 1142WARNINGFailed to execute the command adduser wwwrun ispapps
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 582cp -f tpl/bastille-firewall.cfg.master /etc/Bastille/bastille-firewall.cfg
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 583chmod 644 /etc/Bastille/bastille-firewall.cfg
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 611cp -f apps/bastille-firewall /etc/init.d
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 612chmod 700 /etc/init.d/bastille-firewall
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 615cp -f apps/bastille-ipchains /sbin
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 616chmod 700 /sbin/bastille-ipchains
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 619cp -f apps/bastille-netfilter /sbin
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 620chmod 700 /sbin/bastille-netfilter
    Fri Jul 1 13
    :23:49 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 628create symlink
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 642EXECUTEDmkdir /usr/local/ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 647EXECUTEDgroupadd ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 650EXECUTEDuseradd -g ispconfig -/usr/local/ispconfig ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 654EXECUTEDcp -rf ../interface /usr/local/ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 658EXECUTEDcp -rf ../server /usr/local/ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 778EXECUTEDchmod -R 750 /usr/local/ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 782EXECUTEDchown -R ispconfig:ispconfig /usr/local/ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 818EXECUTEDgroupmod --add-user wwwrun ispconfig
    Fri Jul 1 13
    :23:52 MSD 2011 - [ISPConfig] - /tmp/ispconfig3_install/install/dist/lib/opensuse.lib.phpLine 822EXECUTEDchmod +/usr/local/ispconfig/server/scripts/create_jailkit_chroot.sh /usr/local/ispconfig/server/scripts/create_jailkit_programs.sh /usr/local/ispconfig/server/scripts/create_jailkit_user.sh /usr/local/ispconfig/server/scripts/ispconfig_update.sh /usr/local/ispconfig/server/scripts/run-getmail.sh /usr/local/ispconfig/server/scripts/update_from_svn.sh /usr/local/ispconfig/server/scripts/update_from_tgz.sh
    and here's apache log:
    PHP:
    [Sat Jul 02 10:35:42 2011] [error] [client 83.27.92.79PHP Notice:  Undefined indexlogin in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140refererhttp://domain.com:8080/
    [Sat Jul 02 10:35:50 2011] [error] [client 83.27.92.79PHP Notice:  Undefined indexlogin in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140refererhttp://domain.com:8080/index.php
    [Sat Jul 02 11:19:22 2011] [error] [client 83.27.92.79PHP Notice:  Undefined indexlogin in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140refererhttp://domain.com:8080/index.php
    [Sat Jul 02 11:28:29 2011] [error] [client 83.27.92.79PHP Notice:  Undefined indexlogin in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140refererhttp://domain.com:8080/index.php
    [Sat Jul 02 11:28:29 2011] [error] [client 83.27.92.79PHP Notice:  Undefined indexlogin in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 141refererhttp://domain.com:8080/index.php
    --
    TIA
    Wojtek
     
    Last edited: Jul 2, 2011
  2. falko

    falko Super Moderator ISPConfig Developer

    Which ISPConfig version did you install? What's your PHP version?
     
  3. voiteck

    voiteck New Member

    Hi,
    I've installed ISPConfig-3.0.3.3, my php version is:

    PHP 5.3.7RC2-dev (cli)
    Copyright (c) 1997-2011 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

    And here is the phpinfo of my server http://magn.es/

    --
    Best
    Wojtek
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You have most likely a problem with the ispconfig mysql database. Did you enter "localhost" as database host as the installer suggested to you? E.g. if you entered a IP address or other hostname there, then the setup can fail.
     
  5. voiteck

    voiteck New Member

    Yes, I typed in "localhost" as the host database, below is the databases part of the configuration file of the ISPConfig.
    Database is setup correctly (i'm able to connect from console as ispconfig user)


    PHP:
    //** Database
    $conf['db_type'] = 'mysql';
    $conf['db_host'] = 'localhost';
    $conf['db_database'] = 'dbispconfig';
    $conf['db_user'] = 'ispconfig';
    $conf['db_password'] = '...';
    $conf['db_charset'] = 'utf8'// same charset as html-charset - (HTML --> MYSQL: "utf-8" --> "utf8", "iso-8859-1" --> "latin1")

    define('DB_TYPE',$conf['db_type']);
    define('DB_HOST',$conf['db_host']);
    define('DB_DATABASE',$conf['db_database']);
    define('DB_USER',$conf['db_user']);
    define('DB_PASSWORD',$conf['db_password']);
    define('DB_CHARSET',$conf['db_charset']);


    //** Database settings for the master DB. This setting is only used in multiserver setups
    $conf['dbmaster_type']                  = 'mysql';
    $conf['dbmaster_host']                  = '';
    $conf['dbmaster_database']              = 'dbispconfig';
    $conf['dbmaster_user']                  = '';
    $conf['dbmaster_password']              = '8b37cfcbe87403133578e2c89f1b9830';
    I've tried to comment out dbmaster entries, but it doesn't change any thing
     
    Last edited: Jul 4, 2011
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Are thzere any tables in the ispconfig database? Did you use user and password "admin" for the login?
     
  7. voiteck

    voiteck New Member

    Yes, for me it's look like everything is ok with the database. I have 52 tables, lots of them are empty. I have one record in sys_user table, which is:

    Code:
    INSERT INTO `sys_user` (`userid`, `sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `username`, `passwort`, `modules`, `startmodule`, `app_theme`, `typ`, `active`, `language`, `groups`, `default_group`, `client_id`) VALUES
    (1, 1, 1, 'riud', 'riud', '', 'admin', '21232f297a57a5a743894a0e4a801fc3', 'dashboard,admin,client,mail,monitor,sites,dns,tools,help', 'dashboard', 'default', 'admin', 1, 'en', '1,2', 1, 0);
    
    
    I'm pretty sure that authorization mechanism works ok, as i'm getting "wrong password/user name" message when trying different credentials
     

Share This Page