Dear VAST team,
I am afraid this is more a Linux related question, but I've tried so many things and have come to an end of ideas. The migration of our Seaside-based Application to VAST 9.1 seems almost finished: it works nicely in a dev image on Windows as well as a dev image on a Linux Laptop. Now I am trying to test the packaged headless image on a Linux test server here in our office, but keep failing to tun it because of an OS Errror 1. Here's an excerpt of the walkback: AbtCodePageConverter(Object)>>#primitiveFailed receiver = an AbtCodePageConverter AbtCodePageConverter>>#primOpenConvertTo:from: receiver = an AbtCodePageConverter arg1 = 'ISO-8859-1//TRANSLIT^@' arg2 = 'UTF-8' AbtCodePageConverter>>#primOpenConvertTo:from:errorBuffer: receiver = an AbtCodePageConverter arg1 = 'ISO-8859-1//TRANSLIT^@' arg2 = 'UTF-8' arg3 = [0 0 0 0] temp1 = nil
What's failing is the conversion of the very first incoming HTTP request through the GRVASTUtf8Codec. So far I seem to understand
I am now lost. What else can I check or do? Thanks for your help and advice Joachim You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
A bit more info on the OS versions of the two machines:
The test server is - in principle - ready to run our Application, the old version based on 8.6.3 (not using the UTF-8 conversion) runs nicely on this machine. You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
I tried ltrace by starting the Application and then attaching ltrace to it by ltrace -p 61234 -o ltrace.log (as described in my blog: https://joachimtuchel.wordpress.com/2012/11/21/using-ltrace-to-debug-va-smalltalk-calls-to-external-libraries/) The output ltrace.log is empty when I have this OS Error 1. I guess that means that it is not a problem "below" abtprc91, but rather a problem between the VM and the primitives (which reside in the same directory). Am I right in assuming that? Joachim You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Joachim, Thanks for reporting the problem. What is strange is that from everything you said and show the setup looks correct. Anyway, let me ask a few questions. 1) You said "The error seems to indicate that VAST can not find abtprc91.so or a library that's used by it. " but I cannot see that in the extract of the walkback you sent. So please send us the full walkback. 2) In your walkback I see this: arg1 = 'ISO-8859-1//TRANSLIT^@' Note the last 2 characters '^@'. Do you know what that is? Shouldn't it be just '//TRANSLIT' ? Let us know, Kind regards, On Tue, Aug 21, 2018 at 4:53 AM Joachim Tuchel <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Mariano, thanks for taking time to look into this. 1) I thought OS Error 1 indicates a library cannot be found or read... I'm attaching a full walkback here 2) the "^@" is the NULL Byte added by asPSZ - at least that is my theory ;-) Best, Joachim Am Dienstag, 21. August 2018 13:17:39 UTC+2 schrieb marianopeck:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. walkback_8080.log (14K) Download Attachment |
Hi Joachim, So, if I understand correctly, the good news is that you should be able to reproduce it with something as simple as evaluating: 'Buchhaltung' convertFromCodePage: 'UTF-8' toCodePage: 'ISO-8859-1' Can you confirm that? Could you also share back to us the results of `ldd /usr/local/vast91x86/bin/es` and `ldd /usr/local/vast91x86/bin/esvm40.so` ... wondering if there is a not found there.. Thanks! On Tue, Aug 21, 2018 at 8:54 AM Joachim Tuchel <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Mariano
-- Am Dienstag, 21. August 2018 14:24:04 UTC+2 schrieb marianopeck:
Well, I guess so. I haven't tried XD Packaging a headless image that does this, Maybe I should...
Interesting: there is, indeed: root@maulaf:/opt/kontolino/app# ldd /usr/local/vast91x86/bin/es linux-gate.so.1 => (0xf76e0000) esvm40.so => not found libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7524000) /lib/ld-linux.so.2 (0xf76e2000) root@maulaf:/opt/kontolino/app# ldd /usr/local/vast91x86/bin/esvm40.so linux-gate.so.1 => (0xf77c1000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7404000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf73ff000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf73b9000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf739d000) /lib/ld-linux.so.2 (0xf77c3000) libXm.so.4 => not found libXt.so.6 => not found libX11.so.6 => not found Since it is a headless image and therefor neither of the above are used, I also tried: root@maulaf:/opt/kontolino/app# ldd /usr/local/vast91x86/bin/esnx linux-gate.so.1 => (0xf77cc000) esvmnx40.so => not found libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7610000) /lib/ld-linux.so.2 (0xf77ce000) So I guess we're getting there. But to make things interesting, take a look at this: root@maulaf:/opt/kontolino/app# ls /usr/local/vast91x86/bin/* -lisah 3281500 8,0K -rwxr-xr-- 1 root root 6,6K Aug 17 16:15 /usr/local/vast91x86/bin/abtpay91.so 3281524 16K -rwxr-xr-- 1 root root 13K Aug 17 16:13 /usr/local/vast91x86/bin/abtprc91.so 3281523 16K -rwxr-xr-- 1 root root 13K Aug 17 16:13 /usr/local/vast91x86/bin/es 3281517 116K -rwxr-xr-- 1 root root 113K Aug 17 16:13 /usr/local/vast91x86/bin/eslz440.so 3281525 16K -rwxr-xr-- 1 root root 13K Aug 17 16:13 /usr/local/vast91x86/bin/esnx 3281512 2,0M -rwxr-xr-- 1 root root 2,0M Aug 17 16:13 /usr/local/vast91x86/bin/esvm40.so 3281519 920K -rwxr-xr-- 1 root root 917K Aug 17 16:13 /usr/local/vast91x86/bin/esvmnx40.so 3281508 176K -rwxr-xr-- 1 root root 174K Aug 17 16:13 /usr/local/vast91x86/bin/eszip40.so 3281501 0 lrwxrwxrwx 1 root root 29 Aug 17 16:27 /usr/local/vast91x86/bin/libc.so -> /lib/i386-linux-gnu/libc.so.6 3281527 40K -rwxr-xr-- 1 root root 40K Aug 17 16:13 /usr/local/vast91x86/bin/libessci40.so 3281510 668K -rwxr-xr-- 1 root root 667K Aug 17 16:13 /usr/local/vast91x86/bin/libsqlite3.so 3281507 92K -rwxr-xr-- 1 root root 90K Aug 17 16:13 /usr/local/vast91x86/bin/sqlite3 3281505 4,0K -rwxr-xr-- 1 root root 292 Aug 17 16:13 /usr/local/vast91x86/bin/sqlite3.sh 3281521 8,0K -rwxr-xr-- 1 root root 7,5K Aug 17 16:13 /usr/local/vast91x86/bin/vasslthreads.so 3281509 4,0K -rwxr-xr-- 1 root root 7 Aug 17 16:13 /usr/local/vast91x86/bin/ver So this is cute: esvmnx40.so is there and seems to have the correct permissions...
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Sorry, my Browser wiped out all the contents of the editor, so I pressed POST before the message was finished... Interestingly, root@maulaf:/opt/kontolino/app# ldd /usr/local/vast91x86/bin/esvmnx40.so linux-gate.so.1 => (0xf7793000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7502000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf74fd000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf74b7000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf749b000) /lib/ld-linux.so.2 (0xf7795000) So it seems like esnx cannot find/open esvmnx40.so, although it is there, right next to it. It seems to not be completely corrupted, because ldd can even ask it what libs it needs.... Not sure I have an idea right now, but I will take a closer look at the respective 863 directory on the machine and see if I see anything suspective Joachim You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Joachim, Looks like more effort is needed to assist you. Could you please contact us via vast-support and we continue it from there? It's also easier for us to deal with it that way. Looking forward to receive your query. Best regards, On Tue, Aug 21, 2018 at 9:53 AM Joachim Tuchel <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by jtuchel
Mariano, I guess we're not on the right track, because looking at the 863 server runtime directory, things look the same: root@maulaf:/opt/kontolino/app# ldd /usr/local/vast863/bin/esnx linux-gate.so.1 => (0xf77c0000) esvmnx40.so => not found libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7799000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7753000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf774e000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf759d000) libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf7583000) /lib/ld-linux.so.2 (0xf77c2000) And the old image runs (but doesn't use the GRVASTUtf8Codec). Joachim You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
For the record, this was a problem with users using `esnx` on a server without X running. The problem was fixed and we will include it in next fixpack release. Best, On Tue, Aug 21, 2018 at 9:57 AM Joachim Tuchel <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |