Posts by hbaes

    HI All, suddenly all ssl pages has been gone n Apcahe within the last days ..


    Any glue why? http still available, letsencrypt certs are actual and working.

    Only the complete Virtual Host config for SSL is missing ...


    When calling the pages the IMSCP default host not found page is cuming up..

    HI guys, fresh setup with 1.5.1 on debian 9


    all operated finde, i also installed my paid plugins (example: SSH, Cron,..)
    all worked fine


    than i updated something (listener) and tried to run the imscp_reconfigure ..
    but this brakes firstly becasue of the Crontab plugin. after i disabled this now it breaks again but with a different
    message:



    Shell-Script
    1. [ERROR] iMSCP::Stepper::_callback: Couldn't restart the `imscp_mountall' service : iMSCP::Provider::Service::Sysvinit::_exec: Job for imscp_mountall.service fail ed because the control process exited with error code.See "systemctl status imscp_mountall.service" and "journalctl -xe" for details. at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Service.pm line 227.



    Shell-Script: systemctl status imscp_mountall.service
    1. systemctl status imscp_mountall.service● imscp_mountall.service - Mounts i-MSCP filesystems Loaded: loaded (/etc/systemd/system/imscp_mountall.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2018-01-25 16:17:33 CET; 10min ago Process: 13934 ExecStart=/usr/bin/perl /var/www/imscp/engine/tools/imscp-mountall start (code=exited, status=1/FAILURE) Main PID: 13934 (code=exited, status=1/FAILURE)Jan 25 16:17:33 server systemd[1]: Starting Mounts i-MSCP filesystems...Jan 25 16:17:33 server perl[13934]: [ERROR] iMSCP::Mount::mount: Error while executing mount(devpts, /var/chroot/CronJobs/jail/dev/pts, devpts, 3236757504, newinstance,gid=5,mode=620,ptmxmode=0666): No such file or directoryJan 25 16:17:33 server systemd[1]: imscp_mountall.service: Main process exited, code=exited, status=1/FAILUREJan 25 16:17:33 server systemd[1]: Failed to start Mounts i-MSCP filesystems.Jan 25 16:17:33 server systemd[1]: imscp_mountall.service: Unit entered failed state.Jan 25 16:17:33 server systemd[1]: imscp_mountall.service: Failed with result 'exit-code'.


    Sorry ...

    Re,


    okay i removed the old hooks directory which has been empty. i also removed all other listener files except the 10_frontend_templates_override.tpl


    (for the other ones all manual steps had bben processed like generating the certificates, ...)


    inside that i let the origin path in

    Code
    1. # Path to your own template filesmy $CUSTOM_THEMES_PATH = '/usr/local/src/imscp-custom/themes/default';


    inside this folder I put a modified index.tpl:


    Code
    1. -rw-r--r-- 1 root staff 1.2K Jan 8 14:02 index.tpl


    after running the reconfigure, (with -danv as root) the
    dir /var/www/imscp/gui/themes/default/

    Code
    1. total 36K
    2. dr-xr-x--- 2 vu2000 vu2000 4.0K Jan 8 18:37 admin
    3. dr-xr-x--- 5 vu2000 vu2000 4.0K Jan 8 18:37 assets
    4. dr-xr-x--- 2 vu2000 vu2000 4.0K Jan 8 18:37 client
    5. -r--r----- 1 vu2000 vu2000 1.1K Jan 8 18:37 index.tpl
    6. -r--r----- 1 vu2000 vu2000 1.1K Jan 8 18:37 info.php
    7. -r--r----- 1 vu2000 vu2000 1.2K Jan 8 18:37 lostpassword.tpl
    8. -r--r----- 1 vu2000 vu2000 284 Jan 8 18:37 message.tpl
    9. dr-xr-x--- 2 vu2000 vu2000 4.0K Jan 8 18:37 reseller
    10. dr-xr-x--- 4 vu2000 vu2000 4.0K Jan 8 18:37 shared


    didn´t change, so thi lsitener had also not been accessed ..


    so now i´m really at the end ...

    okay thanks for the password issue.


    for the lsiteners i added:
    -rw-r----- 1 root imscp 2.0K Jan 7 05:28 10_dovecot_compress.pl
    -rw-r----- 1 root imscp 1.5K Jan 7 05:28 10_frontend_templates_override.pl
    -rw-r----- 1 root imscp 1.7K Jan 7 05:28 10_nginx_hsts.pl
    -rw-r----- 1 root imscp 1.7K Jan 7 05:28 10_roundcube_tls.pl
    -rw-r----- 1 root imscp 1.5K Jan 7 05:28 20_dovecot_connections.pl
    -rw-r----- 1 root imscp 1.7K Jan 7 05:28 30_dovecot_namespace.pl
    -rw-r----- 1 root imscp 2.0K Jan 7 05:28 40_apache2_security_headers.pl
    -rw-r----- 1 root imscp 1.4K Jan 7 05:28 40_dovecot_pfs.pl
    -rw-r----- 1 root imscp 1.9K Jan 7 05:28 60_postfix_pfs.pl


    all of them had been used from the 1.3.16 zip file downlaod (using WinSCP to upload)


    is there any possibility to see if they had been loaded or a debug output ?


    br
    Harald

    Hi,
    i recently updated an (very) old installation from 1.1.16 to 1.3.16 ..
    Mainly this upgrade worked rather good .. (even i have to manually deinstall all old Plugins inside database .. maybe a check of them could be more helpful with the autoupgrade process ?)


    1.)
    But now i wanted to change from Net2ftp to MonstaFTP and get the following error duirng reconfigure:
    [ERROR] Package::FileManager::uninstall: Bareword "MonstaFTP::Net2ftp" not allowed while "strict subs" in use at (eval 1373) line 1.
    Bareword "MonstaFTP" not allowed while "strict subs" in use at (eval 1373) line 1.


    2.) i added some listener files in etc/imscp/listenders.d/, but it seems they do not get used (none of them is executed ???) I have to enable someting? (run reconfigure for sure, but still nothing happens)


    3.) the roundcube SQl and Rainloop SQL Users/Passes are not stored insde imscp.conf ?? (i entered them but they had been removed during the setup)


    br Harald

    root@server2 /var/www/imscp/gui/data # perl /var/www/imscp/engine/imscp-rqst-mngr
    =======================
    Processing Plugin items.
    Processing 6, Mailgraph, enabled. (1 of 7: remaining 6)
    Processing 11, InstantSSH, enabled. (2 of 7: remaining 5)
    Processing 16, RoundcubePlugins, enabled. (3 of 7: remaining 4)
    Processing 10, Mailman, enabled. (4 of 7: remaining 3)
    Processing 12, AdminerSQL, enabled. (5 of 7: remaining 2)
    "my" variable $rs masks earlier declaration in same scope at /var/www/imscp/gui/plugins/AdminerSQL/backend/AdminerSQL.pm line 102, <$fh> line 500.
    Processing 15, ClamAV, enabled. (6 of 7: remaining 1)
    Processing 14, OpenDKIM, enabled. (7 of 7: remaining 0)
    =======================
    Processing SSLcertificate items.
    No item found.
    =======================
    Processing User items.
    No item found.
    =======================
    Processing Domain items.
    No item found.
    =======================
    Processing Subdomain items.
    No item found.
    =======================
    Processing Alias items.
    No item found.
    =======================
    Processing SubAlias items.
    No item found.
    =======================
    Processing Mail items.
    No item found.
    =======================
    Processing Htusers items.
    No item found.
    =======================
    Processing Htgroup items.
    No item found.
    =======================
    Processing Htaccess items.
    No item found.
    =======================
    Processing SubAlias items.
    No item found.
    =======================
    Processing Alias items.
    No item found.
    =======================
    Processing Subdomain items.
    No item found.
    =======================
    Processing Domain items.
    No item found.
    =======================
    Processing User items.
    No item found.
    =======================
    Processing NetCard items.
    No item found.


    hmm