Apache servers run tasks under the default userid of 
'nobody'.  If this is the case then  the nobody user has no home
directory and  a minimal environment of its own.

In that case you would need to set up a proper environment explicitly.

Rudy
On Thu, May 27, 2004 at 11:24:39AM +0200, Bram Vermeer wrote:
> I have read earlier discussions about segmentation faults in this list, but 
> they didn't solve my problems.
> 
> Trplayer works perfectly from the command line on different systems (e.g. 
> Suse Linux 9.0 and 9.1, with 2.4 and 2.6 kernels respectively). I can also 
> start trplayer in the background from scripts that are started from the 
> command line.
> 
> However, i have embedded trplayer in a screenless pc. This pc has an 
> internal webserver, with scripts that can start trplayer to listen to 
> streams. These scripts work fine from the commandline, but when they are 
> started by the apache web server, a segmentation fault occurs (apache 1 and 
> apache 2 versions have the same behaviour).
> 
> I also tried to start trplayer with a cronjob or a daemon that is 
> automatically started after booting the pc, but a similar segfault occurs.
> 
> These procedures work fine with other command line stream players, such as 
> ogg123 and mplayer. There is enough memory space available, and i 
> double-checked permissions.
> 
> Apperently there is something missing in the environment. I tried the 
> REALPLAYER_HOME environment variable, without any succes.
> 
> After many hours trying, I still have no clue.
> 
> Your help is very welcome!!
> 
> Bram
> 

Reply via email to