Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 4, 2011, 03:23 AM   #1
xper
macrumors 6502
 
Join Date: Dec 2005
Location: Sweden - Halmstad
Restart FTP service every 30 minutes?

Hi!

I am out on vaccation now and cant touch my server fysically and i cant remote into it, so i would need something that restars the FTP services every 30 minutes, i was planning on working on some webprojects now but the FTP service stops working from time to time so cant connect to it.

So, an automatic service restarter?
__________________
Steve clearly never made a mixtape for a girlfriend
xper is offline   0 Reply With Quote
Old Aug 4, 2011, 03:32 AM   #2
jotade11
macrumors regular
 
Join Date: Feb 2009
I have no clue what you might be using this for, or why you would need to start FTP (instead of leaving it to run), but perhaps a Cron Job would do the trick?
jotade11 is offline   0 Reply With Quote
Old Aug 4, 2011, 03:46 AM   #3
xper
Thread Starter
macrumors 6502
 
Join Date: Dec 2005
Location: Sweden - Halmstad
Quote:
Originally Posted by jotade11 View Post
I have no clue what you might be using this for, or why you would need to start FTP (instead of leaving it to run), but perhaps a Cron Job would do the trick?
FTP service on the server IS always on but it stops working after a while, only sollution to fix it is to stop and restart the FTP service in server admin.
__________________
Steve clearly never made a mixtape for a girlfriend
xper is offline   0 Reply With Quote
Old Aug 4, 2011, 04:05 AM   #4
smirking
macrumors regular
 
Join Date: Aug 2003
Location: Campbell, CA
Send a message via Yahoo to smirking
Quote:
Originally Posted by xper View Post
FTP service on the server IS always on but it stops working after a while, only sollution to fix it is to stop and restart the FTP service in server admin.
Something is wrong with your FTP or your server if you need to do that, but if you have to keep rebooting the FTP service then just set a cron job like jotade11 said.
smirking is offline   1 Reply With Quote
Old Aug 4, 2011, 08:33 AM   #5
pewra
macrumors regular
 
Join Date: Jun 2011
So rather than fix the underlying issue, you'll just keep restarting the server, consequently dropping active clients for no reason?

Even the most woefully inexperienced server admin should at least be able to find the cause of a crashing daemon. I find it hard to believe that someone developing "webprojects" wouldn't have some access to a remote shell. Moreover, any sort of monitoring process would have to be started by a privileged user, which would again require remote shell access.

Look at your logs, that's what they are for.
pewra is offline   1 Reply With Quote
Old Aug 4, 2011, 06:30 PM   #6
jtara
macrumors 65816
 
Join Date: Mar 2009
I haven't used FTP in years. It's a horribly insecure protocol.

Better to use sftp, which actually has nothing to do with FTP. It's an ssh feature.

http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol.

For that matter, if it's just you remoting-in to your own system, why not just use a VPN? Then you can just browse your system with Finder.
jtara is offline   0 Reply With Quote
Old Aug 5, 2011, 07:31 AM   #7
xper
Thread Starter
macrumors 6502
 
Join Date: Dec 2005
Location: Sweden - Halmstad
Quote:
Originally Posted by pewra View Post
So rather than fix the underlying issue, you'll just keep restarting the server, consequently dropping active clients for no reason?
You honestly think that i am working on some webproject on a live server with alot of active clients?

And by fixing the issue, you mean begging Apple to make a more stable FTP server on SL Server? Good luck with that.

Logs says nothing usefull, "illegal PORT command", when its not, a restart fix the issue.

This have happened 3 times in 2 years, but 2 of those happened when i had no access to the machine.

So restarting the FTP service on a devserver with 1-2 active clients that doesnt even notice when the FTP service is restarting is a really simple sollution and doesnt hurt anyone.
__________________
Steve clearly never made a mixtape for a girlfriend
xper is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
setting desktop pictures every 30 minutes issue dsprimal Windows, Linux & Others on the Mac 0 May 10, 2010 12:14 PM
Change Wallpaper Every 30 Minutes on the Hour. FriDay85 OS X 0 Nov 24, 2009 09:18 AM
Wifi Drops Every 30 Minutes... bigmouth iPhone Tips, Help and Troubleshooting 5 Dec 11, 2008 11:15 AM
Internet Connect every 30 minutes!!! ILoveiBooks Mac Basics and Help 9 Nov 2, 2005 06:19 PM
Internet Connect every 30 minutes!!! ILoveiBooks Wasteland 0 Nov 2, 2005 02:48 PM


All times are GMT -5. The time now is 05:01 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC