| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
07-12-2009, 09:43 AM
| | Outstanding Member | |
Posts: 594
| | Maybe my choice of words were wrong but i did mean what you said. | 
07-12-2009, 09:56 AM
| | | That is okay Veronica ... You are obviously posting so quickly we cannot keep up with you  Keep up the excellent contributions you are making.
__________________ | 
07-12-2009, 12:57 PM
| | | In any event, having manually made sure that there was nothing whatever zimbraish running on the new server, I ran the upgrade again, and it died again; clearly somewhere inside where zmsetup.pl calls zmupgrade::upgrade, and I'm not sure where that function lives.
Found it. The value of $RC is 1 as returned from the call to zmcontrol stop. Checking further.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - I AAMA Try to Ask Questions The Smart Way -- you'll get better answers.
Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Last edited by Baylink; 07-12-2009 at 01:01 PM..
| 
07-12-2009, 01:08 PM
| | | Aha! Smoking gun:
httpd: Syntax error on line 232 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/httpd-2.2.8/modules/libphp5.so into server: /opt/zimbra/httpd-2.2.8/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
I had noticed the speller not running earlier; this is why zmcontrol stop is failing and hence, the upgrade.
I've copied in the distribution's libphp5.so; that doesn't fail the zmcontrol stop; let's see what happens.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - I AAMA Try to Ask Questions The Smart Way -- you'll get better answers.
Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't.
Last edited by Baylink; 07-12-2009 at 01:11 PM..
| 
07-12-2009, 01:43 PM
| | | Yup; it appears, so far, to be successful. I'm not sure what the issue with that libphp5 is, but I'll look into it further, tomorrow... on the clock. :-)
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - I AAMA Try to Ask Questions The Smart Way -- you'll get better answers.
Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't. | 
07-13-2009, 01:09 PM
| | | Quote:
Originally Posted by Baylink Aha! Smoking gun:
httpd: Syntax error on line 232 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/httpd-2.2.8/modules/libphp5.so into server: /opt/zimbra/httpd-2.2.8/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
I had noticed the speller not running earlier; this is why zmcontrol stop is failing and hence, the upgrade.
I've copied in the distribution's libphp5.so; that doesn't fail the zmcontrol stop; let's see what happens. | Confirmed problem comes from libphp5.so
Thanks Baylink for your advice! | 
11-14-2009, 07:45 PM
| | | I'm doing my 5.0.18 -> 6.0.2 NE upgrade; same failure. I'm assuming it's CentOS5 related.
__________________
Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - I AAMA Try to Ask Questions The Smart Way -- you'll get better answers.
Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
If you [SOLVE] something, please tell everyone how for the archives
And, please... read what people write, and answer the questions they asked, not the ones they didn't. | 
11-17-2009, 10:19 AM
| | | CentOS 5, RHEL5 libphp5 cannot load fix ERROR:
startup.log:Starting apache...httpd: Syntax error on line 232 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/httpd/modules/libphp5.so into server: /opt/zimbra/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
Also aspell doesn't seem to work either.
The real problem is because of SELinux is set to Enforcing mode. You either need to turn it off, or set it to permissive (it don't like whatcha trying to do, it'll tell on ya in the logs, but it'll still let you do it).
However in todays world I don't think thats a good fix. SELinux has a purpose and it should be used where and when it can. The real fix is this:
# chcon -t textrel_shlib_t /opt/zimbra/httpd/modules/libphp5.so
The reason why copying over the system php5 lib over is that, when copying you also copy over the SElinux context with the file. I don't recommend that in general because there might be issues with system calls that aren't compiled in on your system version vs the one that comes with Zimbra.
Hope that helps and clears some things up. | 
11-17-2009, 04:33 PM
| | | Yes, but that doesn't mean its the right thing to do.
If you DO care about that extra layer of security and want to keep SELinux turned on, then so far, that chcon command will fix you up for that particular little problem.
I've installed 6.02 on Centos with SELinux turned on, and so far that has been my only problem. | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |