Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting

Notices

Reply
 
Thread Tools
Old 07-23-2010, 01:57 PM   #1
Junior Member
 
Join Date: Jan 2010
Posts: 7
jebbench is on a distinguished road
Default export: 52: error:: bad variable name

Hi,

When the update script runs with cron overnight I get an email to the root account the the following error in:
Code:
export: 52: error:: bad variable name
The script being run is
Code:
 /usr/local/ispmgr/sbin/update.sh ispmgr
as root.

Has anyone else had and this and do you know how to solve it.

Cheers,

James Bench
jebbench is offline   Reply With Quote
Old 07-24-2010, 01:09 AM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

What operation system and shell you have? And what is our product? I have checked this in last version and found no problem.
Try to update manually for lasted version - download install.tgz for your system from http://download.ispsystem.com/ and unpack
Code:
tar xzvf install.tgz -C /usr/local/ispmgr/
slava is offline   Reply With Quote
Old 07-25-2010, 03:40 PM   #3
Junior Member
 
Join Date: Jan 2010
Posts: 7
jebbench is on a distinguished road
Default

I am running Ubuntu 8.04 LTS with a Bash shell.

The Update script is trying to download the Linux-cc6 version of ISPManager, is this correct?

I've extracted the install.tar as instructed but I can no longer access ISPManager.
jebbench is offline   Reply With Quote
Old 08-04-2010, 03:13 AM   #4
ISPsystem team
 
inShu's Avatar
 
Join Date: Jul 2010
Location: Net
Posts: 12
inShu is on a distinguished road
Default

* You should insert "LogLevel 9" string into your /usr/local/ispmgr/etc/ispmgr.conf file. And please provide ispmgr.log file's part with access error moment.
* Please provide the informatin about your OS, architecture and ISPmanager version.

Last edited by inShu; 08-05-2010 at 05:14 AM.
inShu is offline   Reply With Quote
Old 08-04-2010, 10:06 PM   #5
Junior Member
 
Join Date: Jan 2010
Posts: 7
jebbench is on a distinguished road
Default

Hi,

This is the last 2 days from the log file.

Code:
Aug  3 00:01:05 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  3 00:01:05 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
Aug  3 00:01:07 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  3 00:01:08 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  3 00:01:10 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  3 02:00:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=optionlist&elid=DisableAutoUpdate'
Aug  3 02:00:01 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
Aug  3 02:15:02 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist'
Aug  3 02:15:02 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
Aug  3 02:15:02 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=33&val=0'
Aug  3 02:15:02 [ 5901] ERROR Assert '' in 'account' failed
Aug  3 02:15:02 [ 5901] ERROR Exception 3: 'account'  not exists.
Aug  3 02:15:03 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=1004&val=189'
Aug  3 02:15:03 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=1006&val=1'
Aug  3 02:15:03 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&finish=on'
Aug  4 00:01:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  4 00:01:01 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
Aug  4 00:01:03 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  4 00:01:04 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  4 00:01:04 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist&elid=awstats'
Aug  4 02:00:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=optionlist&elid=DisableAutoUpdate'
Aug  4 02:00:01 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
Aug  4 02:15:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=pathlist'
Aug  4 02:15:01 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
Aug  4 02:15:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=33&val=0'
Aug  4 02:15:01 [ 5901] ERROR Assert '' in 'account' failed
Aug  4 02:15:01 [ 5901] ERROR Exception 3: 'account'  not exists.
Aug  4 02:15:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=1004&val=678'
Aug  4 02:15:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&gid=1006&val=1'
Aug  4 02:15:01 [ 5901] INFO Request [mgrctl][root] 'out=text&func=settraf&finish=on'
Aug  4 08:30:43 [ 5901] INFO Request [mgrctl][root] 'out=text&func=optionlist&elid=DisableAutoUpdate'
Aug  4 08:30:43 [ 5901] EXTINFO Load config 'var/userconf/ispmgr.root'
I am also getting the same error from the following command:
Code:
Cron <root@jet> 15 2 * * * /usr/local/ispmgr/sbin/traffic.pl
Code:
/bin/sh: 15: not found
I am running Ubuntu 8.04, the system is a virtual machine hosted by VPS.net.
jebbench is offline   Reply With Quote
Old 08-05-2010, 05:16 AM   #6
ISPsystem team
 
inShu's Avatar
 
Join Date: Jul 2010
Location: Net
Posts: 12
inShu is on a distinguished road
Default

Please provide part of log file with "LogLevel 9" option in you ispmgr.conf; part where you trying to access to ISPmanager. What kind of error you getting?
inShu is offline   Reply With Quote
Reply

Tags
cron, export error, update

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 10:18 PM.