Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2012, 19:09
D-Spayre D-Spayre is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default Owner/Group 48 48

Hi,

For some reason when I install plugins for my script the the Owner/Group is 48 48.

The creators of the script tells me:
You should check the PHP permission on your server, by default PHP should have the following:
Files: 644
Directories: 755
Owner: username:username where username is your hosting account username.


I have no clue what they are talking about. lol
I'm a network guy this stuff is all new to me...

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2012, 19:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
Default

ensure that you use php mode php-fcgi and that suexec is enaböed in the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th March 2012, 22:27
D-Spayre D-Spayre is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply,

My site won't load with Fast-CGI (HTTP 500 Internal Server Error) but when I FTP in the rights have changed.
How can I fix Error 500?

Thanks again,
Reply With Quote
  #4  
Old 21st March 2012, 10:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
Default

Take a look at the error.log of this website, the reason for the error is logged there. The most likely reason is that some files in your website are owned by a wrong user, all files ahve to be owned by the web user and client group of this site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st March 2012, 12:56
D-Spayre D-Spayre is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HTML Code:
[Wed Mar 21 07:12:31 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Fatal error:  Call to a member function registerFunction() on a non-object in /var/www/clients/client1/web5/web/includes/classes/rlHook.class.php(126) : eval()'d code on line 6

[Wed Mar 21 07:36:14 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/clients/client1/web5/web/includes/control.inc.php on line 28

[Wed Mar 21 07:36:14 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/clients/client1/web5/web/includes/control.inc.php on line 29

[Wed Mar 21 07:36:14 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/clients/client1/web5/web/includes/control.inc.php on line 46

[Wed Mar 21 07:36:14 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/clients/client1/web5/web/includes/control.inc.php on line 47

[Wed Mar 21 07:36:14 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/clients/client1/web5/web/includes/classes/reefless.class.php on line 70

[Wed Mar 21 07:36:14 2012] [warn] [client *.*.*.*] mod_fcgid: stderr: PHP Fatal error:  Call to a member function registerFunction() on a non-object in /var/www/clients/client1/web5/web/includes/classes/rlHook.class.php(126) : eval()'d code on line 6
Is this right? lol
So I do I give the rights back to the proper user? Or how can I make sure that when I change the site to Fast-CGI the user doesn't change?

Thanks again,
Reply With Quote
  #6  
Old 21st March 2012, 13:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
Default

The errors are from a problem in your php code and not a permission issue. Not sure if they are the reason for the error though. Are there no other errors in the log?

Quote:
Or how can I make sure that when I change the site to Fast-CGI the user doesn't change?
The user has to change from apache user to the website user, thats why you have to switch to fastcgi plus suexec. Otherwise your siteruns with wrong priveliges and cant save files.

Please post the output of:

ls -la

from within the web directory of that site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 21st March 2012, 13:40
D-Spayre D-Spayre is offline
Junior Member
 
Join Date: Mar 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Is this what your looking for? Ya gotta speak to me like I know nothing. lol
Ok found this error_log, think I was looking in the wrong one before.

HTML Code:
drwx--x--- 13 web5 client1   4096 Mar 20 19:36 .
drwxr-x--x  6 web5 client1   4096 Mar 18 12:37 ..
drwxr-xr-x  7 web5 client1   4096 Mar 18 12:37 admin
drwxr-xr-x  3 web5 client1   4096 Mar 18 12:37 backup
drwxr-xr-x  2 web5 client1   4096 Mar 18 12:37 cron
-rw-r--r--  1 web5 client1 522251 Mar 20 20:53 dump.sql
drwxr-xr-x  2 web5 client1   4096 Mar 18 12:37 error
-rwxr-xr--  1 web5 client1   7358 Mar 18 12:37 favicon.ico
drwxrwxrwx  3 web5 client1   4096 Mar 18 12:37 files
-rwxr-xr--  1 web5 client1   1335 Mar 20 19:36 .htaccess
drwxr-xr-x  4 web5 client1   4096 Mar 18 12:37 includes
-rwxr-xr--  1 web5 client1   1861 Mar 18 12:37 index.html
-rw-r--r--  1 web5 client1   8248 Mar 20 20:53 index.php
drwxr-xr-x 17 web5 client1   4096 Mar 18 12:37 libs
drwxrwxrwx  4 web5 client1   4096 Mar 20 17:23 plugins
-rwxr-xr--  1 web5 client1     24 Mar 18 12:37 robots.txt
drwxr-xr-x  2 web5 client1   4096 Mar 21 00:30 stats
drwxr-xr-x  4 web5 client1   4096 Mar 18 12:37 templates
drwxr-xr-x  8 web5 client1   4096 Mar 20 00:24 tmp

HTML Code:
[Tue Mar 20 17:19:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 17:19:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 17:19:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 17:19:03 2012] [notice] Digest: done
[Tue Mar 20 17:19:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 17:21:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 17:21:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 17:21:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 17:21:03 2012] [notice] Digest: done
[Tue Mar 20 17:21:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 17:22:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 17:22:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 17:22:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 17:22:03 2012] [notice] Digest: done
[Tue Mar 20 17:22:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 17:24:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 17:24:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 17:24:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 17:24:03 2012] [notice] Digest: done
[Tue Mar 20 17:24:04 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 17:28:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 17:28:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 17:28:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 17:28:03 2012] [notice] Digest: done
[Tue Mar 20 17:28:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 17:30:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 17:30:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 17:30:04 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 17:30:04 2012] [notice] Digest: done
[Tue Mar 20 17:30:04 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 19:32:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 19:32:02 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 19:32:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 19:32:03 2012] [notice] Digest: done
[Tue Mar 20 19:32:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 19:33:01 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 19:33:02 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 19:33:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 19:33:03 2012] [notice] Digest: done
[Tue Mar 20 19:33:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 19:36:01 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 19:36:02 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 19:36:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 19:36:03 2012] [notice] Digest: done
[Tue Mar 20 19:36:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 19:41:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 19:41:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 19:41:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 19:41:03 2012] [notice] Digest: done
[Tue Mar 20 19:41:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
[Tue Mar 20 19:49:45 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 19:49:46 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 19:49:46 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 19:49:46 2012] [notice] Digest: done
[Tue Mar 20 19:49:47 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
[Tue Mar 20 21:27:02 2012] [notice] caught SIGTERM, shutting down
PHP:  syntax error, unexpected '(' in /etc/php.ini on line 481
[Tue Mar 20 21:27:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 21:27:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 21:27:03 2012] [notice] Digest: done
[Tue Mar 20 21:27:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Tue Mar 20 21:43:02 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 21:43:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 21:43:03 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 21:43:03 2012] [notice] Digest: done
[Tue Mar 20 21:43:03 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ruby/1.3.0 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
Oh so confusing. lol

Thanks Till
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 82815 Video Card & Ubuntu 8.10 harvey527 Kernel Questions 8 5th November 2010 15:51
User creating shoevring Developers' Forum 7 25th July 2010 11:17
amavis: (!!)WARN: all primary virus scanners failed, considering ba jariasca Installation/Configuration 13 20th April 2010 18:34
Admin Program for Virtual Users and Domains Postfix courier etc...(Ubuntu 8.04)? the1rob HOWTO-Related Questions 11 4th August 2009 05:54
Exim MTA dazblade Server Operation 4 16th July 2007 19:42


All times are GMT +2. The time now is 02:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.