bash-3.00# ftp localhost
Connected to localhost.
ld.so.1: proftpd: fatal: libssl.so.0.9.8: open failed: No such file or directory
ftp> quit
I'm not really a Solaris person (actually I hate it, but my paycheck depends on it. Linux rocks!).
So my plan was:
- check the installed version of proftpd
- backup its config file and uninstall the package
- download a couple of packages from www.sunfreeware.com (lower version)
- try these packages out
bash-3.00# pkginfo | grep ftp
application SMCpftpd proftpd <- here is our package
system SUNWftpr FTP Server, (Root)
system SUNWftpu FTP Server, (Usr)
bash-3.00# pkginfo -l SMCpftpd | grep VERSION
VERSION: 1.3.2
bash-3.00# ftp ftp.sunfreeware.com
ftp> bin
ftp> hash
ftp> prompt
ftp> cd pub/freeware/sparc/10
ftp> mget proftpd-1.3.0-sol10-sparc-local.gz proftpd-1.3.1-sol10-sparc-local.gz
ftp> quit
bash-3.00# gunzip proftpd-1.3.0-sol10-sparc-local.gz
bash-3.00# gunzip proftpd-1.3.1-sol10-sparc-local.gz
bash-3.00# cp -a /usr/local/etc/proftpd.conf /usr/local/etc/proftpd.conf.orig
bash-3.00# pkgrm SMCpftpd
bash-3.00# pkgadd -d proftpd-1.3.0-sol10-sparc-local
bash-3.00# vi /usr/local/etc/proftpd.conf
...
ServerType inetd
...
bash-3.00# inetadm -l ftp
SCOPE NAME=VALUE
name="ftp"
endpoint_type="stream"
proto="tcp6"
isrpc=FALSE
wait=FALSE
exec="/usr/local/sbin/proftpd -c /usr/local/etc/proftpd.conf"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=TRUE
default tcp_wrappers=TRUE
default connection_backlog=10
bash-3.00# inetadm -m ftp proto="tcp"
bash-3.00# inetadm -m ftp exec="/usr/local/sbin/in.proftpd"
bash-3.00# svcadm disable ftp; svcadm enable ftp
no more Solaris please!
No comments:
Post a Comment