Barry,
(We seem to be meeting on more than one mailing list today!)
From your output below, the fifo has owner 777, not permissions 777 - perhaps you were doing chown when you meant chmod?
The fifo needs to be writeable by the user your web server is running as. On my lab system, it's:
prw-rw-rw- 1 root root 0 Feb 21 10:53 /tmp/ser_fifo
To get this, run the following commands as root:
chown root.root /tmp/ser_fifo chmod 0666 /tmp/ser_fifo
On production systems, I like to make a 'ser' group, put the ser and http server users in it, then chmod 0660 instead of 0666.
Leaving the user in the pending table is a bit ugly, but the system will probably still work. You may care to fire up the mysql command line client, and do a 'delete from pending' when you know there's no-one in the queue.
Alistair Cunningham, Integrics Ltd, Telephony, Database, Unix consulting worldwide +44 (0)7870 699 479 http://integrics.com/
Barry Murphy wrote:
Ok i've brought this up in the past but no one answered:
1./ User signs up 2./ User receives confirmation email 3./ User clicks on URL 4./ User receives: Warning: fopen(/tmp/ser_fifo): failed to open stream: Permission denied in /www/serweb/html/functions.php on line 206 sorry -- cannot open write fifo We regret but your voipweb.fast.co.nz confirmation attempt failed. Please contact voip@fast.co.nz for further assistance. 5./ In the backround user is actually added to subscription table but left in pending table too, is this a problem?
prw-rw---- 1 777 wheel 0 Mar 10 16:51 /tmp/ser_fifo I've tried chmod 777 this file many times, doesnt seem to help
Any idea's people? Is this ser_fifo file needed, what does it do? How do I fix serweb?
Barry
P.S. Latest stable Serweb via cvs
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers