Re:Show HN: Linux activity recorder
by shawabawa3 on Thursday October 03, 2013 @10:13AM
(#6489001)
I got:
$ curl -s https://agent.sealion.com | sudo bash /dev/stdin -o etc
Downloading agent...
######################################################################## 100.0%
Created 'sealion' user successfully
Extracting files to /usr/local/sealion-agent...
Files extracted successfully
Installed SeaLion as a service
Starting agent...
./bin/sealion-node: 1: Syntax error: word unexpected (expecting ")")
Sealion service started successfully
Installation successful. Please continue on https://sealion.com
$ ./bin/sealion-node: 1: ELF: not foundJust a wild guess but maybe the installer wants the "real" bash and you have dash set up (I think ubuntu and debian do that nowadays).
That or you're missing an executable or some command returns an error that's poorly handled (since we all know proper error handling is borderline impossible in shell scripts...).
That's why I don't get the point of bash scripts: if you want something truly portable you might as well use /bin/sh and if you're willing to compromise a bit of portability for more advanced features you might as well switch to perl or python (perl is probably as likely to be installed on any un*x machine as bash).
mmm...
... | sudo \bash ...
?Currently, SeaLion agent is meant for 64-bit machines only. 32-bit agents coming soon.
I couldn't find that anywhere on the site.
You really need to mention that in the title.
Might want to fix that.