ispCP - Board - Support
Undefined intput data - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Undefined intput data (/thread-1495.html)

Pages: 1 2


Undefined intput data - Cube - 10-10-2007 11:58 PM

I tried to update from 830 to the latest trunk. I used the howto in the wiki and I updated also all the apache, cron and awstats templates in /etc/ispcp and enabled awstats.
But now all domains have this status:
get_tag() | ERROR: Undefined intput data, bt: ||, et: ||, src !
I attached /var/log/ispcp/ispcp-dmn-mngr.stdout which contains more errors.
I think I did something wrong and it is not a awstats-integration error.
Any ideas?


RE: Undefined intput data - zpin - 10-11-2007 12:34 AM

Besides updating the existing templates, did you also copy over the new ones?


RE: Undefined intput data - Cube - 10-11-2007 12:55 AM

Yes, I think so.


RE: Undefined intput data - ephigenie - 10-11-2007 03:35 AM

its about the old apache config files i think.

you'll have to regenerate the whole set of config files.
It seems as if a tag which is needed in newer versions of ispcp isn't in your current config - so the engine cannot locate where to add new data.


RE: Undefined intput data - Cube - 10-11-2007 04:24 AM

I thought that all configs are regenerated if I change the status of all domains to change and run ispcp-rqst-mngr.
If not, how can I do that?


RE: Undefined intput data - Cube - 10-11-2007 05:44 AM

The log always says that something (e.g. AWSTATS_ENGINE_DIR) is missing in "src". What is "src" - is it a template-file? These error messages could be more informative. Rolleyes
Quote:It seems as if a tag which is needed in newer versions of ispcp isn't in your current config - so the engine cannot locate where to add new data.
The missing tags are not used in current configs, because they are replaced.

BTW: The same error occurs if I try to add a new domain.


RE: Undefined intput data - joximu - 10-11-2007 05:54 AM

grep -r AWSTATS_ENGINE_DIR /etc/ispcp/*

Code:
cron.d/ispcp:{AW-ENABLED}
15     6       *       *       *       root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog=$main::cfg{'AWSTATS_ENGINE_DIR'}/awstats.pl

cron.d/working/ispcp:
#15        6       *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=$main::cfg{'AWSTATS_ENGINE_DIR'}/awstats.pl

cron.d/backup/ispcp:
#15 6       *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=$main::cfg{'AWSTATS_ENGINE_DIR'}/awstats.pl

ispcp.conf:AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin

/J


RE: Undefined intput data - Cube - 10-11-2007 06:09 AM

Code:
/etc/ispcp/awstats/awstats.ispcp_tpl.conf:DirCgi="{AWSTATS_ENGINE_DIR}"

/etc/ispcp/cron.d/ispcp:{AW-ENABLED}15  */4     *       *       *       root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl

/etc/ispcp/cron.d/backup/ispcp:#15      6       *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=$main::cfg{'AWSTATS_ENGINE_DIR'}/awstats.pl

/etc/ispcp/cron.d/working/ispcp:#15     6       *       *       *       root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=$main::cfg{'AWSTATS_ENGINE_DIR'}/awstats.pl

/etc/ispcp/ispcp.conf:AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin

Seems to be the same, except that I have a awstats.ispcp_tpl.conf.


RE: Undefined intput data - BeNe - 10-11-2007 06:53 AM

RatS did some change about this in the last trunk!
Maybe you should try to update to r839

Greez BeNe


RE: Undefined intput data - Cube - 10-11-2007 07:06 AM

I did this already, but it does not help. I also don't see any relevant changes in 839.