www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: xbs am 08. Mai 2005, 18:08:47



Titel: my_sql 4.1.11 "unrecoverable backend error"
Beitrag von: xbs am 08. Mai 2005, 18:08:47
hallo leute.

ich bin grad ein bisschen am verzweifeln :)
das ist jetzt mein vierter root-server auf dem ich proftpd installiere
und bis jetzt laufen alle server perfekt ;)
nun ist ein suse 9.2 mit mysql 4.1.11 an der reihe und plötzlich gehts
nich mehr :(
die selben configs, immer gleich kompiliert... ich verstehs echt nich.
sogar die mysql version ist die gleiche wie auf dem letzten server...
ich hab euch mal mein zeuch gepostet, vielleicht seht ihr ja was, was
ich noch nich gesehen hab :)

an dieser stelle übrigens mein riesen lob an stonki, der sich seit jahren
aufopferungsvoll um uns arme proftpd user kümmert ;)

===

aus irgend nem grund kann ich meine proftpd.conf nich posten,
darum hier:

http://berlin-lan.ath.cx/proftpd.conf

kompiliert:

Zitat

./configure --with-modules=mod_ifsession:mod_rewrite:mod_sql:mod_sql_mysql \
--with-includes=/usr/include/mysql \
--with-libraries=/usr/lib/mysql




die ausgabe von proftpd -n -d 5

Zitat

linux:/usr/include # proftpd -n -d 5
 - parsing '/usr/local/etc/proftpd.conf' configuration
 - Compiling allow regex '^[a-zA-Z0-9]*'.
 - Allocated allow regex at location 0x81dbae0.
 - Compiling deny regex '(\.ftpaccess)|(\.welcome.msg)|(\.dirinfo.msg)|(\.login.msg)'.
 - Allocated deny regex at location 0x81dc208.
 - SQLAuthenticate: use of * in SQLAuthenticate has been deprecated.  Use AuthOrder for setting authoritativeness
 - SQLAuthenticate: use of * in SQLAuthenticate has been deprecated.  Use AuthOrder for setting authoritativeness
 - <Directory ~>: adding section for resolved path '~'
 - <Directory ~/uploads>: adding section for resolved path '~/uploads'
linux.site -
linux.site - Config for Mein - FTP-Server:
linux.site - <IfGroup>
linux.site -  ~/uploads
linux.site -   Limit
linux.site -    AllowAll
linux.site -    DenyAll
linux.site -   Limit
linux.site -    DenyAll
linux.site -  ~
linux.site -   Limit
linux.site -    IgnoreHidden
linux.site -    AllowAll
linux.site -   Limit
linux.site -    DenyAll
linux.site -  IfGroupList
linux.site - DefaultServer
linux.site - RootLogin
linux.site - AllowLogSymlinks
linux.site - RequireValidShell
linux.site - tcpNoDelay
linux.site - TransferRate
linux.site - ListOptions
linux.site - AllowOverride
linux.site - WtmpLog
linux.site - SQLLogFile
linux.site - UserID
linux.site - UserName
linux.site - GroupID
linux.site - GroupName
linux.site - AccessDenyMsg
linux.site - AccessGrantMsg
linux.site - AllowFilter
linux.site - AllowForeignAddress
linux.site - AllowOverwrite
linux.site - AllowRetrieveRestart
linux.site - AuthAliasOnly
linux.site - DeleteAbortedStores
linux.site - DirFakeGroup
linux.site - DirFakeMode
linux.site - DirFakeUser
linux.site - ExtendedLog
linux.site - HiddenStores
linux.site - IdentLookups
linux.site - LoginPasswordPrompt
linux.site - MaxClients
linux.site - MaxClientsPerHost
linux.site - MaxHostsPerUser
linux.site - MaxLoginAttempts
linux.site - PathDenyFilter
linux.site - RequireValidShell
linux.site - ServerIdent
linux.site - ShowSymlinks
linux.site - SyslogLevel
linux.site - Umask
linux.site - DirUmask
linux.site - SQLAuthenticate
linux.site - SQLAuthTypes
linux.site - SQLConnectInfo
linux.site - SQLDefaultGID
linux.site - SQLDefaultUID
linux.site - SQLHomedirOnDemand
linux.site - SQLUserTable
linux.site - SQLUsernameField
linux.site - SQLPasswordField
linux.site - SQLHomedirField
linux.site - SQLNamedQuery_history
linux.site - SQLNamedQuery_history_err
linux.site - SQLLog_*
linux.site - SQLLog_ERR_*
linux.site - SQLGroupTable
linux.site - SQLGroupnameField
linux.site - SQLGroupGIDField
linux.site - SQLGroupMembersField
linux.site - TimeoutIdle
linux.site - TimeoutLogin
linux.site - TimeoutNoTransfer
linux.site - TimeoutStalled
linux.site - TimesGMT
linux.site - DefaultChdir
linux.site - DefaultRoot
linux.site - DefaultTransferMode
linux.site - DeferWelcome
linux.site - PassivePorts
linux.site - UseGlobbing
linux.site - UseFtpUsers
linux.site - ProFTPD 1.2.10 (stable) (built Sun May 8 17:13:57 CEST 2005) standalone mode STARTUP
linux.site - ProFTPD terminating (signal 2)
linux.site - ProFTPD 1.2.10 standalone mode SHUTDOWN
linux.site - deleting existing scoreboard '/usr/local/var/proftpd/proftpd.scoreboard'


und natürlich ganz wichtig, die ausgabe vom SQL - Log:

Zitat

May 08 17:29:47 mod_sql/4.11[3102]: backend module 'mod_sql_mysql/4.04'
May 08 17:29:47 mod_sql/4.11[3102]: backend api    'mod_sql_api_v1'
May 08 17:29:47 mod_sql/4.11[3102]: >>> sql_getconf
May 08 17:29:47 mod_sql/4.11[3102]: entering    mysql cmd_defineconnection
May 08 17:29:47 mod_sql/4.11[3102]:  name: 'default'
May 08 17:29:47 mod_sql/4.11[3102]:  user: 'root'
May 08 17:29:47 mod_sql/4.11[3102]:  host: '127.0.0.1'
May 08 17:29:47 mod_sql/4.11[3102]:    db: 'proftpd'
May 08 17:29:47 mod_sql/4.11[3102]:  port: '3306'
May 08 17:29:47 mod_sql/4.11[3102]:   ttl: '0'
May 08 17:29:47 mod_sql/4.11[3102]: exiting    mysql cmd_defineconnection
May 08 17:29:47 mod_sql/4.11[3102]: entering    mysql cmd_open
May 08 17:29:47 mod_sql/4.11[3102]: exiting    mysql cmd_open
May 08 17:29:47 mod_sql/4.11[3102]: unrecoverable backend error
May 08 17:29:47 mod_sql/4.11[3102]: error: '2003'
May 08 17:29:47 mod_sql/4.11[3102]: message: 'Can't connect to MySQL server on '127.0.0.1' (111)'


vielen dank schon mal und liebe grüße.


Titel: my_sql 4.1.11 "unrecoverable backend error"
Beitrag von: xbs am 09. Mai 2005, 10:53:27
ah, ich glaube langsam,
der fehler liegt auf mysql seite.

ein netstat -an|grep LISTEN

bringt weder ein
Zitat
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN

noch ein
Zitat
tcp        0      0 0.0.0.0:3306          0.0.0.0:*               LISTEN

zu tage.

mysql scheint nur über den socket erreichbar zu sein.
hat einer ne idee, dass ich mysql auch am localen tcp port lauschen
lassen kann?


Titel: my_sql 4.1.11 "unrecoverable backend error"
Beitrag von: Anonymous am 09. Mai 2005, 16:57:48
ok. jetzt funzt es. sorry für die belästigung :)


Titel: my_sql 4.1.11 "unrecoverable backend error"
Beitrag von: Anonymous am 09. Mai 2005, 17:21:44
eine sache noch:

beim start im debug-modus wird sowas wie ne fehlermeldung bei

Zitat

 - SQLAuthenticate: use of * in SQLAuthenticate has been deprecated. Use AuthOrder for setting authoritativeness
- SQLAuthenticate: use of * in SQLAuthenticate has been deprecated. Use AuthOrder for setting authoritativeness


ausgegeben. was hat das zu bedeuten?


Titel: my_sql 4.1.11 "unrecoverable backend error"
Beitrag von: Wörsty am 09. Mai 2005, 21:09:47
Das bedeutet, dass die alte Direktive SQLAuthenticate durch die neue AuthOrder ersetzt wurde.