[csw-users] anyone using pureftpd on Solaris 8?

Klaus Heinz khfp.blastwave0704 at gmx.de
Fri May 16 13:00:23 CEST 2008


Hi,

is anyone successfully using CSWpureftpd 1.0.20,REV=2004.11.03 on
Solaris 8?

Using blastwave-stable from 2007-07 together with pureftpd from -unstable
works for me on Solaris 10 11/06 ( I can login and upload files) but not
on Solaris 8 2/04.

I see this

  $ ftp solaris8box
  Connected to solaris8box.example.com.
  220---------- Welcome to Pure-FTPd [TLS] ----------
  220-You are user number 1 of 50 allowed.
  220-Local time is now 12:15. Server port: 21.
  220-IPv6 connections are also welcome on this server.
  220 You will be disconnected after 15 minutes of inactivity.
  Name (solaris8box:kh): kh
  331 User kh OK. Password required
  Password:
  421 Service not available, remote server has closed connection
  Login failed.
  No control connection for command: No such file or directory
  ftp>

A trace of the server process shows:
  ...
  19849:  open("/etc/shells", O_RDONLY)                   = 5
  19849:  fstat(5, 0xFFBEED30)                            = 0
  19849:  fstat64(5, 0xFFBEEBD8)                          = 0
  19849:  brk(0x0005BF38)                                 = 0
  19849:  brk(0x0005DF38)                                 = 0
  19849:  ioctl(5, TCGETA, 0xFFBEEB64)                    Err#25 ENOTTY
  19849:  read(5, " / b i n / b a s h\n / b".., 8192)     = 251
  19849:  read(5, 0x0005AA5C, 8192)                       = 0
  19849:  llseek(5, 0, SEEK_CUR)                          = 251
  19849:  close(5)                                        = 0
  19849:      Incurred fault #6, FLTBOUNDS  %pc = 0xFF1DACCC
  19849:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00000034
  19849:      Received signal #11, SIGSEGV [default]
  19849:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00000034
  19849:          *** process killed ***
  19848:      Received signal #18, SIGCLD, in poll() [caught]
  19848:        siginfo: SIGCLD CLD_KILLED pid=19849 status=0x000B
  19848:  poll(0xFFBEFAE8, 2, -1)                         Err#91 ERESTART
  19848:  waitid(P_ALL, 0, 0xFFBEF628, WEXITED|WTRAPPED|WNOHANG) = 0
  19848:  unlink("/var/run/pure-ftpd/client-00019849")    = 0
  19848:  waitid(P_ALL, 0, 0xFFBEF628, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
  19848:  setcontext(0xFFBEF7D0)
  19848:  poll(0xFFBEFAE8, 2, -1)         (sleeping...)

which explains the closed connection.

Starting the process with "-d" only repeats the console messages to the log file together with the two successful FTP commands "USER" and "PASS"
but no further hint.

Unfortunately pureftpd is not a part of the CSW subversion repository,
otherwise I would have tried to rebuild it...

ciao
     Klaus
-- 
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de



More information about the users mailing list