Hi,
on one of my server cpanel, when I try to update cpanel5, the script hang.
I made update every night and I receive this mail from cron daemon :
Subject: Cron &root@server1& /scripts/upcp
X-Cron-Env: &SHELL=/bin/sh&
X-Cron-Env: &HOME=/root&
X-Cron-Env: &PATH=/usr/bin:/bin&
X-Cron-Env: &LOGNAME=root&
Date: Sat, 15 Feb 2003 02:04:00 +0100
String found where operator expected at /scripts/upcp line 34, near &system(&&
(Might be a runaway multi-line && string starting on line 33)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 35, near &system(&&
(Might be a runaway multi-line && string starting on line 34)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 37, near &system(&&
(Might be a runaway multi-line && string starting on line 35)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 38, near &if (! -e &&
(Might be a runaway multi-line && string starting on line 37)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 39, near &mkdir(&&
(Might be a runaway multi-line && string starting on line 38)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 42, near &unlink(&&
(Might be a runaway multi-line && string starting on line 39)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 45, near &if (-e &&
(Might be a runaway multi-line && string starting on line 42)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 45, near &sock& && ! -e &&
String found where operator expected at /scripts/upcp line 46, near &symlink(&&
(Might be a runaway multi-line && string starting on line 45)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 46, near &sock&,&&
String found where operator expected at /scripts/upcp line 49, near &system(&&
(Might be a runaway multi-line && string starting on line 46)
(Missing semicolon on previous line?)
Bareword found where operator expected at /scripts/upcp line 49, near &system(&rm&
Warning: Use of &-f& without parens is ambiguous at /scripts/upcp line 49.
Bareword found where operator expected at /scripts/upcp line 49, near &/etc/cpanelbeta&
(Missing operator before panelbeta?)
String found where operator expected at /scripts/upcp line 52, near &if (readlink(&&
(Might be a runaway multi-line && string starting on line 49)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 58, near &if ($ARGV[0] eq &&
(Might be a runaway multi-line && string starting on line 52)
(Missing semicolon on previous line?)
Bareword found where operator expected at /scripts/upcp line 58, near &if ($ARGV[0] eq &manual&
(Do you need to predeclare if?)
String found where operator expected at /scripts/upcp line 61, near &if ($ENV{'TERM'} eq &&
(Might be a runaway multi-line && string starting on line 58)
(Missing semicolon on previous line?)
syntax error at /scripts/upcp line 34, near &system(&&
Execution of /scripts/upcp aborted due to compilation errors.
I have
WHM 5.3.0
Cpanel 5.3.0-E133
RedHat 7.3
I have the exact same version on another server and it updates well.
Anyone know how can I fix the problem ?
Thank you
on one of my server cpanel, when I try to update cpanel5, the script hang.
I made update every night and I receive this mail from cron daemon :
Subject: Cron &root@server1& /scripts/upcp
X-Cron-Env: &SHELL=/bin/sh&
X-Cron-Env: &HOME=/root&
X-Cron-Env: &PATH=/usr/bin:/bin&
X-Cron-Env: &LOGNAME=root&
Date: Sat, 15 Feb 2003 02:04:00 +0100
String found where operator expected at /scripts/upcp line 34, near &system(&&
(Might be a runaway multi-line && string starting on line 33)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 35, near &system(&&
(Might be a runaway multi-line && string starting on line 34)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 37, near &system(&&
(Might be a runaway multi-line && string starting on line 35)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 38, near &if (! -e &&
(Might be a runaway multi-line && string starting on line 37)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 39, near &mkdir(&&
(Might be a runaway multi-line && string starting on line 38)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 42, near &unlink(&&
(Might be a runaway multi-line && string starting on line 39)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 45, near &if (-e &&
(Might be a runaway multi-line && string starting on line 42)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 45, near &sock& && ! -e &&
String found where operator expected at /scripts/upcp line 46, near &symlink(&&
(Might be a runaway multi-line && string starting on line 45)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 46, near &sock&,&&
String found where operator expected at /scripts/upcp line 49, near &system(&&
(Might be a runaway multi-line && string starting on line 46)
(Missing semicolon on previous line?)
Bareword found where operator expected at /scripts/upcp line 49, near &system(&rm&
Warning: Use of &-f& without parens is ambiguous at /scripts/upcp line 49.
Bareword found where operator expected at /scripts/upcp line 49, near &/etc/cpanelbeta&
(Missing operator before panelbeta?)
String found where operator expected at /scripts/upcp line 52, near &if (readlink(&&
(Might be a runaway multi-line && string starting on line 49)
(Missing semicolon on previous line?)
String found where operator expected at /scripts/upcp line 58, near &if ($ARGV[0] eq &&
(Might be a runaway multi-line && string starting on line 52)
(Missing semicolon on previous line?)
Bareword found where operator expected at /scripts/upcp line 58, near &if ($ARGV[0] eq &manual&
(Do you need to predeclare if?)
String found where operator expected at /scripts/upcp line 61, near &if ($ENV{'TERM'} eq &&
(Might be a runaway multi-line && string starting on line 58)
(Missing semicolon on previous line?)
syntax error at /scripts/upcp line 34, near &system(&&
Execution of /scripts/upcp aborted due to compilation errors.
I have
WHM 5.3.0
Cpanel 5.3.0-E133
RedHat 7.3
I have the exact same version on another server and it updates well.
Anyone know how can I fix the problem ?
Thank you