Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Why can't I upload ocsagent.exe

 Hello,

I'm having an issue with uploading ocsagent.exe to Config - Agent. It's telling me I exceeded  the 'max_allowed_packet' bytes and the file needs to be < 1MB but when I checked the my.conf file max_allowed_packet is set to 100M. The file I am trying to upload comes directly from ocs-ng dowloands and is only 1.15 MB. Any idea why I can't upload this file since it's small than 100MB?

in OCS Inventory NG agent for Windows by (210 points)

1 Answer

0 votes
Hi,

Check also your post_max_size and upload_max_filesize in your php.ini
by (880 points)

Thanks Humulus. I change both to 100M but no change. The error still references MYSQL

 

MySQL error:1153
Got a packet bigger than 'max_allowed_packet' bytes

According to the first hit on Google: http://stackoverflow.com/questions/93128/mysql-error-1153-got-a-packet-bigger-than-max-allowed-packet-bytes

change the my.cnf or my.ini file under the mysqld section and set:

max_allowed_packet=100M

 
 
Powered by Question2Answer
...