Current time: 12-24-2024, 04:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Undefined intput data
Author Message
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #1
Undefined intput data
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?


Attached File(s)
.txt  ispcp-dmn-mngr.txt (Size: 9.56 KB / Downloads: 16)
10-10-2007 11:58 PM
Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #2
RE: Undefined intput data
Besides updating the existing templates, did you also copy over the new ones?
10-11-2007 12:34 AM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #3
RE: Undefined intput data
Yes, I think so.
10-11-2007 12:55 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #4
RE: Undefined intput data
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.
10-11-2007 03:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #5
RE: Undefined intput data
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?
10-11-2007 04:24 AM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #6
RE: Undefined intput data
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.
10-11-2007 05:44 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Undefined intput data
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
(This post was last modified: 10-11-2007 05:55 AM by joximu.)
10-11-2007 05:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #8
RE: Undefined intput data
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.
10-11-2007 06:09 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: Undefined intput data
RatS did some change about this in the last trunk!
Maybe you should try to update to r839

Greez BeNe
10-11-2007 06:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #10
RE: Undefined intput data
I did this already, but it does not help. I also don't see any relevant changes in 839.
10-11-2007 07:06 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)