This is copy from question of some guy on other forum that never got satisfiably answered.
I encountered the same error few days ago on Ubuntu 13.04 Desktop.
It seems like Red5 is installed but it cannot be run for some reason.
Can anyone explain what is going on here? Why should dpkg fail?
I mean, this is checked repo, it should work fine.
apt-get install red5-server
Selecting previously deselected package red5-server.
(Reading database ... 53491 files and directories currently installed.) Unpacking red5-server (from .../red5-server_0.9.1-4squeeze1_all.deb) ...
Setting up red5-server (0.9.1-4squeeze1) ...
Starting Flash streaming server : red5-server failed!
invoke-rc.d: initscript red5-server, action "start" failed.
dpkg: error processing red5-server (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
red5-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Logfile error.log in /usr/share/red5/log was completely empty.
Other logs were not but according to them, there were no problems at all.
I solved the problem, but I doubt that other people to whom the same happens will be happy with the solution.
I tried everything I know, then I lost my nerves and reinstalled whole Ubuntu.
Put on Ubuntu server 12.10.
I discovered that Ubuntu 13 is not quite stable, and must admit that I am somewhat angry with the developers.
Well, on Ubuntu 12.10 I did:
# apt-get install red5-server
without getting java in advance, and everything went fine.
But afterwards I succeeded only to run the Red5 HTTP server, but any demo i tried to run never connected to it and never played any VOD.
In fact, I tried to install adminpanel plugin, but this crashed whole Red5 and it was unable to start.
I deleted the plugin, and Red5 started again normally.
Finally I went mad and gave up on Red5. Installed Flumotion instead and cannot tell that I have more success with it.
Nevertheless it would be nice if someone finally give us the real answer to the question.