Ubuntu Servers :: Set Up A FTP Server For Some Quite Some Time And Keep Running?
Oct 26, 2010
I've been trying to set up a FTP server for some quite some time and i keep running into problems. I'm trying to set it up via gadmin- proftpd but even with that i cant get it to run. Can anyone point me towards a good how-to or just help me out? I'm kinda new to Linux and this is my first go at servers so i really have no clue here.
I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.
On my server I provide OCR file conversion service but the problem is when a user uploads a file and it's being converted then if you open another tab and try to load the site it won't respond until that conversion is completed. In other words until the PHP script finishes execution apace doesn't serve any other request to the same browser.
Here is my apache configuration:
Code:
ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid
[code]....
You can check what I mean if you try to upload and convert a file and while the file is converting try opening the site in another tab.
Recently moved into amazon's ec2 cloud and noticed our server time was in UTC where we use EST. I did some looking around, and changed using the following;
Followed up setting the correct time using the date command with the correct time, then date showed;
Now, that is correct, but if I do an ntpdate pool.time.org or any other time server, the offset is huge and the date moves back one hour. Is this a daylight settings or something I am just missing?
I am the new user of linux and installing eclipse IDE in the ubuntu server10.10. I have followed the steps given in the links http://www.cyberciti.biz/faq/howto-u...igure-jdk-jre/ andttp://eclipse.dzone.com/articles/ho...-33-ubuntu-710. After installing sun-java6-bin, sun-java6-jre and sun-java6-jdk, java is not running in my ubuntu server10.10. and got error like this
$ java -version Error: could not open '/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/jvm.cfg' $ javac -version
I am completely stumped. Found my web server (lighttpd) unresponsive this morning and had to hard cycle it. After some cleaning up, all was happy. However, after about an hour of handling a decent amount of web traffic, time freezes as far as the web server is concerned. I've got an hour of access.log data with the following date: [23/Aug/2010:20:42:58 -0500]
It never changes. The load average now reads 0.00 0.00 0.00 (which is totally inaccurate). And I am not able to successfully log in remotely. I have taken the server down 3 or 4 times today and after an hour or so of functioning normally, this is what happens. Additionally, the local time is now off by 30 minutes.Trying to force with ntpdate does nothing (or, at the very least, sets it to the same incorrect time)
I'm not sure if this belongs in the Server or Networking section of the forums. Anyway, last month I upgraded my server to Ubuntu 10.04 LTS. Since then, I've had a recurring problem wherein after a certain period of time, the server stops accepting network connections. Ubuntu 10 will continue to reject network connections until someone logs into the server locally, after which time network connectivity is restored and the cycle begins anew. Essentially, the server goes into a "half sleep mode". I say half because the computer is still on and the fans are running.
I've done some searching around various forms and initially figured this issue was related to problems with the Network Manager service (https://bugs.launchpad.net/ubuntu/lu...er/+bug/524454), so I removed the service altogether. However, this problem is still occurring.
I've poured over /var/log/messages and /var/log/syslog, but have noticed no irregular behavior. Has anyone else experienced this issues? I'd rather not resort to downgrading back to Gusty Gibbon if I can help it.
I am happy to provide more information if its needed
When I set up Ubuntu 9.10 Server I didn't enabled Russian Letters, and now I need them. The only language is English. So when I type in Russian there are some symbols. So how can I install Russain Letters on the running server.
I just made a Ubuntu Server install in a virtual machine and am having trouble setting up FTP to transfer files. I've installed LAMP and vsftp. The web server works great, but FTP gives a connection refused error locally and remotely from the host machine. 'Connection attempt failed with "ECONNREFUSED - Connection refused by server".' nmap localhost doesn't list FTP as open even though I have vsftpd set to listen. I've tried restarting vsftpd with no luck.
whats the type of server/software that colleges/schools/uni's use to have all their software in one place and students connect to that server(s)? and is it available to use for ubuntu server? I'm running a file server using proftpd and a web server using apache2 so i know how to go setting them up basicallyI want to be able to have all my software, for windows machines, mac, linux all available on one or multipul server to connect to from inside or outside of my network.or even, have all my files, docs, ppt, etc on the local computer then access the software through the server.is this possible with linux servers? and can someone give me a heads up.. I'm not sure where to start atmI've tried looking for file servers but I just get ftp, or samba server tutorials.
what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.
I currently have a windows server running with XAMPP installed.I want to try out ubuntu server, I am a complete linux newbie and was wondering if there was a similar package to XAMPP out there with:ApachePHPMySQLAnd some form of ftp server
I discovered in running a script on a remote server. Take this little demonstration script:
[Code]...
This runs as expected (it does nothing) on both my local desktop and the remote server. However if I log in via ssh to the remote server and run this script everything on the server freezes. I do mean everything ftp/ssh/nfs/login-requests/... even if I go and physically plug in monitor and keyboard there is no response. It basically needs a full restart to clear. I have repeated this several times. Now something is clearly wrong here but does anyone know what. I didn't think a non-admin user should be able to actually lock up system processes.
I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:
-I have registered the domain name annarrankings.com through godaddy -A record is - host = @ and points to = 71.114.220.3 -CName is - host = www and points to = @ -on my server I have the site running in /var/www
I've done some research and found that to run multiple websites I need to setup VirtualHost.
-So I created a folder /var/www/annarrankings.com and moved my site to that folder
-Edited Apache2.conf to add the following line
-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it
-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available
-Next I editied /etc/hosts
-When i went to enable the site using a2ensite annarrankings.com I got the following
I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?
i manged to get a samba server up and running to share with my windows machines. But i still want more. My main goal is to be able to share my movies. I have a laptop hooked to my flat screen with 3TB's of external drives, thats whats acting as my server. I have ubuntu desktop installed because i use it to play movies also.
I'm looking to set up something that is a little faster than samba (yes i no trying to share through USB 2.0 external drives and a wifi connection isn't going to be real fast no matter what) but i want to be able to access my server remotely. like maybe FTP? but what i'm asking here is what protocol should i use and what programs? i was thinking gadmin-proftpd and then filezilla to access?
I'm thinking about installing a DNS server on Fedora 13 running bind. I looked around for available bind packages and found only these:
Now the first one contains bind utils the second one is for running DNS in a chroot env and the last one is a bind with some DB backend.
Does this mean that fedora 13 doesn't support/.provide "standard" bind server (I mean the one to run without chroot/without db backend) ? Or am I missing anything in my repolist which is :
As far as I know, servers are stable and don't go down easily, but every single server will eventually go down some day, either from hardware/software failure or from hacking.
But as sysadmins, our job is to keep servers running healthy as long as possible.
So I'm conducting another short survey (I might start more survey threads, and thank everyone for kindly replying my previous post):
1. Have you encountered server failures? What's the most common cause for server failure? 2. What is your most important trick in avoiding your server go down? 3. What security rules do you follow to protect your servers?
I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.
I can set it right by coping the hareware time to system time with this command:
Code: hwclock --hctosys
I want to run a crontab to have that command run every minute. But it don't seem to run.
I have an interesting situation. I'd like to use bittorrent for legitimate purposes (mainly linux distro based) but the powers that be have blocked access to bittorrent at my university. I have an ubuntu VPS that I use for odds and ends and was thinking that I could setup a SOCKS5 server on it. That way, I can input the SOCKS5 info directly into the proxy section of my local bittorrent application (Transmission 1.92 running on snow leopard) and be good to go. The problem, however, is that I cannot find a way to get a SOCKS server up and running on my VPS. I've heard that ssh can be used as a simple SOCKS server, but I've also heard that i may need to install a more complete SOCKS server such as dante. Does anyone have any thoughts on this?
I currently have a personal use server setup in my home and would like to be able to send emails from my domain name.
At&t blocks the standard ports used so some form of forwarding would have to be used. I've looked at other guides and followed them to the key but it appears I'm always missing something.
So my question here is could anyone write a detailed guide from start to finish on how to install a postfix server behind an at&t connection complete with MX record and firewall configuration information?
I'm wondering how I can enable LDAP support for my Ubuntu 10.04 LTS server running Apache 2 and PHP 5.3.2? What I'm trying to do is allow users on my existing company's LDAP system to login to my Elgg site automatically (and possibly have their details filled automatically).
In a little over my head here but eager to learn. Running Fedora 10 on an IBM T41. Trying to set up a local server so that I can run PHP and test webpages locally (I'm a client-side web designer). Went through the SendDerek tutorial and everything went great until I tried to check the port with canyouseeme.org. I get "Connection timed out" every time.
- The httpd service is started via the terminal. - Port 80 is unblocked via "Firewall Configuration." - I set up port forwarding on my router.
What am I missing? I just want to be able to have the local computer run my PHP scripts instead of having to upload them to a remote server every time I make a change.
We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.
I am hosting two Virtual Servers both running Centos 5.3 on a host machine also running the same OS. The VM software in use is Xen, as supplied with the OS.The host machine's time and date is fine, however both Virtual Servers are running ahead of real time consitantly.Running /etc/init.d/ntpd restart will resolve the issue however one of these is running MailScanner and when the time suddenly goes backwards, sometimes by as much as an hour, it stops working properly.
I have a set of machines on a disconnected network. Periodically, one of the machines connects to the internet and synchronizes its time with a time server that is not known until the connection is established. (The machine queries a central command server for the address of the time server it should synchronize to.)
I then use a custom tool to do some calculations to call adjtimex() and adjust the clock so that it runs fairly accurately.
I know ntpd is supposed to be able to handle disconnected networks but I thought you had to preconfigure the servers in the configuration file.
My intent is to run ntpd on this machine (without configured "server"s) so that it can serve time to the internal network. (Periodic synchronization using ntpdate from the internal machine to the bridge machine.)
The problem: ntpd wants to fuss with the values I set using adjtimex(). I want it to quit thinking it needs to adjust the clock and just serve time to the internal network. (Maybe I have a GPS time source hooked directly to the machine!)
I am running apache2 and tornado web servers on the same server with one ip address.
The apache2 listens on port 80. Tornado listens on port 8888. I want to redirect requests from a specific ip port 80 to port 8888. I don't have the ability to change the port request on the device. It wants is looking for a web server on port 80.
Any other web server request should go to the apache.
I tried adding the following to /etc/ufw/before.rules
When I run iptables -L it doesn't appear. I have disabled and enabled ufw with no help.