CronJob Is not working

    • Ubuntu 14.04
    • I-mscp 1.3.1
    • Fcgid,
    • dovecot,
    • mysql 5.6
    • Proftpd
    • CronJobs 1.4.1

    After update to i-mscp 1.3.1 and CronJobs plugin 1.4.1, cron stopped working.
    Which log file should i be looking at? I see no error so far for cron in any of them ?

  • @DZII


    Please, try to deactivate and reactivate the plugin.


    BTW: Do you use the InstantSSH plugin? If yes, do you have jailed cronjobs?


    If needed, give me an access to the server. I need a root access and also admin acccess to the panel.


    Thanks.


    Edit: You don't use InstantSSH plugin.

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

  • I deactivate and reactivate and waited for a while cron is set to run every 10 min but nothing. So i tried rebooting server now i am not able to get to admin panel. should i run reconfigure ?

  • There is not need to reboot, nor reconfigure... You should really stop to do everything and anything...


    What is the status of the nginx service?
    What is the status of the imscp_panel service?
    What is the result of the netstat -plunt command?

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

  • root@serv1:~# ps waux | grep nginx
    root 2926 0.0 0.0 82272 2268 ? Ss Sep15 0:00 nginx: master process /usr/sbin/nginx
    www-data 2927 0.0 0.0 83204 3400 ? S Sep15 0:00 nginx: worker process
    www-data 2928 0.0 0.0 83204 3400 ? S Sep15 0:02 nginx: worker process
    www-data 2929 0.0 0.0 83204 3400 ? S Sep15 0:02 nginx: worker process
    www-data 2930 0.0 0.0 83204 3400 ? S Sep15 0:02 nginx: worker process
    root 9188 0.0 0.0 10468 2076 pts/0 S+ 15:52 0:00 grep --color=auto nginx



    imscp_panel was running and seems to restart ok
    root@serv1:~# service imscp_panel restart
    imscp_panel stop/waiting
    imscp_panel start/running, process 9223




    root@serv1:~# netstat -plunt
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2812/dovecot
    tcp 0 0 209.188.21.174:8880 0.0.0.0:* LISTEN 9253/nginx
    tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2674/master
    tcp 0 0 127.0.0.1:9876 0.0.0.0:* LISTEN 1045/imscp_daemon
    tcp 0 0 209.188.21.174:53 0.0.0.0:* LISTEN 2747/named
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2747/named
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1036/sshd
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2747/named
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2674/master
    tcp 0 0 127.0.0.1:8889 0.0.0.0:* LISTEN 2475/apache2
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2837/mysqld
    tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2674/master
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2812/dovecot
    tcp6 0 0 :::143 :::* LISTEN 2812/dovecot
    tcp6 0 0 :::8880 :::* LISTEN 9253/nginx
    tcp6 0 0 :::80 :::* LISTEN 2475/apache2
    tcp6 0 0 :::21 :::* LISTEN 2452/proftpd: (acce
    tcp6 0 0 :::22 :::* LISTEN 1036/sshd
    tcp6 0 0 :::443 :::* LISTEN 2475/apache2
    tcp6 0 0 :::110 :::* LISTEN 2812/dovecot
    udp 0 0 209.188.21.174:53 0.0.0.0:* 2747/named
    udp 0 0 127.0.0.1:53 0.0.0.0:* 2747/named

  • Sorry but I'm able to access your control panel using the IP: http://209.188.21.174:8880/


    Well, I'll not lose my time. Give me an access to the server and panel. It seem that you're a bit lost...

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

  • @DZII


    I checked you installation.


    Conclusions


    The CronJobs plugin is working as expected. The problem comes from the fact that the email account you have set for the cron notification doesn't exists. You must create it...


    For your panel access problem, you must use the correct port 8880 which is the default since i-MSCP 1.3.1. Normally this port is only set for new installations.


    See also: https://github.com/i-MSCP/imsc…errata.md#listening-ports


    Thread closed.

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