Looks like you don’t have enough RAM… how much RAM did you allocate?
Another options is the values for:
# sysctl -a|grep shm
kernel.shmall = 2097152
kernel.shmmax = 33554432
Are too low. If so, try raising them.
Note that Nginx is only needed if you intend to use On-the-fly repackaging of MP4 files to DASH, HDS, HLS, MSS, otherwise, it isn’t strictly necessary.
This means that you currently have libtomcat6-java installed whereas red5 requires libtomcat7-java.
You can check why the version 6 was installed with:
# aptitude why libtomcat6-java
if nothing you need needs it, you can remove it.
Note that Red5 is only needed if you intend to do web cam recording from the KMC, otherwise, it is not needed.
I get the following error still when attempting to instally RED5 and I am not able to uninstable the conflicting java.
aptitude remove libtomcat6-java
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The results of the why command are as follows. Please provide suggestions on how to resolve this issue.
aptitude why libtomcat6-java
i popularity-contest Suggests anacron
p anacron Recommends rsyslog | system-log-daemon
p syslog-ng-core Provides system-log-daemon
p syslog-ng-core Suggests syslog-ng-mod-stomp
p syslog-ng-mod-stomp Suggests activemq
p activemq Depends libactivemq-java (= 5.6.0+dfsg-1+deb7u1build0.14.04.1)
p libactivemq-java Depends libspring-context-java
p libspring-context-java Recommends libtomcat6-java