Current time: 11-14-2024, 05:07 PM Hello There, Guest! (LoginRegister)


Post Reply 
php not parsing on migrated domains, on newly created it does?
Author Message
Freakez Offline
Junior Member
*

Posts: 21
Joined: Mar 2010
Reputation: 0
Post: #11
RE: php not parsing on migrated domains, on newly created it does?
So if you create the domains with toadd, and don't sync you old virtual data, you get the default page for the domain?

Did you check the /var/log/apache2/suexec.log? Have you changed something in /var/www/fcgi/domain.tld/php5/php.ini on you old server?
(This post was last modified: 07-15-2010 11:41 PM by Freakez.)
07-15-2010 11:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: php not parsing on migrated domains, on newly created it does?
Ok, let's sum up.

- ispcp works (the web gui)
- newly created domains also work
- old, moved domains do not:
only php does not working or also html?
what happens instead of php? error 500?
what's in the error-log of the respective domain
(or in the general-error.log and the suexec.log)

/J
07-15-2010 11:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
momfer Offline
Junior Member
*

Posts: 12
Joined: Feb 2007
Reputation: 0
Post: #13
RE: php not parsing on migrated domains, on newly created it does?
(07-15-2010 11:41 PM)joximu Wrote:  Ok, let's sum up.

- ispcp works (the web gui)
- newly created domains also work
- old, moved domains do not:
only php does not working or also html?
what happens instead of php? error 500?
what's in the error-log of the respective domain
(or in the general-error.log and the suexec.log)

/J

>>- ispcp works (the web gui)
Yes

>>newly created domains also work

Yes

>>only php does not working or also html?
Only php

>>what happens instead of php? error 500?
error 500

In de de domain-log: [warn] FastCGI: (dynamic) server "/var/www/fcgi/domain.nu/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

[warn] FastCGI: (dynamic) server "/var/www/fcgi/domain.nu/php5-fcgi-starter" (uid 2529, gid 2529) restarted (pid 3623)

Suex.log:

(vu2588/vu2588) gid: (2588/vu2588) cmd: php5-fcgi-starter
[2010-07-15 18:00:50]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
[2010-07-15 18:01:05]: uid: (vu2588/vu2588) gid: (2588/vu2588) cmd: php5-fcgi-starter

Thats about it no real errors in any log

php also works after i migrated the mysql dbase and regenerated the files and users
php fails after rsyncing Just the /var/www/virtual

checked the permissions/rights the seemed to be right
07-16-2010 12:08 AM
Find all posts by this user Quote this message in a reply
Freakez Offline
Junior Member
*

Posts: 21
Joined: Mar 2010
Reputation: 0
Post: #14
RE: php not parsing on migrated domains, on newly created it does?
And if you don't sync you old virtual data, do you get the default page for the domain?
07-16-2010 12:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
momfer Offline
Junior Member
*

Posts: 12
Joined: Feb 2007
Reputation: 0
Post: #15
RE: php not parsing on migrated domains, on newly created it does?
(07-16-2010 12:10 AM)Freakez Wrote:  And if you don't sync you old virtual data, do you get the default page for the domain?

Yes

But If I just sync/isolate the /htdocs and not the whole /var/www/virtual it seems to work well
I guess I should go that way although it would be nice to sort out the Real Problem
Any more ideas?

thx
(This post was last modified: 07-16-2010 04:08 AM by momfer.)
07-16-2010 02:27 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: php not parsing on migrated domains, on newly created it does?
so, if you upload a test.php (just <?php echo "yes!" ?> on an old domain via FTP then this works?

Otherwise I'd also check the /var/www/fcgi/*old-domains*/ folders...

/J
07-16-2010 06:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
momfer Offline
Junior Member
*

Posts: 12
Joined: Feb 2007
Reputation: 0
Post: #17
RE: php not parsing on migrated domains, on newly created it does?
(07-16-2010 06:20 AM)joximu Wrote:  so, if you upload a test.php (just <?php echo "yes!" ?> on an old domain via FTP then this works?

Otherwise I'd also check the /var/www/fcgi/*old-domains*/ folders...

/J

On a old migrated domain uploaded via ftp the phpinfo test doesnt work only error 500
Newly created domain it does.

I will check /var/wwwfcgi folders, do I check for the permissons/rights??
07-16-2010 08:01 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #18
RE: php not parsing on migrated domains, on newly created it does?
here you have an example...

Code:
# ls -laR /var/www/fcgi/dom1.net/
/var/www/fcgi/dom1.net/:
drwxr-xr-x 3 vu2002 vu2002 4096 2009-12-30 22:09 .
dr-xr-xr-x 7 root   root   4096 2009-12-30 23:25 ..
drwxr-x--- 2 vu2002 vu2002 4096 2009-12-30 22:09 php5
-r-xr-x--- 1 vu2002 vu2002  200 2009-12-30 22:09 php5-fcgi-starter

/var/www/fcgi/dom1.net/php5:
drwxr-x--- 2 vu2002 vu2002  4096 2009-12-30 22:09 .
drwxr-xr-x 3 vu2002 vu2002  4096 2009-12-30 22:09 ..
-rw-r----- 1 vu2002 vu2002 45989 2009-12-30 22:09 php.ini

and one for the virtual folders:

Code:
# ls -la /var/www/virtual/dom1.net/
drwxrwx--- 11 vu2002 www-data 4096 2010-01-23 10:14 .
dr-xr-xr-x  6 root   root     4096 2010-07-16 01:03 ..
drwxr-xr-x  5 vu2002 vu2002   4096 2009-12-30 22:49 backup
drwxr-xr-x  2 vu2002 vu2002   4096 2009-12-30 22:09 cgi-bin
drwxrwxr-x  3 vu2002 vu2002   4096 2009-12-30 22:09 errors
drwxrwxr-x  3 vu2002 vu2002   4096 2010-03-15 10:18 htdocs
-rw-r--r--  1 root   root       31 2010-01-23 10:14 .htgroup
-rw-r--r--  1 root   root      121 2010-01-23 10:13 .htpasswd
drwxrwx---  2 vu2002 www-data 4096 2009-12-30 22:09 logs
drwxrwx---  2 vu2002 www-data 4096 2009-12-30 22:09 phptmp

/J
07-16-2010 03:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)