by Ken Task.
That value for max_packets looks to be 1M. If you have entered a value in my.cnf did you include the designator for the size? (M,G)
max_allowed_packet=16M
Query to see what that value is currently:
SHOW VARIABLES LIKE 'max_allowed_packet';
'spirit of sharing', Ken