Grant,

Ben H Kram just posted one ("Here's a SysV style rc init script for 
Red5") which could be easily adapted for Fedora, I guess.

Regards,
Timon

Grant Kohler schrieb:
> I haven't been able to find an init script...that's ideally what I would
> like to have done...can you point me to one?  I'm still a bit new to the
> whole red5 system as it is...
> 
> -Grant
> 
> -------------------------------------
> Grant Kohler
> [EMAIL PROTECTED]
> REACHMDConsult, Inc.
> http://www.reachmdc.com/
> (770) 853-3556
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Timon Reinhard
> Sent: Friday, June 22, 2007 10:55 AM
> To: [email protected]
> Subject: Re: [Red5] sudo red5 problem
> 
> I was wrong, quite sure sudo dropped your $JAVA_HOME (an java 1.4 seems 
> to be in your path). You can configure /etc/sudoers to keep certain 
> environment variables after sudo.
> 
> (Why don't you simply start the server via an init script on system boot?)
> 
> Regards,
> Timon
> 
> Grant Kohler schrieb:
>> Is there a way to change the $JAVA_HOME environment for sudo?
>>
>> Thanks, 
>> -Grant
>>
>> -------------------------------------
>> Grant Kohler
>> [EMAIL PROTECTED]
>> REACHMDConsult, Inc.
>> http://www.reachmdc.com/
>> (770) 853-3556
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Timon Reinhard
>> Sent: Friday, June 22, 2007 9:56 AM
>> To: [email protected]
>> Subject: Re: [Red5] sudo red5 problem
>>
>> Hi Grant,
>>
>> I guess your $JAVA_HOME environment variable points to the installation 
>> path of 1.4 (after sudoing)...
>>
>> How do you start red5? Using red5.sh?
>>
>> Regards,
>> Timon
>>
>>
>>
>> Grant Kohler schrieb:
>>> All, 
>>>
>>>    I'm using red5 on a Fedora Core 5 box.  I'm trying to run the red5
>> server
>>> as a regular user and not root, however that presents the problem that
> you
>>> can't run rtmpt over port 80 unless you have root privileges.  I decided
>> to
>>> give sudo privileges for the user I want to run red5 as to run apache ant
>>> and I've successfully done that.  However, every time I run the sudo ant
>>> server command as the regular user in the red5 directory, the installed
>>> version of ant tries to use the default version of java that was
> installed
>>> on the linux box which is 1.4 which I know won't work with red5 when you
>> are
>>> trying to bind it to a port lower than 1024.  I have a version of java
> 1.5
>>> installed on the linux box, and when I run the command java -version as
>> both
>>> the regular user and root user it tells me the version it's using is the
>>> java 1.5, however for some reason the sudo command I'm running keeps
>> trying
>>> to use the 1.4 version of java.  Is there a separate classpath to set
> when
>>> using sudo?  I really have no idea what else to try, any suggestions
> would
>>> be much appreciated!
>>>
>>>  
>>>
>>> Thanks, 
>>>
>>> -Grant
>>>
>>>  
>>>
>>> -------------------------------------
>>>
>>> Grant Kohler
>>>
>>> [EMAIL PROTECTED]
>>>
>>> REACHMDConsult, Inc.
>>>
>>> http://www.reachmdc.com/
>>>
>>> (770) 853-3556
>>>
>>>  
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
> 
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 

-- 
Netnoise Medienproduktion
Timon Reinhard & Volker Löw GbR
Erbacher Str. 41 - 64756 Mossautal
T: +49-(0)1805-801250 (0,14 €/min)
F: +49-(0)1805-801260 (0,14 €/min)
http://www.netnoise.de

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to