hang up transfering to new host vps

Hello again,

So I built my website and have transferred it and the DB to a new host VPS. I have updated the header.inc with the new site and DB info but still get a HTTP 500 error when navigating the the website.

I went through this a year or so ago but was not clever enough to make notes as I was going. I recall some advise about something being turned off within the Apache but don't recall exactly. I am including a portion of the error report as well. As always, it would be greatly appreciated if someone can point me back in the right direction.

 

 

[Fri May 09 00:54:19 2014] [warn] [client xxx.xxx.xx.xx] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/security.inc.php): failed to open stream: Operation not permitted in /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/header.inc.php on line 173, referer: http://xxxxx.org/

 

[Fri May 09 00:54:19 2014] [warn] [client xxx.xxx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '/var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/security.inc.php' (include_path='.:') in /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/header.inc.php on line 173, referer: http://xxxxx.org/

[Fri May 09 00:55:58 2014] [error] [client xxx.xxx.xx.xx] File does not exist: /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/RK=0, referer: http://xxxxx.org/

 

[Fri May 09 00:56:12 2014] [error] [client xxx.xxx.xx.xx] File does not exist: /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/RK=0, referer: http://xxxxx.org/

 

[Fri May 09 01:00:26 2014] [warn] Cannot get media type from 'x-mapp-php5'

 

[Fri May 09 01:00:26 2014] [warn] [client xxx.xxx.xx.xx] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/install) is not within the allowed path(s): (/var/www/vhosts/xxxxx.ca/:/tmp/) in /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/header.inc.php on line 129, referer: http://xxxxx.org/

 

[Fri May 09 01:00:26 2014] [warn] [client xxx.xxx.xx.xx] mod_fcgid: stderr: PHP Warning:  require_once(): open_basedir restriction in effect. File(/var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/security.inc.php) is not within the allowed path(s): (/var/www/vhosts/xxxxx.ca/:/tmp/) in /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/header.inc.php on line 173, referer: http://xxxxx.org/

 

[Fri May 09 01:00:26 2014] [warn] [client xxx.xxx.xx.xx] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/security.inc.php): failed to open stream: Operation not permitted in /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/header.inc.php on line 173, referer: http://xxxxx.org/

 

[Fri May 09 01:00:26 2014] [warn] [client xxx.xxx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '/var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/security.inc.php' (include_path='.:') in /var/www/vhosts/xxxxx.ca/httpdocs/xxxxx/inc/header.inc.php on line 173, referer: http://xxxxx.org/

Quote · 8 May 2014

It's most likley a permissions issue. PHP running as an apache module will have different permissions that PHP running as CGI which i believe is the case here.

Read the permissions section of the install doc for proper permissions of files. http://www.boonex.com/trac/dolphin/wiki/DetailedInstall

https://www.deanbassett.com
Quote · 8 May 2014

Thanks for the tip Deano, however it seems a bit over my head. I am not sure how to run these commands under an SSH account. (PHP is running as CGI)

Also, I am not sure what is going on as this site is basically a clone from another VPS with the same host.

Any further assistance would be appreciated. Are there any trust worthy sources out there that would be willing to look into this for me? I would like to get this sorted out as soon as I can.

Quote · 9 May 2014

 

 

 

Thanks for the tip Deano, however it seems a bit over my head. I am not sure how to run these commands under an SSH account. (PHP is running as CGI)

Also, I am not sure what is going on as this site is basically a clone from another VPS with the same host.

Any further assistance would be appreciated. Are there any trust worthy sources out there that would be willing to look into this for me? I would like to get this sorted out as soon as I can.

You just copy the command in the list of permissions; don't worry if it tells you a file is missing.  While in your shell window; putty is the one I use, you can right click to paste in after you copy from the help guide.  Scroll down the help guide to find the permissions for the modules (I really think all the permissions should be grouped together; missed them my first time here).

 

Geeks, making the world a better place
Quote · 9 May 2014

 

 

 

 

Thanks for the tip Deano, however it seems a bit over my head. I am not sure how to run these commands under an SSH account. (PHP is running as CGI)

Also, I am not sure what is going on as this site is basically a clone from another VPS with the same host.

Any further assistance would be appreciated. Are there any trust worthy sources out there that would be willing to look into this for me? I would like to get this sorted out as soon as I can.

You just copy the command in the list of permissions; don't worry if it tells you a file is missing.  While in your shell window; putty is the one I use, you can right click to paste in after you copy from the help guide.  Scroll down the help guide to find the permissions for the modules (I really think all the permissions should be grouped together; missed them my first time here).

 

 

Well I gave it a whirl with putty as you recommended GG. when I start putty I get a warning that the servers host key is not cashed in the registry............

next it asked for a login; I am not sure which login it is asking for here and tried a few but I did notice that I can type a login name but when it asks for the password nothing is entered when i type it in.

Quote · 9 May 2014

Just looking at the Web Hosting Access. Access to the server over SSH was set to 'Forbidden'.

I attached a screen capture of the drop down list available. can someone please recommend the setting i need to gain access with putty. thanks.

Untitled.png · 9.4K · 254 views
Quote · 9 May 2014

 

Just looking at the Web Hosting Access. Access to the server over SSH was set to 'Forbidden'.

I attached a screen capture of the drop down list available. can someone please recommend the setting i need to gain access with putty. thanks.

/bin/bash - not chrooted.

 

You also need to set shell access for the cron to work.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 9 May 2014

Still not getting anywhere. I get a login request then a password request but it will not let me enter any password. I am at my ropes end here. Is there anyone willing to take this on for me, I would be happy to pay for the services if reasonable. I just need this site up and running ASAP.

Quote · 9 May 2014

Type the password and press enter on your keyboard. Chances are the password is just not showing. Thats what most linux shells do. It hides the password completely. You see nothing. Not even a *

https://www.deanbassett.com
Quote · 9 May 2014

 

Type the password and press enter on your keyboard. Chances are the password is just not showing. Thats what most linux shells do. It hides the password completely. You see nothing. Not even a *

 Ok, I finally contacted the host and got the login sorted.

I ran the Apache command and got a bunch of 'chmod: cannot access' issues. am I using the wrong command here?

I attached a screen shot just in case it helps.

Capture.PNG · 36.4K · 253 views
Quote · 9 May 2014

 

 Ok, I finally contacted the host and got the login sorted.

I ran the Apache command and got a bunch of 'chmod: cannot access' issues. am I using the wrong command here?

I attached a screen shot just in case it helps.

Make sure you're in the same directory where Dolphin is installed. Since this is Plesk, it's likely /httpdocs.

 

But hold on. By default, Plesk runs PHP under FastCGI, so the Apache permissions aren't needed. If the installer shows all but ffmpeg.exe with the correct permissions, use the CGi chmod instead. In fact, you likely only need to set ffmpeg.exe to 755.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 9 May 2014

Alright, I ran the second command for CGI on Unix systems and closed putty. I navigated to the website and there is nothing but a blank page there now. Any thoughts? I'm dying here. Lol

Quote · 9 May 2014

 

Alright, I ran the second command for CGI on Unix systems and closed putty. I navigated to the website and there is nothing but a blank page there now. Any thoughts? I'm dying here. Lol

That means there's a PHP error - just to be sure, you switched to Dolphin's directory first, yes?. If you'd like, PM me your SSH details and I can take a closer look.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 9 May 2014

 

 

Alright, I ran the second command for CGI on Unix systems and closed putty. I navigated to the website and there is nothing but a blank page there now. Any thoughts? I'm dying here. Lol

That means there's a PHP error - just to be sure, you switched to Dolphin's directory first, yes?. If you'd like, PM me your SSH details and I can take a closer look.

 PM sent, Thanks Nathan

Quote · 9 May 2014

 

 

Alright, I ran the second command for CGI on Unix systems and closed putty. I navigated to the website and there is nothing but a blank page there now. Any thoughts? I'm dying here. Lol

That means there's a PHP error - just to be sure, you switched to Dolphin's directory first, yes?. If you'd like, PM me your SSH details and I can take a closer look.


Just so that you will know Nathan. This was not a fresh install on this host. It was a transfer from another host.

https://www.deanbassett.com
Quote · 9 May 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.