HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Problem with crontab /usr/local/ispconfig/server/server.sh (http://www.howtoforge.com/forums/showthread.php?t=60584)

mateus 15th February 2013 13:33

Problem with crontab /usr/local/ispconfig/server/server.sh
 
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.

till 15th February 2013 15:19

Plese see sticky post of this forum:

http://www.howtoforge.com/forums/showthread.php?t=58408

mateus 15th February 2013 15:57

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.

till 15th February 2013 16:01

Quote:

In command line I see nothing:
[root@server ~]# /usr/local/ispconfig/server/server.sh
[root@server ~]#
Have you enabled the debug mode as described in the FAQ?

mateus 15th February 2013 16:18

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

till 15th February 2013 16:40

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?

mateus 15th February 2013 16:48

:(

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.

till 15th February 2013 16:53

Quote:

you're right!
And why did you not mention that in your fisrst post....?

Quote:

Is there a way to clean all and preserve my data?
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

mateus 15th February 2013 17:02

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

Thanks.

till 15th February 2013 17:08

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.


All times are GMT +2. The time now is 20:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.