Status
Not open for further replies.

Sushant

Active Member
265
2009
38
0
Hi
I m trying to install rapidleech in my server but i m getting "500 Internal Server Error". When i checked the error log files in /usr/local/apache/ then i got following logs. can any one please check and help me out with this.

Thanks

Code:
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.htm
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.html
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.shtml
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.pl
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.cgi
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.php4
[Thu Jan 24 00:02:41 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.php3
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.htm, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.html, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.shtml, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.pl, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.cgi, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.php4, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] client denied by server configuration: /home/username/public_html/rl.417/index.php3, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] SoftException in Application.cpp:357: UID of script "/home/username/public_html/rl.417/index.php" is smaller than min_uid, referer: http://IP/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] Premature end of script headers: index.php, referer: http://ip/~username/
[Thu Jan 24 00:02:43 2013] [error] [client my IP] File does not exist: /home/username/public_html/rl.417/sys_cpanel, referer: http://ip/~username/rl.417/
[Thu Jan 24 00:02:49 2013] [error] an unknown filter was not added: DEFLATE
 
13 comments
Hey,

Check the permissions for files/folders . Folders should have 755 and files should have 644 . Remember to keep 777 for config folder.

Regards
 
Hi
Permissions of files and folders are same as above mentioned by you...but still the problem persist to me..

Regards
 
Suexec is on

Code:
Current Configuration

    Option     Configured Value
    Default PHP Version (.php files)     5
    PHP 5 Handler     suphp
    PHP 4 Handler     none
          
    Apache suEXEC     on
    Apache Ruid2     off
 
Alright then its related to ownership of files , they must be owned by root instead of domain .

Try doing following , login into SSH .

1. nano fix.sh
2. Paste this code on it .
PHP:
#!/bin/bash
if [ "$#" -lt "1" ];then
        echo "Must specify user"
        exit;
fi

USER=$@

for user in $USER
do

        HOMEDIR=$(egrep ^${user} /etc/passwd | cut -d: -f6)

        if [ ! -f /var/cpanel/users/$user ]; then
                echo "$user user file missing, likely an invalid user"

        elif [ "$HOMEDIR" == "" ];then
                echo "Couldn't determine home directory for $user"


        else

            	echo "Setting ownership for user $user"

                        chown -R $user:$user $HOMEDIR
                        chmod 711 $HOMEDIR
                        chown $user:nobody $HOMEDIR/public_html $HOMEDIR/.htpasswds
                        chown $user:mail $HOMEDIR/etc $HOMEDIR/etc/*/shadow $HOMEDIR/etc/*/passwd

                echo "Setting permissions for user $USER"

                        find $HOMEDIR -type f -exec chmod 644 {} \; -print
                        find $HOMEDIR -type d -exec chmod 755 {} \; -print
                        find $HOMEDIR -type d -name cgi-bin -exec chmod 755 {} \; -print
                        find $HOMEDIR -type f \( -name "*.pl" -o -name "*.perl" \) -exec chmod 755 {} \; -print
                fi
done

3. chmod 777 fix.sh
4. sh fix.sh cpanelusername

The above command should do the task .
 
buddy but i m getting some error while installing torrentflux

Code:
[B]Strict Standards[/B]:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in [B]/home/darknez/public_html/TF/html/inc/lib/vlib/vlibTemplate.php[/B] on line [B]834[/B]

[B]Strict Standards[/B]:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in [B]/home/darknez/public_html/TF/html/inc/lib/vlib/vlibTemplate.php[/B] on line [B]835[/B]

do you have any idea?
 
buddy but i m getting some error while installing torrentflux

Code:
[B]Strict Standards[/B]:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in [B]/home/darknez/public_html/TF/html/inc/lib/vlib/vlibTemplate.php[/B] on line [B]834[/B]

[B]Strict Standards[/B]:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in [B]/home/darknez/public_html/TF/html/inc/lib/vlib/vlibTemplate.php[/B] on line [B]835[/B]

do you have any idea?

Maybe its due to PHP Version ? but as far as i believe it wont effect in working . Is it ?
 
well php version is 5.4 and it is not even giving me login page....when i m trying to run login page it is giving me this error.
 
Torrentvolve is also giving error

Code:
[B]Fatal error[/B]:  Call to a member function getUserName() on a non-object in [B]/home/username/public_html/site/master.php[/B] on line [B]43[/B]
 
buddy but i m getting some error while installing torrentflux

Code:
[B]Strict Standards[/B]:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in [B]/home/darknez/public_html/TF/html/inc/lib/vlib/vlibTemplate.php[/B] on line [B]834[/B]

[B]Strict Standards[/B]:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in [B]/home/darknez/public_html/TF/html/inc/lib/vlib/vlibTemplate.php[/B] on line [B]835[/B]

do you have any idea?

Hello, PHP 5.4 is not suitable for torrentflux. You should downgrade to PHP 5.3 and it may work there.
 
Status
Not open for further replies.
Back
Top