I attempt to start Ostinato 1.2 for Linux and the Drone core dumps

16 views
Skip to first unread message

Edwin Mallette

unread,
Jan 25, 2023, 10:10:47 PM1/25/23
to ostinato
New install running on Ubuntu 22.10.

systemctl status drone
× drone.service - Ostinato drone daemon
     Loaded: loaded (/lib/systemd/system/drone.service; enabled; preset: enabled)
     Active: failed (Result: core-dump) since Thu 2023-01-26 00:44:42 UTC; 10min ago
   Duration: 330ms
    Process: 31137 ExecStart=/usr/bin/drone (code=dumped, signal=SEGV)
   Main PID: 31137 (code=dumped, signal=SEGV)
        CPU: 30ms

Jan 26 00:44:42 jnboar10-ec1 systemd[1]: Started Ostinato drone daemon.
Jan 26 00:44:42 jnboar10-ec1 drone[31137]: Starting (will take a few seconds) ...
Jan 26 00:44:42 jnboar10-ec1 systemd[1]: drone.service: Main process exited, code=dumped, status=11/SEGV
Jan 26 00:44:42 jnboar10-ec1 systemd[1]: drone.service: Failed with result 'core-dump'.

Edwin Mallette

unread,
Jan 26, 2023, 1:22:58 AM1/26/23
to ostinato
I guess I resolved this.  I was attempting to apply rights as directed so I didn't have to use sudo to successfully start Ostinato.  I did two things - one I created a drone.ini file but that by itself wasn't the correction as it was still crashing after that.  Second is that I I started Ostinato as root.  I had previously applied the rights as specified in one of the tech notes...

sudo chown root /bin/drone
sudo chmod u+s /bin/drone

But I suppose additional rights are needed -- possibly to drone.ini.

Ed

Srivats P

unread,
Jan 28, 2023, 5:02:22 AM1/28/23
to Edwin Mallette, ostinato
Hi Ed,

The crash is unexpected. Can you try starting the drone directly with the '-d' flag?

drone -d

This will emit debug logs on the console. Save 'em in a file and attach here so that I can take a look.

You should not need to run Ostinato as root, please use the setcap method from https://ostinato.org/docs/faq#q-i-dont-like-running-ostinatodrone-as-root-is-there-an-alternative

Let me know if that works.

Srivats (Creator, Ostinato)

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ostinato/c831b749-be2c-4e42-8d9a-6a854ad60a43n%40googlegroups.com.

Edwin Mallette

unread,
Jan 28, 2023, 7:33:32 AM1/28/23
to ostinato
Thank you for this.  I attempted do follow the faq previously and I guess I missed a step, so thanks for pointing that out.
As far as the crash is concerned, I rebooted the host that was running Ostinato and after that, the drone hasn't crashed once and I've run it maybe a dozen times.  If it happens again, I will issue the debug commands and capture them.

Thanks!

Ed

Srivats P

unread,
Jan 28, 2023, 7:48:05 AM1/28/23
to Edwin Mallette, ostinato
Thanks for the confirmation, Ed!

Srivats (Creator, Ostinato)

Reply all
Reply to author
Forward
0 new messages