Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th February 2008, 17:05
andeas-2008 andeas-2008 is offline
Junior Member
Join Date: Jan 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default LVS-NAT: Problems with PHP-SOAP server behind ldirectord


I am running LVS with NAT. Everything is working fine, no problem with http and https from browsers or via wget.

The only problem I have is with our soap-server (PHP 5.2.5) running on a real server. SOAP requests (no matter if http or https) alsways get a timeout. With tcpdump i can watch them reaching the ldirector and after that the real server (the real server are in a different subnet than the virtual IPs on the ldirector). The real server are sending replies, but they seem to stuck. As said, the problem only occurs with SOAP (I guess, PHP soap uses an own socket communication). This special environment makes it difficult to search for solutions. Maybe a bug in PHP.

Does anybody have experience with this?

I tried running LVS without NAT (direct LVS) and this works fine with PHP SOAP. It seems to be a problem concerning NAT and SOAP.

Reply With Quote
Sponsored Links
Old 6th February 2008, 13:51
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Have you tried to increase the timeout of your PHP scripts (set_time_limit())? Maybe the SOAP connection is a little bit slow.
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
Old 23rd April 2008, 19:12
wcarty wcarty is offline
Junior Member
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Do you have lvs persistence configured along with iptables firewall marks
Reply With Quote


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
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 14:58
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30
Installation Problems right after php building nagual Installation/Configuration 1 31st October 2005 09:30

All times are GMT +2. The time now is 06:14.

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