wymwon / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

Windows security limitations block demos installers (etc?) #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Original Bug from Trac:
Using Windows Server 2008, just installed 0.9.1 fresh. Shutting down Red5 as a 
Windows service (using the stop script), I ran Red5.bat (rather than the start 
script). This enabled me to run the demo installers whereas before, when just 
running as a Windows service, I only got a "{DEMO} was not installed" and the 
errors.log file showed "[NioProcessor-1] ERROR 
org.red5.server.service.Installer - Unable to connect to  
http://red5.googlecode.com/svn/snapshots/".
Running it as myself, as I am an admin, the problem was fixed. But this means 
that something needs to get documented as to what to change security-wise to 
make this work w/ the default installation which uses Local System user.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by daccatt...@gmail.com on 26 Jan 2011 at 8:44

GoogleCodeExporter commented 9 years ago

Original comment by daccatt...@gmail.com on 26 Jan 2011 at 8:54

GoogleCodeExporter commented 9 years ago
I'm experiencing the same problem also on a new install today.

Not only am I getting the same error message about snapshots and unable install 
any of the demo apps (even when started by red5.bat) but it also:

org.apache.catalina.startup.Embedded - Cannot find specified temporary folder 
at C:\Windows\system32\config\systemprofile\AppData\Local\Temp\

I've tried rnning it via service (as local system user) and the method 
suggested above but nothing's helping.

Original comment by peterbat...@gtempaccount.com on 26 Jan 2011 at 10:51

GoogleCodeExporter commented 9 years ago
Hi, sorry me again.

Ok, also now managed to get it working using red5.bat (and stopping the windows 
service).  But it's not ideal as you cant leave a cmd window open all day on a 
server and expect no one to accidently close it.

Bit of a stab in the dark here but I've been doing some digging.

On this ticket for a previous version (0.8) and separate issue:

http://red5.org/ticket/643

It mentions.... "This is not an issue in the 0.9 installers, please update to 
one of these. Also be aware that the windows service wrapper does not support 
64 bit java in its free version (which we use)."

The server we're using is server 2008 and 64bit JDK 

"C:\Program Files (x86)\Red5\wrapper.exe" -s "C:\Program Files 
(x86)\Red5\conf\wrapper.conf"

is the contents of the windows service so I'm wondering if that may be the 
problem.  I dont have time at the moment to uninstall 64bit JDK and replace 
with it with 32bit until later, but will keep you posted.

Daccat are you also using 64bit JDK?

Original comment by peterbat...@gtempaccount.com on 27 Jan 2011 at 4:55

GoogleCodeExporter commented 9 years ago
Just tried it, no luck.  Back to the drawing board.

Original comment by peterbat...@gtempaccount.com on 27 Jan 2011 at 5:31

GoogleCodeExporter commented 9 years ago
fghnhj

Original comment by jomon...@gmail.com on 3 May 2011 at 9:52

GoogleCodeExporter commented 9 years ago
Hi, 

If you are behind proxy, then you may try this method:-

Please make the following to your red5.sh/red5.bat

add this line,
export JAVA_OPTS="$JAVA_OPTS  -Dhttp.proxyHost=<your proxy ip> 
-Dhttp.proxyPort=<your proxy port> "

under this line
export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS"

Example:
My Red5.sh looks like this:
export JAVA_OPTS="$JAVA_OPTS  -Dhttp.proxyHost=123.5.6.90 -Dhttp.proxyPort=708 "
export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS"

Restart Red5.sh/Red5.bat and check this url again:
http://<your-ip>:5080/installer

Regards
D Durga Prasad

Original comment by ddpra...@gmail.com on 7 Jun 2011 at 9:59

GoogleCodeExporter commented 9 years ago
@D Durga Prasad How to setup proxy username and password ? 

Original comment by shind...@gmail.com on 26 Sep 2011 at 1:25

GoogleCodeExporter commented 9 years ago
I'm experiencing the same problem....
i' am installing this on the windows 7 32 bit...behind the proxy

i added the line in red5.bat file present in red5 directory  
set JAVA_OPTS="%JAVA_OPTS  -Dhttp.proxyHost=123.5.6.90 -Dhttp.proxyPort=708

but still i am unable to see the installer page

Original comment by zohaib1...@gmail.com on 1 Feb 2012 at 10:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was facing the same issue too in Win XP 32 bit.Just add line 

set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=<your proxy ip> 
-Dhttp.proxyPort=<your proxy port>

below the line set JAVA_OPTS=%LOGGING_OPTS% %SECURITY_OPTS% %JAVA_OPTS% in the 
Red5.bat file.Restart the server and it should solve the problem.If it doesn't 
then try installing a fresh copy of the server and make changes there.It should 
work then.In the above post I noticed a % missing in the variable 
JAVA_OPTS.That may b a reason for the failure.

Original comment by deepanka...@gmail.com on 22 Mar 2012 at 5:06

GoogleCodeExporter commented 9 years ago

Original comment by mondain on 18 May 2012 at 11:09