Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 25th August 2011, 11:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Ah, now I see that you are trying this on CentOS 5.6. I thought you were on 6.0. php53-mcrypt is a problem, I remember having problems with it myself, that's why I used PHP 5.1 in the CentOS 5.6 tutorial.

IF you search for php53-mcrypt on http://rpm.pbone.net/index.php3 , you should find packages from rpms.famillecollet.com and dl.iuscommunity.org/pub/ius/archive/Redhat/5.5/ .
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
isn (31st August 2011)
Sponsored Links
  #32  
Old 25th August 2011, 15:23
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 49
Thanks: 5
Thanked 2 Times in 2 Posts
Default

I need php 5.3 to support Joomla 1.7 and latest release of wordpress.

So here is my plan for Centos 5.6

yum remove the 5.1 packages taking note of what is removed along with the php packages.

yum install the equivalent php53 packages. My found the mcrypt package in epel.

Now that that repo is back in /etc/yum.repos.d I can install the mcrypt package and we'll see if that what was breaking squirrelmail.

If that fails I'll post my error message. Making this work will save me a ton of time.

Time that needs to be spent finding a new contract (remaining employed).
__________________
isn aka SEP from ITRC forums
Reply With Quote
  #33  
Old 26th August 2011, 02:27
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 49
Thanks: 5
Thanked 2 Times in 2 Posts
Default

yum install squirrelmail
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* addons: yum.singlehop.com
* base: mirrors.cmich.edu
* centosplus: yum.singlehop.com
* epel: mirror.steadfast.net
* extras: centos.corenetworks.net
* rpmforge: apt.sw.be
* updates: holmes.umflint.edu
Excluding Packages from CentOS-5 - Base
Finished
Reducing CentOS-5 - Plus to included packages only
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package squirrelmail.noarch 0:1.4.8-5.el5.centos.10 set to be updated
--> Processing Dependency: php >= 4.0.4 for package: squirrelmail
--> Processing Dependency: php-mbstring for package: squirrelmail
--> Running transaction check
---> Package php.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
---> Package php-mbstring.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Running transaction check
---> Package php-cli.x86_64 0:5.1.6-27.el5_5.3 set to be updated
---> Package php-common.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_6.1.x86_64 from installed has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


This is the problem.

I thought php53-common replaces php-common squirrelmail and phpmyadmin don't seem to think so.
__________________
isn aka SEP from ITRC forums
Reply With Quote
  #34  
Old 26th August 2011, 12:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

The iuscommunity repo seems to solve this, but I didn't try. See
http://www.centos.org/modules/newbb/...post_id=131142
http://serverfault.com/questions/276...mcrypt-and-php
http://pjwelsh.blogspot.com/2010/12/...rade-made.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
isn (31st August 2011)
  #35  
Old 26th August 2011, 13:41
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 49
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Tried ius and utterramblings, used the replace yum plugin.

In all cases squirrelmail refused to work.

with ius, it claimed in the browser that config.php was not present. Worse with php53u there was no reaction, just acted as if the soft links it needed was not there and failed to function.

The wreckage in this case is the left column of SM, with this errorr:
ERROR:
ERROR: Could not complete request.
Query: CREATE "Sent"
Reason Given: Invalid mailbox name.

In spite of following the instructions in http://www.howtoforge.com/perfect-se...ispconfig-3-p6 for correcting that error.

I think this is a worthy experiment to work on, I think it can be done.

I would suggest though that the entire process for building perfect server with php 5.3 be cooked and tested. I know its a lot of work, but let me put this premise out.

A lot of folks including myself use ISPCONFIG3 to stand up word press and Joomla websites. Both of those now require php 5.2.4 or above to stay current. It is probably time for that configuration to simply include a migration to php 5.3.

Please feel free to contact me email and let me know how to help.

I'm going to stand up a VM to play with and keep pounding this until it works.
__________________
isn aka SEP from ITRC forums
Reply With Quote
  #36  
Old 26th August 2011, 18:16
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 49
Thanks: 5
Thanked 2 Times in 2 Posts
Default

I have a pair of VM's stood up, one Centos 6, the other 5.6 which I will use to see if I can overcome this issue.

If I fix it, I will issue a document for the forum. I'm going to try doing the entire curernt 5.6 document starting out with php53 or php53u installed. Lets see if it works.

The SM issue resolved itself probably based on the fix I tried in 5.6 Perfect Server doc.

REgards,

isn
__________________
isn aka SEP from ITRC forums
Reply With Quote
The Following User Says Thank You to isn For This Useful Post:
falko (27th August 2011)
  #37  
Old 27th August 2011, 12:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by isn View Post
If I fix it, I will issue a document for the forum. I'm going to try doing the entire curernt 5.6 document starting out with php53 or php53u installed.
That would be great!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
isn (31st August 2011)
  #38  
Old 31st August 2011, 20:21
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 49
Thanks: 5
Thanked 2 Times in 2 Posts
Default results, maddening to say the least

I went with ius on a new 32 bit centos 5.6 box.

I basically installed every php53u package available after ripping out php.

Squirrelmail worked like a champ, right out of the box.

Absolutely no results on my production 64 bit 5.6 box.

Squirrelmail will not work.

I'm at a loss to explain it.

It is my belief that the fact squirrelmail is already on the box is a contributing factor to the problem.

I can't very well rip all the squirrelmail mail data off the system, but I believe a workaround should be possible.

I need some ideas.

Bottom line ius php53u will work on a clean install with ISPCONFIG3. But retrofitting to an existing production system is still not working.

Ideas?

What about tarring up /var/lib/squirrelmail. Does that preserve the actual mail.

Perhaps ripping out sendmai /usr/share/squirrelmail /etc/squirrelmail /var/lib/squirrelmail then redoing the install would help.

Wondering if any of the log files in /var/log/httpd would be of any assistance.

Based on my i386 results I would say this problem can be solved. Just not by me alone.

I'm forgetting where the actual mail is stored in the Perfect Server Configuration. looks like all the mail is in /var/vmail/<domain name> Please confirm. A plan is afoot in my pea brain molecules



SEP
__________________
isn aka SEP from ITRC forums

Last edited by isn; 31st August 2011 at 20:40.
Reply With Quote
  #39  
Old 1st September 2011, 19:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
What about tarring up /var/lib/squirrelmail. Does that preserve the actual mail.
If you want to back up your mails, you must back up the whole /var/vmail directory - that's where mails are stored.

Unfortunately I have no idea why the IUS way doesn't work for you...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #40  
Old 1st September 2011, 23:01
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 49
Thanks: 5
Thanked 2 Times in 2 Posts
 
Default

Thanks. I've given up on RHEL 5.6.

Since all services work on Centos 6.0 I've backed up the data, have a kvm hooked up and will do as follows:

1) do the perfect server 6.0 guide.
2) shut down mysql restore the data from dbispconfig
3) Start mysql, restart the web server and hopefully be in business.
__________________
isn aka SEP from ITRC forums
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
server Installation Configuration deco5003 Installation/Configuration 12 5th August 2009 12:00
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 23rd September 2008 23:58
Update php shajazzi Server Operation 6 6th April 2008 18:20
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31


All times are GMT +2. The time now is 02:59.


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