Debian Configuration :: Connect To Proftpd But Upload Fails
Jul 22, 2010
I finally have my system to where I can connect to proftpd but my uploads fail. I think my problem lies in the upload folder. I do not really understand where to put it. Will someone look at this config file and tell me where to put it and what I need to do to get it working. A basic anonymous configuration, no upload directories.
I rent a dedicated virtual server (ve) from Media Temple. It is one of those servers where they give you the base OS install and then you have to install all of your own applications.
Anyways, setting up the FTP software for the server has been hell. I am using ProFTPd and Webmin 1.510. I am able to log into the FTP and upload files to any of the directories that I have created.
The issue here is that I cannot download anything from my server via FTP. I have tried multiple clients (Filezilla is what I use normally), but they all come back with "Transfer cannot be started".
I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".
It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.
That PoS called "gadmin-proftpd" does.NOT.work in debian stable and I don't believe it will ever work. Is there an alternative GUI for configuring proftpd or it has to be done in text mode?
Im trying to change permissions so i can upload to my proftp server. i can download ok but i want to access most folders via ftp so i can upload to them, at the moment i get permission denied message.
I've been working on the setup of a FTP server on my Debian system for the whole afternoon. But I can't get it straight! Normally I get it working in just a second, but it's been a while I guess.
I installed only proftpd-basic and it's default dependencies. Should be enough right?
My configuration files are as follows:
I created the user zeitgeist, gave it a password, group and a homedir. Group of the user is nogroup and the homedir is correct with the 755 permission. My port 21 for FTP is open I tested it with nmap -p 21 [ip-address].
My Filezilla client tells me that at first he is connecting, then the connection is established, And then the connection is closed by server.
Im having proftpd 1.3.3a standalone on squeeze with mysql backend. It all works fine with one little problem. When i log in to directory, there is nothing in it - knowing there is shed load of files. Directories are simply not being listed. Im logging in as group member and directory permissions are rwxr-xr-x. In addition to that when i try to create new directory connection is being lost and client attempts to reconnect. After successful reconnection, connection gets lost and over and over again until i abort.
[code]...
i find Failed binding to 0.0.0.0, port 201: Address already in use. Check the ServerType directive to ensure you are configured correctly.
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
I am using debian squeeze, with browsers chrome, firefox, and flashplugins installed.
I get online via ipv4 DSL, pppoe(I don't quite sure their relationships), I can browse websites, watch flash smoothly, can download softwares from websites to my desktop PC via the browser chrome or firefox with speed about 200kB/s, if I download an some 700MB ubuntu iso from ftp6.sjtu.edu.cn, it reaches 10MB/s.
The thing is, I can't upload files from my PC to online disks(say [url], [url] via browser (firefox, chrome etc), can't send email with an attach file even as small as 1MB via broser, can't post topics on this forum with attachment, can't upload pics to Facebook.
When I try do these "upload things", the web browser just stays there and doesn't refresh. Some online disks have a instant upload speed of 10kb/s ,then it quickly slow down to less than 200b/s, finally it stoped there ,and say "upload failed, network failure".
A few months back I performed a routine aptitude upgrade on a Squeeze installation on a DELL Vostro desktop. My eth0 upload speed is now very bad although download speed is good. I suspect that it could be related to my other problem [URL] which was caused by the OS enabling noveau driver instead of the installed NVIDIA proprietary drivers.
Proftpd is installed and running fine on 8.04 server. I want to streamline the process of adding users. Adding a ftp user with USERADD fails (user is created but connection fails when trying to connect with ftp client).
I am using Squeeze and all appears OK at first... I have a DHCP lease, PING to router works, apache servering fine in and outside the network, Epiphany seems to connects to default debian.org only, BUT I cannot connect to any other websites and apt will not connect to any servers. I installed once, tried to fix problem, gave up and reinstalled and still have the same problem.
I unistalled Network Manager thinking that was the problem, but still the same issue. Is there a default firewall blocking certain connections or am I missing something I'm supposed to know about? I installed some non-free firmware in the beginning of install and all worked... and I connected fine when downloading packages during install.
I just installed proftpd using webpin but when i tried to gonfigure it ,i figured out that the configuration file proftpd.conf is empty, is it about permission ?i just dont get it!
i have been havin a little trouble with my ftp server im using proftpd and have been able to connect to the box on local lan but it stops with an error about tls packet.
i have been following a guide on settin up my server [URL]...and have attached my config and error details
I've been installing multiple versions of ubunutu over years and now I better understand why I faced always problems with wifi configuration on these different baselines : Debian root of course.
Now on Debian 7.4 : The Broadcom BCM4313 driver is not loaded by default (not free product) for my wifi card. This is stated thru the UNCLAIMED declaration
Code: Select all sudo lshw -c network  *-network UNCLAIMED     description: Network controller     product: BCM4313 802.11b/g/n Wireless LAN Controller     vendor: Broadcom Corporation     physical id: 0
[Code] ...
Unclaimed means : no driver found (no kernel association)
So I installed the driver located in the non-free backports by adding this target into the repository
Code: Select alldeb http://http.debian.net/debian/ wheezy main contrib non-free
 *-network     description: Wireless interface     product: BCM4313 802.11b/g/n Wireless LAN Controller     vendor: Broadcom Corporation     physical id: 0
[Code] ....
I can't connect with wlan0, it doesn't work. I found information here regarding WPA2/PSK wifi configuration on debian : [URL] ....
so I added this setup to my interfaces file an got :
Code: Select allauto lo iface lo inet loopback
allow-hotplug wlan0 iface wlan0 inet dhcp  wpa-ssid Hznteam-Datacenter  # hexadecimal psk is encoded from a plaintext passphrase  wpa-psk 12345678901234567890123456
It's worth ! no more wifi network are detected and ifconfig gives no ip address allocated :
Code: Select allwlan0   Link encap:Ethernet HWaddr 78:e4:00:4e:49:a3      UP BROADCAST MULTICAST MTU:1500 Metric:1      RX packets:0 errors:0 dropped:0 overruns:0 frame:0      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0      collisions:0 txqueuelen:1000      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I've just installed lenny from dvd, and am just settling in. I'm curious about virtual machines. so I've installed xen. With xen comes qemu by default. Now the setup I've recently become familiar with is Suse-11 which is quite slick.In Suse, Yast provides a distribution prepared virtual management section for xen, including an installer. Debian's setup is similar but not a clone. I want to try out the installer. Aside from the differences, debian has a screaming deficit. On booting dom0 in Lenny, if fails to get into gnome, badly. I can tell what's probably wrong, but I need to fix it. Now I'm also a gentoo fan and very practised at posting queries, so here goes.
Debian's config for X is somewhat unhelpful. The xorg.conf just states Configured device and configured monitor for its components. If it expanded on just what the settings were it would help. What I have is a frambuffer driver not loadinf or being implemented.
I have squeeze using the default setup with 5 seperate partitions on hard drive. All other updates are fine but it will not install the Linux-Image-2.6.32-5-amd64. I get message that not enough room. I think this is the kernal update. I use update manager. Is there a fix for this short of resizing the partition. This is a one computer/user setup. I had this problem on a previous install of stable and ignored it thinking that it was a glitch. That install was an experimental setup and I liked it but it didn't work on the internet very well so went to testing.
I have happily been booting debian through grub2 by chain loading it with efi (rEFIt), until today, and now get to begin another learning experience I've been using linux for a while, and kept seeing the guides for splitting up /, /var, /tmp, /usr, and /home, into different partitions, so I did just that when I switched from Ubuntu to Debian (I've realized that this was a little bit pointless because I formated them all as ext4, but at least it acts as a safety for mission critical drives when I overfill /home. I unfortunately didn't give /tmp enough space, and it kept crashing SimpleScan so I decided to use gparted to resize it.
The operation went alright as far as I can tell, and was straight forward because there was some free space behind it so I only had to append the partition. I synced the master boot record through rEFIt as usual, but when I booted the linux partition grub did load, and only a blank screen is presented. I eventually figured out I could use the gparted live cd to boot back into debian, and have been screwing around for a while with grub commands trying to figure out how to allow rEFIt to successfully boot GRUB on its own again. I ran grug-mkconfig to replace my /boot/grub/grub.cfg file and have rebooted but that did not help.
I tried reinstalling grub and grub-common with apt-get, but I didn't purge configuration settings for fear of losing something important. My current focus is on the command grub-install. I think i just need to run this command with the /boot device, like su - root; grub-install /dev/sda1 or some thing like that. wipe out the MBR on /dev/sda1, or screw up what good configuration is left in grub, so I want to make sure that I'm using the right /dev. Currently the gparted output looks like this:
/dev/sda1: fat32 - GPT (gpt from fdisk, gparted shows EFI with the boot flag) /dev/sda2: hfs+ - MacOSx /dev/sda3: ext4 - /root
[code]...
how the gnome live gparted disk would have been able to boot. I have access to a hard drive so I'll probably end up making backup images of as many of the partitions as I can, and then try more drastic bashing around, but if anyone has any suggestions/wisdom they could offer while I'm researching solutions I'd appreciate it. I eventually want to try to axe my osx partition and boot directly from GRUB2-EFI so I figure it is worth the investment in time to get to know grub a little bit more intimately.
My debian machine works fine other that it loses network after a few (12 or so) hours. The dhclient manages to renew the DHCP lease the first time, after a few hours, but later when it tries again the modem gives a DHCPNAK. If I understood correctly, this should make the dhclient to fetch a new ip address but it does nothing. I am no expert so I don't know if the cause is the modem box or the debian. There are other (windows) machines connected to the modem box which work fine. The machines are behind NAT.
The debian machine does not currently have a display or a graphics card so it's difficult to start messing with the settings. I've considered having a static ip but I don't understand why the dynamic address doesn't work. What is weird is that it worked fine for several weeks and suddenly started failing. I was running a minecraft server (hehe) with an uptime of several weeks. At first I though it was a hardware issue because I thought the whole computer froze but instead it just drops the connection and I can no longer reach it with SSH or anything.My timezone is UTC+3, /etc/default/rcS has UTC=yes, I believe it is the reason why the lease and the logs differ by three hours.The machine is only running apache2+mysql+php5, GDM is stopped.I'm trying to post as much info I can.Here is the ifconfig output when the connection is working for the wired connection:
I am programmatically doing a large FTP upload (about 5 Gb's of 2-3 Mb files) from my Windows 7 machine to a ProFTPd server on my Ubuntu box. When the program is run, transfer rates are huge! but as run time continues, transfer rates drop off significantly and eventually slow to a halt resulting in a:
Quote:
Read Timed Out
error.
The rest of the uploads fail due to Socket Read Errors.
I'm running squeeze/testing. Two or three days ago I became unable to get my mail from pop.gmx.net. A bit of investigation and I found that the error message I was getting was: "could not resolve pop.gmx.net: Name or service not known". Now the funny thing is that I can ping, traceroute, or nslookup the site successfully. Telnet, rlogin and ssh give the same: "could not resolve pop.gmx.net: Name or service not known" error message.
I have tried using the IP address instead of the pop.gmx.net and everything works fine. There is no issue with connecting to pop.gmail.com on the same port. Obviously there is some cache somewhere with a messed up pop.gmx.net. Any idea as to how I can track this down?
I have a ~ 2008 notebook (Compaq CQ60-137EL) on which I had Windows 7 only (it was sold with Windows Vista installed).
Later I installed Debian Jessie 8.2.0 Stable ("Graphical expert install" from DVD), along with GRUB as a boot manager (I chose not to install it on the EFI removable media path).
Since then, if I select Windows 7 on the GRUB boot screen, I see "Starting Windows...", and after few seconds the screen flashes for a moment, and then the PC reboots: I see the bios screen, followed by the GRUB screen again. What's even more weird about this is the fact it just happens only in like ~50% of the cases. In the other 50%, Win7 starts flawlessy.
I even tried to install Debian first, then Windows 7, then re-install GRUB, but I got the same issue, even with both system freshly installed.
On 6 attempts, 3 times it worked and 3 times it didn't.
On my desktop PC I'm in the same setting, but I don't have this issue. I think it may be related with the fact I have Win7 on a SSD and I installed Debian on a separate HDD, while on my notebook, as you can imagine, there's just one single HDD.
I am using Jessie with XFCE and I tried to write a service which executes a script to change my wallpaper. When I try to start the service with systemctl start wallpaper.service it fails and I get the outout below from systemctl status wallpaper.service
I don't think it to be a permissions issue, they are -rw- r-- r--
This service is called by a timer that goes off daily. Below is wallpaper.service
I would like to use debian's popularity contest utility as I think it's an important tool for the developers and packagers, but it seems to be broken. I received the following notification after a recent full-upgrade from Lenny to Squeeze:
From MAILER-DAEMON Thu Nov 18 19:14:25 2010 Envelope-to: root@mediacenter.local Delivery-date: Thu, 18 Nov 2010 19:14:25 +0200 X-Failed-Recipients: survey@popcon.debian.org Auto-Submitted: auto-replied
I'm having problems with resume after suspend to RAM. The machine starts to wake up, but the screens (multi mon VGA and DVI setup) are black and the keyboard doesn't light up. After ~20 seconds there's some brief disk activity and then the computer reboots. 100% repeatable with affected kernel versions. My test method is simple, I boot the machine on the kernel's recovery option, log on as root and run "PM_DEBUG=1 pm-suspend". I haven't found anything in the logs after a failed resume.
Here's the situation: I have a SSD disk. To get TRIM support I have to use kernel 2.6.33 or later, which means that the standard kernel in Squeeze is too old.I have Nvidia graphics, and there was a change in 2.6.34 that breaks older versions of xserver-xorg-video-nouveau (version 0.0.15, used in Squeeze), I can't use Debian Squeeze with a kernel newer than 2.6.33.x.My machine (XFX GeForce 9300 motherboard) won't resume from suspend to RAM if I use a kernel newer than 2.6.36. There are no BIOS updates available.
My options: Install newer kernel from Squeeze backports (2.6.38.2 last time I tried). <--- Not doable b/c of resume problems. Upgrade to Wheezy, which uses kernel 3.0.x. <--- Not doable b/c of resume problems.Compile a vanilla kernel. So basically I'm forced to compile my own vanilla kernel, 2.6.33.x on Squeeze or 2.6.35.x on Wheezy. I won't be stuck with an unsupported kernel version in the near future, but so far I've failed miserably.
I know that the latest kernel version where everything works is 2.6.36.x (no longer maintained), 2.6.37.0 and later cause resume problems (I've tried 2.6.37, 38, 39 and 3.0.0, .0.1). I've tried doing a git bisect on the kernel, but didn't succeed, ended up on 2.6.36-rc5 which is weird considering that 2.6.36.4 works. There may be several suspend/resume bugs in different kernel versions that messed up the bisecting results.
I've tried out many Debian distros and noticed the ones that I try based on Ubuntu, my USB WiFi adapter works fine and I don't really have any issues. When I try one that is based on current Jessie, I have sporadic WiFi issues and just overall instability with regards to connectivity and audio playback. I have tried two distros based on Jessie and had very similar results on both. Is there anything in particular I can try? I've done everything short of installing Debian stable and just pointing to Jessie. I've done that in a VM so I know I can handle it, but wanted to se if there was anything I should be trying first. I just didn't think a distro based directly on Jessie and Jessie backports would be any different from installing base Jessie as far as compatibility is concerned.
Code: Select allCard-2: Realtek RTL8191SU 802.11n WLAN Adapter       driver: r8712u usb-ID: 008-004       IF: wlan0 state: up
I'm trying to install Debian-testing to an ASUS 1018P netbook on which I have successfully installed Arch in the past. I'm installing from an external DVD drive and when I get to the point of network configuration it fails. I'm connected via Ethernet via eth0 which is recognized. Here is the last part of the ouput:
kernel: [ 1807.932848] atl1c 0000:01:00.0: irq 29 for MSI/MSI-X kernel: [ 1807.933453] ADDRCONF(NETDEV_UP): eth0: link is not ready dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval is 8 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval is 15 code....
Today I upgraded my system to the Nvidia driver 340.93 and 4.2.0-1 kernel on Debian Stretch.
While I wait for the gnome login screen to pop up I get the "Oh no something has gone wrong" message.
When I log in from another terminal and execute startx , gnome initiates and starts although settings like my resolution and other xserver settings are not loaded.
From the journalctl I believe the error is located in the following section:
Code: Select allOct 06 14:23:17 DEBIAN-PC org.a11y.atspi.Registry[1692]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: X Error of failed request:Â BadValue (integer parameter out of range for operation) Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: Major opcode of failed request:Â 154 (GLX)
[Code] ....
I reinstalled the xorg-xserver and the nvidia drivers and I get the same behavior.
Looking for some info in order to reconfigure the gnome-session to work?