reconfigure error - could not find sysvinit script for the imscp_network

  • Hi there,


    want to change my hostname and enable ssl for admin panel, i'm using this commands:



    /var/www/imscp/engine/setup/imscp-setup --reconfigure ssl
    /var/www/imscp/engine/setup/imscp-setup --reconfigure panel_hostname


    By all reconfgure commands I get the following exact error:
    ismcp.PNG


    Yes, I stopped service imscp_network before configure, and yes I tried it again with started imscp_network service.


    Thank you


    Edit: Version 1.2.15

  • Please tell us Distro & Codename. You're using sysvinit as init-system?

  • Hello,


    @Ninos


    sysvinit is still present under Trusty for backward compatibility but the init is upstart ;)


    @Grex


    There is not imscp_network sysvinit script installed. There is normally a upstart job at /etc/init/imscp_network.


    Well, can you please the exact step to follow to reproduce the error? Once done, I'll try to reproduce and fix. There is maybe a regression problem in our upstart provider.

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

  • @Grex



    You have upstart on your trusty or you removed it?

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

  • @Nuxwin



    I didn't removed anything like upstart.


    The following process is:


    SSH Login as sudo user xxx


    Code
    1. sudo /var/www/imscp/engine/setup/imscp-setup --reconfigure panel_hostname

    Continue => (entering new url, it saved it before, so no changes need) => OK => Something is loading => Error message appears


    Error was:
    "iMSCP:::Stepper::step: Coould not find sysvinit script for the imscp_network service at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/Sysvinit.pm line 307."


    Thank you


    EDIT: I see the changes were made (successfully?), I checked it on customers alternative url, it is the new one
    EDIT 2: FYI: service imscp_network stop|start is working.

  • @Grex


    Thank for the info. I'll fix.

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

  • @Grex


    Output of the following commands please


    Code
    1. # ls /etc/init.d/imscp_network

    and

    Code
    1. # ls /etc/init/imscp_network


    Thanks.

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

  • @Nuxwin


    What the ... imscp_network is not existing:


    grex@server:~$ sudo ls -l /etc/init.d/imscp_*
    -rwxr-xr-x 1 root root 2919 Mar 3 10:38 /etc/init.d/imscp_daemon
    -rwxr-xr-x 1 root root 3858 Mar 3 10:38 /etc/init.d/imscp_panel


    But at init:
    grex@server:~$ sudo ls -l /etc/init/imscp_*
    -rw-r--r-- 1 root root 268 Mar 3 10:38 /etc/init/imscp_daemon.conf
    -rw-r--r-- 1 root root 599 Mar 3 10:38 /etc/init/imscp_network.conf
    -rw-r--r-- 1 root root 232 Mar 3 10:38 /etc/init/imscp_panel.conf



    grex@server:~$ sudo service imscp_network status
    imscp_network start/running

  • @Grex


    Expected . There is only the upstart job /etc/init/imscp_network.conf.


    Anyway, I'll review our init providers a bit.

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