Problem with crontab /usr/local/ispconfig/server/server.sh

Discussion in 'Installation/Configuration' started by mateus, Feb 15, 2013.

  1. mateus

    mateus New Member

    Hi,

    When crontab (or me) runs /usr/local/ispconfig/server/server.sh, nothing happens.
    What i changed in web interface, didn't go to config files, like dns files for example.

    I tried to looking for some logs, but I didn't find nothing.

    I'm using centos 6.3

    Thanks.

    Excuse my english.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. mateus

    mateus New Member

    The job is queued since yesterday.

    14/02/2013 11:55 server.domain.com Insert dns_rr
    14/02/2013 11:55 server.domain.com Update dns_soa
    14/02/2013 11:55 server.domain.com Update dns_rr
    14/02/2013 11:48 server.domain.com Insert web_domain
    14/02/2013 11:48 server.domain.com Delete web_domain
    14/02/2013 11:40 server.domain.com Insert web_domain

    In command line I see nothing:
    [root@server ~]# /usr/local/ispconfig/server/server.sh
    [root@server ~]#

    I'm using 3.0.4.6

    Thanks.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you enabled the debug mode as described in the FAQ?
     
  5. mateus

    mateus New Member

    Sorry.

    [root@server named]# /usr/local/ispconfig/server/server.sh
    15.02.2013-15:20 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    15.02.2013-15:20 - DEBUG - Found 8 changes, starting update process.
    which: no tw_cli in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin)
    /usr/bin/fail2ban-client
    /sbin/iptables
    /sbin/ip6tables
    15.02.2013-15:20 - DEBUG - Unable to register function 'install' from plugin 'aps_plugin' for event 'aps_instance_insert'
    15.02.2013-15:20 - DEBUG - Unable to register function 'install' from plugin 'aps_plugin' for event 'aps_instance_update'
    15.02.2013-15:20 - DEBUG - Unable to register function 'delete' from plugin 'aps_plugin' for event 'aps_instance_delete'

    Fatal error: Call to undefined method plugins::registerAction() in /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php on line 54
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you installed ISPConfig 3.0.5 RC1 first and then downgraded to 3.0.4.6 which is not supported and messed up your setup. Am I right with my guess?
     
  7. mateus

    mateus New Member

    :(

    you're right! :D

    I downgraded because I got an error opening admin interface. Some "internal server error" from apache.

    Is there a way to clean all and preserve my data?

    Thanks your patience.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    And why did you not mention that in your fisrst post....?

    You can do some fixes for the current problem but it will not be a clean install anymore as the database tables are altered for the new release, so there is no clean way back.

    runM

    rm -f /usr/local/ispconfig/server/plugins-available/backup_plugin.inc.php
    rm -f /usr/local/ispconfig/server/plugins-enabled/backup_plugin.inc.php
    rm -f /usr/local/ispconfig/server/plugins-available/aps_plugin.inc.php
    rm -f /usr/local/ispconfig/server/plugins-enabled/aps_plugin.inc.php
    rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
     
  9. mateus

    mateus New Member

    I made a mysqldump before migration. Removing this files and restoring DB will be fine?

    Thanks.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    There might be more files, but I dont have a complete list of all files at hand. If you choose to do a backup before upgrdae in the installeer, then remove the while /usr/local/ispconfug directory and restore it from backup in /var/backups/.... plus restore the mysql dump.

    Btw. Fixing your login issie in 3.0.5 RC would have been much easier. It should have been obvious that you cant downgrade a softawre without reinstalling, this is not possible with any complex software.
     
  11. mateus

    mateus New Member

    Thanks.
    Worked.
     

Share This Page