AST_update_AMI2.pl script issue
Posted: Sun May 09, 2021 7:33 pm
Hi All,
We've been having a strange issue where across 4 machines & installs, the AST_update_AMI2.pl script has been hanging and not updating the server after the nightly reboot. I have tried restarting every service under the sun (vicidial, mariadb, wicked, apache, firewall) and it still refuses to update. But it's all fixed after a manual restart. I've posted the response where it hangs below.
It is affecting a variety of servers in different clusters on different physical machines ranging from OpenSUSE 15.1 SVN 3336 to OpenSUSE 15.2 SVN 3429. It seems to only be the primary dialers which are affected but they are all whitelisted off. Nothing too special to note in boot.log or journalctl either. Any ideas of where to look next?
We've been having a strange issue where across 4 machines & installs, the AST_update_AMI2.pl script has been hanging and not updating the server after the nightly reboot. I have tried restarting every service under the sun (vicidial, mariadb, wicked, apache, firewall) and it still refuses to update. But it's all fixed after a manual restart. I've posted the response where it hangs below.
- Code: Select all
perl AST_update_AMI2.pl --debugX
----- DEBUGGING ENABLED -----
----- SUPER-DUPER DEBUGGING -----
|1|SELECT count(*) FROM server_updater where server_ip='REDACTED';|
|1|SHOW TABLES LIKE "cid_channels_recent_103149217090";|
1|cid_channels_recent_103149217090|SHOW TABLES LIKE "cid_channels_recent_103149217090";
----- AMI Version 2.10.5 -----
2021-05-10 09:57:40
|Channel List:
|total_channels|0
0 channels recieved out of 0 reported.|0|
|SELECT extension, protocol FROM phones where server_ip='REDACTED' and phone_type NOT LIKE "%trunk%"|
callin|EXTERNAL
gs102|SIP
UPDATE server_updater set last_update='2021-05-10 09:57:40' where server_ip='REDACTED'
It is affecting a variety of servers in different clusters on different physical machines ranging from OpenSUSE 15.1 SVN 3336 to OpenSUSE 15.2 SVN 3429. It seems to only be the primary dialers which are affected but they are all whitelisted off. Nothing too special to note in boot.log or journalctl either. Any ideas of where to look next?