Hello
I just moved my XFS pro to a new hoster, I applied the method in the following link :
support.sibsoft.net/knowledge_base.php?article_id=62
I moved the site ( public_html ) to the new hoster, and when I tried to import the Sql data base it didn't work !
I modified XFileConfig.pm and XFSConfig.pm and changed the folder name and domain to the new ones ...
It still doesn't work ... So would you please help me to move the script in the right way,,
XFileSharing Pro - Moving to new hoster problem
This is the error I have when I try to import the sql database :
Code: Select all
--
-- Database: `*******_xfspro`
--
-- --------------------------------------------------------
--
-- Table structure for table `Bans`
--
CREATE TABLE IF NOT EXISTS `Bans` (
`usr_id` mediumint(8) unsigned NOT NULL,
`ip` int(20) unsigned NOT NULL,
`reason` varchar(32) DEFAULT NULL,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY `usr_id` (`usr_id`,`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Here is the error log :
[Sat Dec 27 11:41:37 2014] [error] [client ] suexec policy violation: see suexec log for more details
[Sat Dec 27 11:41:37 2014] [error] [client ] Premature end of script headers: index.cgi
[Sat Dec 27 11:41:37 2014] [error] [client ] File does not exist: /home/****/public_html/500.shtml
I didn't modify ( index.cgi )... so what do you think the problem is ?
[Sat Dec 27 11:41:37 2014] [error] [client ] suexec policy violation: see suexec log for more details
[Sat Dec 27 11:41:37 2014] [error] [client ] Premature end of script headers: index.cgi
[Sat Dec 27 11:41:37 2014] [error] [client ] File does not exist: /home/****/public_html/500.shtml
I didn't modify ( index.cgi )... so what do you think the problem is ?
Hello ...
Thanx for reply ...
I installed the required perl modules :
Beside I made sure about disabling ( suexec ) file ... But the script still shows " 500 internal server error " ... the error log shows now :
About the permissions its :
index.cgi : 755
XFileConfig.pm : 666
XFSConfig.pm : 666
Is there any error in the permissions, or there are some missing perl modules or what ?
Thanx for reply ...
I installed the required perl modules :
Code: Select all
- perl-libwww-perl.noarch
- perl-DBI
- perl-DBD-MySQL
- perl-GD
- LWP::UserAgent
Code: Select all
[Fri Jan 02 15:19:30 2015] [error] [***********] (2)No such file or directory: exec of '/home/****/public_html/cgi-bin/index.cgi' failed
[Fri Jan 02 15:19:30 2015] [error] [client ***********] Premature end of script headers: index.cgi
index.cgi : 755
XFileConfig.pm : 666
XFSConfig.pm : 666
Is there any error in the permissions, or there are some missing perl modules or what ?
Sorry for bumping up such an old post but I am facing this exact issue.fokys wrote:This is to do with user who owns the files.suexec policy violation: see suexec log for more details
Check the user who owns files and make sure you set the correct one for all the files in your web server directory.
error: target uid/gid (501/501) mismatch with directory (501/501) or program (0/0) or trusted user (0/10)
How do I change the ownership?