[HowTO] add cronjob on Debian Lenny Improved - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Howtos (/forum-41.html) +--- Thread: [HowTO] add cronjob on Debian Lenny Improved (/thread-9028.html) |
RE: [HowTO] add cronjob on Debian Lenny Improved - xtc007 - 01-03-2010 06:36 AM have you build the sql table with the sql file provided, a field have been added from the older version, you must have the true_domain_id field, else an error will occure i suppose this are a wrong line typed too fast... server: localhost: the second : aren't supposed to be here... xtc007 RTMedia.ca (01-03-2010 06:24 AM)MasterTH Wrote: Array RE: [HowTO] add cronjob on Debian Lenny Improved - MasterTH - 01-03-2010 09:23 AM yes typed too fast, its just "localhost" and yes i'm imported the *.sql-file which comes in the package in the table is a file called true_domain_id RE: [HowTO] add cronjob on Debian Lenny Improved - xtc007 - 01-03-2010 09:39 AM use the fqnl of the machine, like web.server.com or the ip of the machine, i don't have tried with localhost in field xtc007 RTMedia.ca RE: [HowTO] add cronjob on Debian Lenny Improved - MasterTH - 01-03-2010 11:29 PM same error occured RE: [HowTO] add cronjob on Debian Lenny Improved - xtc007 - 01-04-2010 08:47 AM are you able to connect in mysql command line with your user and password, or with phpmyadmin? i have reproduce your problem by inserting a bad password in my /etc/hcrondrc file # host - address (IP or hostname) of server running mysql host = put your fully qualified name # port - the port mysql listens to port = 3306 # user - username user = username # pass - password pass = yourpassword # dbnm - database name dbnm = ispcp # table - table name table = hcrondtab you can try that line too # allow_root (bool) - allow running cmd with uid=0 or gid=0 allow_root = no try to put yes on this line xtc007 RTMedia.ca RE: [HowTO] add cronjob on Debian Lenny Improved - MasterTH - 01-04-2010 03:14 PM this is my config file: Code: # sample hcrond config file PMA & mysql over shell works fine... When i enable the debug mode in the config file i could see that the connection to the mysql has been made. RE: [HowTO] add cronjob on Debian Lenny Improved - xtc007 - 01-04-2010 03:20 PM let me sleep on it, i will think what's wrong with your configuration... all gui files are copied at good place? you have set permission on them the current cronjob are a fresh install or you have tried to install before on this server? xtc007 RTMedia.ca RE: [HowTO] add cronjob on Debian Lenny Improved - koko92_national - 01-04-2010 08:53 PM I think that host shouldn't be 127.0.0.1 but it should be host.domain.com It works fine for me. RE: [HowTO] add cronjob on Debian Lenny Improved - MasterTH - 01-05-2010 03:14 PM i'll try it with domain.tld and post back. its a fresh installation, all files are where they should be (i followed the readme) RE: [HowTO] add cronjob on Debian Lenny Improved - koko92_national - 01-05-2010 03:19 PM After you edit the config file do you restart the service? Its a silly question but i have to ask. |