Server: SuSE Linux Enterprise Server 10
Apache/2.2.3
mysql Ver 14.12 Distrib 5.0.18, for suse-linux (i686) using readline 5.1
PHP 5.1.2 (cli) (built: Nov 7 2006 14:30:25) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Moodle chat daemon v1.0 on PHP 5.1.2 ($Id: chatd.php,v 1.31 2007/01/03 14:44:45 moodler Exp $)
Moodle 1.7.x
client: SuSE Linux Enterprise Desktop
Firefox 1.5.0.9
Server setup:
cront tab: @reboot /srv/www/htdocs/moodle/mod/chat/mdl-chat-daemon.sh
- mdl-chat-daemon.sh
#! /bin/bash
cd /srv/www/htdocs/moodle/mod/chat/
php5 chatd.php --start >/var/log/moodlechat.log &
I am experiencing two loss of function scenarios:
1. The process, "php5 chatd.php" exits without logging an error to std_out. As you can see from my (albeit very basic) start script that I'm redirecting std_out to a file instead of using the chatd.php start script logging option.
2. The process, "php5 chatd.php -start" as listed with ps -ef, is still running, and I can establish a telnet connection to port 9111, but the chat window within the remote Firefox broswer has stopped functioning, and more times that not, when this occurrs, Firefox hard crashes, and exits. I've never seen Firefox crash before-ever. If no one else is experiencing the Firefox crashes, or the chat window not working even though the server daemon is still accepting incoming connections, then this may be due to the XGL 3D desktop. Look at the "window open ()" function for the chat pop up window. I'm not certain, but it seems the Firefox crash usually occurs when I rotate the desktop. The Firefox crash only occurs when I have Moodle chat open. I have not tested this scenario with other browsers, or Firefox on my system with xgl disabled, so I don't know if this issue is client or server. I will do further client side testing and report back.
I may file a separate bug report on #2 depending on the results of my testing.
From Jon Papaioannou (pj at moodle.org) Friday, 11 November 2005, 12:07 AM:
Just found this, assuming ownership so that it shows up on my lists ...