ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   Problem after last update (http://forum.ispsystem.com//showthread.php?t=991)

Jimaek 04-15-2010 01:50 PM

Problem after last update
 
After the last update i keep getting this mail from my server

Quote:

Cron <root@hostname> 15 2 * * * /usr/local/ispmgr/sbin/traffic.pl

/bin/sh: 15: command not found

How to fix it?

slava 04-15-2010 03:30 PM

What are you seeing in the ISPmanager Scheduler (cron) menu?

janneman 04-15-2010 05:45 PM

Same problem
 
After the update this past night the crontab on all our ISPmanager servers are changed with duplicate and even bad formated cronjobs.

On one server it added 3 trafic.pl jobs the formatting of the cronjob was wrong.

Two other servers had 3 backup jobs in stead of 1 but those were properly formatted but 3 backup jobs in a row is not very helpful.

Didn't check our other servers yet but I guess they will have the same problem.

Can I simply remove the duplicate an wrong jobs ?
Or is there some higher logic behind all this ??

Below the crontabs of the 3 servers I checked.

Server1:
0 2 * * * /usr/local/ispmgr/sbin/pbackup backup 2
1 * * * * /usr/local/ispmgr/sbin/pbackup backup 2
15 2 * * * /usr/local/ispmgr/sbin/pbackup backup 2
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr


Server2:
45 5 * * * /usr/local/ispmgr/sbin/pbackup backup 1
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr
0 2 * * * 15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
1 * * * * 15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
15 2 * * * 15 2 * * * /usr/local/ispmgr/sbin/traffic.pl

Server3:
0 2 * * * /usr/local/ispmgr/sbin/pbackup backup 1
1 * * * * /usr/local/ispmgr/sbin/pbackup backup 1
15 2 * * * /usr/local/ispmgr/sbin/pbackup backup 1
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr

slava 04-15-2010 11:58 PM

You need only this:

Server1:
0 2 * * * /usr/local/ispmgr/sbin/pbackup backup 2
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr

Server2:
45 5 * * * /usr/local/ispmgr/sbin/pbackup backup 1
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr

Server3:
0 2 * * * /usr/local/ispmgr/sbin/pbackup backup 1
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr

You should delete the duplicates. This is a mistake and it will be taken and corrected.

sascha 04-19-2010 11:57 AM

hi
 
i´ve the same errors - and some others

when i try to make backups, i become this error for every domain

Apr 19 10:42:54 Failed to run function diraccess.user: code=1 Internal Error

in the ispmgr.log i see following:

Apr 19 10:42:54 [17689] ERROR Exception 1: Invalid htpasswd file

also for every domain.

slava 04-19-2010 12:09 PM

It is not an error, it is "warning". It was always, simply was not displayed earlier.
The panel make backup the data in files in any cases and separately also do backup of authorisation (access) data for http-authorisation.
For you, most likely, the incorrect .htaccess file is in the webstat directory, it is possible to have nonexistent file path to passwords file.

pitbull 05-25-2010 03:07 PM

Quote:

Originally Posted by slava (Post 4228)
It is not an error, it is "warning". It was always, simply was not displayed earlier.
The panel make backup the data in files in any cases and separately also do backup of authorisation (access) data for http-authorisation.
For you, most likely, the incorrect .htaccess file is in the webstat directory, it is possible to have nonexistent file path to passwords file.

Oh, now I see that it is a warning. Didn't know what to do.

covenantd 10-05-2010 04:02 PM

Have the same issue Jimak mentioned, but cron appears to be correctly configured:
Quote:

0 2 * * * /usr/local/ispmgr/sbin/update.sh ispmgr
1 * * * * /usr/local/ispmgr/sbin/rotate
15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
10 0 * * * /usr/local/ispmgr/sbin/cron.sh sbin/mgrctl -m ispmgr task.daily
Any ideas?


All times are GMT +2. The time now is 09:17 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.