I had what I thought was a fairly smooth install via yum of Pure-FTP on a Fedora 7 SELinux server. I configured it to use it's own PureDB virtual user system, and I added a few users using # pure-pw useradd to test things out. However, upon successfully logging in...
[21:51:34] USER test1
[21:51:34] 331 User test1 OK. Password required
[21:51:34] PASS (hidden)
[21:51:34] Cannot login waiting to retry (30s)...
[21:51:34] Server closed connection...so, I check /var/log/messages to find...
Jul 31 21:50:25 homeserve pure-ftpd: (?@192.168.0.134) [INFO] New connection from 192.168.0.134
Jul 31 21:50:25 homeserve pure-ftpd: (?@192.168.0.134) [ERROR] Home directory not available - aborting
Clearly, something is awry. When I created the users, I explicitly specified their home directory using pure-pw's -d flag, and I can confirm that it was entered correctly by viewing the /etc/pure-ftpd/pureftpd.passwd. The directories, of course, do exist with the proper permissions and ownership.
Today I tried to setup pure-ftpd server on slackware linux and managed to do that I also enabled virtual users feature, but when I log in to ftp as virtual user I cannot create any dirs or change dirs.
My question is - how do I enable for virtual user: deleting, changing, renaming, creating files, dirs in his home ftp directory?
due to a major bug found in some software installed on our server I would like to scan for all directories set with 0777 permissions. Is there a bash script or command I can run to get a list or possibly even chmod the directories to something else?
how can i do a search for all files (probs using regex) of files consisting purely of numbers?
for e.g. find:
53243.php 24353.php 24098.php
(always have 5 numbers).
seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.
i tried everything i know and reinstalled my vps more than 5 times for the last 24hrs but i'm out of luck. Pure-ftpd would not start what ever i do.
Also lxadmin installation gives me the following error:
Downloading Installappdata pure-ftpd: unrecognized service unlink: cannot unlink `/usr/bin/lxsuexec': No such file or directory unlink: cannot unlink `/usr/bin/lxexec': No such file or directory mv: cannot stat `/sbin/udevd': No such file or directory rm: cannot remove `/dev/pts/0': Operation not permitted
I've run a pure-ftpd-server privetley and haven't bothered to chroot the enviroment since I only used it myself when I needed files remotley. Now on request of my school and work buddies I've started hosting a website which they are to manage and through my ftp-server add / remove the site's different files.
I know how to start it with chrooted enviroment but everytime I reboot it, which I usually don't need to anyway, it starts unchrooted so I manually have to kill the ftp-daemon and start it with my customised parameters.
Is there a way to change the init.d/pure-ftpd-conf or something to start with my customised options? i.e with the chroot-option turned on.
I am just in the process of finish off setting up my first cPanel server but I am having the follow problems when connecting to FTP:
Response:220---------- Welcome to Pure-FTPd [TLS] ---------- Response:220-You are user number 1 of 50 allowed. Response:220-Local time is now 17:20. Server port: 21. Response:220-IPv6 connections are also welcome on this server. Response:220 You will be disconnected after 15 minutes of inactivity. Command:USER xxxx Response:331 User ehuk OK. Password required Command:PASS *********** Response:230-User ehuk has group access to: ehuk Response:230 OK. Current restricted directory is / Command:SYST Response:215 UNIX Type: L8 Command:FEAT Response:211-Extensions supported: Response: EPRT Response: IDLE Response: MDTM Response: SIZE Response: REST STREAM Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*; Response: MLSD Response: ESTP Response: PASV Response: EPSV Response: SPSV Response: ESTA Response: AUTH TLS Response: PBSZ Response: PROT Response:211 End. Status:Connected Status:Retrieving directory listing... Command:PWD Response:257 "/" is your current location Command:TYPE I Response:200 TYPE is now 8-bit binary Command:PASV Response:227 Entering Passive Mode (10,21,103,3,255,61) Status:Server sent passive reply with unroutable address. Using server address instead. Command:LIST Error:Connection timed out Error:Failed to retrieve directory listing
The server is behind a firewall, I can connect to the FTP via VPN but I cant connect via the remote IP, any ideas?
I know cPanel is designed for NAT but I have worked around this, the FTP is the only issue,
I have checked some ftp failure login attempt made but when i check log file but only see real ip address which is external ip address but i want to trace main ip so anyone tell me howto trace that ip address.
I have too many connection from 202.96.5.29 through pure-ftpd:
PHP Code:
Sep 3 00:27:24 server pure-ftpd: (?@202.96.5.29) [INFO] New connection from 202.96.5.29Sep 3 00:27:25 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep 3 00:27:29 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep 3 00:27:31 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [Administrator]Sep 3 00:27:39 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep 3 00:27:49 server pure-ftpd: (?@202.96.5.29) [WARNING] Authentication failed for user [oracle]Sep 3 00:27:49 server pure-ftpd: (?@202.96.5.29) [ERROR] Too many authentication failuresSep 3 00:27:49 server pure-ftpd: (?@202.96.5.29) [INFO] New connection from 202.96.5.29
When I look around almost all offers are webhosting as Dedicated or Managed servers with PHP, MxySQL and so on.
What I need is (big) pure backup space which must be at least accessible by (reliable and pretty fast but not absolute ultar-high-speed) ftp server (which supports resuming of ftp-sessions).
Needed space: 200 GB
Traffic per month: 200-500 GB (can be at night)
(only) Nice to have (but not absolutely required):
- TLS/SSL Encryption for ftp - 2-5 more ftp accounts (sharing the same space) - crontab and perl scripts - WebDav
Is there a way to disable the temporary filename, for instance when I upload a file via ftp, the filename becomes .pureftp-24213421423. It returns back to the original filename when you abord the transfer or when it's completed.
I have a slight problem with one user trying to upload with FTP to the server. The problem is, if he is uploading a file that will take awhile... his FTP connection will be dropped if he visits his site during the transfer.
Me and a few others have tried duplicating the problem with no success. Our uploads do not get stopped. Anyhow, I took a guess that maybe it was a problem with APF our software based firewall. I turned it off for a few minutes, and then the users problems dissappeared.
I turned on full logging in APF, and had the user try yet again. Here is the output:
The 17:23:44listings is the exact time he visited his site during the upload. The weird part is the Timeout message at that same exact time. No new data for 900 seconds...
Anyhow, I don't really want to post the full apf.conf if I don't have to... So can anyone take a guess at what APF rule might be causing the problem?
Also, why would it only be affecting 1 client when all the rest can visit their site while uploading?
I've been running pure-ftpd for around 4 months now without any problems, until around 24-48 hours ago file upload has been going a bit loopy.
When you upload a file the speed bounces considerably, and at times pauses on 0kbps until it then dies and fails the upload. 9/10 uploads I have tried have failed.
[R] Opening data connection IP: 74.86.20.181 PORT: 35283 [R] LIST -al [R] 150 Accepted data connection [R] 226-Options: -a -l [R] 226 6 matches total [R] List Complete: 374 bytes in 0.64 seconds (0.6 KB/s) Transfer queue completed 1 File failed to transfer [R] Connection lost: chacha We have restarted pure-ftpd a number of times, but have had no luck.
Please could you try and upload a file (at least 10mb and please nothing dodgey) to this FTP account:
Timezone on server is set to GMT -5 EDT My timezone is GMT -5 EDT
Yet filezilla 3.x ftp client connected to my server's pure-ftpd server offsets time on transferred files by an hour, saying now at 8:52 that the file was uploaded to the server at 9:52.
WHM and uptime, etc. at the SSH prompt show server time correct, matching my own time.
If I connect locally to pure-ftp via the server shell ftp, I get Connected to localhost. 220---------- Welcome to Pure-FTPd [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 20:52. Server port: 21.
which matches
$ uptime 20:52:28
The filezilla forums however indicate the problem is due to some "non-standards compliant setup" of my ftp server.
[url]
Quote:
As required in RFC 3659 [url]FileZilla assumed MDTM returns timestamps in UTC. Based on the timestamp return in the LIST reply and the corresponding MDTM reply, it calculates the timezone offset of the server.
Obviously this fails on broken or misconfigured servers.
I can assure you that it works fine on all standards-compliant servers.
Is there something I can tweak with pure-ftpd, or is this a Filezilla 3 bug?
if you can share a 100MB download link that I can use to test cogent's speed to my network. Hopefully plugged into a 100MBPS port at the switch to see if it will max out or not.
Which of those directories: usr and var are allowed to rename for a moment and mount their content on a new HD so that SSH and server will not stop work?
So one of my hypervm servers, got a lot of corrupt binaries in the operating system, CentOS.
My datacenter has plugged in an external hard drive so I can backup my files there so the DC can reformat the server.
I know that I will need to copy: /vz and /home and /etc
But.. the one important thing is the hypervm MySQL database! What do I have to backup? /var/lib/mysql ? any other directories?
And how would I restore that MySQL to the new server, when hypervm is installed and the server is formatted?
I will be installing hypervm on the server again when it's done formatting.
I know that hypervm has exploits, so I am going to stop hypervm once I get the server up and running back on its feet. And then switch to VZWave when the production version comes out.
I am working on a website which is planned to have many articles, each with their own directory [url].
I would like the website to be as automated as possible in terms of adding new content and the like.
After a little bit of research, I learned about Apache's ErrorDocument directive, and IIS's equivalent.
What I had in mind was that users would type in the URL they wanted (such as [url], and the server would not be able to find this directory and would try to return a 404.
The file I would tell the server to use for 404 messages, would be a PHP file. It would read what the URL was (to find out what the user wants to look at), convert the data from the URL into the same format as details of articles held in my database, and the script would then check to see if there were any articles available which matched what the user was looking for.
My understanding is that if an article exists, I will be able to extract the article information from the database, and present this as the web page while manually sending a HTTP 200 response. If the article did not exist, a standard 404 page could be offered.
My questions are:Is my understanding of the process here correct?
Is the process and procedure that I want to follow correct? Does it have any flaws?
Other than how to tell the server about the custom ErrorDocument PHP script, is there anything which differs the process between Apache and IIS?
Assuming that the above works for typical users, would it work properly for search engines as well?
There is no directory for the root account on my server. The server admin tells me this: "It looks like all the files in there were deleted. I suggest you terminate and recreate the site in order to reset all the relevant directories."
Can any one tell me the ssh command that will do this for me?
Whenever i try to connect to ftp through any of my server account then its not showing any directory inside public_html but when i use cpanel file manager then its working fine i also tried to used differect ftp client program but still problem not solve will any of you help me? ftp successfully connected but not showing files and folders .