Seite 1 von 2

Error Software inventory.

Verfasst: 03 Feb 2016, 15:45
von aszykmat
Hello,
Do you know how understand this error ? :shock:

Code: Alles auswählen

lut 03  15:44:05.159  2016 -- Error in setSoftwareInfoPage: java.lang.IndexOutOfBoundsException: Index: -1, Size: 2895
Repeat for few clients.

Regards,
Mateusz

Re: Error Software inventory.

Verfasst: 03 Feb 2016, 21:12
von n.wenselowski
Hi,

is this an error inside configed?

What version are you running?


-n

Re: Error Software inventory.

Verfasst: 04 Feb 2016, 09:38
von aszykmat
Hi,
I saw this message when I want to see software inventory.

OPSI config editor: Version 4.0.6.3.5.1 2015/09/18
OPSI service: 4.0.6.34

After re-audit the error is solved, how to avoid this error ?

Re: Error Software inventory.

Verfasst: 04 Feb 2016, 10:10
von n.wenselowski
Hi,

it seems to be a bug.
So the best way to avoid this is to make a bug report (in the forums) including steps on how to reproduce the problem (what settings are required to trigger the bug).


Kind regards

Niko

Re: Error Software inventory.

Verfasst: 08 Feb 2016, 16:05
von aszykmat
Hi,

Unfortunately, this error repeat and re-audit doesn't solve the problem.

For random client I couldn't see audit:
Bild

Where are precise logs ?

The process audit:
1. Click setup for hwaudit and staudit on-demand or silent_install.
2. Wait for result.
3. Change tab to software inventory
4. See the problem.

Regards,
Mateusz Aszyk.

Re: Error Software inventory.

Verfasst: 08 Feb 2016, 18:07
von n.wenselowski
Hi,

please look in your APPDATA-dir under configed. There should be a configed.log.

On the serverside you could check what the clients send.
Please check /var/log/opsi/opsiconfd/*ip_of_client_running_configed*.log
You may need to increase the loglevel - with at least 7 you will see debug output.

I notified our configed dev. He may have another idea or could build a fix.


-Niko

Re: Error Software inventory.

Verfasst: 09 Feb 2016, 09:39
von aszykmat
Hi,
After audit I have a logs with 2,5K lines, do you need all ?

Logs = 7

Matt.

Re: Error Software inventory.

Verfasst: 10 Feb 2016, 17:41
von n.wenselowski
Hi Matt,

did you check both locations for logs?
Please check if any errors are shown in the log.

If you have the server logs please check if you see any trace of error / failure in there.

If you have the configed.log at hand please post it anyway (maybe on some filehoster...) so our dev can have a look.


-Niko

Re: Error Software inventory.

Verfasst: 11 Feb 2016, 11:23
von aszykmat
Hi Niko,

I found a worrying entry:

Code: Alles auswählen

[7] [Feb 09 12:38:48] Connecting to connection pool (MySQL.py|197)
[7] [Feb 09 12:38:48] Got thread lock (MySQL.py|199)
[7] [Feb 09 12:38:48] Connection pool status: Pool size: 20  Connections in pool: 1 Current Overflow: -19 Current Checked out connections: 0 (MySQL.py|200)
The situation could happen when I run more then 20 audits.

Regards,
Matt

Re: Error Software inventory.

Verfasst: 15 Feb 2016, 09:40
von n.wenselowski
Hi Matt,

No need to worry about the message of the connection pool.
n.wenselowski hat geschrieben:If you have the configed.log at hand please post it anyway (maybe on some filehoster...) so our dev can have a look.

Kind regards

Niko