| View previous topic :: View next topic |
| Author |
Message |
tommylee
Joined: 28 Aug 2009 Posts: 10
|
Posted: Dec 23, 2010 1:13 am Post subject: server move |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 23, 2010 2:46 pm Post subject: |
|
|
Try to run this from root console on fileserver:
| Code: | | echo 0 > /selinux/enforce |
|
|
| Back to top |
|
 |
tommylee
Joined: 28 Aug 2009 Posts: 10
|
Posted: Dec 23, 2010 10:37 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 24, 2010 8:38 am Post subject: |
|
|
Yea, this is weird linux mod called SELinux, paranoid security thing
You can edit file /etc/selinux/config
and set there
so after reboot system will be fine. |
|
| Back to top |
|
 |
|