Tally errors since 1.260 update

luppie

Verified User
Joined
Jul 28, 2005
Messages
41
Since i've updated DA to 1.260 on my CentOS box i get every 4 hours (interval the tally runs) the following error-mail

Cron <root@lupsrv01> echo 'action=tally&value=all' >>

/bin/sh: -c: line 0: syntax error near unexpected token `newline'
/bin/sh: -c: line 0: `echo 'action=tally&value=all' >> '


Does anybody knows how i can solve this ?
 
Anyone ??

I also noticed that my Memorry is'nt freed up anymore @ midnights, so i have to free the memmory up manual now each night to prevent a slow server.
 
Looks like the command isn't complete.
It should be in full:
Code:
echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

I also noticed that my Memorry is'nt freed up anymore @ midnights, so i have to free the memmory up manual now each night to prevent a slow server.
You probably don't need to do this unless it really is a problem. In linux (usually) after memory has been used it isn't set back to free, but it still available even though it doesn't appear to be according to top.

At least that's how I understand it.
 
Well about the memory i can see it @ my MRTG stats

memory-week.png


Last week on monday it was freed up for the last time.

i think i found the tally error (somehow an extra enter was in the cron file)
 
Last edited:
I thought i fixed the tally error (i removed the extra enter)

I also restarted the cron using this command :

killall -HUP crond

My directadmin_cron looks like this now :

* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/$
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 */4 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/$
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/ta$
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data$

Can someone help me out here ?
 
According to what you just posted, the commands are still not complete.
Look back to my first post to get a general idea of what they should be.

*Hint* there should be no $ sign ;)
 
sorry, somehow with the cut&past the $ was added. If i look @ it in nano the $ is'nt there. (i had my screenwidt to small so a $ was added)

* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 */4 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
 
Could be an editor problem (creating linebreaks where it shouldn't). Try deleting the file and retype it with vi.
 
Back
Top