-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got 400 - Bad Request. rrd_xport failed. unknown option '--json' #11
Comments
What's your exact rrdtool version? |
ver 1.7.0 |
Hey, can you check if you have libxml2 installed? Should be covered by librrd-dev's dependencies, but you never know... |
I'm having the same issues. Brand new 18.04.2 LTS install. Trying to answer most of your questions in this issue and the previous one (#17):
nfsen installed with 'git clone https://github.com/mbolli/nfsen-ng' today, nfdump 1.6.17 compiled with '--enable-nfprofile' yesterday. Same error on the page when loading /nfsen-ng/frontend/ :
Changing to LOG_DEBUG in settings.php doesn't give any extra information in syslog or apache access/error logs. This is what the request and the 400 error look like in apache log:
And this is what I see in syslog:
|
Can you post a listing of |
There is no data subdir: `/var/www/html/nfsen-ng$ ls backend/datasources/ akumuli.php datasource.php rrd.php` |
Hi, It seems that no import has been done before starting the daemon. My suggestion is to import the data first. Can you reboot the machine and try a complete import before to start the daemon ? Locate the directory where cli.php is located and cd there : As root, run the import command |
Hi Dana Processing 2 sources... 0.0% 0/2194 ETC: ???. Elapsed: < 1 sec [> ]PHP Fatal error: Uncaught Exception: Could not read nfdump profile directory /var/nfdump/profiles-data/live in /var/www/html/nfsen-ng/backend/common/import.php:56 |
Hi Hossein, Let's try to find out where that could come from ;)
Please note that your issue seems not to be related with this closed one, opening another one would be better. Thanks and regards |
Hi.
I got this error when open the frontend
Got 400 - Bad Request. rrd_xport failed. unknown option '--json'
I already make sure the rrdtool that I installed on server is latest version.
Can you help me
The text was updated successfully, but these errors were encountered: