Difficulty getting JabberCamApp to respond (server handshake too long error)



  • @'JabberCam':

    The reason why I was suggesting a MySQL connection-related problem is because we encountered similar issues only when there was something wrong with connecting the java application to the MySQL database. Did you check /etc/my.cnf and restart mysqld?

    If the jar files are there and skip-networking is removed from my.cnf, the JabberCam App should show up. There can be further issues with connecting to RTMP (firewall etc.) but if the above are correct it should work. The community did it hundreds of times last year.

    Found the issue. Looks like I missed a step after all:

    edit /ChatrouletteApp/WEB-INF/red5-web.properties and fill in your database details
    

    Can we pretend I never posted here? :s

    Thanks a lot :D



  • the red5-web.properties located under /JabberCamApp/WEB-INF should look something like this (cPanel):

    webapp.contextPath=/JabberCamApp
    webapp.virtualHosts=*, localhost, localhost:8088, 127.0.0.1:8088
    db.username=username_dbuser
    db.host=localhost
    db.database=username_database
    db.password=dbpassword
    filter.timeout=15
    ban.timeout=90
    ban.numReportsToBan=9

    *sometimes people miss the username_databasename format on cPanel servers or leave the "host" at db.host instead of "localhost"; on Godaddy, the MySQL host-name is the most common mistake


    @'flora':

    @'JabberCam':

    The reason why I was suggesting a MySQL connection-related problem is because we encountered similar issues only when there was something wrong with connecting the java application to the MySQL database. Did you check /etc/my.cnf and restart mysqld?

    If the jar files are there and skip-networking is removed from my.cnf, the JabberCam App should show up. There can be further issues with connecting to RTMP (firewall etc.) but if the above are correct it should work. The community did it hundreds of times last year.

    Found the issue. Looks like I missed a step after all:

    edit /ChatrouletteApp/WEB-INF/red5-web.properties and fill in your database details
    

    Can we pretend I never posted here? :s

    Thanks a lot :D

    Meanwhile I posted the same thing … it is a common mistake ;)



  • suposably the same issue however
    i did movet he jars
    i did chagne the properties
    the post tester finds chat roulete
    but doest find the jabbercamapp
    at all ports
    what am i missing?
    i use red5 0.8
    on centos
    with rvc 5.6

    help?



  • Make sure you don't have the java applications in both places, red5/lib and JabberCamApp/WEB-INF/lib folders.
    Try turning off CSF firewall from WHM
    edit /etc/my.cfg as described



  • ok turned off firewall
    my.cfg:
    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    user=mysql

    Default to using old password format for compatibility with mysql 3.x

    clients (those using the mysqlclient10 compatibility package).

    old_passwords=1

    Disabling symbolic-links is recommended to prevent assorted security risks;

    to do so, uncomment this line:

    symbolic-links=0

    [mysqld_safe]
    log-error=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid


    also nothing in /WEB-INF/LIB
    it is empty


    after a week of trilling forums for answears i am ready to give up
    if someone can install it for me
    name your price….



  • also could it be that my centos doesnt have the xsi libraries installed
    so if anyone could pinpoint the libraries i need to install to make the red5-web.xml work?



  • ok so it seems my problem goes even deeper than that
    probably because i got jaja 6u26 installed
    so the jabbercamapp.class sends me an error and dies
    any thoughts?



  • most of the time connecting to MySQL fails, this is where I would look.
    make sure you have tomcat (RVC runs inside tomcat)
    if you see the app on the admin, try figuring out why the RTMP link is blocked
    try a fresh install from start (just delete Red5 and re-start the process, step by step with attention to every single detail): http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-server



  • well there is a problem with that too i cant install admin
    tried all the way
    auto manual
    moving jars
    practicly everything
    i guess it is somewear in mysql connections too
    perhaps java doest have permissions or i am missing pachages



  • ok so it seems that not all vps servers have tomcat by default
    please note that you might have to install tomcat6 at the instalation manual
    thank you for all the help


 

Looks like your connection to H7 was lost, please wait while we try to reconnect.