Posts by theprincy

    I have this error when I try to upgrade to version 1.4.6 with the command perl imscp-autoinstall -d


    [ERROR] iMSCP::Stepper::_callback: Couldn't connect to SQL server: DBI connect('database=','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/src/imscp-1.4.6/engine/PerlLib/iMSCP/Database/mysql.pm line 95.


    [ERROR] autoinstaller::Functions::install: An error occurred while performing installation steps


    The server has


    Version I-MSCP 1.3.16 to Upgrade 1.4.6


    debian version is 8.8


    PHP 7.1.6-2+0~20170614060700.1+jessie~1.gbp831871 (cli) (built: Jun 14 2017 06:28:54) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.6-2+0~20170614060700.1+jessie~1.gbp831871, Copyright (c) 1999-2017, by Zend Technologies



    How can I fix the problem?

    Hello,



    I tried to delete some subdomains but all I get is a Deletion in progress... message. I tried to take a look into the /var/log/imscp/imscp-rqst-mngr.log log but it is empty.


    I have execute: perl /var/www/imscp/engine/imscp-rqst-mngr -v



    and this is the result



    How can I fix?



    Details:



    System: Debian 7.8
    I-MSCP: 1.3.16

    I lost the root password of mysql, I performed the following steps but in the end I get the following errors.


    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)



    Just create it ;)

    SQL
    1. # mysql -u debian-sys-maint -p<password>
    2. > GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '<yourpassword>' WITH GRANT OPTION;
    3. > GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '<yourpassword>' WITH GRANT OPTION;
    4. > FLUSH PRIVILEGES;
    5. > \q

    To do this, you need to start the mysql server normally and use the debian-sys-maint user to connect as shown above. See the file /etc/mysql/debian.cnf for the password of that user.


    ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)


    solutions, ideas?



    mysql is


    debian 7.11
    HP 5.4.45-1~dotdeb+7.1 (cli) (built: Sep 4 2015 23:38:46)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.4.3, Copyright (c) 2002-2013, by ionCube Ltd.

    I'm making a change ip and simultaneously upgrade the server to 1.3.0 to 1.3.6 , when the Domain Configuration,


    and I get this error type


    [ERROR] main::setupDbTasks: iMSCP::Stepper::_callback: The `new_ip' IP address is not valid at /usr/local/src/imscp-1.3.16/engine/PerlLib/iMSCP/Provider/NetworkInterface.pm line 55
    autoinstaller::Functions::install: An error occurred while performing installation steps



    NAME="Debian GNU/Linux"
    VERSION_ID="7.11"
    VERSION="7 (wheezy)"



    Code: /var/log/imscp/Modules\:NetworkInterfaces_network\:interfaces.log
    1. [Wed Jan 18 15:14:17 2017] [debug] iMSCP::Execute::execute: /usr/bin/dialog --yes-label Yes --help-label Help --no-shadow --insecure --backtitle 'i-MSCP - internet Multi Server Control Panel (1.3.16)' --cancel-label Back --exit-label Abort --title 'i-MSCP Installer Dialog' --colors --ok-label Ok --no-label No --msgbox '\Z1[ERROR]\ZnError while performing step:Processing Modules::NetworkInterfaces (any) tasks for: network interfaces (ID all)Error was:\Z1iMSCP::Stepper::_callback: The `new_ip'\'' IP address is not valid at /usr/local/src/imscp-1.3.16/engine/PerlLib/iMSCP/Provider/NetworkInterface.pm line 55\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 39 132[Wed Jan 18 15:14:51 2017] [error] main::setupDbTasks: iMSCP::Stepper::_callback: The `new_ip' IP address is not valid at /usr/local/src/imscp-1.3.16/engine/PerlLib/iMSCP/Provider/NetworkInterface.pm line 55[Wed Jan 18 15:14:51 2017] [debug] iMSCP::Execute::execute: /usr/bin/dialog --yes-label Yes --help-label Help --no-shadow --insecure --backtitle 'i-MSCP - internet Multi Server Control Panel (1.3.16)' --cancel-label Back --exit-label Abort --title 'i-MSCP Installer Dialog' --colors --ok-label Ok --no-label No --msgbox '\Z1[ERROR]\ZnError while performing step:Processing DB tasksError was:\Z1main::setupDbTasks: iMSCP::Stepper::_callback: The `new_ip'\'' IP address is not valid at /usr/local/src/imscp-1.3.16/engine/PerlLib/iMSCP/Provider/NetworkInterface.pm line 55\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 39 132[Wed Jan 18 15:14:51 2017] [debug] iMSCP::Execute::execute: /usr/bin/dialog --yes-label Yes --help-label Help --no-shadow --insecure --backtitle 'i-MSCP - internet Multi Server Control Panel (1.3.16)' --cancel-label Back --exit-label Abort --title 'i-MSCP Installer Dialog' --colors --ok-label Ok --no-label No --msgbox '\Z1[ERROR]\ZnError while performing step:Processing setup tasksError was:\Z1main::setupDbTasks: iMSCP::Stepper::_callback: The `new_ip'\'' IP address is not valid at /usr/local/src/imscp-1.3.16/engine/PerlLib/iMSCP/Provider/NetworkInterface.pm line 55\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 39 132[Wed Jan 18 15:14:52 2017] [error] autoinstaller::Functions::install: An error occurred while performing installation steps[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-disable-accounts.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-backup-imscp.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-vrl-traff.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-backup-all.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/awstats_updateall.pl.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-srv-traff.lock[Wed Jan 18 15:14:52 2017] [debug] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-dsk-quota.lock


    Code: /var/log/imscp/Domain_module_solintec.net.log
    1. [Wed Jan 18 14:55:44 2017] [error] main::setupDbTasks: iMSCP::Stepper::_callback: Invalid IP address: new_ip at /usr/local/src/imscp-1.3.0/engine/PerlLib/Servers/httpd/apache_php_fpm.pm line 1427
    2. [Wed Jan 18 14:55:46 2017] [error] autoinstaller::Functions::install: An error occurred while performing installation steps

    1.3.10 installing this version you get this type of error



    The following NEW packages will be installed:
    awstats
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 832 kB of archives.
    After this operation, 3216 kB of additional disk space will be used.
    Get:1 http://mirror.hetzner.de/debian/packages/ jessie/main awstats all 7.2+dfsg-1 [832 kB]
    Fetched 832 kB in 0s (7742 kB/s)
    Selecting previously unselected package awstats.
    (Reading database ... 45036 files and directories currently installed.)
    Preparing to unpack .../awstats_7.2+dfsg-1_all.deb ...
    Unpacking awstats (7.2+dfsg-1) ...
    Processing triggers for man-db (2.7.0.2-5) ...
    Setting up awstats (7.2+dfsg-1) ...



    Configuration file `/etc/default/awstats', does not exist on system.
    Installing new config file as you requested.



    Configuration file `/etc/cron.d/awstats', does not exist on system.
    Installing new config file as you requested.



    Configuration file `/etc/awstats/awstats.conf.local', does not exist on system.
    Installing new config file as you requested.



    Configuration file `/etc/awstats/awstats.conf', does not exist on system.
    Installing new config file as you requested.
    [ERROR] Package::FrontEnd::restart: Could not restart the `imscp_panel' service: iMSCP::Provider::Service::Sysvinit::_exec: Job for imscp_panel.service failed. See 'systemctl status imscp_panel.service' and 'journalctl -xn' for details. at /var/www/imscp/engine/PerlLib/iMSCP/Service.pm line 233.



    E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/local/sbin/imscp-dpkg-post-invoke.pl ] ; then /usr/bin/perl /usr/local/sbin/imscp-dpkg-post-invoke.pl -d; fi'
    E: Sub-process returned an error code



    autoinstaller::Functions::install: An error occurred while performing installation steps





    version debian 8


    PHP 5.6.29-0+deb8u1 (cli) (built: Dec 13 2016 16:02:08)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies




    Resolved
    rerunning setup makes everything work.