XFileSharing Pro - Ack! Moved fileserver to another server help!

Posts: 16
Joined: May 24, 2012 6:17 pm

Ack! Moved fileserver to another server help!

#1 Postby e » Oct 17, 2012 9:20 pm

Hi, I moved a fileserver from one machine to another.
I am consolidating machines.
i.e. moving server 1 - fileserver1 to server 2 (fileserver 1)
Fileserver 1 has nginx mod.
Server 2 has a fileserver already on it (w nginx mod)

on Server 2:
nohup rsync -r -a -v -e "ssh -l me" s5.filehost.ws:/var/www/s1 /var/www/s1

when done.. copy the apache site conf., also copy nginx site conf.

changed dns (to the new ip, keeping same name)

Wallah!!! (it doesn't work....)

although both apache, and nginx seem to be working fine.

I get the below errors:

File Server tests:
api.cgi: ERROR ()
upload.cgi: ERROR (problems with link)
htdocs URL accessibility: ERROR (should see XFS on link)

the interesting the is upload.cgi link - responds with XFS
htdocs URL accessibility also responds with XFS.

Does anyone have an idea about what is going on?


p.s. -- I don't see anything in the logs

Posts: 149
Joined: Dec 21, 2009 9:24 am

#2 Postby trinsic » Oct 18, 2012 12:59 am

Maybe change the fileservers name as it may be cached to the old IP.

Posts: 16
Joined: May 24, 2012 6:17 pm


#3 Postby e » Oct 18, 2012 3:27 pm

There was more to it than just that... but yes... .I fat fingered a host file... and didn't see it for ages.

The more, because it is on nginx module... you need to make some changes to the config files as well.

However!!!! I don't know what I am doing ... DON'T do as I say or do!

Again thanks!

Posts: 20
Joined: Jan 17, 2011 2:52 pm

#4 Postby natar » Nov 16, 2012 5:38 am

Try with secure copy (scp) if you're still not yet configure the rsync.