NMS:/usr/share/jffnms/conf# chmod -R 751
/usr/share/jffnmsNMS:/usr/share/jffnms/conf# ls -latotal 28drwxr-x--x 2 jffnms
jffnms 4096 2007-06-01 05:39 .drwxr-x--x 7 770 jffnms 4096 2007-06-01 05:27
..-rwxr-x--x 1 jffnms jffnms 932 2007-01-21 00:00
config.parse.func.inc.php-rwxr-x--x 1 jffnms jffnms 4019 2007-01-21 00:00
config.parse.inc.php-rwxr-x--x 1 jffnms jffnms 2649 2007-01-21 00:00
config.php-rwxr-x--x 1 jffnms jffnms 7072 2007-01-21 00:00 jffnms.conf.defaults
NMS:/usr/share/jffnms/conf# chmod 755 /usr/share/jffnms/conf
NMS:/usr/share/jffnms/conf# ls -latotal 28drwxr-xr-x 2 jffnms jffnms 4096
2007-06-01 05:39 .drwxr-x--x 7 770 jffnms 4096 2007-06-01 05:27 ..-rwxr-x--x
1 jffnms jffnms 932 2007-01-21 00:00 config.parse.func.inc.php-rwxr-x--x 1
jffnms jffnms 4019 2007-01-21 00:00 config.parse.inc.php-rwxr-x--x 1 jffnms
jffnms 2649 2007-01-21 00:00 config.php-rwxr-x--x 1 jffnms jffnms 7072
2007-01-21 00:00 jffnms.conf.defaults
NMS:/usr/share/jffnms/conf# chmod 770 /usr/share/jffnms/conf
NMS:/usr/share/jffnms/conf# chmod 770 /usr/share/jffnms/
NMS:/usr/share/jffnms/conf# /etc/init.d/apache restartRestarting apache 1.3 web
server....
NMS:/usr/share/jffnms/conf# ls -latotal 40drwxrwx--- 2 jffnms jffnms 4096
2007-06-03 00:00 .drwxrwx--- 7 770 jffnms 4096 2007-06-01 05:27
..-rwxr-x--x 1 jffnms jffnms 932 2007-01-21 00:00
config.parse.func.inc.php-rwxr-x--x 1 jffnms jffnms 4019 2007-01-21 00:00
config.parse.inc.php-rwxr-x--x 1 jffnms jffnms 2649 2007-01-21 00:00
config.php-rw-r--r-- 1 www-data www-data 100 2007-06-03 00:03
jffnms.conf-rw-r--r-- 1 www-data www-data 102 2007-06-02 23:59
jffnms.conf.2007-06-02-rw-r--r-- 1 www-data www-data 100 2007-06-03 00:03
jffnms.conf.2007-06-03-rwxr-x--x 1 jffnms jffnms 7072 2007-01-21 00:00
jffnms.conf.defaults
Now it is showing !!!
01:05:45 db_ping(mysql) Connection to DB Restored... 01:05:46 db_ping(mysql)
Connection to DB Restored... 01:05:47 db_ping(mysql) Connection to DB
Restored... 01:05:48 db_ping(mysql) Connection to DB Restored... 01:05:49
db_ping(mysql) Connection to DB Restored... Warning: mysql_num_rows(): supplied
argument is not a valid MySQL result resource in
/usr/share/jffnms/lib/api.db.inc.php on line 30601:05:50 db_ping(mysql)
Connection to DB Restored... 01:05:51 db_ping(mysql) Connection to DB
Restored... 01:05:52 db_ping(mysql) Connection to DB Restored... 01:05:53
db_ping(mysql) Connection to DB Restored... 01:05:54 db_ping(mysql) Connection
to DB Restored... Warning: mysql_num_rows(): supplied argument is not a valid
MySQL result resource in /usr/share/jffnms/lib/api.db.inc.php on line
30601:05:55 db_ping(mysql) Connection to DB Restored... 01:05:56 db_ping(mysql)
Connection to DB Restored... 01:05:57 db_ping(mysql) Connection to DB
Restored... 01:05:58 db_ping(mysql) Connection to DB Restored... 01:05:59
db_ping(mysql) Connection to DB Restored... 01:05:59 Query Failed -
table_insert(events) - insert into events
(date,type,host,interface,state,username,info) VALUES ('2007-06-03
01:05:54','43','1','Login','failed','admin','from 172.16.4.226') - Table
'jffnms.events' doesn't exist01:06:00 db_ping(mysql) Connection to DB
Restored... 01:06:01 db_ping(mysql) Connection to DB Restored... 01:06:02
db_ping(mysql) Connection to DB Restored... 01:06:03 db_ping(mysql) Connection
to DB Restored... 01:06:04 db_ping(mysql) Connection to DB Restored... Warning:
join() [function.join]: Bad arguments. in
/usr/share/jffnms/lib/api.events.inc.php on line 246Query Failed -
events_list() - Table 'jffnms.hosts' doesn't exist
Please guide me.
Moshiur
> From: [EMAIL PROTECTED]> Subject: jffnms-users Digest, Vol 13, Issue 2> To:
> jffnms-users@lists.sourceforge.net> Date: Sat, 2 Jun 2007 22:28:03 -0700> >
> Send jffnms-users mailing list submissions to>
> jffnms-users@lists.sourceforge.net> > To subscribe or unsubscribe via the
> World Wide Web, visit>
> https://lists.sourceforge.net/lists/listinfo/jffnms-users> or, via email,
> send a message with subject or body 'help' to> [EMAIL PROTECTED]> > You can
> reach the person managing the list at> [EMAIL PROTECTED]> > When replying,
> please edit your Subject line so it is more specific> than "Re: Contents of
> jffnms-users digest..."> > > Today's Topics:> > 1. Re: JFFNMS Installation
> @Debian 4.0 Etch (Moshiur Rahman Khan)> 2. Re: JFFNMS Installation @Debian
> 4.0 Etch (Moshiur Rahman Khan)> > >
> ----------------------------------------------------------------------> >
> Message: 1> Date: Sun, 3 Jun 2007 04:56:50 +0000> From: Moshiur Rahman Khan
> <[EMAIL PROTECTED]>> Subject: Re: [jffnms-users] JFFNMS Installation @Debian
> 4.0 Etch> To: Jeffrey Singleton <[EMAIL PROTECTED]>> Cc:
> jffnms-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]>>
> Content-Type: text/plain; charset="iso-8859-1"> > Hello !!!!> I am getting
> now error.> > [Warning: main(/usr/share/jffnms/lib/api.inc.php)
> [function.main]: failed to open stream: Permission denied in
> /usr/share/jffnms/conf/config.php on line 53]> > > I did according to your
> suggestion but I am getting.......[chown: `apache:apache': invalid user]>
> Unsuccessful command >>> > NMS:/usr/share/jffnms/lib# chown -R apache:apache
> /usr/share/jffnms/lib/chown: `apache:apache': invalid user> > Successful
> command >> NMS:/usr/share/jffnms/lib# chmod -R 744 /usr/share/jffnms/lib/> >
> I tried also with: > > NMS:/usr/share/jffnms/lib# chown -R jffnms:jffnms
> /usr/share/jffnms/lib/> > JFFNMS Console is not showing right now :( > > Can
> you please help me ?> > > > *******At the beginning file system ( before
> doing this command)*************> NMS:/usr/share/jffnms/lib# ls -latotal
> 324drwxr-xr-x 2 root root 4096 2007-06-01 06:39 .drwxr-xr-x 7 root root 4096
> 2007-06-01 05:27 ..-rw-r--r-- 1 root root 28131 2007-01-21 00:00
> api.classes.inc.php-rw-r--r-- 1 root root 12168 2007-01-21 00:00
> api.db.inc.php-rw-r--r-- 1 root root 14963 2007-01-21 00:00
> api.events.inc.php-rw-r--r-- 1 root root 14266 2007-01-21 00:00
> api.hosts.inc.php-rw-r--r-- 1 root root 12619 2007-01-21 00:00
> api.inc.php-rw------- 1 root root 12619 2007-06-01 06:39
> api.inc.php.save-rw-r--r-- 1 root root 31041 2007-01-21 00:00
> api.interface.inc.php-rw-r--r-- 1 root root 4462 2007-01-21 00:00
> api.maps.inc.php-rw-r--r-- 1 root root 8087 2007-01-21 00:00
> api.nad.inc.php-rw-r--r-- 1 root root 13165 2007-01-21 00:00
> api.network.inc.php-rw-r--r-- 1 root root 8212 2007-01-21 00:00
> api.profile.inc.php-rw-r--r-- 1 root root 15510 2007-01-21 00:00
> api.rrdtool.inc.php-rw-r--r-- 1 root root 22293 2007-01-21 00:00
> api.satellites.inc.php-rw-r--r-- 1 root root 7033 > 2007-01-21 00:00
> api.tools.inc.php-rw-r--r-- 1 root root 13562 2007-01-21 00:00
> api.triggers.inc.php-rw-r--r-- 1 root root 2622 2007-01-21 00:00
> api.user.inc.php-rw-r--r-- 1 root root 977 2007-01-21 00:00
> api.zones.inc.php-rw-r--r-- 1 root root 5834 2007-01-21 00:00
> gui.admin.inc.php-rw-r--r-- 1 root root 27683 2007-01-21 00:00
> gui.controls.inc.php-rw-r--r-- 1 root root 15131 2007-01-21 00:00
> gui.inc.php-rw-r--r-- 1 root root 8380 2007-01-21 00:00 gui.toolkit.inc.php>
> **********************************************************> >
> NMS:/usr/share/jffnms/lib# chown -R apache.apache /usr/share/jffnms/lib/> >
> chown: `apache.apache': invalid user <<-----------------(????????)>
> **********************************************> > NMS:/usr/share/jffnms/lib#
> chmod -R 744 /usr/share/jffnms/lib/> > After command>>>>>> >
> NMS:/usr/share/jffnms/lib# ls -latotal 324drwxr--r-- 2 root root 4096
> 2007-06-01 06:39 .drwxr-xr-x 7 root root 4096 2007-06-01 05:27 ..-rwxr--r-- 1
> root root 28131 2007-01-21 00:00 api.classes.inc.php-rwxr--r-- 1 root root
> 12168 2007-01-21 00:00 api.db.inc.php-rwxr--r-- 1 root root 14963 2007-01-21
> 00:00 api.events.inc.php-rwxr--r-- 1 root root 14266 2007-01-21 00:00
> api.hosts.inc.php-rwxr--r-- 1 root root 12619 2007-01-21 00:00
> api.inc.php-rwxr--r-- 1 root root 12619 2007-06-01 06:39
> api.inc.php.save-rwxr--r-- 1 root root 31041 2007-01-21 00:00
> api.interface.inc.php-rwxr--r-- 1 root root 4462 2007-01-21 00:00
> api.maps.inc.php-rwxr--r-- 1 root root 8087 2007-01-21 00:00
> api.nad.inc.php-rwxr--r-- 1 root root 13165 2007-01-21 00:00
> api.network.inc.php-rwxr--r-- 1 root root 8212 2007-01-21 00:00
> api.profile.inc.php-rwxr--r-- 1 root root 15510 2007-01-21 00:00
> api.rrdtool.inc.php-rwxr--r-- 1 root root 22293 2007-01-21 00:00
> api.satellites.inc.php-rwxr--r-- 1 root root 7033 > 2007-01-21 00:00
> api.tools.inc.php-rwxr--r-- 1 root root 13562 2007-01-21 00:00
> api.triggers.inc.php-rwxr--r-- 1 root root 2622 2007-01-21 00:00
> api.user.inc.php-rwxr--r-- 1 root root 977 2007-01-21 00:00
> api.zones.inc.php-rwxr--r-- 1 root root 5834 2007-01-21 00:00
> gui.admin.inc.php-rwxr--r-- 1 root root 27683 2007-01-21 00:00
> gui.controls.inc.php-rwxr--r-- 1 root root 15131 2007-01-21 00:00
> gui.inc.php-rwxr--r-- 1 root root 8380 2007-01-21 00:00 gui.toolkit.inc.php>
> > NMS:/usr/share/jffnms/lib# chown -R jffnms:jffnms /usr/share/jffnms/lib/> >
> NMS:/usr/share/jffnms/lib# ls -latotal 324drwxr--r-- 2 jffnms jffnms 4096
> 2007-06-01 06:39 .drwxr-xr-x 7 root root 4096 2007-06-01 05:27 ..-rwxr--r-- 1
> jffnms jffnms 28131 2007-01-21 00:00 api.classes.inc.php-rwxr--r-- 1 jffnms
> jffnms 12168 2007-01-21 00:00 api.db.inc.php-rwxr--r-- 1 jffnms jffnms 14963
> 2007-01-21 00:00 api.events.inc.php-rwxr--r-- 1 jffnms jffnms 14266
> 2007-01-21 00:00 api.hosts.inc.php-rwxr--r-- 1 jffnms jffnms 12619 2007-01-21
> 00:00 api.inc.php-rwxr--r-- 1 jffnms jffnms 12619 2007-06-01 06:39
> api.inc.php.save-rwxr--r-- 1 jffnms jffnms 31041 2007-01-21 00:00
> api.interface.inc.php-rwxr--r-- 1 jffnms jffnms 4462 2007-01-21 00:00
> api.maps.inc.php-rwxr--r-- 1 jffnms jffnms 8087 2007-01-21 00:00
> api.nad.inc.php-rwxr--r-- 1 jffnms jffnms 13165 2007-01-21 00:00
> api.network.inc.php-rwxr--r-- 1 jffnms jffnms 8212 2007-01-21 00:00
> api.profile.inc.php-rwxr--r-- 1 jffnms jffnms 15510 2007-01-21 00:00
> api.rrdtool.inc.php-rwxr--r-- 1 jffnms jffnms 22293 2007-01-> 21 00:00
> api.satellites.inc.php-rwxr--r-- 1 jffnms jffnms 7033 2007-01-21 00:00
> api.tools.inc.php-rwxr--r-- 1 jffnms jffnms 13562 2007-01-21 00:00
> api.triggers.inc.php-rwxr--r-- 1 jffnms jffnms 2622 2007-01-21 00:00
> api.user.inc.php-rwxr--r-- 1 jffnms jffnms 977 2007-01-21 00:00
> api.zones.inc.php-rwxr--r-- 1 jffnms jffnms 5834 2007-01-21 00:00
> gui.admin.inc.php-rwxr--r-- 1 jffnms jffnms 27683 2007-01-21 00:00
> gui.controls.inc.php-rwxr--r-- 1 jffnms jffnms 15131 2007-01-21 00:00
> gui.inc.php-rwxr--r-- 1 jffnms jffnms 8380 2007-01-21 00:00
> gui.toolkit.inc.phpNMS:/usr/share/jffnms/lib#> > > > > Subject: Re:
> [jffnms-users] JFFNMS Installation @Debian 4.0 Etch> From: [EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]> CC: jffnms-users@lists.sourceforge.net> Date: Fri, 1
> Jun 2007 10:02:52 -0400> > Permissions on that file are incorrect for the WWW
> user.> > Make sure that file and the folder it resides in are writeable by
> the> web server user account.> > ie. chown -R apache:apache
> /usr/share/jffnms/lib/> chmod -R 744 /usr/share/jffnms/lib/> > On Fri,
> 2007-06-01 at 13:49 +0000, Moshiur Rahman Khan wrote:> > I almost completed
> JFFNMS installation but in one position :(> > > > > > Can you please tell me
> how do I solved it in debian 4.0 etch . Details> > are given in below:> > > >
> > > > > --------Error------------ > > > > Warning:
> fopen(../../conf/jffnms.conf.2007-06-01) [function.fopen]:> > failed to open
> stream: Permission denied> > in /usr/share/jffnms/lib/api.inc.php on line 99>
> > > > > > > > --------------------------------------------------------> > See
> the err> or image:> >
> http://aycu07.webshots.com/image/18766/2003964897666115391_rs.jpg > > > > > >
> or> >
> [URL=http://allyoucanupload.webshots.com/v/2003964897666115391][IMG]http://aycu07.webshots.com/image/18766/2003964897666115391_th.jpg[/IMG][/URL]
> please help/suggest me. > > > >
> -------------------------------------------------------------------------> >
> This SF.net email is sponsored by DB2 Express> > Download DB2 Express C - the
> FREE version of DB2 express and take> > control of your XML. No limits. Just
> data. Click to get it now.> > http://sourceforge.net/powerbar/db2/> >
> _______________________________________________ jffnms-users mailing list
> jffnms-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jffnms-users> -- > Jeffrey
> Singleton> Network Systems Administrator (Trusted Source)> Secure Computing
> Corporation> 48000 North Point Parkway> Alpharetta, GA 30022> C:
> 770-820-2909> O: 678-> > -------------- next part --------------> An HTML
> attachment was scrubbed...> > ------------------------------> > Message: 2>
> Date: Sun, 3 Jun 2007 05:27:55 +0000> From: Moshiur Rahman Khan <[EMAIL
> PROTECTED]>> Subject: Re: [jffnms-users] JFFNMS Installation @Debian 4.0
> Etch> To: Jeffrey Singleton <[EMAIL PROTECTED]>> Cc:
> jffnms-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]>>
> Content-Type: text/plain; charset="windows-1252"> > What I did from the
> beginning ? I just installed everything of the following URL (Other Packages
> Related to jffnms) : > > http://packages.debian.org/unstable/web/jffnms > >
> and I did not configure anything . After installation completed when I tried
> to install JFFNMS and I followed the intrusions of JFFNMS : readme.debian but
> I got the error during the JFFNMS installation period. Please see it
> http://aycu19.webshots.com/image/17618/2006098236852083444_rs.jpg> > Then I
> identified I didn?t install mysql-server and graphviz. > > > Then apt-get
> remove jffnms> > apt-get install jffnms> > By this time it didn?t ask me the
> same picture
> http://aycu19.webshots.com/image/17618/2006098236852083444_rs.jpg> > Then I
> used # groupadd jffnms # useradd -g jffnms -d /opt/jffnms -s /bin/false -c
> 'JFFNMS User' jffnms# usermod -G jffnms apache> > But it was telling me
> jffnms user and group exist. then > > # mysqladmin password XXXXXX # mysql -u
> root mysql -p mysql> CREATE DATABASE jffnms; mysql> GRANT ALL PRIVILEGES ON
> jffnms.* TO [EMAIL PROTECTED] IDENTIFIED BY 'jffnms'; mysql> FLUSH
> PRIVILEGES; mysql> quit> > Then I got my Console >>>
> http://aycu14.webshots.com/image/17053/2004846625875080745_rs.jpg> > After
> that when I was proceeding more :(> > I communicated to JFFNMS forum and you
> know about it. Please help me.> > Best Regards,> > Moshiur> > > > > Subject:
> Re: [jffnms-users] JFFNMS Installation @Debian 4.0 Etch> From: [EMAIL
> PROTECTED]> To: [EMAIL PROTECTED]> CC: jffnms-users@lists.sourceforge.net>
> Date: Fri, 1 Jun 2007 10:02:52 -0400> > Permissions on that file are
> incorrect for the WWW user.> > Make sure that file and the folder it resides
> in are writeable by the> web server user account.> > ie. chown -R
> apache:apache /usr/share/jffnms/lib/> chmod -R 744 /usr/share/jffnms/lib/> >
> On Fri, 2007-06-01 at 13:49 +0000, Moshiur Rahman Khan wrote:> > I almost
> completed JFFNMS installation but in one position :(> > > > > > Can you
> please tell me how do I solved it in debian 4.0 etch . Details> > are given
> in below:> > > > > > > > --------Error------------ > > > > Warning:
> fopen(../../conf/jffnms.conf.2007-06-01) [function.fopen]:> > failed to open
> stream: Permission denied> > in /usr/share/jffnms/lib/api.inc.php on line 99>
> > > > > > > > --------------------------------------------------------> > See
> the err> or image:> >
> http://aycu07.webshots.com/image/18766/2003964897666115391_rs.jpg > > > > > >
> or> >
> [URL=http://allyoucanupload.webshots.com/v/2003964897666115391][IMG]http://aycu07.webshots.com/image/18766/2003964897666115391_th.jpg[/IMG][/URL]
> please help/suggest me. > > > >
> -------------------------------------------------------------------------> >
> This SF.net email is sponsored by DB2 Express> > Download DB2 Express C - the
> FREE version of DB2 express and take> > control of your XML. No limits. Just
> data. Click to get it now.> > http://sourceforge.net/powerbar/db2/> >
> _______________________________________________ jffnms-users mailing list
> jffnms-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jffnms-users> -- > Jeffrey
> Singleton> Network Systems Administrator (Trusted Source)> Secure Computing
> Corporation> 48000 North Point Parkway> Alpharetta, GA 30022> C:
> 770-820-2909> O: 678-> > -------------- next part --------------> An HTML
> attachment was scrubbed...> > ------------------------------> >
> ------------------------------------------------------------------------->
> This SF.net email is sponsored by DB2 Express> Download DB2 Express C - the
> FREE version of DB2 express and take> control of your XML. No limits. Just
> data. Click to get it now.> http://sourceforge.net/powerbar/db2/> >
> ------------------------------> >
> _______________________________________________> jffnms-users mailing list>
> jffnms-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jffnms-users> > > End of
> jffnms-users Digest, Vol 13, Issue 2>
> *******************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users