/var/www/imscp/engine/setup/set-engine-permissions.pl": No │ │ such file or directory

  • hi,


    So i removed php7.2, then started autoinstaller and ended error:
    /var/www/imscp/engine/setup/set-engine-permissions.pl": No │
    │ such file or directory


    software is located at :


    /usr/local/src/imscp-1.5.1/engine/setup


    BUT IF STARTED FROM THERE ends to same error message.

  • @boy007


    You did run which script exactly? Please, post the full path.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • ok, i found uninstall routine but it ends to message:


    │ Uninstallation aborted. │
    │ │
    │ You must first uninstall all i-MSCP plugins through the control panel │
    │ interface.


    ==============


    As you know there is no controll panel now.


    ===


    So how to remove whole thing ?

  • First tried autoinstall,


    then


    /usr/local/src/imscp-1.5.1/engine/setup/imscp-reconfigure



    and then


    /usr/local/src/imscp-1.5.1/engine/setup/imscp-uninstall

  • So how to remove whole thing ?

    Connect to your SQL server using mysql command line tool, then truncate the plugin table from the imscp database:


    SQL
    1. # mysql -u root
    2. > use imscp;
    3. > truncate plugin;
    4. > exit;

    Once done retry. Note that the behavior when running the imscp-uninstall script from the i-MSCP archive directory is not defined.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • After removeing plugin at mysql:


    [ERROR] main::_removeCustomers: iMSCP::SystemUser::delSystemUser: /usr/bin/lprm: Error - unknown destination "vu2003". at /usr/local/src/imscp-1.5.1/engine/setup/../PerlLib/iMSCP/DbTasksProcessor.pm line 490.
    ...propagated at /usr/local/src/imscp-1.5.1/engine/setup/../PerlLib/iMSCP/DbTasksProcessor.pm line 496.

  • @boy007


    Edit the file engine/PerlLib/iMSCP/SystemUser.pm then change:



    Perl
    1. ( -x '/usr/bin/lprm' ? [ [ '/usr/bin/lprm', $username ], [ 0 ] ] : () ),

    by

    Perl
    1. ( -x '/usr/bin/lprm' ? [ [ '/usr/bin/lprm', '-U', $username ], [ 0 ] ] : () ),

    Then retry.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • [ERROR] │
    │ │
    │ Error while performing step: │
    │ │
    │ Processing Modules::User tasks for: kurrola.fi (ID 3) │
    │ │
    │ Error was: │
    │ │
    │ iMSCP::SystemUser::delSystemUser: /usr/bin/lprm: No active jobs on Brother-DCP-L2500D-series. │
    │ │
    │ Please have a look at http://i-mscp.net/forum if you need help.



    ====


    Error while performing step: │
    │ │
    │ Removing i-MSCP customers │
    │ │
    │ Error was: │
    │ │
    │ main::_removeCustomers: iMSCP::SystemUser::delSystemUser: /usr/bin/lprm: No active jobs on │
    │ Brother-DCP-L2500D-series. at /usr/local/src/imscp-1.5.1/engine/setup/../PerlLib/iMSCP/DbTasksProcessor.pm │
    │ line 490. │
    │ ...propagated at /usr/local/src/imscp-1.5.1/engine/setup/../PerlLib/iMSCP/DbTasksProcessor.pm line 496. │
    │ │
    │ Please have a look at http://i-mscp.net/forum if you need help.

  • Please what is the status code of the command: lprm -U vu2003, e.g:


    Shell-Script
    1. root@jessie64:/usr/local/src# lprm -U nuxwin
    2. root@jessie64:/usr/local/src# echo $?
    3. 0


    ???

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206