ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   export: 52: error:: bad variable name (http://forum.ispsystem.com//showthread.php?t=1111)

jebbench 07-23-2010 01:57 PM

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

slava 07-24-2010 01:09 AM

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/

jebbench 07-25-2010 03:40 PM

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.

inShu 08-04-2010 03:13 AM

* 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.

jebbench 08-04-2010 10:06 PM

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.

inShu 08-05-2010 05:16 AM

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?


All times are GMT +2. The time now is 05:56 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.