Skip to content

Instantly share code, notes, and snippets.

@PabloCastellano
Created January 2, 2015 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PabloCastellano/6b160939a4fb2a3b026f to your computer and use it in GitHub Desktop.
Save PabloCastellano/6b160939a4fb2a3b026f to your computer and use it in GitHub Desktop.
User ob cannot run obelisk
root@obeliskP:~# su ob
ob@obeliskP:/root$ obworker
Using config file: "/etc/obelisk/worker.cfg"
Press CTRL-C to shut down.
DEBUG [worker]: Listening: tcp://*:9091
INFO [worker]: worker ready
DEBUG [worker]: Heartbeat: tcp://*:9092
terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
what(): Permission denied
Aborted (core dumped)
ob@obeliskP:/root$ gdb obworker
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
[...]
Reading symbols from obworker...done.
(gdb) r
Starting program: /usr/local/bin/obworker
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Using config file: "/etc/obelisk/worker.cfg"
Press CTRL-C to shut down.
[New Thread 0x7ffff4a60700 (LWP 32567)]
[New Thread 0x7ffff425f700 (LWP 32568)]
[New Thread 0x7ffff3a5e700 (LWP 32569)]
DEBUG [worker]: Listening: tcp://*:9091
INFO [worker]: worker ready
DEBUG [worker]: Heartbeat: tcp://*:9092
[New Thread 0x7ffff325d700 (LWP 32570)]
[New Thread 0x7ffff2a5c700 (LWP 32571)]
[New Thread 0x7ffff225b700 (LWP 32572)]
[New Thread 0x7ffff1a5a700 (LWP 32573)]
[New Thread 0x7ffff1259700 (LWP 32574)]
[New Thread 0x7ffff0a58700 (LWP 32575)]
[New Thread 0x7fffebfff700 (LWP 32576)]
[New Thread 0x7fffeb7fe700 (LWP 32577)]
[New Thread 0x7fffeaffd700 (LWP 32578)]
[New Thread 0x7fffea7fc700 (LWP 32579)]
terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
what(): Permission denied
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffebfff700 (LWP 32576)]
0x00007ffff60babb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Permission denied.
(gdb) bt
#0 0x00007ffff60babb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff60bdfc8 in __GI_abort () at abort.c:89
#2 0x00007ffff66c06b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff66be836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff66be863 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff6711c85 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff7227182 in start_thread (arg=0x7fffebfff700) at pthread_create.c:312
#7 0x00007ffff617eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment