Page 1 of 2

Cron run problem

Posted: Wed Mar 16, 2016 8:34 am
by alexcy
Hello,

I am having the below problem:

/usr/local/vesta/bin/v-update-sys-queue disk
sed: -e expression #1, char 3: unknown command: `
'
sed: -e expression #1, char 3: unknown command: `
'
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")

All other crons seems to be working fine. I haven't changed anything on that server for several days. Any ideas?

Thanks.

Re: Cron run problem

Posted: Wed Mar 16, 2016 7:51 pm
by imperio
Hi,
What OS on your server ?

Re: Cron run problem

Posted: Wed Mar 16, 2016 11:17 pm
by alexcy
Ubuntu 14.04.4 x64

Re: Cron run problem

Posted: Thu Mar 17, 2016 11:13 am
by alexcy
Any ideas?

Re: Cron run problem

Posted: Sat Mar 19, 2016 10:35 pm
by alexcy
Imperio?

Re: Cron run problem

Posted: Sun Mar 20, 2016 1:39 pm
by alexcy
sed: -e expression #1, char 3: unknown command: `
'
sed: -e expression #1, char 3: unknown command: `
'
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta//func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")

Re: Cron run problem

Posted: Tue Mar 22, 2016 5:16 pm
by alexcy
Nobody can help?

Re: Cron run problem

Posted: Wed Mar 23, 2016 9:15 pm
by imperio
Hi, alexcy
Sorry for the later reply
I will check this problem on our test servers with Ubuntu

Re: Cron run problem

Posted: Thu Mar 24, 2016 10:24 am
by imperio
I cant reproduce this problem on our test servers
Grant access to your server. I'll check the problem on your server

Re: Cron run problem

Posted: Thu Mar 31, 2016 5:47 am
by skurudo
It may be variables:

Code: Select all

export VESTA=/usr/local/vesta/
or viewtopic.php?uid=17&f=16&t=5075&start=0#p15173