Posts by sanitariu

    It is possible but i can not understand the idea to have different IP if my mail server still points to
    the main one and the most bad thing is that i can not change normally the ip of host -
    IP is useful only for web but the most useful will be different mail server ip on shared platform.
    Can save some domains from spam and other good stuff and have ssl different client certificates per domain.
    I already did that but manually and i do not like it.

    I think i noticed a small bug which is related to separate ssl IP.
    When we assign different ip for some domain our name server still keeps main ip for hosts
    like mail,imap,pop,pop3 which is wrong i think.
    We assign different IP not the same it means all services must listen on the new one.
    I expect pinging to return the new assigned ip.
    There are some files we must touch for these to work.
    bind config, dovecot/courrier, master.conf

    i already setup ssl certificate for my main server.
    Now it is possible to use that server for smtp/pop3/imap with SSL everything is fine.
    Is it possible for a customer to add ssl for his own domain ? I know that
    www is possible and it is working, but i am interrested in postfix ssl too so he
    has his own smtp/pop3/imap domain ssl.

    Start-Date: 2015-03-15 12:33:42
    Commandline: apt-get upgrade
    Upgrade: libnss3:i386 (3.14.5-1+deb7u3, 3.14.5-1+deb7u4), libicu48:i386 (,, libssh2-1-dev:i386 (1.4.2-1.1, 1.4.2-1.1+deb7u1), libgcrypt11-dev:i386 (1.5.0-5+deb7u2, 1.5.0-5+deb7u3), libssh2-1:i386 (1.4.2-1.1, 1.4.2-1.1+deb7u1), libgcrypt11:i386 (1.5.0-5+deb7u2, 1.5.0-5+deb7u3), gpgv:i386 (1.4.12-7+deb7u6, 1.4.12-7+deb7u7), libnss3-1d:i386 (3.14.5-1+deb7u3, 3.14.5-1+deb7u4), gnupg:i386 (1.4.12-7+deb7u6, 1.4.12-7+deb7u7)
    End-Date: 2015-03-15 12:34:17

    I can confirm after that date backups are not working. From WEB control panel is ok, everything works except backups for customers and imscp.

    from 2 days i have on all of my servers:

    iMSCP::Database::mysql::dumpdb: mysqldump: Got error: 1045: Access deniedfor user 'root'@'localhost' (using password: YES) when trying to connect

    mysql password is the same. What can be the reason ?

    Problem is in file /var/www/imscp/engine/backup/imscp-backup-imscp

    my $rs = $db->dumpdb($main::imscpConfig{'DATABASE_NAME'}, $sqlFName);
    error("Unable to dump the $main::imscpConfig{'DATABASE_NAME'} database") if $rs;
    return $rs if $rs;

    Somehow $rs returns 2.How can i make it print user and password so i can see what is the problem exactly ?

    I put extra prints in: imscp-backup-imscp

    function "sub _backupDatabase"

    print "Date: $date\n";
    print "SQLFileName: $sqlFName\n";
    print "DB Host: $main::imscpConfig{'DATABASE_HOST'}\n";
    print "DB name: $main::imscpConfig{'DATABASE_NAME'}\n";
    print "DB User: $main::imscpConfig{'DATABASE_USER'}\n";
    print "DB Pass: $main::imscpConfig{'DATABASE_PASSWORD'}\n";

    Date: 2015.03.16-15-51
    SQLFileName: /var/www/imscp/backups/ispcp-2015.03.16-15-51.sql
    DB Host: localhost
    DB name: ispcp
    DB User: root
    DB Pass: *********
    RS = 2

    Information is absolutely correct as in /etc/imscp/imscp.conf but
    still the scripts exits here:
    my $rs = $db->dumpdb($main::imscpConfig{'DATABASE_NAME'}, $sqlFName);
    error("Unable to dump the $main::imscpConfig{'DATABASE_NAME'} database") if $rs;


    iMSCP::Database::mysql::dumpdb: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
    main::_backupDatabase: Unable to dump the ispcp database


    Exit code: 2

    Anyone can help ?

    Additional info:
    access denied i have only on machines which are upgraded from ispcp 1.0.7