Hallo,
habe auf unserem Server (Debian 4) proftpd als FTP-Server installiert, hat alles wunderbar geklappt und einwandfrei funktioniert!
Bin heute wieder aus dem Urlaub zurückgekommen und der proftpd startet plötzlich nicht mehr...
syslog sagt:
proftpd[22934]: notice: unable to bind to Unix domain socket at '/var/run/proftpd/test.sock': Permission denied 
proftpd[22934]: notice: unable to listen to local socket: Address already in use 
proftpd[22934]: localhost - PRIVS_ROOT: unable to seteuid(): Operation not permitted 
proftpd[22934]: localhost - PRIVS_ROOT: unable to setegid(): Operation not permitted 
proftpd[22934]: localhost - PRIVS_RELINQUISH: unable to seteuid(PR_ROOT_UID): Operation not permitted 
proftpd[22934]: localhost - PRIVS_RELINQUISH: unable to setegid(session.gid): Operation not permitted 
proftpd[22934]: localhost - PRIVS_RELINQUISH: unable to seteuid(session.uid): Operation not permitted 
proftpd[22934]: localhost - mod_delay/0.5: error opening DelayTable '/var/run/proftpd/proftpd.delay': No such file or directory 
proftpd[22934]: localhost - PRIVS_ROOT: unable to seteuid(): Operation not permitted 
proftpd[22934]: localhost - PRIVS_ROOT: unable to setegid(): Operation not permitted 
proftpd[22934]: localhost - PRIVS_RELINQUISH: unable to seteuid(PR_ROOT_UID): Operation not permitted 
proftpd[22934]: localhost - PRIVS_RELINQUISH: unable to setegid(session.gid): Operation not permitted 
proftpd[22934]: localhost - PRIVS_RELINQUISH: unable to seteuid(session.uid): Operation not permitted 
proftpd[22934]: localhost - notice: unable to listen to local socket: No such file or directory 
proftpd[22934]: localhost - unable to set daemon groups: Operation not permitted 
proftpd[22934]: localhost - unable to set uid to 65534, current uid: 107
Es wurde an den Konfigurationsdateien seit dem nichts geändert; in inetd.conf steht:
ftp	stream	tcp	nowait	ftp	/usr/sbin/tcpd	/usr/sbin/proftpd
proftpd wird als Benutzer ftp (107, nogroup, /bin/false) ausgeführt (ServerType inetd).
Hat jemand einen Tipp für mich, wie ich den FTP-Server wieder zum Laufen bekomme?
Gruß,
Martin
			
			
									
						
										
						proftpd startet nicht mehr
Re: proftpd startet nicht mehr
Ehm, kanns sein das du versuchst proftpd per inetd als standalone zu starten, das wird nix ;=)
Mach den eintrag aus der inetd.conf raus (inetd neustarten).
In der proftpd.conf sollte "ServerType standalone" drinne stehen.
Dann müsstest du ihn mit "/etc/init.d/proftpd start" starten können.
Das ist eigentlich Standard unter Debian, wie hast du ihn installiert?
			
			
									
						
										
						Mach den eintrag aus der inetd.conf raus (inetd neustarten).
In der proftpd.conf sollte "ServerType standalone" drinne stehen.
Dann müsstest du ihn mit "/etc/init.d/proftpd start" starten können.
Das ist eigentlich Standard unter Debian, wie hast du ihn installiert?
Re: proftpd startet nicht mehr
Alles nötige steht in diesen beiden Zeilen:
			
			
									
						
							1nf0rmat1ker wrote: proftpd[22934]: notice: unable to bind to Unix domain socket at '/var/run/proftpd/test.sock': Permission denied
proftpd[22934]: notice: unable to listen to local socket: Address already in use
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings 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.
			
						Wings for Life ● Wings 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.
- 
				1nf0rmat1ker
 - Posts: 19
 - Joined: 2006-11-25 10:11
 
Re: proftpd startet nicht mehr
Hallo,
danke für den Tipp. Genau so hatte ich gestartet. Hatte vergessen das ich das zum Test geändert hatte (als es jetzt heute nicht ging...)
Stelle es mal wieder zurück und schicke dir dann noch mal Fehler (wenn sich was geändert hat...)
Gruß,
Martin
			
			
									
						
										
						danke für den Tipp. Genau so hatte ich gestartet. Hatte vergessen das ich das zum Test geändert hatte (als es jetzt heute nicht ging...)
Stelle es mal wieder zurück und schicke dir dann noch mal Fehler (wenn sich was geändert hat...)
Gruß,
Martin
- 
				1nf0rmat1ker
 - Posts: 19
 - Joined: 2006-11-25 10:11
 
Re: proftpd startet nicht mehr
Hallo,
@Freddy36: habe es jetzt zurück geändert. Am Fehler ändert das nichts... ...die Zeile in inetd.conf ändert sich aber nicht (habe über Webmin / inetd / Änderungen anwenden ein SIGHUP geschickt, da inetd nicht über /etc/init.d zu starten ist...
@Joe User: Wüsste nicht welches Programm auf Port 21 laufen würde... ...wie kann ich das herausfinden?
Gruß & Danke,
Martin
			
			
									
						
										
						@Freddy36: habe es jetzt zurück geändert. Am Fehler ändert das nichts... ...die Zeile in inetd.conf ändert sich aber nicht (habe über Webmin / inetd / Änderungen anwenden ein SIGHUP geschickt, da inetd nicht über /etc/init.d zu starten ist...
@Joe User: Wüsste nicht welches Programm auf Port 21 laufen würde... ...wie kann ich das herausfinden?
Gruß & Danke,
Martin
Re: proftpd startet nicht mehr
lsof -i:21
oder
netstat -lnp
Guck auch mal nach dem UNIX Sockte da ;)
Sollte aber auch in der Prozess Liste auftauchen.
			
			
									
						
										
						oder
netstat -lnp
Guck auch mal nach dem UNIX Sockte da ;)
Sollte aber auch in der Prozess Liste auftauchen.
- 
				1nf0rmat1ker
 - Posts: 19
 - Joined: 2006-11-25 10:11
 
Re: proftpd startet nicht mehr
Hallo,
danke für den Tipp!!!
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2425/inetd
Wie bringe ich denn inetd bei, dass es meinen Port freigeben soll a.k.a wie starte ich inetd neu?
Danke und Gruß,
Martin
			
			
									
						
										
						danke für den Tipp!!!
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2425/inetd
Wie bringe ich denn inetd bei, dass es meinen Port freigeben soll a.k.a wie starte ich inetd neu?
Danke und Gruß,
Martin
- 
				1nf0rmat1ker
 - Posts: 19
 - Joined: 2006-11-25 10:11
 
Re: proftpd startet nicht mehr
Hallo,
:oops: hat sich erledigt...
Habe die Config-Datei noch einmal von Hand geändert und SIGHUP senden lassen, jetzt läuft er wieder!!!
Vielen Dank für die schnelle Hilfe!!! =D>
Gruß,
Martin
			
			
									
						
										
						:oops: hat sich erledigt...
Habe die Config-Datei noch einmal von Hand geändert und SIGHUP senden lassen, jetzt läuft er wieder!!!
Vielen Dank für die schnelle Hilfe!!! =D>
Gruß,
Martin
