After upgrade from old svn to 3.0.1.6 no more apache config updates

Discussion in 'Installation/Configuration' started by quentusrex, Feb 14, 2010.

  1. quentusrex

    quentusrex New Member

    Basically ISPConfig is no longer updating the configs. It is as if the cron job to actually make the config changes has stopped running. I can't seem to find documentation on how to test this manually.
     
  2. quentusrex

    quentusrex New Member

    20 views and nobody knows how to test the server configs update script?
     
  3. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    crontab -l
    ?

    I guess the problem is that you've updated from SVN to stable. Maybe Till can confirm this (but he's not online right now).
     
  4. quentusrex

    quentusrex New Member

    Here is the relevant crontab listings:

    * * * * * /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


    and here is a tail from the log file:

    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    Error: configuration file /etc/getmail/*.conf does not exist
    /usr/local/ispconfig/server/server.sh: line 7: 8853 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    /usr/local/ispconfig/server/server.sh: line 7: 22641 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    /usr/local/ispconfig/server/server.sh: line 7: 23436 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    /usr/local/ispconfig/server/server.sh: line 7: 7721 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    /usr/local/ispconfig/server/server.sh: line 7: 22639 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    Warning: Truncating oversized referrer field
    /usr/local/ispconfig/server/server.sh: line 7: 1155 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    /usr/local/ispconfig/server/server.sh: line 7: 3662 Segmentation fault /usr/bin/php -q /usr/local/ispconfig/server/server.php
    Warning: Truncating oversized referrer field [23]
    Warning: Truncating oversized referrer field [29]



    Since there isn't a date/time stamp it is impossible to tell how old those logs are.
     
  5. quentusrex

    quentusrex New Member

    Plus after running the script manually I see no output, and there are no configuration changes. I'm waiting for a site I just created to be actually created.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Which Linux distribution do you use?
    2) post the output of:

    php -v
     
  7. quentusrex

    quentusrex New Member

    root@virt3:~# php -v
    PHP 5.2.6-2ubuntu4.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 6 2010 22:19:42)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies


    root@virt3:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 8.10
    Release: 8.10
    Codename: intrepid
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Please post the content of the file:

    /etc/apt/sources.list
     
  9. quentusrex

    quentusrex New Member

  10. quentusrex

    quentusrex New Member

    Till,

    Still isn't updating any config changes. I can't figure out what is wrong. I have tried everything except for upgrading to Ubuntu 9.04 or 9.10 from 8.10.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    1) is this a single or multiserver setup?
    2) Are there any errors in the system log in the ispconfig monitor?
    3) Are there any jobs listed in the jobqueue in the ispconfig monitor.
    4) Do the following steps:

    a) Comment out the /usr/local/ispconfig/server/server.sh cronjob in the crontab.
    b) Enable debugging in ispconfig.
    c) Change a setting in a website or mail user, so that we can see if the system is working.
    d) Run:

    /usr/local/ispconfig/server/server.sh

    as root user and post the complete output that you get on the screen.
     
  12. quentusrex

    quentusrex New Member

    How do I enable debugging?
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

  14. quentusrex

    quentusrex New Member

    Plus, the script returns that everything went ok. But nothing happens. I just created a new site, and ran the script with "finished." as the output.
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Please answer every question that I asked you in #11 if I shall be able to help you.
     
  16. quentusrex

    quentusrex New Member

    Sorry, Here goes.

    1) is this a single or multiserver setup?
    Single server.
    2) Are there any errors in the system log in the ispconfig monitor?
    None.
    3) Are there any jobs listed in the jobqueue in the ispconfig monitor.
    None. Which is strange because wouldn't there be jobs from the changes?
    4) Do the following steps:

    a) Comment out the /usr/local/ispconfig/server/server.sh cronjob in the crontab.
    b) Enable debugging in ispconfig.
    c) Change a setting in a website or mail user, so that we can see if the system is working.
    d) Run:


    /usr/local/ispconfig/server/server.sh
    22.02.2010-01:19 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    22.02.2010-01:19 - DEBUG - No Updated records found, starting only the core.
    22.02.2010-01:19 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished.
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Then the only possible reason is thet the server ID does not match. Have you added a second server in the ispconfig interface or did you edit the server id in one of the config files?
     
  18. quentusrex

    quentusrex New Member

    No, I haven't. How do I check. I did have to jump through some hoops to get it running after the upgrade.

    In the database the server id is 1.
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Then check the server_id in /usr/local/ispconfig/server/lib/config.inc.php, it must be 1 too.
     
  20. quentusrex

    quentusrex New Member

    Yes, it is set to 1.
     

Share This Page