# Error in logs BufferUtils and show logs in terminal

**URL:** https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590
**Category:** Wowza Streaming Engine
**Created:** [August 11, 2014, 4:47pm UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590 "2014-08-11T16:47:43Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [August 11, 2014, 4:47pm UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/1 "2014-08-11T16:47:43Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [August 11, 2014, 5:04pm UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/2 "2014-08-11T17:04:36Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)
#### Post date: [August 13, 2014, 5:44am UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/3 "2014-08-13T05:44:25Z")

</div>

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:

```auto
# tail -f [path-to-wowza]/logs/[log-file-to-view].log
tail -f /usr/local/WowzaStreamingEngine/logs/wowzastreamingengine_access.log

```

Thanks,

Matt

---

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [August 13, 2014, 11:34am UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/4 "2014-08-13T11:34:58Z")

</div>

> 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-command-examples-to-manage-linux-terminals/](http://www.tecmint.com/screen-command-examples-to-manage-linux-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!

---

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [September 3, 2014, 1:16pm UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/5 "2014-09-03T13:16:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [May 25, 2015, 2:57pm UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/6 "2015-05-25T14:57:29Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [June 4, 2015, 11:43am UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/7 "2015-06-04T11:43:53Z")

</div>

Does Anybody can help me?

---

<div class="post-metadata">

### Author: ![Sergey\_Zykov](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Sergey\_Zykov](https://community.wowza.com/u/Sergey_Zykov)
#### Post date: [June 30, 2015, 5:53pm UTC](https://community.wowza.com/t/error-in-logs-bufferutils-and-show-logs-in-terminal/43590/8 "2015-06-30T17:53:38Z")

</div>

UP!
