Cron Job problem Ispconfig3.0.4.5

Discussion in 'Installation/Configuration' started by cypriot, Jun 2, 2012.

  1. cypriot

    cypriot New Member

    Hi There,
    Cron jobs seems not working

    here cron log
    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/source/Sources Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/source/Sources Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/source/Sources Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/source/Sources Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-amd64/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-amd64/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-amd64/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-amd64/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/i18n/Translation-en_GB Unable to connect to gb.archive.ubuntu.com:http:

    W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/i18n/Translation-en Unable to connect to gb.archive.ubuntu.com:http:

    E: Some index files failed to download. They have been ignored, or old ones used instead.
    Reading changelogs...
    E: changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/ source/libgcrypt11/ changelog
    E: changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/ source/libgcrypt11/ changelog
    E: changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/ source/cups/ changelog
    E: changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/ source/cups/ changelog
    E: changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/ source/grub2/ changelog
    debconf: Unable to initialise frontend: Dialog
    debconf: (TERM is not set so the dialogue frontend is not usable.)
    debconf: falling back to frontend: Readline
    debconf: Unable to initialise frontend: Readline
    debconf: (This frontend requires a controlling tty.)
    debconf: falling back to frontend: Teletype
    dpkg-preconfigure: Unable to re-open stdin:
    debconf: Unable to initialise frontend: Dialog
    debconf: (TERM is not set so the dialogue frontend is not usable.)
    debconf: falling back to frontend: Readline
    debconf: Unable to initialise frontend: Readline
    debconf: (This frontend requires a controlling tty.)
    debconf: falling back to frontend: Teletype
    debconf: Unable to initialise frontend: Dialog
    debconf: (TERM is not set so the dialogue frontend is not usable.)
    debconf: falling back to frontend: Readline
    debconf: Unable to initialise frontend: Readline
    debconf: (This frontend requires a controlling tty.)
    debconf: falling back to frontend: Teletype
    Installation finished. No error reported.
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-24-generic
    Found initrd image: /boot/initrd.img-3.2.0-24-generic
    Found linux image: /boot/vmlinuz-3.2.0-23-generic
    Found initrd image: /boot/initrd.img-3.2.0-23-generic
    Found memtest86+ image: /boot/memtest86+.bin
    done
    usermod: no changes
    PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293
    usermod: no changes
    PHP Warning: mkdir(): File exists in /usr/local/ispconfig/server/plugins-available/cron_jailkit_plugin.inc.php on line 293





    crontab -l
    * * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
    30 00 * * * /usr/local/ispconfig/server/cron_daily.sh > /dev/null 2>> /var/log/ispconfig/cron.log
    0 * * * * /var/lib/asterisk/bin/freepbx-cron-scheduler.php



    netstat -tap | grep mysql


    tcp 0 0 *:mysql *:* LISTEN 1035/mysqld
    tcp 0 0 localhost:51192 localhost:mysql ESTABLISHED 27939/amavisd (ch7-
    tcp 0 0 localhost:52857 localhost:mysql ESTABLISHED 28141/amavisd (ch6-
    tcp 0 0 localhost:mysql localhost:51192 ESTABLISHED 1035/mysqld
    tcp 0 0 localhost:mysql localhost:52857 ESTABLISHED 1035/mysqld
     
    Last edited: Jun 3, 2012
  2. till

    till Super Moderator

    Thats uncritical, the ubuntu repository server was not available at the moment the script tried to update the sources list. Run:

    apt-get update

    if you dont get an error, then the issue is fixed already.
     

Share This Page