PDA

View Full Version : [ubuntu] vsftpd will not start


MarioFromBelgium
June 23rd, 2008, 05:37 PM
When I start vsftp my ubuntu 8 returns OK but connecting to the service fails. When I stop the service it says it can't find any running.
I have paste the return for your info.
Does anybody have an idea?

------
administrator@server1:~$ sudo /etc/init.d/vsftpd start
* Starting FTP server: vsftpd [ OK ]
administrator@server1:~$ ftp localhost
ftp: connect: Connection refused
ftp> exit
administrator@server1:~$ sudo /etc/init.d/vsftpd stop
* Stopping FTP server: vsftpd No /usr/sbin/vsftpd found running; none killed.
------

RealPSL
June 23rd, 2008, 08:13 PM
Have you changed the default configuration file for vsftpd? If yes can we see it?

windependence
June 24th, 2008, 03:29 AM
After you start vsftp do the following command:


ps aux | grep vsftpd


Post the output here for us. I don't think the process is starting.


-Tim

MarioFromBelgium
June 24th, 2008, 03:36 PM
This is what I get for the ps command

--
administrator@server1:~$ sudo /etc/init.d/vsftpd start
* Starting FTP server: vsftpd [ OK ]
administrator@server1:~$ ps aux | grep vsftpd
1000 5005 0.0 0.2 3004 756 pts/0 R+ 21:33 0:00 grep vsftpd


--

actually at first I didn't alter the conf. file but since that didn't work I altered it a little bit. I will copy it in a new post immediately!

MarioFromBelgium
June 24th, 2008, 04:20 PM
Boys and girls,

this will probably look very stupid but since the conf file is larger than my terminal-window (I'm connacting from my portable through putty) I can't copy it.

I just decided to autoremove and install again vsftp so that I can be 100% surten that the conf file is not changed.
Again the same result :

--
root@server1:~# sudo /etc/init.d/vsftpd start
* Starting FTP server: vsftpd [ OK ]
root@server1:~# ps aux | grep vsftpd
root 5282 0.0 0.2 3004 760 pts/2 S+ 22:19 0:00 grep vsftpd
--

RealPSL
June 24th, 2008, 11:32 PM
Does anything get written to the log file /var/log/vsftpd.log?

windependence
June 25th, 2008, 02:27 AM
Looks like it's trying to start but I don't see any process ID so I can only conclude it did not start.

Like RealIPSL said, we should be looking at the log files.

-Tim

MarioFromBelgium
June 25th, 2008, 03:42 AM
Guys,

I will check this evening the log-files. (I'm at work now administering more than a few win-servers, my UBUNTU is at home)

Yesterday,late in the evening I decided again to remove vsftpd and install proftpd...guess what... no problems!!

I'm doing this as a hobby with the intention to(one day soon) introduce the first UBUNTU-server at work; So I'm doing this primarily to learn. Therefor, this evening, I will again instal vsftpd and see what happens, I will post you the log-files!