473,387 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem to connect to Msession daemon with Apache

My Web server is running on Suse with apache2 and PHP 5.0.2. The
msession server (Version 1.21) works perfectly locally using the
provided tools (/usr/local/phoenix/bin/). For the browser test I use a
test script that came with Msession.

As long as I make all Msession calls local it works fine. But the moment
I use a browser get a strange behavior. Running the test script for the
first time does exactly what it should do and as long as I make my
next request within a 15 second timeframe since my last call everything
seems OK. But if i try local to get the status the following error appears

www:/etc/init.d # ./msessiond status
Failure: Can not open connection to host "localhost" on port 8086

Meanwhile, if within the 15 second timeframe, the browser-script works
as it should. But the moment I wait more than 15 seconds and then send a
request I get the following error:

**Warning*: msession_connect() [function.msession-connect
<http://www7.test.local/function.msession-connect>]:
MSession connect failed in
*/htdocs/home/projekte/community/msession.php* on line *22*
**Warning*: msession ....

To be able to use the script or the local functions again I have to
restart apache (not Msession). I have noticed that after stopping apache
I can use the local functions of Msession again.

If I use a second browser (same computer or different) the error occurs
immediately in the second browser (the first browser works as described
above).

It is as if when I make a call with a browser localhost 8086 is reserved
for this apache-instance alone and never is freed again.

I am grateful for every answer
Delphi

additional Msession status

code:www:/etc/init.d # ./msessiond status
MSession Version 1.21 [Nov 22 2004]
Thread Pool: yes
Sockets Waiting: 0
Total dialogs: 1
Dialogs per second: 0
Total Sessions: 3
Dropped Connections: 0
Total Threads: 100
Max Threads: 256
Active Threads: 1
Autosave: 0
Memory handles: 0
Phoenix Memory: 0
System Memory: 268952
System Frag: 1384
www:/etc/init.d #
Jul 17 '05 #1
0 1544

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Valia | last post by:
hello all, here is something i would like to do, i think this can be done with a daemon or something like named pipe or even a daemon waiting its input from named pipe? do not know. please...
2
by: ws Wang | last post by:
MySQLdb is working fine at command line, however when I tried to use it with mod_python, it give me a "server not initialized" error. This is working fine: ----------------------- testmy.py...
0
by: Albert Rossi | last post by:
all, i have seen a couple of postings on the following issues which i have encountered and have struuggled with for a couple of days now. i apologize in advance if someone has already posted the...
3
by: siliconmike | last post by:
On my FreeBSD system, apache would run under user: www Apache would run php script which would accesses mysql as user: xyz, passwd: pqr Mysql server would itself run with --user=mysql command line...
2
by: Robert Stearns | last post by:
After working well for most of a week, my application with the mysterious php/db2 problem is now failing again. No one has worked on the php code this week. We're running DB2 8.1.5, php 4.3.6...
3
by: Mike Orr | last post by:
I'm trying to install a program that uses Durus on a server. It appears that if a Python program uses eggs, it creates a ~/.python-eggs/ directory, so the home directory must be writeable. This...
3
by: mayur1 | last post by:
Hello everybody, I am trying to connect to DB2 V 8.1 on Red Hat Linux V5 from WebSphere Application Server V6 on Windows Server 2003. The problem that i am facing is that its not able to opent...
5
by: suma | last post by:
hi to all plaese help me i have same problem when download the phpdev and phptriad i cant connect to mysql when click the MyAdmin apear this messege in the page 'Warning: MySQL Connection...
3
dmjpro
by: dmjpro | last post by:
Have a look at my problem. try{ //String tokenLocatorUrl = "http://erp.iitkgp.ernet.in:80/SSO_Token_Object_locator/resources/getSSOToken"; String tokenLocatorUrl...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.