Can not run the maintenance script to generate statistic

I run the script from my cmd line but below error occur;

php -f /var/www/adserver/scripts/maintenance/maintenance.php
Openads was called via the command line, but had no host as a parameter.

pls advise.

I'm using ubuntu OS.

regards Azman

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
21 Oct14:59

Hostname needed

By BlacKDiamonD

Hi Azman,
Try changing the command to:
php -f /var/www/adserver/scripts/maintenance/maintenance.php localhost

I just added the hostname at the end. Or you can write the hostname that you used to install the adserver. So if you installed it from http://10.0.0.1/adserver, then add 10.0.0.1 at the end instead of localhost.

Regards,
Mohamed Elharty

23 Oct05:44

Great it works, the cmd

By azman1979

Great it works, the cmd successfully run.
Expecting a statistic.. but not there ..
What are the table updated after the maintenance run? Or any log if want to observe its behaviour?

thanks in advance

26 Oct11:48

User log

By BlacKDiamonD

Hi Azman,
If you go to the Settings tab -> User log, you should find a log of all the maintenance scripts that run previously (note the interval is 1 hour minimum between each maintenance run).

Here's a small snapshot of the entry on my machine. http://img40.imageshack.us/img40/8089/userlog.jpg

Please let me know if you have any of these entries in your User log.

Regards,
Mohamed Elharty