raphaelcohn/bish-bosh

Several issues with latest dep packate in Ubuntu 14.04

zxshoe opened this issue · 0 comments

Hi,

Just wanted to bring to your attention that the deb package has several problems on Ubuntu 14.04 (probably others too).

After a clean install with dpkg -i

~# bish-bosh -bash: /usr/local/bin/bish-bosh: No such file or directory

But it seems to be installed in /usr/bin/

# which bish-bosh /usr/bin/bish-bosh

Also if run directly from /usr/local/bin/bish-bosh it seems the package missed to create several directories:

# /usr/bin/bish-bosh --verbose 2 -- mqtt_stress.script bish-bosh: FAIL: The defaulted value for '--client-path' specifies a path '/var/lib/bish-bosh/client' which does not exist root@ds-lx-02:~/bish-bosh# mkdir /var/lib/bish-bosh/client mkdir: cannot create directory ‘/var/lib/bish-bosh/client’: No such file or directory root@ds-lx-02:~/bish-bosh# mkdir -p /var/lib/bish-bosh/client root@ds-lx-02:~/bish-bosh# /usr/bin/bish-bosh --verbose 2 -- mqtt_stress.script bish-bosh: FAIL: The defaulted value for '--session-path' specifies a path '/var/spool/bish-bosh/session' which does not exist root@ds-lx-02:~/bish-bosh# mkdir -p /var/spool/bish-bosh/session root@ds-lx-02:~/bish-bosh# /usr/bin/bish-bosh --verbose 2 -- mqtt_stress.script bish-bosh: FAIL: The defaulted value for '--lock-path' specifies a path '/var/run/bish-bosh/lock' which does not exist root@ds-lx-02:~/bish-bosh# mkdir -p /var/run/bish-bosh/lock

And even after creating the above, the script still fails with the following error message:

root@ds-lx-02:~/bish-bosh# /usr/bin/bish-bosh --verbose 2 -- mqtt_stress.script bish-bosh: INFO: Using backend 'ncat' (on path '/usr/bin/ncat') with port '1883' bish-bosh: INFO: Using stdbuf (stdbuf) with od (od) Ncat: Version 6.40 ( http://nmap.org/ncat ) bish-bosh: INFO: Writing CONNECT bish-bosh: NOTICE: Terminate bish-bosh with kill 26017 /usr/bin/bish-bosh: 6399: read: arg count Ncat: Connected to 10.0.0.31:1883. Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds. bish-bosh: FAIL: processLoop failed

Looks like a great piece of software once it's running. Would love to try it out. Looking forward to it.
Any and all assistance is appreciated.

Cheers,
/Stefan