Hi Team,
Pleas help me anyone for installation and configuration in linux server…
Thanks & Regards
Sudheesh S
Hi Team,
Pleas help me anyone for installation and configuration in linux server…
Thanks & Regards
Sudheesh S
Hello All, getting the error while running following initially while first time configuring Grafana in the environment.
/usr/sbin/grafana-server web
Grafana server is running with elevated privileges. This is not recommended
Grafana-server Init Failed: Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath.
kindly help me to resolve this issue
Regards
Mohit Khandelwal
Hi @mohitkhandelwal,
Welcome to the community support forums !!
We are excited that you joined our OSS community. Please read about some of the FAQs in the community
Please review the submission template and include more details:
Thanks
Hello Usman,
Good day, I have installed the Grafana RPM as per the document provided by you and started the Grafana services as well on the Linux server.
Current status of the installed software is as follows.
I was trying to execute following command given in document provided and getting errors highlighted Yellow.
Please let me know , how can fix this issue and move forward with configuration. Also I can not able to access this grafana server from browser yet.
Kindly advise the next steps to fix this issue
Current installation status of Grafana
CNSHELL root@mtl-stor02d:/usr/sbin # service grafana-server status
● grafana-server.service - Grafana instance
Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2023-01-24 11:09:25 EST; 1h 14min ago
Docs: [http://docs.grafana.org](http://docs.grafana.org)
Main PID: 4044947 (grafana-server)
Tasks: 16 (limit: 49516)
Memory: 53.4M
CGroup: /system.slice/grafana-server.service
└─4044947 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=rpm cfg:default.path>
Jan 24 11:48:37 mtl-stor02d systemd[1]: /usr/lib/systemd/system/grafana-server.service:28: Unknown lvalue 'ProtectClock' in section 'Service'
Jan 24 11:48:37 mtl-stor02d systemd[1]: /usr/lib/systemd/system/grafana-server.service:31: Unknown lvalue 'ProtectHostname' in section 'Service'
Jan 24 11:48:37 mtl-stor02d systemd[1]: /usr/lib/systemd/system/grafana-server.service:32: Unknown lvalue 'ProtectKernelLogs' in section 'Service'
Jan 24 11:48:37 mtl-stor02d systemd[1]: /usr/lib/systemd/system/grafana-server.service:35: Unknown lvalue 'ProtectProc' in section 'Service'
Jan 24 11:49:25 mtl-stor02d grafana-server[4044947]: logger=cleanup t=2023-01-24T11:49:25.44662757-05:00 level=info msg="Completed cleanup jobs" duration=7.29>
Jan 24 11:59:25 mtl-stor02d grafana-server[4044947]: logger=cleanup t=2023-01-24T11:59:25.448460982-05:00 level=info msg="Completed cleanup jobs" duration=8.5>
Jan 24 12:09:25 mtl-stor02d grafana-server[4044947]: logger=licensing t=2023-01-24T12:09:25.441690368-05:00 level=info msg="Validated license token" appURL=ht>
Jan 24 12:09:25 mtl-stor02d grafana-server[4044947]: logger=licensing.renewal t=2023-01-24T12:09:25.441794254-05:00 level=warn msg="failed to load or validate>
Jan 24 12:09:25 mtl-stor02d grafana-server[4044947]: logger=cleanup t=2023-01-24T12:09:25.449635717-05:00 level=info msg="Completed cleanup jobs" duration=9.3>
Jan 24 12:19:25 mtl-stor02d grafana-server[4044947]: logger=cleanup t=2023-01-24T12:19:25.447627489-05:00 level=info msg="Completed cleanup jobs" duration=7.3>
I am getting following error while running this command. ./usr/bin/grafana-server web
CNSHELL root@mtl-stor02d:/usr/sbin # ./usr/bin/grafana-server web
bash: ./usr/bin/grafana-server: No such file or directory
CNSHELL root@mtl-stor02d:/usr/sbin #
CNSHELL root@mtl-stor02d:/usr/sbin # sudo ./usr/bin/grafana-server web
root is not in the sudoers file. This incident will be reported.
CNSHELL root@mtl-stor02d:/usr/sbin # grafana-server web
Grafana server is running with elevated privileges. This is not recommended
Grafana-server Init Failed: Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath
CNSHELL root@mtl-stor02d:/usr/sbin # grafana-server
Grafana server is running with elevated privileges. This is not recommended
Grafana-server Init Failed: Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath
Regards
Mohit Khandelwal
+598 92801930
Hi Mohit,
Which Linux distribution you are using?
Also, are you running grafana in a container environment e.g. Docker etc?
Hi @mohitkhandelwal,
Since you are using linux distribution that uses SystemD then you should be able to start service via systemd:
systemctl start grafana-server.service
Best regards,
ldrascic