you can change the problem by giving rw access to /tmp/ser_fifo for everybody. But this of course is a security risk if there are other useres which have access to the server.
You can overcome this by changing the userid and groupid of ser after startup /usr/local/sbin/ser -h should give you the hints how to set user and group id.
Then put apache and the ser user into the same group, then apache can write to the fifo.
klaus
John LI wrote:
Hi Jiri and Klaus,
I installed the serweb, and when log in to user accout, get the warning:
Warning: fopen(/tmp/ser_fifo): failed to open stream: Permission denied in /var/www/html/serweb_2004-01-04/html/functions.php on line 206
I am runing ser using the root, and I wonder how can I resolve this problem?
what ownership should I assign to the /tmp/ser_fifo?
Thanks
John
----- Original Message ----- From: "Jiri Kuthan" jiri@iptel.org To: "Klaus Darilion" klaus.mailinglists@pernau.at; "John LI" john@signalc.com; "Serusers" serusers@lists.iptel.org Sent: Saturday, March 27, 2004 5:46 PM Subject: Re: [Serusers] The problem when enable the MySql
At 01:29 AM 3/28/2004, Klaus Darilion wrote:
What do you mean by "tools"? For symmetric NATs, the proxy that sends the
request to the UA must have the same IP address as the proxy that received the REGISTER request - so I thought of using IP takeover (heartbeat) is the only way (except UAs which can register at multiple proxies). Is there any other way to solve this problem?
no, you need to take-over IP. There are different tools to achieve so,
hearbeat one
of them, VRRP another one and potentialy some more.
-jiri