[MXS-3075] 2.4.11, monitor custom script error Created: 2020-07-17  Updated: 2020-12-08  Resolved: 2020-12-08

Status: Closed
Project: MariaDB MaxScale
Component/s: Monitor
Affects Version/s: 2.4.11
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: wilsonlau Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None


 Description   

2020-07-17 03:12:57 error : Script returned 127 on event 'new_master'. Script was: '/var/opt/maxscale/monitor.sh --initiator=[galera-0.galera-headless.galera]:3306 --parent= --children= --event=new_master --node_list=[galera-0.galera-headless.galera]:3306 --list=[galera-0.galera-headless.galera]:3306 --master_list=[galera-0.galera-headless.galera]:3306 --slave_list= --synced_list=[galera-0.galera-headless.galera]:3306'



 Comments   
Comment by markus makela [ 2020-07-17 ]

https://stackoverflow.com/questions/1763156/127-return-code-from

Maybe a missing command in your script?

Comment by wilsonlau [ 2020-07-19 ]

same script path is right in 2.4.10, but happen error in 2.4.11
-------------------

Comment by markus makela [ 2020-08-25 ]

Can you provide an example script that reproduces this problem?

Comment by markus makela [ 2020-12-08 ]

I'll close this as incomplete as it looks like a user error. Once we get a test script we'll know more.

Generated at Thu Feb 08 04:18:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.