Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Failure during 6.1.0 upgrade 

Jun 09, 2014 12:13 PM

After getting to update_db.pl, the migration can fail with an error like this:

Use of uninitialized value $args[0] in join or string at /usr/local/airwave/lib/perl/Mercury/DB/Q.pm line 191, <INFO> line 8.
ERROR: null value in column "poll_period_client_data" violates not-null constraint: update ap_group set poll_period_client_data=? where ap_group.id=? ( 12) at /usr/local/airwave/lib/perl/Mercury/DB/Q.pm line 191

6.1.1 will have a fix. Until that's available you can contact support for help or you can run these 3 commands:

# echo "update ap_group set poll_period_dot11_counters = 0 where poll_period_up_down=1800 and poll_period_dot11_counters=1800 and poll_period_mesh_data=1800 and poll_period_client_data=1800" | db
# root; make
# echo "update ap_group set poll_period_dot11_counters = 1800 where poll_period_dot11_counters=0 and poll_period_up_down=1800 " | db
After getting to update_db.pl, the migration can fail with an error like this:

Use of uninitialized value $args[0] in join or string at /usr/local/airwave/lib/perl/Mercury/DB/Q.pm line 191, <INFO> line 8.
ERROR: null value in column "poll_period_client_data" violates not-null constraint: update ap_group set poll_period_client_data=? where ap_group.id=? ( 12) at /usr/local/airwave/lib/perl/Mercury/DB/Q.pm line 191

6.1.1 will have a fix. Until that's available you can contact support for help or you can run these 3 commands:

# echo "update ap_group set poll_period_dot11_counters = 0 where poll_period_up_down=1800 and poll_period_dot11_counters=1800 and poll_period_mesh_data=1800 and poll_period_client_data=1800" | db
# root; make
# echo "update ap_group set poll_period_dot11_counters = 1800 where poll_period_dot11_counters=0 and poll_period_up_down=1800 " | db
After getting to update_db.pl, the migration can fail with an error like this:

Use of uninitialized value $args[0] in join or string at /usr/local/airwave/lib/perl/Mercury/DB/Q.pm line 191, <INFO> line 8.
ERROR: null value in column "poll_period_client_data" violates not-null constraint: update ap_group set poll_period_client_data=? where ap_group.id=? ( 12) at /usr/local/airwave/lib/perl/Mercury/DB/Q.pm line 191

6.1.1 will have a fix. Until that's available you can contact support for help or you can run these 3 commands:

# echo "update ap_group set poll_period_dot11_counters = 0 where poll_period_up_down=1800 and poll_period_dot11_counters=1800 and poll_period_mesh_data=1800 and poll_period_client_data=1800" | db
# root; make
# echo "update ap_group set poll_period_dot11_counters = 1800 where poll_period_dot11_counters=0 and poll_period_up_down=1800 " | db

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.