Mark,
Do you have "listen=YES" in the vsftpd.conf ?

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Mark Pace
Sent: Tuesday, May 06, 2014 9:45 AM
To: [email protected]
Subject: EXTERNAL: vsftpd

I'm trying to add SSL to my vsftpd server.   From else where on the web I
found the following to add to the config.
# enable FTPS
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
ssl_request_cert=NO
rsa_cert_file=/etc/vsftpd/vsftpd.pem

I copied out cert file to /etc/vsftpd/
sles001:/etc # ls -al /etc/vsftpd/
total 28
drwxr-xr-x  2 root root  4096 May  6 11:33 .
drwxr-xr-x 99 root root 12288 May  6 11:39 ..
-rw-r--r--  1 root root  1920 May  6 10:35 mainline.pem
-rw-r--r--  1 root root  2136 May  6 11:31 sscert.pem
-rw-r--r--  1 root root  1920 May  6 11:33 vsftpd.pem


Starting vsftpd startproc:  exit status of parent of /usr/sbin/vsftpd: 1

So I'm trying to find out what that message is trying to tell me.  So I look in 
the start script figure out where the messages should be.
/etc/rc.d/vsftpd

case "$1" in
    start)
        echo -n "Starting vsftpd "
        /sbin/startproc -l /var/log/rcvsftp.log $VSFTPD_BIN
        rc_status -v
        ;;

Look for the log
sles001:/etc # ls -al /var/log/rcvsftp.log
-rw-r--r-- 1 root root 0 Jul  2  2010 /var/log/rcvsftp.log

And it has nothing in it and hasn't been touched since 2010.
There is also nothing in /var/log/messages or /var/log/vsftpd.log  about this 
failure.

Any idea why I don't have a log  or what could be causing this error?

--
The postings on this site are my own and don’t necessarily represent Mainline’s 
positions or opinions

Mark D Pace
Senior Systems Engineer
Mainline Information Systems

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

Reply via email to