Confixx-Counterscript will nicht

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Confixx-Counterscript will nicht

Post by wmm »

Hallo.

Habe ein Problem mit meinem Rootserver L4 von 1&1 (SuSE 9.1 und Confixx 3.0.9).

Eingerichtete E-Mail-Adressen werden nicht aktiviert, das counterscript (/root/confixx/confixx_counterscript.pl -fa -dbg) bleibt unmotiviert hängen. Folgendes wird angezeigt:

-->
3.0.9 - 20050519.17 - mysqlonly
PID file /root/confixx/run/confixx_update.pid found
SUB: main::StillRunning
No running instance found
SUB: main::check_essentials
SUB: main::check_essentials3
SUB: main::check_essentials4
SUB: main::check_essentials5
Valid until: Wed Nov 2 23:09:11 2005
Version: 3pro
SUB: main::set_uids
SUB: main::check_if_update
SUB: main::frontpagedel
SUB: main::fpaliasdel
SUB: main::delftps
SUB: main::delusers
SUB: main::delpops
SUB: main::updatesystem
SUB: main::checkSysDir (/home/htdocs/web0/html)
SUB: main::checkSysDir (/home/htdocs/web1/html)
SUB: main::checkSysDir (/home/htdocs/web2/html)
SUB: main::checkSysDir (/home/htdocs/web3/html)
SUB: main::checkSysDir (/home/htdocs/web4/html)
SUB: main::checkSysDir (/home/htdocs/web5/html)
SUB: main::checkSysDir (/home/htdocs/web6/html)
SUB: main::checkSysDir (/home/htdocs/web7/html)
SUB: main::checkSysDir (/home/htdocs/web8/html)
SUB: main::checkSysDir (/home/htdocs/web9/html)
SUB: main::checkSysDir (/home/htdocs/web10/html)
SUB: main::checkSysDir (/home/htdocs/web11/html)
SUB: main::checkSysDir (/home/htdocs/web12/html)
SUB: main::checkSysDir (/home/htdocs/web13/html)
SUB: main::checkSysDir (/home/htdocs/web14/html)
SUB: main::checkSysDir (/home/htdocs/web15/html)
SUB: main::checkSysDir (/home/htdocs/web16/html)
SUB: main::checkSysDir (/home/htdocs/web17/html)
SUB: main::checkSysDir (/home/htdocs/web18/html)
SUB: main::checkSysDir (/home/htdocs/web19/html)
SUB: main::checkSysDir (/home/htdocs/web20/html)
SUB: main::checkSysDir (/home/htdocs/web21/html)
SUB: main::checkSysDir (/home/htdocs/web22/html)
SUB: main::checkSysDir (/home/htdocs/web23/html)
SUB: main::checkSysDir (/home/htdocs/web24/html)
SUB: main::checkSysDir (/home/htdocs/web25/html)
SUB: main::addusers
SUB: main::addScponlyRoot
SUB: main::addpops
SUB: main::addftps
SUB: main::changeQuota
SUB: main::changeUserQuota
SUB: main::changeMailQuota
SUB: main::htaccess
SUB: main::lokaleips
SUB: main::GetLocalIPs
SUB: main::domainLog
SUB: main::backup
SUB: main::restore
SUB: main::httpdconf
SUB: main::checkLogFileDir (web0)
SUB: main::checkSysDir (/home/htdocs/web0/log)
SUB: main::checkLogFileDir (web1)
SUB: main::checkSysDir (/home/htdocs/web1/log)
SUB: main::checkLogFileDir (web10)
SUB: main::checkSysDir (/home/htdocs/web10/log)
SUB: main::checkLogFileDir (web11)
SUB: main::checkSysDir (/home/htdocs/web11/log)
SUB: main::checkLogFileDir (web12)
SUB: main::checkSysDir (/home/htdocs/web12/log)
SUB: main::checkLogFileDir (web13)
SUB: main::checkSysDir (/home/htdocs/web13/log)
SUB: main::checkLogFileDir (web14)
SUB: main::checkSysDir (/home/htdocs/web14/log)
SUB: main::checkLogFileDir (web15)
SUB: main::checkSysDir (/home/htdocs/web15/log)
SUB: main::checkLogFileDir (web16)
SUB: main::checkSysDir (/home/htdocs/web16/log)
SUB: main::checkLogFileDir (web17)
SUB: main::checkSysDir (/home/htdocs/web17/log)
SUB: main::checkLogFileDir (web18)
SUB: main::checkSysDir (/home/htdocs/web18/log)
SUB: main::checkLogFileDir (web2)
SUB: main::checkSysDir (/home/htdocs/web2/log)
SUB: main::checkLogFileDir (web20)
SUB: main::checkSysDir (/home/htdocs/web20/log)
SUB: main::checkLogFileDir (web21)
SUB: main::checkSysDir (/home/htdocs/web21/log)
SUB: main::checkLogFileDir (web22)
SUB: main::checkSysDir (/home/htdocs/web22/log)
SUB: main::checkLogFileDir (web23)
SUB: main::checkSysDir (/home/htdocs/web23/log)
SUB: main::checkLogFileDir (web24)
SUB: main::checkSysDir (/home/htdocs/web24/log)
SUB: main::checkLogFileDir (web25)
SUB: main::checkSysDir (/home/htdocs/web25/log)
SUB: main::checkLogFileDir (web3)
SUB: main::checkSysDir (/home/htdocs/web3/log)
SUB: main::checkLogFileDir (web4)
SUB: main::checkSysDir (/home/htdocs/web4/log)
SUB: main::checkLogFileDir (web5)
SUB: main::checkSysDir (/home/htdocs/web5/log)
SUB: main::checkLogFileDir (web6)
SUB: main::checkSysDir (/home/htdocs/web6/log)
SUB: main::checkLogFileDir (web7)
SUB: main::checkSysDir (/home/htdocs/web7/log)
SUB: main::checkLogFileDir (web8)
SUB: main::checkSysDir (/home/htdocs/web8/log)
SUB: main::checkLogFileDir (web9)
SUB: main::checkSysDir (/home/htdocs/web9/log)
SUB: main::checkSysDir (/home/htdocs/web0/atd)
SUB: main::checkSysDir (/home/htdocs/web1/atd)
SUB: main::checkSysDir (/home/htdocs/web2/atd)
SUB: main::checkSysDir (/home/htdocs/web3/atd)
SUB: main::checkSysDir (/home/htdocs/web4/atd)
SUB: main::checkSysDir (/home/htdocs/web5/atd)
SUB: main::checkSysDir (/home/htdocs/web6/atd)
SUB: main::checkSysDir (/home/htdocs/web7/atd)
SUB: main::checkSysDir (/home/htdocs/web8/atd)
SUB: main::checkSysDir (/home/htdocs/web9/atd)
SUB: main::checkSysDir (/home/htdocs/web10/atd)
SUB: main::checkSysDir (/home/htdocs/web11/atd)
SUB: main::checkSysDir (/home/htdocs/web12/atd)
SUB: main::checkSysDir (/home/htdocs/web13/atd)
SUB: main::checkSysDir (/home/htdocs/web14/atd)
SUB: main::checkSysDir (/home/htdocs/web15/atd)
SUB: main::checkSysDir (/home/htdocs/web16/atd)
SUB: main::checkSysDir (/home/htdocs/web17/atd)
SUB: main::checkSysDir (/home/htdocs/web18/atd)
SUB: main::checkSysDir (/home/htdocs/web19/atd)
SUB: main::checkSysDir (/home/htdocs/web20/atd)
SUB: main::checkSysDir (/home/htdocs/web21/atd)
SUB: main::checkSysDir (/home/htdocs/web22/atd)
SUB: main::checkSysDir (/home/htdocs/web23/atd)
SUB: main::checkSysDir (/home/htdocs/web24/atd)
SUB: main::checkSysDir (/home/htdocs/web25/atd)
SUB: main::reloadDaemon (apache)
SUB: main::emailaliases
SUB: main::delaliases
version: 3.0.7
SUB: main::CreateVirtDomainsFile
SUB: main::CreateVirtUserTable
<--

Die genannte Version 3.0.7 war nie installiert, ich halte dies für einen banalen Fehler von Confixx.

Hat jemand eine Idee, das Problem zu lösen? Eine Neu-Initialisierung des Servers möchte ich auf jeden Fall vermeiden. Die Web-Inhalte funktionieren übrigens komplett, Postfix läuft auch. Confixx übernimmt eben nur die Mail-Konfiguration nicht in /etc/aliases.

Gruß
Jörg
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Lizenz gültig?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Ja. Steht ja auch in Zeile 9.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Ich habe mir eben mal meine Logs angeschaut:

mail.info:

Oct 17 04:17:31 postfix/local[10830]: fatal: open database /etc/aliases.db: No such file or directory
Oct 17 04:17:32 postfix/master[1601]: warning: process /usr/lib/postfix/local pid 10830 exit status 1
Oct 17 04:17:32 postfix/master[1601]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Oct 17 04:17:39 postfix/smtpd[10831]: fatal: open database /etc/aliases.db: No such file or directory
Oct 17 04:17:40 postfix/master[1601]: warning: process /usr/lib/postfix/smtpd pid 10831 exit status 1
Oct 17 04:17:40 postfix/master[1601]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Oct 17 04:18:06 postfix/cleanup[10874]: warning: database /etc/postfix/confixx_virtualUsers.db is older than source file /etc/postfi
x/confixx_virtualUsers
Oct 17 04:18:06 postfix/pickup[10350]: 6F9D482D0CE: uid=0 from=<root>


Scheinbar bekommt es Confixx nicht hin, die aliases.db zu bauen. Klingt nicht gut.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Code: Select all

/usr/bin/newaliases
postfix reload
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Ausführung von /usr/bin/newaliases führt zum Einfrieren des Vorgangs. Oder dauert die Ausführung länger als 10 Minuten?
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Ich habe jetzt noch mehreres ausprobiert - beispielsweise ein Updaten von Postfix über YOU und manuell (rpm -U und auch über --force). Jedesmal bleibt das Installationsskript bei "Rebuilding /etc/aliases.db." stehen. Was könnte denn die Ursache dafür sein?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Code: Select all

cat /etc/aliases
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

# This is the aliases file - it says who gets mail for whom.
#
# >>>>>>>>>> The program "newaliases" will need to be run
# >> NOTE >> after this file is updated for any changes
# >>>>>>>>>> to show through to sendmail.
#

# It is probably best to not work as user root and redirect all
# email to "root" to the address of a HUMAN who deals with this
# system's problems. Then you don't have to check for important
# email too often on the root account.
# The "root" will make sure that email is also delivered to the
# root-account, but also forwared to the user "joe".
#root: joe, root
root: web1p19

# Basic system aliases that MUST be present.
postmaster: root
mailer-daemon: postmaster

# amavis
virusalert: root

# General redirections for pseudo accounts in /etc/passwd.
administrator: root
daemon: root
lp: root
news: root
uucp: root
games: root
man: root
at: root
postgres: root
mdom: root
amanda: root
ftp: root
wwwrun: root
squid: root
msql: root
gnats: root
nobody: root
# "bin" used to be in /etc/passwd
bin: root

# Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
hostmaster: root
mail: postmaster
postman: postmaster
post_office: postmaster
# "abuse" is often used to fight against spam email
abuse: postmaster
spam: postmaster
faxadm: root
faxmaster: root
webmaster: root
gnats-admin: root
mailman: root
mailman-owner: mailman

# Majordomo can be used to have mailinglists on your site.
#majordomo: "|/usr/lib/majordomo/wrapper majordomo"
#owner-majordomo: root,
#majordomo-owner: root,

# sample entry for a majordomo mailing-list called "test"
# read /usr/doc/packages/majordomo/README.linux for more information
# replace "test" with a new name and put the administrator into
# the "owner-test" alias instead of "root".
#
#test: "|/usr/lib/majordomo/wrapper resend -l test test-outgoin g"
#test-outgoing: :include:/var/lib/majordomo/lists/test
#test-request: "|/usr/lib/majordomo/wrapper majordomo -l test"
#test-approval: owner-test,
#owner-test-outgoing: owner-test,
#owner-test-request: owner-test,
#owner-test: root,
#
# if you have bulk_mailer installed, you can replace the above
# "test-outgoing" line with the following:
#test-outgoing: "|/usr/bin/bulk_mailer owner-test@host.com /var/lib/majo rdomo/lists/test"
#

confixx-du-38:
confixx-du-71:
confixx-du-64:
confixx-du-56:
confixx-du-82:
confixx-du-31:
confixx-du-35:
confixx-du-43:
confixx-du-36:
Die verschiedenen E-Mail-Adressen hinter den confixx-Einträgen habe ich aus Datenschutzgründen herausgelöscht. Ansonsten sieht doch alles standardmäßig aus?!
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Code: Select all

/etc/init.d/postfix stop
rm /etc/aliases.db
rm /etc/postfix/confixx_virtualUsers.db
/usr/bin/newaliases /etc/aliases
/usr/bin/newaliases /etc/postfix/confixx_virtualUsers
/etc/init.d/postfix start
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

so weit bin ich gekommen:
/etc/init.d/postfix stop
Shutting down mail service (Postfix) done

rm /etc/aliases.db
rm: cannot remove `/etc/aliases.db': No such file or directory

rm /etc/postfix/confixx_virtualUsers.db

/usr/bin/newaliases /etc/aliases
newaliases: fatal: alias initialization mode requires no recipient
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Bei direkter Ausführung von /usr/bin/newaliases bleibt das Programm wieder hängen. Sonst noch eine rettende Idee?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Hilft Folgendes?

Code: Select all

/etc/init.d/postfix stop
rm -f `postconf -h alias_database | cut -d : -f 2`.db
/usr/bin/newaliases -oA`postconf -h alias_database | cut -d : -f 2`
rm -f /etc/postfix/confixx_virtualUsers.db
/usr/bin/newaliases -oA/etc/postfix/confixx_virtualUsers
/etc/init.d/postfix start
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Bis hierher klappte alles:
Joe User wrote:Hilft Folgendes?

Code: Select all

/usr/bin/newaliases -oA`postconf -h alias_database | cut -d : -f 2`
Bei Aufruf des oben aufgeführten Kommandos hängt newaliases wieder.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Mir fällt momentan, abgesehen von der Holzhammer-Methode unten, leider nichts mehr ein, sorry.

Postfix vollständig entfernen und neu installieren:

Code: Select all

/etc/init.d/postfix stop
rpm --erase --allmatches --nodeps postfix
rm -rf /etc/aliases{,.db} /etc/postfix
rpm --install --allfiles http://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.update/postfix-2.1.1-1.20.i586.rpm
/etc/init.d/postfix start 
Anschliessend Postfix gemäss Confixx-Manual rekonfigurieren.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Bevor ich den Server neu aufsetze, gehe ich dann doch lieber mal mit dem Holzhammer ran. Schlimmer kann es ja nicht mehr werden...

Vorab aber noch eine Frage: Ich finde in den Manuals zu Confixx (Installationshandbuch, Administratorhandbuch) keine speziellen Hinweise zur Einrichtung von Postfix. Confixx müsste doch auch eigentlich die entsprechenden Konfigurationsoptionen beibehalten? Ansonsten reicht es eventuell aus, /etc/postfix/* zu sichern und nach Neuinstallation von Postfix zurückzuspielen?

An dieser Stelle einmal vielen Dank für die bisherige Unterstützung.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Confixx-Counterscript will nicht

Post by Joe User »

Theoretisch sollte Confixx die Postfix-Konfiguration selbstständig anpassen können, allerdings habe ich Confixx seit ~2 Jahren nicht mehr gesehen.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
wmm
Posts: 17
Joined: 2005-08-22 10:33
 

Re: Confixx-Counterscript will nicht

Post by wmm »

Okay. Ich habe Postfix nun deinstalliert und neu installiert. Aus mir unerfindlichen Gründen läuft der mysql-Dämon nicht mehr. Selbst ein Server-Restart brachte keine Besserung.

Fehlermeldung vom Confixx-Script:
# /root/confixx/confixx_counterscript.pl -fa -dbg
3.0.9 - 20050519.17 - mysqlonly
PID file /root/confixx/run/confixx_update.pid found
SUB: main::StillRunning
No running instance found
DBI connect('confixx:localhost;mysql_socket=/var/lib/mysql/mysql.sock','confixx',...) failed: Lost connection to MySQL server during query at confixx_updatescript.pl line 310
#2231: Konnte Datenbankverbindung nicht aufbauen : Lost connection to MySQL server during query
Wie bekomme ich den mysqld als root am einfachsten zum Laufen?
Post Reply