[BlueOnyx:01634] Re: FTP default directory

Tjerk Hacquebord tjerk at hqmatics.nl
Sat Jul 11 04:59:13 -05 2009


I followed the exact instructions, First check /etc/proftpd.conf:

[root at server3 ~]# pico /etc/proftpd.conf
servertype is inetd:
ServerType                      inetd

then

[root at server3 ~]# /sbin/chkconfig --level 2345 proftpd off

[root at server3 ~]# /etc/init.d/proftpd stop
Shutting down proftpd:                                     [FAILED]


[root at server3 ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]

>If (and only if!) your FTP service is not running afterwards, go to the 
>BlueOnyx GUI, disable FTP services, save the changes and then enable it and 
>save the changes again. That should fix it.
It is still running, checked the GUI and Enable server is checked, like it should be.

And, I have the same output as Jeff:

[root at server3 ~]# ls -la /etc/rc*.d/*proftp*
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc0.d/K30proftpd -> ../init.d/proftpd
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc1.d/K30proftpd -> ../init.d/proftpd
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc2.d/K30proftpd -> ../init.d/proftpd
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc3.d/K30proftpd -> ../init.d/proftpd
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc4.d/K30proftpd -> ../init.d/proftpd
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc5.d/K30proftpd -> ../init.d/proftpd
lrwxrwxrwx 1 root root 17 Jul 11 11:50 /etc/rc6.d/K30proftpd -> ../init.d/proftpd


If you want to see for yourself and check a few things, feel free to logon to my server (the one you installed your software on last time), same password.
(!it is a live server now though!)




Tjerk Hacquebord
---
tjerk at hqmatics.nl
http://www.hqmatics.nl

-----Oorspronkelijk bericht-----
Van: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] Namens Michael Stauber
Verzonden: vrijdag 10 juli 2009 18:00
Aan: BlueOnyx General Mailing List
Onderwerp: [BlueOnyx:01624] Re: FTP default directory

Hi Tjerk,

>> port already in use?
>
> If that's the original configuration and you say that should work, any idea
> why it doesn’t work for me? And.. is FTP not a socket ip-to-ip.. does the
> ftp client send the hostname in the request?
>
> Is this problem related to the warnings I have in my messages log:
> Jun 29 21:34:28 server3 proftpd[15958]: warning: "ProFTPD" address/port
> (:21) already in use by "ProFTPD server"

There are two ways how one can use ProFTPd:

1.) Through XINETd (default for BlueOnyx)

2.) Stand alone deamon.

I guess you may somehow managed to enable both medthods, which now cause those 
error messages.

Check your /etc/proftpd.conf

Make sure the line "ServerType" looks like this:

ServerType                      inetd

It should *NOT* read:

ServerType                     standalone

Then - for good measure - run:

/sbin/chkconfig --level 2345 proftpd off
/etc/init.d/proftpd stop
/etc/init.d/xinetd restart

If (and only if!) your FTP service is not running afterwards, go to the 
BlueOnyx GUI, disable FTP services, save the changes and then enable it and 
save the changes again. That should fix it.

-- 
With best regards

Michael Stauber


_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list