Fri Jul 01, 2022 10:05 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



HPCC Platform 8.2.26 on Ubuntu 20.04 LTS

Post questions specific to installation or configuration for the HPCC Systems platform

Tue Oct 26, 2021 9:24 pm Change Time Zone

Hello!

I'm trying to install HPCC Platform 8.2.26 on Ubuntu 20.04 LTS (in AWS).
I literally do this:
Code: Select all
wget https://d2wulyp08c6njk.cloudfront.net/releases/CE-Candidate-8.2.26/bin/platform/hpccsystems-platform-community_8.2.26-1focal_amd64.deb
dpkg -i hpccsystems-platform-community_8.2.26-1focal_amd64.deb
apt install -f
systemctl start hpccsystems-platform.service

And it's a mess!
Dali starts but seems to exit right away (from /var/log/syslog):
Code: Select all
Oct 26 21:18:33 ip-192-168-247-151 systemd[1]: Starting generating configuration files in mydali instance directory...
Oct 26 21:18:34 ip-192-168-247-151 check-component-exists.sh[17410]: Found component: mydali
Oct 26 21:18:34 ip-192-168-247-151 systemd[1]: [email protected]: Succeeded.
Oct 26 21:18:34 ip-192-168-247-151 systemd[1]: Finished generating configuration files in mydali instance directory.
Oct 26 21:18:34 ip-192-168-247-151 systemd[1]: Starting mydali...
Oct 26 21:18:34 ip-192-168-247-151 systemd[1]: Started mydali.
Oct 26 21:18:34 ip-192-168-247-151 systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Oct 26 21:18:34 ip-192-168-247-151 systemd[1]: [email protected]: Failed with result 'exit-code'.


And MyESP just crashes I believe (from /var/log/HPCCSystems/myesp/esp.log):
Code: Select all
00000032 OPR 2021-10-26 20:53:00.204  8319  8319 "ERROR: Failed to connect to Dali Server 192.168.247.151:7070."
00000033 USR 2021-10-26 20:53:04.626  8319  8319 "ESP Abort Handler..."
00000034 USR 2021-10-26 20:53:04.627  8319  8319 "================================================"
00000035 USR 2021-10-26 20:53:04.627  8319  8319 "Program:   192.168.247.151:/opt/HPCCSystems/bin/esp"
00000036 USR 2021-10-26 20:53:04.627  8319  8319 "Signal:    11 Segmentation fault"
00000037 USR 2021-10-26 20:53:04.627  8319  8319 "Fault IP:  0000558126BD8C21"
00000038 USR 2021-10-26 20:53:04.627  8319  8319 "Accessing: 0000000000000000"
00000039 PRG 2021-10-26 20:53:04.627  8319  8319 "Backtrace:"
0000003A PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/bin/esp(+0x15c21) [0x558126bd8c21]"
0000003B PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/lib/libjlib.so(+0x117dc2) [0x7f1a3df83dc2]"
0000003C PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/lib/libjlib.so(+0x117df9) [0x7f1a3df83df9]"
0000003D PRG 2021-10-26 20:53:04.627  8319  8319 "  /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0) [0x7f1a3dc533c0]"
0000003E PRG 2021-10-26 20:53:04.627  8319  8319 "  /lib/x86_64-linux-gnu/libc.so.6(clock_nanosleep+0xdf) [0x7f1a3db2a3bf]"
0000003F PRG 2021-10-26 20:53:04.627  8319  8319 "  /lib/x86_64-linux-gnu/libc.so.6(nanosleep+0x17) [0x7f1a3db30047]"
00000040 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/lib/libjlib.so(_Z10MilliSleepj+0x8b) [0x7f1a3e05846b]"
00000041 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/lib/libdalibase.so(+0x1038c6) [0x7f1a3e2a28c6]"
00000042 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/lib/libdalibase.so(_Z17initClientProcessP6IGroup14DaliClientRolejPKcS3_jb+0x74) [0x7f1a3e1e5c74]"
00000043 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/bin/esp(+0xdca1) [0x558126bd0ca1]"
00000044 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/bin/esp(+0x1017e) [0x558126bd317e]"
00000045 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/bin/esp(+0x13ab0) [0x558126bd6ab0]"
00000046 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/bin/esp(+0xae4d) [0x558126bcde4d]"
00000047 PRG 2021-10-26 20:53:04.627  8319  8319 "  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f1a3da710b3]"
00000048 PRG 2021-10-26 20:53:04.627  8319  8319 "  /opt/HPCCSystems/bin/esp(+0xaf5e) [0x558126bcdf5e]"
00000049 USR 2021-10-26 20:53:04.627  8319  8319 "Registers:"
0000004A USR 2021-10-26 20:53:04.627  8319  8319 "EAX:0000000000000000  EBX:00007FFF8C9A9E30  ECX:0000000000000002  EDX:0000558126BD7B70  ESI:0000558127827B40  EDI:0000558127761022"
0000004B USR 2021-10-26 20:53:04.627  8319  8319 "R8 :0000000000000001  R9 :0000000000000017  R10:00007F1A3E09C0F7  R11:0000000000000246"
0000004C USR 2021-10-26 20:53:04.627  8319  8319 "R12:0000000000000000  R13:00007F1A39E70240  R14:0000000000000000  R15:00007F1A3E137C20"
0000004D USR 2021-10-26 20:53:04.627  8319  8319 "CS:EIP:0033:0000558126BD8C21"
0000004E USR 2021-10-26 20:53:04.627  8319  8319 "   ESP:00007FFF8C9A8CF0  EBP:0000000000000000"
0000004F USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8CF0]: 00007F1A3DC40968 0000000000007F1A 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 39E7024000000000"
00000050 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8D10]: 00007F1A39E70240 0000000000007F1A 0000000000000000 3E137C2000000000 00007F1A3E137C20 3DF83DC200007F1A 00007F1A3DF83DC2 8C9A8DC400007F1A"
00000051 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8D30]: 00007FFF8C9A8DC4 0000000100007FFF 0000000000000001 0000000000000000 0000000000000000 8C9A9AD000000000 00007FFF8C9A9AD0 0000000000007FFF"
00000052 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8D50]: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 3DF83DF900000000 00007F1A3DF83DF9 027F5EE700007F1A"
00000053 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8D70]: 00000000027F5EE7 3DC533C000000000 00007F1A3DC533C0 0000000700007F1A 0000000000000007 0000000000000000 0000000000000000 0000000000000000"
00000054 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8D90]: 0000000000000000 0000000200000000 00007FFF00000002 0000000000007FFF 0000000000000000 0000000000000000 0000000000000000 8C9A9AA800000000"
00000055 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8DB0]: 00007FFF8C9A9AA8 0000000000007FFF 0000000000000000 0000029300000000 0000000000000293 8C9A9AD000000000 00007FFF8C9A9AD0 0000000000007FFF"
00000056 USR 2021-10-26 20:53:04.627  8319  8319 "Stack[00007FFF8C9A8DD0]: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000"
00000057 USR 2021-10-26 20:53:04.627  8319  8319 "ThreadList:
7F1A3959A700 139750608054016 8324: CMPNotifyClosedThread
7F1A38D99700 139750599661312 10912: dasess.registerClientProcess


What did I do wrong or what am I missing?

Thanks!
lpezet
 
Posts: 85
Joined: Wed Sep 10, 2014 3:14 am

Wed Oct 27, 2021 3:31 pm Change Time Zone

I tried something else. Just to be clear, I'm not attached to any specific version of HPCC Platform here, I just want a latest-ish version working.
I downloaded the source code, checked out the community_8.2.26-1 tag and built it all on Ubuntu 20.04.2 LTS successfully.
I then installed the package and ran
Code: Select all
systemctl start hpccsystems-platform.target

But the Dali server keeps crashing like before:
Code: Select all
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: [email protected]: Scheduled restart job, restart counter is at 92.
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: Stopped mydali.
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: Starting generating configuration files in mydali instance directory...
Oct 27 15:29:42 ip-192-168-247-8 check-component-exists.sh[57894]: Found component: mydali
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: [email protected]: Succeeded.
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: Finished generating configuration files in mydali instance directory.
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: Starting mydali...
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: Started mydali.
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Oct 27 15:29:42 ip-192-168-247-8 systemd[1]: [email protected]: Failed with result 'exit-code'.


Is it possible to get more logs out of that daserver program?

Thanks!
lpezet
 
Posts: 85
Joined: Wed Sep 10, 2014 3:14 am

Wed Oct 27, 2021 4:25 pm Change Time Zone

Here's another clue.
The Dali service starts daserver as a daemon.
Now if I start it manually, it works just fine, like so:
Code: Select all
/opt/HPCCSystems/bin/daserver

I can telnet to its port and everythins is peachy.
When I run it as a daemon, manually, nothing happens really (I do expect it to return right away, but no logs, nothing):
Code: Select all
/opt/HPCCSystems/bin/daserver --daemon mydali

(exit code for that command is 0 though)
And nothing listening on any of the expected ports.

Any idea what I can do now to make it work in daemon mode?
lpezet
 
Posts: 85
Joined: Wed Sep 10, 2014 3:14 am

Tue Nov 02, 2021 1:51 pm Change Time Zone

Thanks for you Feedback and the Jiras that you created. The following thorslave, dafilesrv and dali issues have been resolved and will likely be included in 8.4.10-1.

https://track.hpccsystems.com/browse/HPCC-26750
https://track.hpccsystems.com/browse/HPCC-26757
https://track.hpccsystems.com/browse/HPCC-26761
mgardner
 
Posts: 17
Joined: Tue Jan 20, 2015 9:30 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron