Following the install page and every thing was good up to the point of going to the webpage install and then nothing.
webserver is running
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2020-08-04 11:39:01 EDT; 47min ago
Process: 3583 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Process: 3576 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 3572 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Main PID: 3584 (nginx)
Tasks: 5
CGroup: /system.slice/nginx.service
├─3584 nginx: master process /usr/sbin/nginx
├─3585 nginx: worker process
├─3586 nginx: worker process
├─3587 nginx: worker process
└─3588 nginx: worker process
Aug 04 11:39:01 leftscreens systemd[1]: Starting The nginx HTTP and reverse proxy server…
Aug 04 11:39:01 leftscreens nginx[3576]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Aug 04 11:39:01 leftscreens nginx[3576]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Aug 04 11:39:01 leftscreens systemd[1]: Started The nginx HTTP and reverse proxy server.
librenms.conf
server {
listen 80;
server_name 10.254.14.208;
root /opt/librenms/html;
index index.php;
charset utf-8;
gzip on;
gzip_types text/css application/javascript text/javascript application/x-javascript image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ [^/].php(/|$) {
fastcgi_pass unix:/run/php-fpm-librenms.sock;
fastcgi_split_path_info ^(.+.php)(/.+)$;
include fastcgi.conf;
}
location ~ /.(?!well-known).* {
deny all;
}
}
the nginx.conf has the server removed
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
when I run
./validate.php
Component | Version |
---|---|
LibreNMS | 1.66-17-gabc0ca8 |
DB Schema | Not Connected (0) |
PHP | 7.2.33 |
Python | 3.6.8 |
MySQL | ? |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.10
[OK] Dependencies up-to-date.
Could not connect to database, check logs/librenms.log.
But I have not even gotten to the in the web install to give the database password.
under /opt/librenms/html directory I don’t see an install.php file.
[root@leftscreens html]# ls
ajax_dash.php ajax_ossuggest.php api_v0.php css fonts index.php pdf.php
ajax_form.php ajax_output.php bandwidth-graph.php csv.php graph.php js plugins
ajax_list.php ajax_search.php billing-graph.php data.php graph-realtime.php mix-manifest.json robots.txt
ajax_listports.php ajax_table.php calendar.jpg favicon.ico images network-map.php svg
So what is going on and yes I have run
su - librenms
git pull
./daily.sh
This is a fresh install. I am looking at going away from SolarWinds if I can get this running.