Install problem (permission issue - answered)

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
moremore5
Posts: 13
Joined: Sun Jun 14, 2009 10:22 am

Install problem (permission issue - answered)

Post by moremore5 »

everytime i try to install in putty with ./rinstall
i got a error

TradeExpert.net installer

Please input your
domain.com: mydomain.to
licence key: some_license_key

New installation / Reinstalation
System: Linux
Release: 2.6.18-92.el5
Version: #1 SMP Tue Jun 10 18:49:47 EDT 2008
Machine: i686
User ID: 502
Group ID: 503
Ping path: /bin/ping
Tar path: /bin/tar
Sendmail path: /usr/sbin/sendmail
Current directory: /home/mydomain/domains/mydomain.to/public_html/cgi-bin/te
TE directory: te/
CGI-BIN directory: cgi-bin/
Fetching location: http://mydomain.to/cgi-bin/te/te-chk.cgi
Redirection URL: http://www.mydomain.to/cgi-bin/te/te-chk.cgi
Fetching location: http://www.mydomain.to/cgi-bin/te/te-chk.cgi
Error[500]: Cannot access "http://www.mydomain.to/cgi-bin/te/te-chk.cgi"

do you know why this happens? i have Crontab, SSH login, CGI Access & GD enabled.
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: install problem

Post by texpert »

Hard to say what the problem is without taking a look, but it sounds like a permission issue. Create a "test.cgi" file in perl for example and upload it to: /cgi-bin/te/test.cgi

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Test cgi\n";

Next, try to access it through the web yourdomain.com/cgi-bin/te/test.cgi
Probably test.cgi won't work and at that point contact your admin and show him test.cgi

regards,
Jim
moremore5
Posts: 13
Joined: Sun Jun 14, 2009 10:22 am

Re: install problem

Post by moremore5 »

i have send you pm with my login data. your testfile works in browser.
but i could not solve the problem, seems that cgi-bin works fine.
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: install problem

Post by texpert »

Well, you have created test.cgi in /cgi-bin/test.cgi ,i told u to create it under "cgi-bin/te/test.cgi". If you would, you would probably notice that the problem is in the permissions set on the "te" directory. Your "cgi-bin/te" directory is owned by root. You should never install any scripts under the root user. In the private message you've sent me the correct user, but since "te" dir is owned by root, i don't have permissions to do anything. I suggest you to remove cgi-bin/te/ as root and when you're done, login as that user you've sent to me in the private message and follow the installation procedure again.

Let me know how it goes ;)
Post Reply