US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 04-15-2010, 01:50 PM   #1
Junior Member
 
Join Date: Feb 2010
Posts: 17
Jimaek is on a distinguished road
Default 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?
Jimaek is offline   Reply With Quote
Old 04-15-2010, 03:30 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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

Last edited by tanya; 04-20-2010 at 04:00 AM.
slava is offline   Reply With Quote
Old 04-15-2010, 05:45 PM   #3
Junior Member
 
Join Date: Apr 2010
Posts: 1
janneman is on a distinguished road
Unhappy 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
janneman is offline   Reply With Quote
Old 04-15-2010, 11:58 PM   #4
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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.
slava is offline   Reply With Quote
Old 04-19-2010, 11:57 AM   #5
Senior Member
 
Join Date: Nov 2009
Location: Germany
Posts: 117
sascha is on a distinguished road
Send a message via MSN to sascha
Default hi

ive 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.
sascha is offline   Reply With Quote
Old 04-19-2010, 12:09 PM   #6
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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.

Last edited by tanya; 04-20-2010 at 04:01 AM.
slava is offline   Reply With Quote
Old 05-25-2010, 03:07 PM   #7
Junior Member
 
Join Date: May 2010
Posts: 1
pitbull is on a distinguished road
Default

Quote:
Originally Posted by slava View Post
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.
__________________
hosting's profile - Buzzster!

Last edited by pitbull; 05-12-2012 at 09:24 AM.
pitbull is offline   Reply With Quote
Old 10-05-2010, 04:02 PM   #8
Junior Member
 
Join Date: Oct 2010
Posts: 1
covenantd is on a distinguished road
Default

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?
covenantd is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:21 AM.