Netbox Installation Issues on RHEL 7

130 views
Skip to first unread message

Manas K

unread,
Feb 14, 2019, 7:36:25 PM2/14/19
to NetBox
Hi All,

I'm trying to setup a POC host for Netbox IPAM on RHEL 7 with Python 3.7.5 , PIP3 version 19.0.1, and followed the  digitalocean netbox documentation 

 I observed the following :

1. [root@ipam1-iof-vap netbox]# supervisorctl status netbox
    netbox: ERROR (no such process)

2. when I go to the browser to access netbox I get the following message

"Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx."

3. I was re-checking the steps I followed were as per what's in the netbox documentaion and figured out that I could not find the path for saving the configuration for supervisor as below 

/etc/supervisor/conf.d/netbox.conf , however, I have it saved under /etc/supervisord/conf.d/netbox.conf

4. the supervisor installation requirements quote :

"Platform Requirements
Supervisor has been tested and is known to run on Linux (Ubuntu 9.10), Mac OS X (10.4/10.5/10.6), and Solaris (10 for Intel) and FreeBSD 6.1. It will likely work fine on most UNIX systems.

Supervisor will not run at all under any version of Windows.

Supervisor is known to work with Python 2.4 or later but will not work under any version of Python 3."

Does this mean Supervisor will only work with Python 2.4 and 2.7 but not Python3 and higher ?

Can you please suggest where I'm going wrong  ?

Thank you and appreciate your time :)
-- 
With Best Regards
 
Manas K

Brian Candler

unread,
Feb 15, 2019, 2:48:01 AM2/15/19
to NetBox
On Friday, 15 February 2019 00:36:25 UTC, Manas K wrote:
1. [root@ipam1-iof-vap netbox]# supervisorctl status netbox
    netbox: ERROR (no such process)


Please show the supervisord configuration files you created (filename and content).
 
2. when I go to the browser to access netbox I get the following message

"Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.


Please show the nginx config files you created (filename and content)
 

3. I was re-checking the steps I followed were as per what's in the netbox documentaion and figured out that I could not find the path for saving the configuration for supervisor as below 

/etc/supervisor/conf.d/netbox.conf , however, I have it saved under /etc/supervisord/conf.d/netbox.conf


Where did you get the supervisord package from?
 
4. the supervisor installation requirements quote :

"Platform Requirements
Supervisor has been tested and is known to run on Linux (Ubuntu 9.10), Mac OS X (10.4/10.5/10.6), and Solaris (10 for Intel) and FreeBSD 6.1. It will likely work fine on most UNIX systems.

Supervisor will not run at all under any version of Windows.

Supervisor is known to work with Python 2.4 or later but will not work under any version of Python 3."

Does this mean Supervisor will only work with Python 2.4 and 2.7 but not Python3 and higher ?


That is correct.  supervisord requires python2, and recent netbox requires python3, so if you really want supervisord you need both versions of python installed, which is rather messy.  In any case, python2 has less than a year of life left.

IMO, it's cleaner to use systemd instead of supervisord, and then you only need python3.  You can find instructions for that here:

However the official Netbox documentation has chosen to stick with supervisord for now:

steffen.w...@gmail.com

unread,
Feb 15, 2019, 2:58:45 AM2/15/19
to NetBox
Had a similar issue and fixed it with placing the configuration file here:

/etc/supervisord.d/netbox.ini

Good Luck!
Reply all
Reply to author
Forward
0 new messages