XFileSharing Pro - fs.cgi: ERROR when adding a file server

Message
Author
psshare
Posts: 6
Joined: Jun 24, 2010 5:01 pm

fs.cgi: ERROR when adding a file server

#1 Postby psshare » Jun 30, 2010 4:36 pm

Hello,

I want to add a file server in ip format: http://111.111.111.111/~upload/cgi-bin

but it always fails like below:

File Server tests:
api.cgi: OK
temp dir exist: OK
temp dir mkdir: OK
temp dir rmdir: OK
tmp dir exist: OK
tmp dir mkdir: OK
tmp dir rmdir: OK
upload dir exist: OK
upload dir mkdir: OK
upload dir rmdir: OK
htdocs dir exist: OK
htdocs dir mkdir: OK
htdocs dir symlink: OK
htdocs dir symlink del: OK
htdocs dir rmdir: OK
config read: OK
config write: OK
fs.cgi: ERROR
upload.cgi: OK
htdocs URL accessibility: OK

I set fs.cgi to 755 and I found no error logs about this problem. I just can't add this server.

Can anyone help me out ?

mastypk
Posts: 123
Joined: Apr 04, 2010 11:49 am

#2 Postby mastypk » Jun 30, 2010 7:30 pm

Your path is not correct I think

http://111.111.111.111/~uploads

check whether it is opening or not.

psshare
Posts: 6
Joined: Jun 24, 2010 5:01 pm

#3 Postby psshare » Jul 01, 2010 5:48 am

it's not the path problem.
I think it's my server's problem. But i don't know which one.

when I set install_fs.cgi to 755 and then install the file server http://111.111.111.111/~upload/cgi-bin/install_fs.cgi, it shows as below:

) Permissions Check

XFSConfig.pm : 0644 : ERROR: should be 0666
uu.cgi : 0644 : ERROR: should be 0755
logs.txt : 0644 : ERROR: should be 0666
api.cgi : 0644 : ERROR: should be 0755
uploads : 0755 : ERROR: should be 0777
temp : 0755 : ERROR: should be 0777
dl.cgi : 0644 : ERROR: should be 0755
upload.cgi : 0644 : ERROR: should be 0755
up.cgi : 0644 : ERROR: should be 0755

It doesn't show such a problem on my other servers, is there anything i can do on my server to make it the same as my other servers ?

Thanks,

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Jul 01, 2010 7:49 am

What is your domain name?

psshare
Posts: 6
Joined: Jun 24, 2010 5:01 pm

#5 Postby psshare » Jul 01, 2010 4:47 pm

emailed to you

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#6 Postby admin » Jul 02, 2010 7:08 am

Well, everything is simple and install script telling you what to do:

XFSConfig.pm : 0644 : ERROR: should be 0666
uu.cgi : 0644 : ERROR: should be 0755
logs.txt : 0644 : ERROR: should be 0666
api.cgi : 0644 : ERROR: should be 0755
uploads : 0755 : ERROR: should be 0777
temp : 0755 : ERROR: should be 0777
dl.cgi : 0644 : ERROR: should be 0755
upload.cgi : 0644 : ERROR: should be 0755
up.cgi : 0644 : ERROR: should be 0755
That does mean that files listed above have incorrect permissions. You need to change permissions.