[MXS-1176] MaxAdmin quits when executing commands in REPL mode Created: 2017-03-07  Updated: 2017-03-07  Resolved: 2017-03-07

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin
Affects Version/s: 2.0.4
Fix Version/s: 2.0.5

Type: Bug Priority: Minor
Reporter: Onno Steenbergen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Debian GNU/Linux 8.7 (jessie)


Issue Links:
Duplicate
duplicates MXS-1123 connect_timeout setting causes freque... Closed
Problem/Incident
is caused by MXS-1123 connect_timeout setting causes freque... Closed

 Description   

After upgrading from 1.4.3 to 2.0.4 Maxadmin quits when executing any command in REPL mode. Executing direct commands works.

Works:

# maxadmin -h localhost -u admin list servers
Password: 
Servers.
-------------------+-----------------+-------+-------------+--------------------
Server             | Address         | Port  | Connections | Status              -------------------+-----------------+-------+-------------+--------------------

Opening the REPL works, however after entering the first command it stops. The exit code is 0, so it doesn't indicate an error.

# maxadmin -h localhost -u admin
> list servers
# echo $?
0

Relevant config sections:

[maxscale]
threads=4
log_info=0
log_debug=0
log_notice=1
 
[MaxAdmin Service]
type=service
router=cli
 
[MaxAdmin Listener]
type=listener
service=MaxAdmin Service
protocol=maxscaled
address=localhost
port=6603



 Comments   
Comment by markus makela [ 2017-03-07 ]

Possibly related to MXS-1123. If the configuration has any connection_timeout parameters, please try without them.

Comment by Onno Steenbergen [ 2017-03-07 ]

Hi Markus,

It seems that after disabling the connection_timeout the maxadmin interface works.

I added connection_timeout as suggested in MXS-1123 and that resolved the issue.

Thanks,

Onno

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