RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
server move

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
tommylee



Joined: 28 Aug 2009
Posts: 10

PostPosted: Dec 23, 2010 1:13 am    Post subject: server move Reply with quote

Hi,

I have moved my server to another host. Copied all folders with tar files including all permissions and used wget to pull the files from new server than I have untarred all files.

I expected all to be fine but sadly not.

I cannot seem to find what can be wrong.

users can not upload new files even though it seems possible to download files.

also I can not edit server details

I get this error when I submit.

Code:
File Server tests:
api.cgi: ERROR (500 Can't connect to www.xxxxx.com:80 (connect: Permission denied) )
upload.cgi: ERROR (problems with link)
htdocs URL accessibility: ERROR (should see XFS on link)


(I have edited the domain part so it is actualy correct domain)

I can clink on the both links above and I see XFS without problem.

I have check folders and files for 755 no problems so far.

So what should I do nowö any sugegstionsç

Thank you
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Dec 23, 2010 2:46 pm    Post subject: Reply with quote

Try to run this from root console on fileserver:
Code:
echo 0 > /selinux/enforce
Back to top
View user's profile Send private message Visit poster's website
tommylee



Joined: 28 Aug 2009
Posts: 10

PostPosted: Dec 23, 2010 10:37 pm    Post subject: Reply with quote

PilgrimX182 wrote:
Try to run this from root console on fileserver:
Code:
echo 0 > /selinux/enforce


perfect. it worked. thank you.

I guess I have to keep it turned off, I had not noticed that I had it off in my previous system.

thank you once again, I wish I asked for help before spending couple of days to solve it by myuself and keeping the server half down during that time Smile
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Dec 24, 2010 8:38 am    Post subject: Reply with quote

Yea, this is weird linux mod called SELinux, paranoid security thing Smile
You can edit file /etc/selinux/config
and set there
Code:
SELINUX=disabled

so after reboot system will be fine.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group