NetBox wont' start after upgrade

26 views
Skip to first unread message

Susan Calland

unread,
Jun 1, 2020, 3:25:56 PM6/1/20
to NetBox
Hi,

I'm upgrading from 2.8.3 to 2.85.  Everything seemed to work fine except the netbox service will not start.  The error message is not very specific.  Anyone have any steps I can use to troubleshoot to see what went wrong?

Jun 01 17:24:04 box.novalocal kill[15562]: with the same uid as the present process
Jun 01 17:24:04 box.novalocal kill[15562]: -s, --signal <sig>     send specified signal
Jun 01 17:24:04 box.novalocal kill[15562]: -q, --queue <sig>      use sigqueue(2) rather than kill(2)
Jun 01 17:24:04 box.novalocal kill[15562]: -p, --pid              print pids without signaling them
Jun 01 17:24:04 box.novalocal kill[15562]: -l, --list [=<signal>] list signal names, or convert one to a name
Jun 01 17:24:04 box.novalocal kill[15562]: -L, --table            list signal names and numbers
Jun 01 17:24:04 box.novalocal kill[15562]: -h, --help     display this help and exit
Jun 01 17:24:04 box.novalocal kill[15562]: -V, --version  output version information and exit
Jun 01 17:24:04 box.novalocal kill[15562]: For more details see kill(1).
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service: control process exited, code=exited status=1
Jun 01 17:24:04 box.novalocal systemd[1]: Failed to start NetBox IPAM/DCIM Tool.
-- Subject: Unit netbox.service has failed
-- Defined-By: systemd
--
-- Unit netbox.service has failed.
--
-- The result is failed.
Jun 01 17:24:04 box.novalocal systemd[1]: Unit netbox.service entered failed state.
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service failed.
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service holdoff time over, scheduling restart.
Jun 01 17:24:04 box.novalocal systemd[1]: Stopped NetBox IPAM/DCIM Tool.
-- Subject: Unit netbox.service has finished shutting down
-- Defined-By: systemd
--
-- Unit netbox.service has finished shutting down.
Jun 01 17:24:04 box.novalocal systemd[1]: start request repeated too quickly for netbox.service
Jun 01 17:24:04 box.novalocal systemd[1]: Failed to start NetBox IPAM/DCIM Tool.
-- Subject: Unit netbox.service has failed
-- Defined-By: systemd
--
-- Unit netbox.service has failed.
--
-- The result is failed.
Jun 01 17:24:04 box.novalocal systemd[1]: Unit netbox.service entered failed state.
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service failed.
[root@box netbox]# clear
[root@box netbox]# journalctl -xe -u netbox
Jun 01 17:24:04 box.novalocal kill[15562]: -a, --all              do not restrict the name-to-pid conversion to processes
Jun 01 17:24:04 box.novalocal kill[15562]: with the same uid as the present process
Jun 01 17:24:04 box.novalocal kill[15562]: -s, --signal <sig>     send specified signal
Jun 01 17:24:04 box.novalocal kill[15562]: -q, --queue <sig>      use sigqueue(2) rather than kill(2)
Jun 01 17:24:04 box.novalocal kill[15562]: -p, --pid              print pids without signaling them
Jun 01 17:24:04 box.novalocal kill[15562]: -l, --list [=<signal>] list signal names, or convert one to a name
Jun 01 17:24:04 box.novalocal kill[15562]: -L, --table            list signal names and numbers
Jun 01 17:24:04 box.novalocal kill[15562]: -h, --help     display this help and exit
Jun 01 17:24:04 box.novalocal kill[15562]: -V, --version  output version information and exit
Jun 01 17:24:04 box.novalocal kill[15562]: For more details see kill(1).
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service: control process exited, code=exited status=1
Jun 01 17:24:04 box.novalocal systemd[1]: Failed to start NetBox IPAM/DCIM Tool.
-- Subject: Unit netbox.service has failed
-- Defined-By: systemd
--
-- Unit netbox.service has failed.
--
-- The result is failed.
Jun 01 17:24:04 box.novalocal systemd[1]: Unit netbox.service entered failed state.
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service failed.
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service holdoff time over, scheduling restart.
Jun 01 17:24:04 box.novalocal systemd[1]: Stopped NetBox IPAM/DCIM Tool.
-- Subject: Unit netbox.service has finished shutting down
-- Defined-By: systemd
--
-- Unit netbox.service has finished shutting down.
Jun 01 17:24:04 box.novalocal systemd[1]: start request repeated too quickly for netbox.service
Jun 01 17:24:04 box.novalocal systemd[1]: Failed to start NetBox IPAM/DCIM Tool.
-- Subject: Unit netbox.service has failed
-- Defined-By: systemd
--
-- Unit netbox.service has failed.
--
-- The result is failed.
Jun 01 17:24:04 box.novalocal systemd[1]: Unit netbox.service entered failed state.
Jun 01 17:24:04 box.novalocal systemd[1]: netbox.service failed.
lines 1749-1787/1787 (END)



In addition, nbshell seems to be working just fine.  No errors messages there.

(venv) [netbox]# ./manage.py nbshell
### NetBox interactive shell (box.novalocal)
### Python 3.6.8 | Django 3.0.6 | NetBox 2.8.5
### lsmodels() will show available models. Use help(<model>) for more info.
>>> Device.objects.all()
<QuerySet [<Device:



Thanks in advance for your help with this.

Brian Candler

unread,
Jun 2, 2020, 2:40:35 AM6/2/20
to NetBox
Jun 01 17:24:04 box.novalocal kill[15562]: For more details see kill(1).

Can you post your netbox.service?  For some reason it seems to be trying to run "kill" (and with invalid arguments).

The suggested netbox.service is here: https://github.com/netbox-community/netbox/blob/master/contrib/netbox.service

You might get some more info if you get more lines from the journalctl output:
journalctl -n100 --no-pager -eu netbox

Reply all
Reply to author
Forward
0 new messages