Results 1 to 8 of 8

Thread: Error in logs BufferUtils and show logs in terminal

  1. #1

    Question Error in logs BufferUtils and show logs in terminal

    Good afternoon!
    I have this problem a lot of time! But only now I decided to descibe it.
    I stream some ip cameras and after some time in logs I saw this string^
    BufferUtils.decodeHexString: java.lang.StringIndexOutOfBoundsException: String index out of range: 2
    It's repeat many times.
    Could you help me with it?

    And second problem is
    I start wowza on ubuntu server in screen. And of course I saw "live" logs. But sometimes utility screen is down, but wowza still work. And I don't see the logs. How can I open this live logs in terminal without restart wowza with /bin/.startup.sh ? Thank you!

  2. #2

    Default

    Hi,

    regarding your first problem - is this something in the logs but not affecting your live stream? Please describe your hardware/OS setup, Wowza version, impact to stream etc.

    I'm not quite sure what you mean with the secondary issue. It sounds OS related to me. Are you running Wowza using startup.sh rather than as a startup service?


    Paul

  3. #3

    Default

    Quote Originally Posted by Paul_S View Post
    Hi,

    regarding your first problem - is this something in the logs but not affecting your live stream? Please describe your hardware/OS setup, Wowza version, impact to stream etc.

    I'm not quite sure what you mean with the secondary issue. It sounds OS related to me. Are you running Wowza using startup.sh rather than as a startup service?


    Paul
    Paul, ok, i try to describe it fully.

    Problem 1:
    Yes, you are right. It's only in logs and didn't affect on streams. But I don't understand why it shows! I watch the logs often and this repeat of the string is not good for me. What should I do to fix it? Thank you.

    Problem 2:
    Ubuntu 12.04 server is placed on my server. To start Wowza I use this path ==> /usr/local/WowzaStreamingEngine/bin/.startup.sh . And of course, after this in the terminal I saw all connect, all logs online. You are right in this: "Are you running Wowza using startup.sh rather than as a startup service?" - Yes. Because, when I start wowza as a service I don't see this logs in terminal. My question was How can I see the wowza logs when I start wowza as a service?
    For ex: Wowza work perfectly, and I want for an hour to watch this logs. How can I do this?
    ps: previously i used the word "screen". It's linux utility (http://www.tecmint.com/screen-comman...nux-terminals/) . Because I wanted to watch the wowza logs, I started wowza /usr/local/WowzaStreamingEngine/bin/.startup.sh in "screen" and latter I minimaze it and work this server.
    That's all. Waiting for an answers. Thank you!

  4. #4
    Join Date
    May 2013
    Posts
    680

    Default

    Hello

    We may be able to determine the issue for the repetitive logging errors if you could provide some more context surrounding that period of time. i.e. Get the logs previous to the error starting to occur and paste them in here as well.

    As far as viewing the logs in realtime without starting Wowza in standalone mode (i.e. starting in service mode), you might be looking for the tail command. Please try something like the following:
    # tail -f  [path-to-wowza]/logs/[log-file-to-view].log
    tail -f /usr/local/WowzaStreamingEngine/logs/wowzastreamingengine_access.log
    Thanks,

    Matt

  5. #5

    Default

    matt_y, thank you! "tail" utility help me!
    But what about the buffer, I don't know. It shows when ip camera is down and some time don't work.

  6. #6

    Default

    I want to reopen this theme. Because it's a real problem!
    We stream some ip cameras on our server. And sometimes it's down. Wowza try to connect to this camera. After 1, 2 days in logs I see one string that repeat a lot of time:

    BufferUtils.decodeHexString: Java.lang.StringIndexOutOFBoundsException: String index out of range 2

    It's repeat many time! And in Wowza web interface I see that Total Memory is increase.
    What should we do in this case? Thank you!

  7. #7

    Default

    Does Anybody can help me?

  8. #8

    Default

    UP!

Similar Threads

  1. Error logs after installing Wowza 4
    By dhamibirendra in forum General Forum
    Replies: 2
    Last Post: 08-28-2014, 08:36 AM
  2. Replies: 1
    Last Post: 07-19-2012, 07:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •