Problem with migration

Hi.

I have problem with virtual servers after migration from Ubuntu 8.04 LTS to Ubuntu 14.04 LTS. After restore on new server i have a problem. In apache error log under virtual server i see this errors: [Wed Jun 04 11:03:46.054926 2014] [fcgid:warn] [pid 10700] (104)Connection reset by peer: [client 10.1.1.254:3887] mod_fcgid: error reading data from FastCGI server [Wed Jun 04 11:03:46.054957 2014] [core:error] [pid 10700] [client 10.1.1.254:3887] End of script output before headers: index.php [Wed Jun 04 11:04:13.964160 2014] [fcgid:warn] [pid 10697] (104)Connection reset by peer: [client 193.85.22.115:28305] mod_fcgid: error reading data from FastCGI server [Wed Jun 04 11:04:13.964205 2014] [core:error] [pid 10697] [client 193.85.22.115:28305] End of script output before headers: index.php . . .

Is there any solution?

Status: 
Active

Comments

Howdy -- it looks like you're receiving a generic error from FCGID.

What you may want to try is switching that domain to use CGI, which often provides better error messages.

To do that, go into Server Configuration -> Website Options, and there, set the "PHP Execution Mode" option to "CGI", and then try accessing that site again.

Once you do that, what error(s) do you see in the Apache error log for that domain?

Is that error what occurs after switching to "CGI"?

When you posted your first post at the top of this request, were you accessing your sites this same way then, using the "Preview Website"?

Great support really. Your advices are absolutly useless!! I found this post:

http://www.virtualmin.com/node/25539

and this solved problem. But i have other problems.

1) some webs uses php header() function( example: www.buchetto.cz --> www.buscheto.cz/new). On new server this isnt work. Without any error message.

2) on www.intebo.cz after migration i see this error: Fatal error: Call to undefined function session_is_registered() in /home/intebo/public_html/srv/plugins/system/imagegallery.php on line 14

some webs uses php header() function( example: www.buchetto.cz --> www.buscheto.cz/new). On new server this isnt work. Without any error message.

We did some testing, and weren't able to reproduce a problem with the PHP header() function on Ubuntu 14.04. The header() function worked properly for us.

You may be seeing a problem with the application itself. What application is your site running?

One possible cause of what you're seeing is if the application doesn't support the PHP version on your server. In that case, it could be sending out warning messages prior to running the "header()" function, which would cause header() to not work.

You may want to work with the folks who built your application to make sure there aren't any compatibility problems with the PHP version that you're currently running.

on www.intebo.cz after migration i see this error: Fatal error: Call to undefined function session_is_registered() in /home/intebo/public_html/srv/plugins/system/imagegallery.php on line 14

The "session_is_registered()" function no longer exists in PHP, as of PHP version 5.4.0.

It sounds like the application being used on this website isn't designed to work with the PHP version that comes with Ubuntu 14.04 (PHP version 5.5.9).

You may need to check to see if there is an updated version of this application designed for more recent PHP versions.

Is there any service which cover transition virtualmin with webs to new server? For $ of course. I spend lot of time with this with no final solution. If yes, how much $ it cost? Thank you for your reply.

We do offer Professional Services, where we're able to provide assistance on an hourly basis.

What we would do is go over the issues you're seeing, and once we understand what all you would like completed, if we feel we can help we will then offer you an estimate as to what it would cost.

You can read about our Professional Services here:

https://virtualmin.com/catalog/service/hourly_service

Can you describe what issues you're still seeing that you would like a hand with?