Current time: 10-03-2024, 06:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
fehler beim starten von maia
Author Message
Janko Offline
Junior Member
*

Posts: 189
Joined: May 2007
Reputation: 1
Post: #1
fehler beim starten von maia
hallöchen,

irgendwie mag maia und co mich net...

bin die aktuelle anleitung durch gegangen und hänge nun einen schritt vor punkt 18.

/etc/init.d/amavis restart schmeißt folgende meldung

Code:
Starting amavisd: Bareword found where operator expected at /etc/amavisd.conf line 126, near "@$ arr"
        (Missing operator before arr?)
Error in config file "/etc/amavisd.conf": syntax error at /etc/amavisd.conf line 126, near "@$ arr"
(failed).
enterprise:/etc/spamassassin/#

Code:
my $ dbh = DBI->connect("DBI:mysql:database=$db;host=$host", $user, $password, {RaiseError => 1});
my $ arr = $dbh->selectcol_arrayref('SELECT domain_name, 1 FROM domain', {Columns=>[1,2]});
my $ arre = $dbh->selectcol_arrayref('SELECT alias_name, 1 FROM domain_aliasses', {Columns=>[1,2]});
my $ lis = ($arre,$arr);
%local_domains = (@$ arr,@$arre);   <-- zeile 126

bin für jeden hinweis dankbar. ansonsten allen noch einen schönen sontag Wink
(This post was last modified: 01-20-2008 05:07 PM by Janko.)
01-20-2008 05:06 PM
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: #2
RE: fehler beim starten von maia
Also bei mir sieht die Zeile anderst aus!
Hast du auch schon den symlink gemacht ?
Code:
ln -s /etc/amavis/amavisd.conf /etc/amavisd.conf


Greez BeNe
01-20-2008 08:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Janko Offline
Junior Member
*

Posts: 189
Joined: May 2007
Reputation: 1
Post: #3
RE: fehler beim starten von maia
BeNe Wrote:Also bei mir sieht die Zeile anderst aus!
Hast du auch schon den symlink gemacht ?
Code:
ln -s /etc/amavis/amavisd.conf /etc/amavisd.conf


Greez BeNe

symink hatte ich gesetzt. hab dann in einem anderem forum was gelesen

%local_domains = (@$ arr,@$arre da ist einfach das leerzeichen zuviel zwischen $ und arr. hab das entfernt und promt war ruhe.

worauf das allerdings nun direkte auswirkungen hat, ist mir noch nicht so ganz klar und vorallem ob das so nun richtig ist. ist der how to steht es auf jedenfall mit leerzeichen.
01-21-2008 05:04 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: #4
RE: fehler beim starten von maia
Und das habe ich auch nie entfernen müssen.
Also mir ist das neu. Aber solange es geht...

Greez BeNe
01-21-2008 04:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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