[MXS-284] using command history in maxadmin doesn't work on centos 7.1 Created: 2015-07-23 Updated: 2017-09-15 Resolved: 2017-01-16 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | maxadmin |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.4.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jean-Francois Theroux | Assignee: | Esa Korhonen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Sprint: | 2017-25 | ||||||||
| Description |
|
I've installed MaxScale 1.2.0 on Centos 7.1.1503 this morning. I've noticed an issue with maxadmin though: i can't use the up arrow to access old commands that have been typed in. You can see the attached screenshot to see what happens. Also, I currently have libedit-3.0-12.20121213cvs.el7.x86_64 installed. |
| Comments |
| Comment by markus makela [ 2015-09-22 ] | ||||||
|
libedit needs to be installed on he build machine in order for the command history to work. | ||||||
| Comment by markus makela [ 2015-11-02 ] | ||||||
|
failshell Can you try again with 1.2.1? | ||||||
| Comment by Jean-Francois Theroux [ 2015-11-02 ] | ||||||
|
Sadly, I get the same error. | ||||||
| Comment by markus makela [ 2015-11-02 ] | ||||||
|
What is the ldd output for your installation's maxadmin? For comparison, here is one from a CentOS 7 VM with MaxScale 1.2.1:
The libtinfo.so seems to be provided by ncurses-devel but on the VM the package isn't installed. Can you try installing this package and trying if it fixes your problems? | ||||||
| Comment by Jean-Francois Theroux [ 2015-11-02 ] | ||||||
|
[centos@ip-10-148-98-179 ~]$ sudo ldd /bin/maxadmin MaxScale is designed to provide load balancing and high availability | ||||||
| Comment by Jean-Francois Theroux [ 2015-11-02 ] | ||||||
|
I installed ncurses-devel and it's stil not working. | ||||||
| Comment by markus makela [ 2015-11-02 ] | ||||||
|
Thank you for a quick reply. It seems there is something wrong with the build process for CentOS 7, we'll let you know when we have more information. | ||||||
| Comment by markus makela [ 2016-08-30 ] | ||||||
|
Adding readline support for maxadmin is one way to fix this. | ||||||
| Comment by Esa Korhonen [ 2017-01-16 ] | ||||||
|
After testing MaxScale 1.4.4 in CentOS 7, it seems MaxAdmin is working as intended. The command history requires that the libedit-devel package is installed when configuring and compiling. Please upgrade to 1.4.4 and retry. |