Previous Thread
Next Thread
Print Thread
Centos 9 working? #36669 21 Sep 23 09:52 AM
Joined: Jan 2003
Posts: 133
D
Dominic - Madics Systems Ltd Offline OP
Member
OP Offline
Member
D
Joined: Jan 2003
Posts: 133
Hi,

Does anyone have a working Centos 9/ATE combo? I tried this in 2022 and ATE failed to connect to Centos 9 as expected. I wasn't able to spend a lot of time trying anything as the server had to be working, so they changed the VM to Centos 8. Now they want to change to Centos 9 again for some Cyber Essentials thing.

Dom

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36670 21 Sep 23 03:52 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Well... I happen to have such a thing! I'm not sure there's any particular issue on the ATE side, but there were a lot of issues on the CentOS 9 side, the largest of all being the painful pivot from 32 bit to 64 bit executables. (Your intrepid colleague Steve will hear more than he want about this topic next month at the Conference.) So this is still definitely a beta, but outside of FastCGI, I think it's all working. I suggest starting with a complete install:

ash-6.5.1741.1-el9-x86_64.bin

If you're having trouble connecting to it from ATE, you should probably start by grabbing the latest ashw32.exe from ash-6.5.1741.1-w32-upd.zip; if that doesn't resolve it we may need to look closer, but I didn't run into any particular issues other than making sure the sshd service was open.

A couple of important notes:

1) The installer will put all the executables in the /bin64 subdirectory, so you may need to adjust your PATH and/or startup commands. There's nothing stopping you from moving them to the /bin directory, but it seemed like good housekeeping to use a separate directory, especially if you end up wanting to run the 32 and 64 bit versions side by side.

2) Similarly, the library links will be installed in /usr/lib64 rather than /usr/lib. Here's how mine look in my latest test install. (Note that all of the 64 bit libraries have -el9-x86_64 suffixes.
Code
$ ls -l /usr/lib64/libash*
lrwxrwxrwx. 1 root root 59 Sep 15 12:21 /usr/lib64/libashmysql8.so.1 -> /vm/repo/65/65core/bin64/libashmysql8.so.1.6.148-el9-x86_64
lrwxrwxrwx. 1 root root 54 Sep 15 12:56 /usr/lib64/libashmysql.so.1 -> /vm/miame1741/bin64/libashmysql8.so.1.6.148-el9-x86_64
lrwxrwxrwx. 1 root root 52 Sep 15 12:56 /usr/lib64/libashnet.so.1 -> /vm/miame1741/bin64/libashnet.so.1.14.190-el9-x86_64
lrwxrwxrwx. 1 root root 52 Sep 15 12:56 /usr/lib64/libashodbc.so.1 -> /vm/miame1741/bin64/libashodbc.so.1.4.120-el9-x86_64
lrwxrwxrwx. 1 root root 51 Sep 15 12:56 /usr/lib64/libashtls.so.1 -> /vm/miame1741/bin64/libashtls.so.1.3.217-el9-x86_64

3) The one application area that required adjustment for the 64 bit environment was the Excel library (aka AXL). The issue there is that the library uses 64 bit handles in the 64 bit environment. Previously we were storing those as B,4 variables; we had to switch to X,8 which unfortunately required a lot of adjustments since X acts like a string and so is not always a one-to-one replacement for B. I'm still looking at some issue there, so if you have any programs that use the API directory (libxl.bsi) or CSV2XL or PRTXLS, we may need another round to get that right.

4) One big advantage of the pivot to 64 bit is that Linux users can now use AXL to connect to SQL Server directly using the Microsoft ODBC connector, instead of having to use a Windows proxy (as you've been doing) or purchasing the third-party commercial ($$$) connector.

Let me know how it goes!

Last edited by Jack McGregor; 21 Sep 23 03:54 PM. Reason: Added note 4
Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36671 22 Sep 23 09:07 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline
Member
Offline
Member
Joined: Sep 2003
Posts: 4,158
Not one to update to Centos 9 tomorrow then crazy
I did try the 64/Ashell for a few minutes that Jack you installed on my Synology/NAS/CentOS Stream 8 and it very soon had issues...(so i left it one for a rainy day or a conference...)
one example:


Code
22-Sep-23 10:02:58 [p359715-1]<STDESK:INIX:1917> MX_USRIO module #0 not found, op=1
22-Sep-23 10:02:58 [p359715-1]<STDESK:INIX:1917> idx 1: name:AM62CG.IFX, bytes=656, flags=&h4
22-Sep-23 10:02:58 [p359715-1]<STDESK:INIX:1917> idx 2: name:LITMSG.USA, bytes=13413, flags=&h8
22-Sep-23 10:02:58 [p359715-1]<STDESK:INIX:17ca> SIGSEGV trapped on: TSKAAA (steve)

Attached Files Screenshot 2023-09-22 100332.png
Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36672 22 Sep 23 03:35 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Although there have been several SEGV issues found and fixed since that version I installed for you a few weeks back, it appears that there is still an issue with INIX. So thanks for the heads up! An update will be on the way shortly (for when you have nothing better to do).

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36673 22 Sep 23 03:38 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline
Member
Offline
Member
Joined: Sep 2003
Posts: 4,158
Sure happy to give it a try again after the update...

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36674 22 Sep 23 07:31 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Ok, there was a 64 bit-related bug in MX_USRIO (used within INIX.SBX) that was causing the negative status returned from a failed search to get converted to a large positive number, which then led to bad memory access when a subsequent call mistook it for a valid position with a module.

The fix is in 6.5.1741.2, available for various platforms here:

ash-6.5.1741.2-cs8-x86_64.tz
ash-6.5.1741.2-u20-x86_64.tz
ash-6.5.1741.2-el9-x86_64.tz
ash65notes.txt

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36675 22 Sep 23 08:37 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Not to hijack this thread - (but i will laugh )

Would it not make sense to start a new version of ashell that is compatible with 64bit OS?

(and go ahead and say that you are planning a in-person vote at the conference!) crazy

Last edited by Frank; 22 Sep 23 08:38 PM.
Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36677 22 Sep 23 08:53 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Yes, it should be a separate thread, and yes, the pivot to the new version (7.0) is in the works. The version pivot though is not specific to the 32 vs 64 architecture. (One of the reasons for opting for 7.0 rather than 6.6 is to reduce the chance of confusion to whether "64" refers to a version or an architecture.)

I'm trying to get it done before the Conference, but I'd also like to get it stabilized somewhat first. And that's difficult to do while also doing a lot of experimentation in preparation for Conference topics, which has a tendency to reveal features that should be added. And then we have the sudden interest in new Linux platforms where 32 bit is becoming difficult or impossible to support. So as usual, there a lot of things swirling around in the mix.

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36681 26 Sep 23 09:09 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline
Member
Offline
Member
Joined: Sep 2003
Posts: 4,158
sorry slow reply, took a few days off holiday, can confirm 1741.2 fixed the INIX / SEGV issue. - I shell try to continue using the 64 version.

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36682 26 Sep 23 05:10 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
No worries (some envy on my part perhaps). But thanks for the confirmation.

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36683 26 Sep 23 07:43 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Sounds good Jack - and if your experience is anything like mine, when i am researching problem "A" i also seem to uncover problems "B" "C" and "D" which i wasn't even trying to fix in the first place! crazy

Steve - thanks for paving the way to 9.0!

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36684 26 Sep 23 08:46 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I can't say that happens to me very often. (Usually the unsought problem stack goes at least to "G" or "H".)

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36685 27 Sep 23 03:23 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
laugh

Re: Centos 9 working? [Re: Dominic - Madics Systems Ltd] #36699 28 Sep 23 01:37 PM
Joined: Jan 2003
Posts: 133
D
Dominic - Madics Systems Ltd Offline OP
Member
OP Offline
Member
D
Joined: Jan 2003
Posts: 133
The UK has this "Cyber Essentials" program that is a security certification and Centos 8 Stream no longer qualifies as OSes must be supported and that ends 30/05/24.

Fortunately no one accesses our server directly from the internet, so the IT company has been able to work around the issue. Other customers might go for the same thing, so I am glad you (and Steve) are on the case.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3