New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Help needed - FTP stopped working!
Help needed - FTP stopped working!
Hi,
My ftp has stopped working. I tried both from work and at home and all I get is this "Remote host has closed the connection". I've checked that my router is redirecting port 21 to my bubba and it is. I've also stopped and restarted the ftp-feature in the settings panel, but that doesn't work either.
It worked a few weeks ago - could it have something to do with the recent bubba update perhaps?
I read habrys topic
http://www.excito.org/forum/viewtopic.php?t=340
But his solution isn't helping me as port 20 isn't open from my work because of their firewall.
What can I do to get ftp to work again?
/Johnny
My ftp has stopped working. I tried both from work and at home and all I get is this "Remote host has closed the connection". I've checked that my router is redirecting port 21 to my bubba and it is. I've also stopped and restarted the ftp-feature in the settings panel, but that doesn't work either.
It worked a few weeks ago - could it have something to do with the recent bubba update perhaps?
I read habrys topic
http://www.excito.org/forum/viewtopic.php?t=340
But his solution isn't helping me as port 20 isn't open from my work because of their firewall.
What can I do to get ftp to work again?
/Johnny
Hello Johnny,
I had a similar problem some time ago.
What happened was that I accessed the bubba ftp server via ssh.
After that proftpd would not accept a normal login on port 21.
I either used something like or to get it back to the original state.
HTH
/Nik
I had a similar problem some time ago.
What happened was that I accessed the bubba ftp server via ssh.
After that proftpd would not accept a normal login on port 21.
I either used something like
Code: Select all
dpkg --configure proftpd
Code: Select all
apt-get install proftp
HTH
/Nik
Cheeseboy - Thanks for trying to help out here. But non of the commands worked in my case. All I got was this:Cheeseboy wrote:Hello Johnny,
I had a similar problem some time ago.
What happened was that I accessed the bubba ftp server via ssh.
After that proftpd would not accept a normal login on port 21.
I either used something likeorCode: Select all
dpkg --configure proftpd
to get it back to the original state.Code: Select all
apt-get install proftp
HTH
/Nik
Code: Select all
bubba:/home/USERNAME# dpkg --configure proftpd
dpkg: error processing proftpd (--configure):
package proftpd is already installed and configured
Errors were encountered while processing:
proftpd
bubba:/home/USERNAME# apt-get install proftp
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package proftp
Sorry but that didn't help in my case. I got this error message when trying to update.dsp76 wrote:... but in my case, both commands didn't work and I needed to remove and reinstall the package to get a working setup, as I described here.
dsp
Code: Select all
Configuration file `/usr/share/web-admin/bubba.css'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** bubba.css (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /usr/share/web-admin/bubba.css ...
admin:x:1000:100:Administrator:/home/admin:/bin/bash
Admin user already exists
Admin already a samba user
chown: cannot access `var/samba/public/*': No such file or directory
dpkg: error processing bubba (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bubba
Well I guess I thought that updating the script would help which it didn't. Instead I had to reinstall bubbalibres web-theme again because the update messed up his css file.dsp76 wrote:... don't know whether this is the cause, but why did you decide *not* no choose the default option when you were asked whilst the script run?
dsp
It seems as you have made some changes to the /var/samba/public directory. If you look in your log from your update it says:
Try to resolve this issue and run the configuration again to see if it will pass.
/PA
The configuration then seems to abort.chown: cannot access `var/samba/public/*': No such file or directory
Try to resolve this issue and run the configuration again to see if it will pass.
/PA
Hi PA!pa wrote:It seems as you have made some changes to the /var/samba/public directory. If you look in your log from your update it says:The configuration then seems to abort.chown: cannot access `var/samba/public/*': No such file or directory
Try to resolve this issue and run the configuration again to see if it will pass.
/PA
Thanks for responding.
I'm not a unix-geek, so my knowledge for solving this is limited. I haven't made any changes lately which I can recall, except for installing Excitos updates (via the web update function) and bubbalibres hack: http://excito.org/forum/viewtopic.php?t=113
I also installed the TorrentFlux hack: http://excito.org/forum/viewtopic.php?t=89 But that was done months ago with the ftp working after that.
What would you recommend me to do, to solve this?
/Johnny
PA,
Here are the results:
username@bubba:~$ ls -l /var/samba
total 4
drwxrwxrwx 6 1008 users 4096 Apr 19 19:54 public
username@bubba:~$ ls -l /var/samba/public
total 16
drwxrwxrwx 5 nobody users 4096 Oct 20 2006 music
drwxrwxrwx 2 nobody users 4096 Apr 14 17:45 pictures
drwxrwxrwx 5 root root 4096 May 1 07:23 torrentflux
drwxrwxrwx 2 nobody users 4096 Apr 14 17:45 video
/Johnny
Here are the results:
username@bubba:~$ ls -l /var/samba
total 4
drwxrwxrwx 6 1008 users 4096 Apr 19 19:54 public
username@bubba:~$ ls -l /var/samba/public
total 16
drwxrwxrwx 5 nobody users 4096 Oct 20 2006 music
drwxrwxrwx 2 nobody users 4096 Apr 14 17:45 pictures
drwxrwxrwx 5 root root 4096 May 1 07:23 torrentflux
drwxrwxrwx 2 nobody users 4096 Apr 14 17:45 video
/Johnny
I am sorry I have not answered before.
It seems as if there has been a user that has been deleted from the system (uid 1008) that owns the /var/samba/public directory.
This should be owned by root.
I don't know if this can case the problems that you see when you are trying to upgrade, but can you change this and try to run the update again?
/PA
It seems as if there has been a user that has been deleted from the system (uid 1008) that owns the /var/samba/public directory.
This should be owned by root.
I don't know if this can case the problems that you see when you are trying to upgrade, but can you change this and try to run the update again?
/PA