HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Upgraded php 5.1.6 to 5.3 = broken ispconfig3 (http://www.howtoforge.com/forums/showthread.php?t=40190)

OvrFlote 16th October 2009 22:52

Upgraded php 5.1.6 to 5.3 = broken ispconfig3
 
I recently upgraded php on my centos 5 server, for no other reason than Kohana required php 5.2 or later.

Upgraded via remi to php 5.3, and then everything went sideways. I have lost mydns (will not start)
smtp
I know this because yesterday I was able to log in to two seperate servers that were upgraded (php) but now today I cannot even sign into the ispconfig3 admin console.

I am fairly noob, knowing only enough to be dangerous (to myself).

If anyone has any advice it would be greatly appreciated.

till 17th October 2009 09:48

Most likely your PHP updates have overwritten some config files. Please download the latest ispconfig version and run the update.php script. choose "yes" when the installer asks you if you want to reconfigure the system.

OvrFlote 17th October 2009 18:26

Thank you
 
I will give it a shot and let you know what happens.

Thank you

OvrFlote 20th October 2009 18:01

Did the update
 
After the update, I can now sign in to the ispconfig admin consoled. and it looks as though this solved my SMTP problem (service is online)

However, MyDNS is still fudged. I cannot get mydns to stat or start.

# dig @localhost myserver.com
; (1 server found)
;; global options: printcmd
;; connection timed out; no servers could be reached

# netstat -tap | grep dns
#

# /etc/init.d/mydns start
#

# /etc/init.d/mydns status
#

at this point i would post my config file, but i have checked it 3 times and it is the exact same file as before the upgrade took place.

Really hope you can help me out here. I am "behind the eight ball" on this one. Thanks

falko 21st October 2009 14:48

What's the output of
Code:

netstat -tap
? Any errors in your logs?

OvrFlote 21st October 2009 16:04

narrowing it down
 
I have "un"- upgraded mydns from 1.2.8(remi repo) to 1.1.0 (site release) and this fixed mydns, but I am still having lots of problems. I checked httpd error_log and found these errors:
================================================== ==========
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/interface/lib/classes/tpl.inc.php on line 1232, referer: http://notmyrealdomain.com:8080/
================================================== ==========
PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /usr/local/ispconfig/interface/lib/classes/validate_dns.inc.php on line 272, referer: http://notmyrealdomain.com:8080/
================================================== ==========
it is pretty well chalk full of php deprecated function calls in ispconfig

if you still need netstat -tap let me know, but mydns is showing up in there now that i downgraded to the stable release.

basically this is what is happening. i can restart apache (/etc/init.d/httpd restart), log into ispconfig and change settings, but after about 10 minutes, everything dies and i have to restart apache again. same is true for just looking at the site every 5 - 10 minutes of browsing screen just shows white website with nothing there, and i have to restart apache. but while i can access ispconfig, everything shows "Online" for services,

falko 22nd October 2009 17:42

Lots of things have changed in PHP 5.3, it shows lots of warnings. You can change the error reporting level in your php.ini to suppress such warnings.


All times are GMT +2. The time now is 16:36.

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