Beiträge von ñull

    In an attempt to follow the example how to override a function in custom.lua, but when I run "liveconfig --diag" I get the error as indicated in the subject. All I do is include a minimally changed function LC.postfix.configure(cfg, opts).


    The same method of overriding worked with another function ( LC.users.addUser). What am i doing wrong here? In what is LC.postfix.configure different that it should fail?

    ... eine kleine Änderung in /usr/lib/liveconfig/lua/users.lua :


    Hallo Herr Strausmann,


    Wir lassen uns etwas einfallen, wie LiveConfig erkennen kann auf welchem IP- oder Unix-Socket nun Postgrey erreichbar ist, und Postfix entsprechend einrichtet.


    Wann werden Sie diesen Fehler beheben? Als ich gestern Whitelisting ausprobierte, wurden meine Kunden wiederum das Opfer dieser immer noch bestehenden Irritation, die meinen Mailserver lahm gelegt hatte.

    Hatte zu tun mit ufw. Einen fehlerhafte Foward Regel in before.rules wurde durch "ufw disable" oder "ufw reload" nicht deaktiviert. Das muss man Manual mit "iptables -t nat -F" tun.

    Heute vor einige Stunden funktionierte es noch aber jetzt scheint LC auf Port 8443 nicht mehr zu reagieren.
    Neustart usw. hat kein Erfolg. Im log sehe ich auch merkwürdige Fehlermeldungen. Kann ich ihnen das zuschicken? Was kann ich noch mehr tun?

    Ich entdekte die .res Dateien in /usr/share/liveconfig , anscheinend die Ressourcen mit auch die Sprachen. Ich arbeite hauptsächlich mit Linux und ich frage mich was ich mit diese Dateien anfangen muss für meine Spanisch und Holländisch Übersetzung? Soll ich resedit benützen unter Window$ in Virtualbox oder Wine?

    Meinen Patch für usr/lib/liveconfig/lua/postfix.lua seht so aus:

    Code
    709c709
    <         fh:write("greylist = check_policy_service inet:127.0.0.1:10023\n")
    ---
    >         fh:write("greylist = check_policy_service inet:::1:10023\n")


    Vorausgesetzt das Ubuntu und Debian in diesen Hinsicht ähnlich sind.

    Vollständiges Beispiel :

    Code
    Apr 10 11:19:10 rhodavm100 postfix/smtpd[9828]: NOQUEUE: reject: RCPT from fraxinus.osuosl.org[140.211.166.137]: 451 4.3.5 Server configuration problem; from=<bounces+meine=daten.com@drupal.org> to=<meine@daten.com> proto=ESMTP helo=<fraxinus.osuosl.org>
    Apr 10 11:19:10 rhodavm100 postfix/smtpd[9828]: disconnect from fraxinus.osuosl.org[140.211.166.137]


    Und greylisting service lief:

    Zitat

    service postgrey status
    * postgrey is running

    Ich habe gestern aktualisiert mit de neue Version aber bemerke gerade das etwas schief ging. In sehe im Syslog:


    Zitat

    NOQUEUE: reject: RCPT from mail-ee0-f43.google.com[74.125.83.43]: 451 4.3.5 Server configuration problem;


    Nur mit Graylisting abgeschaltet geht es noch gut.

    False alarm! It solved itself when I removed another package and saw:


    Zitat

    The following partially installed packages will be configured:
    liveconfig


    After the configuration took place the front-end interface was restored.

    The upgrade of LC was interrupted because I forgot I had protected some customisation in the LUA files with chattr +i (I was unable to accomplish it with the custom.lua). After removing the attribute I installed again and was left with a broken LC. The frontend screens seem to miss the style sheets, after log-in and probably more.


    Is it safe to attempt a apt-get --reinstall ? Since MySQL backup was not made either (see my other bug report in the German section), I am not sure any more what I can do without damaging it more. I meanwhile did make dump but I don't know if that is still OK.

    Ich actualisierte LC heute und sehe:


    Zitat

    Creating SQLite Database Backup
    Input File: /var/lib/liveconfig/liveconfig.db
    Output File: /var/lib/liveconfig/liveconfig.db.bak-1.7.0-r2704


    Ich habe aber den Liveconfig db in MySQL. LC sollte dann doch eine MySQL backup machen? Hoffentlich geht es noch mal gut.

    Zitat

    Bei einem meiner Kunden, schmiert der ClamAV ständig ab. Ubuntu 12.04 64bit mit einer liveconfig-meta Installation


    Hier ist das ganau so. Irgend eine Lösung dafür gefunden? Ich habe jetzt in LC AV einfach ausgeschaltet, aber das ist nicht richting eine Lösung.

    Habe ich gemacht aber jetzt tretet einen anderen Fehler auf.


    Zitat


    Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 7.0 (build 1.971)
    >From data in log file "/var/log/apache2/access.log"...
    Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission denied
    Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
    Check config file, permissions and AWStats documentation (in 'docs' directory).