Current time: 05-04-2024, 07:15 PM Hello There, Guest! (LoginRegister)


Post Reply 
get_tag-Fehler: missing '{xxx}' in src
Author Message
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #1
get_tag-Fehler: missing '{xxx}' in src
Hi!

Ich war gerade weiter dabei, die AWStats-Generierung für CentOS zu debuggen (ich glaube, bald habe ich es...) und dabei ist mir folgendes aufgefallen.
Bei der Generierung erscheinen im ispcp-dmn-mngr.stdout diverse Fehlermeldungen:

Code:
...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BWLIMIT}' eq '{BWLIMIT}', missing '{BWLIMIT}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '##TEMPLATE' eq '##TEMPLATE', missing '##TEMPLATE' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SUEXEC_GROUP}' eq '{SUEXEC_GROUP}', missing '{SUEXEC_GROUP}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PEAR_DIR}' eq '{PEAR_DIR}', missing '{PEAR_DIR}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SCOREBOARDS_DIR}' eq '{SCOREBOARDS_DIR}', missing '{SCOREBOARDS_DIR}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_GRP}' eq '{DMN_GRP}', missing '{DMN_GRP}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{WWW_DIR}' eq '{WWW_DIR}', missing '{WWW_DIR}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PHP_VERSION}' eq '{PHP_VERSION}', missing '{PHP_VERSION}' in src !
...
Interessanterweise werden die Einträge in der ispcp.conf für den Apache korrekt geschrieben. Ist das eher ne Warning oder läuft bei mir tatsächlich was schief?
Hatte mir heute die apache-parts aus dem aktuellen trunk kopiert - ich hoffe, das ist nicht die Ursache?!
Falls doch: Sollte ich das ispcp.conf löschen und die beiden angelegten Domains auf "toadd" setzen?

VG, Jens
01-30-2008 04:35 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: get_tag-Fehler: missing '{xxx}' in src
Also wie warnings ließt sich das nicht. Hast Du schon das makefile angepaßt?

Wird die /etc/ispcp/ispcp.conf auch richtig geschrieben?
(This post was last modified: 01-30-2008 05:13 AM by gOOvER.)
01-30-2008 05:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #3
RE: get_tag-Fehler: missing '{xxx}' in src
Hi!

Danke für die prompte Antwort.

Die Installation hat geklappt, die /etc/ispcp/ispcp.conf ist korrekt vorhanden - und die Generierung funktioniert ja interessanterweise auch.
Ggf. hängt es tatsächlich mit dem manuellen Update der Apache-parts und der engine-Skripte zusammen. Aber auch ein Löschen und Neuanlegen der Domain bringt den gleichen Fehler.
Läuft aber.

Hmm...
01-30-2008 05:16 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: #4
RE: get_tag-Fehler: missing '{xxx}' in src
Sieht mir eher nach felhelnden oder falschen tpl-Dateien aus (/etc/ispcp/*/parts)

Gruss J
01-30-2008 05:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #5
RE: get_tag-Fehler: missing '{xxx}' in src
joximu Wrote:Sieht mir eher nach felhelnden oder falschen tpl-Dateien aus (/etc/ispcp/*/parts)
Wie gesagt - die sind zwar aktualisiert, aber bis auf kleinste Unterschiede in einzelnen Files (Leerzeichen mehr/weniger, teilweise kleine Anpassungen) gibt es da wirklich nichts Gravierendes. Habe die Files jetzt einzeln verglichen...
Wo könnte/sollte man denn weiter debuggen?
01-30-2008 06:33 AM
Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #6
RE: get_tag-Fehler: missing '{xxx}' in src
Ich habe nun mal weitere Debug-Ausgaben eingefügt und mir jeweils den $src ausgeben lassen, in dem er versucht, den Text zu ersetzen.
Der ist da in den meisten Fällen auch gar nicht drin:
Code:
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BWLIMIT}' eq '{BWLIMIT}', missing '{BWLIMIT}' in src # httpd [{DMN_GRP}] dmn group entry BEGIN.
!
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '##TEMPLATE' eq '##TEMPLATE', missing '##TEMPLATE' in src # httpd [{DMN_GRP}] dmn group entry BEGIN.
!
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SUEXEC_GROUP}' eq '{SUEXEC_GROUP}', missing '{SUEXEC_GROUP}' in src # httpd [{DMN_GRP}] dmn group entry BEGIN.
!
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PEAR_DIR}' eq '{PEAR_DIR}', missing '{PEAR_DIR}' in src # httpd [{DMN_GRP}] dmn group entry BEGIN.
!
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SCOREBOARDS_DIR}' eq '{SCOREBOARDS_DIR}', missing '{SCOREBOARDS_DIR}' in src # httpd [{DMN_GRP}] dmn group entry BEGIN.
(Das als Auszug - das Logfile ist natürlich insgesamt nun recht lang...)
Es sieht so aus, als ob er bei jeder .tpl-Datei versucht, alle bekannten Variablen zu ersetzen. Ist das richtig so oder hat sich da bei mir woanders ein Fehler eingeschlichen?

Wie gesagt, grundsätzlich funktioniert die Generierung ja...

VG (aus Dortmund Wink), Jens
(This post was last modified: 01-30-2008 07:53 AM by jmeyerdo.)
01-30-2008 07:52 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: get_tag-Fehler: missing '{xxx}' in src
hm, also ich habe im Verzeichnis /etc/ispcp/apache/parts auf jeden Fall für jede dieser Platzhalter mindestens eine Datei, wo das vorkommt.

Aber, es kann gut sein, dass vielleicht nicht immer alle zum Zug kommen - find ich zwar recht unschön, aber wenn du ansonsten mit dem Teil zufrieden bist...
Ich habe auch mal meine Logfiles vom dmn_mgr angesehen, da gibts auch Zeilen wie
Code:
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PEAR_DIR}' eq '{PEAR_DIR}', missing '{PEAR_DIR}' in src !

nur eben ohne dem "# httpd [{DMN_GRP}] dmn group entry BEGIN." vor dem "!"

Gruss J
(This post was last modified: 01-30-2008 08:19 AM by joximu.)
01-30-2008 08:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #8
RE: get_tag-Fehler: missing '{xxx}' in src
joximu Wrote:Ich habe auch mal meine Logfiles vom dmn_mgr angesehen, da gibts auch Zeilen wie
Code:
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PEAR_DIR}' eq '{PEAR_DIR}', missing '{PEAR_DIR}' in src !
Ah, dann scheint das tatsächlich so "normal" zu sein?!
Das "# httpd [{DMN_GRP}] dmn group entry BEGIN." war meine Debug-Ausgabe, um zu sehen, was da genau passiert. Im $src ersetzt er halt nach und nach die Platzhalter, die er finden kann.

Ok, dann ist das ERROR hier also eher ein NOTICE... Wink

Viele Grüße, Jens
01-30-2008 04:57 PM
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: #9
RE: get_tag-Fehler: missing '{xxx}' in src
Das ist auf jeden Fall ein Schönheitsfehler...
aber für eine 1.0 wäre er noch zu dulden :-)
01-30-2008 07:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #10
RE: get_tag-Fehler: missing '{xxx}' in src
joximu Wrote:Das ist auf jeden Fall ein Schönheitsfehler...
aber für eine 1.0 wäre er noch zu dulden :-)
Klar...
Und ich dachte, ich hätte schon wieder was zerschossen. Wink
01-30-2008 07:30 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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