You'll want to check the location and permissions on the netdbReport.csv file. It belongs in your webroot directory. The best advice I can give is to check your webserver's logs to see what is happening.
You may want to look at netdb-cgi.conf (save a copy before editing it).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
George should be correct on this one, make sure www-data or whatever user your webserver is running as to make sure it can write to that file. You should also see some errors in your apache logs if the web-server is having issues writing to the file.
Good luck!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the following apache log: [Mon Mar 30 11:49:41 2015][error][client x.x.x.x] sh: /var/www//netdbReport.csv: Permission denied, referer: http://netdb.fr:8080/cgi-bin/netdb.pl
My apache user can write on the file : [Server]# ls -la
total 12
-rw-r--r-- 1 apache apache 0 23 déc. 14:31 netdbReport.csv
Maybe a problem on /var/www//. (additionnal /) ?
regards
Ju
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps the www user is different than that apache process? Not sure, but try chmod 666 on that file and see how it goes. Definitely a permissions issue.
I have the following apache log: [Mon Mar 30 11:49:41 2015][error][client x.x.x.x] sh: /var/www//netdbReport.csv: Permission denied, referer: http://netdb.fr:8080/cgi-bin/netdb.plhttp://netdb.fr:8080/cgi-bin/netdb.pl
My apache user can write on the file : [Server]# ls -la
total 12
-rw-r--r-- 1 apache apache 0 23 déc. 14:31 netdbReport.csv
Hello,
I would like to "Download the CSV Report" available in the "Device By IP, Mac or hostname" result.
But unfortunately, the file is empty :-(
Any ideas ??
Thank you.
Regards,
Ju
You'll want to check the location and permissions on the netdbReport.csv file. It belongs in your webroot directory. The best advice I can give is to check your webserver's logs to see what is happening.
You may want to look at netdb-cgi.conf (save a copy before editing it).
Jumah,
George should be correct on this one, make sure www-data or whatever user your webserver is running as to make sure it can write to that file. You should also see some errors in your apache logs if the web-server is having issues writing to the file.
Good luck!
Thank you guys.
I have the following apache log:
[Mon Mar 30 11:49:41 2015] [error] [client x.x.x.x] sh: /var/www//netdbReport.csv: Permission denied, referer: http://netdb.fr:8080/cgi-bin/netdb.pl
My apache user can write on the file :
[Server]# ls -la
total 12
-rw-r--r-- 1 apache apache 0 23 déc. 14:31 netdbReport.csv
Maybe a problem on /var/www//. (additionnal /) ?
regards
Ju
Jumah,
Perhaps the www user is different than that apache process? Not sure, but try chmod 666 on that file and see how it goes. Definitely a permissions issue.
Jonathan