Hi

I'm trying to install the new jffnms (0.9.1) on CentOS 6 default install
(32bit), but I'm having some problems with it.

First of all, there is an INSTALL file in the tar.gz and then there's a
wiki page and there's a Documentation page also.
I've noticed that the wiki page has some other information, regarding
the setup of permissions.

Which should I follow?

Second problem: I've tried installing it to a virtualhost,
/opt/jffnms/htdocs being the DocumentRoot and then trying to access the
interface with URL http://nms.whatever.com but this did not work at all,
I only got a link on the left side, and nothing else showed up. Looking
at the source of the page I saw references to /jffnms/ directory which
of course does not exists because the DocRoot is /opt/jffnms/htdocs ...

Then I've installed it as http://whatever.com/jffnms and this time it
worked, BUT! There is no setup screen appearing, instead the login
screen appears, and I can log in with admin/admin. Then I can go to the
'System Setup' from the menu. the jffnms.conf file isn't created.
Then I went ahead and added a host to monitor, the crontab runs OK (as
far as I can tell), but I don't get any graphs, and when I click on a
graph I get an error message that there's no rrd's and no .dat files in
engine/temp

I can't enable the logging either because when I try to save the config,
I get:

Cannot open new config file '../../conf/jffnms.conf.2011-08-27'

For this, the error_log says the following:

[Sat Aug 27 10:10:43 2011] [error] [client 172.16.21.1] PHP Warning:
fopen(../../conf/jffnms.conf.2011-08-27): failed to open stream:
Permission denied in /opt/jffnms/conf/config.php on line 51, referer:
http://ctest6-32.narancs.net/jffnms/admin/setup.php

The permissions should be OK though...

[root@ctest6-32 htdocs]# id apache
uid=48(apache) gid=48(apache) groups=48(apache),500(jffnms)

drwxrwsr-x.  2 jffnms jffnms  4096 Aug 26 22:48 conf

[root@ctest6-32 conf]# ls -la
total 24
drwxrwsr-x.  2 jffnms jffnms 4096 Aug 27 10:12 .
drwxrws---. 10 jffnms jffnms 4096 Aug 26 22:43 ..
-rw-rw-r--.  1 jffnms jffnms 4980 Jun  5 15:45 config.php
-rw-rw-r--.  1 jffnms jffnms 6655 Jun  5 15:45 jffnms.conf.defaults

I'm not really sure what I'm doing wrong. I'm using MySQL backend, it's
all set up, I managed to add a host, but I can't monitor it, I'm getting
alarms that every interface is down, although all the interface 'boxes'
are green and I have no graphs, can't enable logging to see what's wrong.

Any tips?

[root@ctest6-32 conf]# cat /etc/httpd/conf.d/jffnms.conf
<Directory /var/www/html/jffnms>
  php_flag register_globals on
  php_flag register_argc_argv on
  php_flag allow_url_fopen on
  php_flag short_open_tag on
  Options Indexes FollowSymLinks Multiviews
</Directory>

Thanks.

-- 
Imre Gergely
http://havaz.net
gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to