Red5 not starting on osx

Post your questions and bug-reports about the audio/video streaming add-on based on Red5 Media Server.

Moderators: Lapo, Bax

podenphant
Posts: 12
Joined: 14 Sep 2009, 20:51
Location: Aarhus, Denmark
Contact:

Red5 not starting on osx

Postby podenphant » 20 Oct 2009, 19:26

Hi,

I'm on osx (and fairly new to that as well as sfs).
Sfs is running smoothly, but it seems red5 doesn't launch.

Let me give you some info:
- I am correct that red5 doesn't run silently in the background?
- I doubble click the Red5 icon and the response is that the icon scales up while fading out. Is this supposed to happen?

Code: Select all

   avCastMan = new AVCastManager(sfs, sfs.ipAddress, true);

Code: Select all

avCastMan.addEventListener(RedBoxCastEvent.onAVConnectionError, onAVConnectionError)
fires this errorCode
'NetConnection.Connect.Failed'

Any clues to what is wrong?

Best regards
Kristian
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 23 Oct 2009, 12:57

Let me give you some info:
- I am correct that red5 doesn't run silently in the background?

Yes, correct. When launched it will log lots of boot info in the console.

- I doubble click the Red5 icon and the response is that the icon scales up while fading out. Is this supposed to happen?

No.
Try the following:
open a terminal window
change directory to {your-sfs-folder}/Server/RedBox
type: ./red5.sh

This should start the Red5 server correctly
Lapo
--
gotoAndPlay()
...addicted to flash games
podenphant
Posts: 12
Joined: 14 Sep 2009, 20:51
Location: Aarhus, Denmark
Contact:

Postby podenphant » 27 Oct 2009, 15:38

Hi,

I dragged 'red5.sh' into Terminal and hit Enter.
-bash: /Users/kristianlund/Documents/kpodenphant/Smartfoxserver Pro/Server/RedBox/red5.sh: Permission denied
kristian-lunds-macbook-pro:~ kristianlund$

I do have read and write permissions.
I guess this is more a osx issue than sfs issue.
Still I would appreciate any help or suggestions?

Regards
Kristian
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 27 Oct 2009, 15:53

Hi,
probably you are missing execution permissions, which is necessary for any executable script

You can solve the issue easily:
- open a terminal in the RedBox folder
- type: chmod +x start.sh
- type: ./start.sh

That should be all
Lapo

--

gotoAndPlay()

...addicted to flash games
podenphant
Posts: 12
Joined: 14 Sep 2009, 20:51
Location: Aarhus, Denmark
Contact:

Postby podenphant » 27 Oct 2009, 16:15

THANKS.

This worked and red5 started.

Note:
The shell file is called 'red.sh' not 'start.sh'

Thanks a bunch
Kristian
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 27 Oct 2009, 16:43

Ah yes sorry, I am too used to the SFS script names.
Glad it is working correctly now.
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “RedBox”

Who is online

Users browsing this forum: No registered users and 15 guests