Proftpd ist nicht kooperativ + strace
Jan-Benedict Glaw
jbglaw at lug-owl.de
Mon Dec 8 14:32:10 CET 2003
On Mon, 2003-12-08 14:22:10 +0100, Markus Wigge <markus at cultcom.de>
wrote in message <3FD47B02.9030907 at cultcom.de>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> ich habe zu meinem Problem mal den proftpd getraced und stelle
> fest dass der Client-Prozess scheinbar Probleme macht.
> Ich frage mich auch, warum der Versucht /etc/mysql/my.cnf,
> /var/lib/mysql/my.cnf und zuletzt /root/.my.cnf zu öffnen?
> Die SQL-Optionen sollten alle in der proftpd.conf zu finden sein...
> hier die strace-Ausgabe:
Es kann sein, daß die MySQL-Client-Library grundsätzlich auf die
~/.my.cfg zurückgreift. Nachdem er die Datei nicht findet, stirbt Dein
ProFTPd bis zum Tode:)
> | fork() = 20383
> | [pid 20383] rt_sigprocmask(SIG_UNBLOCK, [USR1 USR2 TERM CHLD], NULL,
> 8) = 0
NO THANKS für eingerückte Protokolle und fälschlich eingabauten
Zeilenumbrüche.
> | [pid 20383] open("/etc/mysql/my.cnf", O_RDONLY|O_LARGEFILE) = 3
Was steht da d'rin?
> | [pid 20383] fstat64(3, {st_mode=S_IFREG|0644, st_size=1937, ...}) = 0
> | [pid 20383] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
> | [pid 20383] read(3, "# You can copy this to one of:\n#"..., 4096) = 1937
> | [pid 20383] read(3, "", 4096) = 0
> | [pid 20383] close(3) = 0
> | [pid 20383] munmap(0x40016000, 4096) = 0
> | [pid 20383] open("/var/lib/mysql/my.cnf", O_RDONLY|O_LARGEFILE) = 3
> | [pid 20383] fstat64(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0
> | [pid 20383] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
> | [pid 20383] read(3, "# This file must exist - CAN-200"..., 4096) = 48
> | [pid 20383] read(3, "", 4096) = 0
> | [pid 20383] close(3) = 0
> | [pid 20383] munmap(0x40016000, 4096) = 0
> | [pid 20383] open("/root/.my.cnf", O_RDONLY|O_LARGEFILE) = -1 ENOENT
> (No such file or directory)
Leg' die doch mal an und versuch's nochmal. Ansonsten vermute ich, daß
Deine MySQL-Konfiguration in der ProFTPd'schen Konfig-Datei noch nicht
paßt, sodaß er sich neue Werte sucht...
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20031208/9a77961b/attachment.sig>
More information about the Linux
mailing list