Craig Small wrote:
On Tue, Apr 13, 2004 at 08:02:31AM -0400, James wrote:Well I check the /etc/crontab and the entries were not there (as delineated in the generic unix
I am running sarge and sid on different machines. Using the apt-get
I get the same identical problems. Yes php4 and all of the components
that are listed, is installed. Yes there is still some php/apache problem, but,
I suspect it is in the deb package. Let me know if you are able to install
jffnms with apt-get on sarge, and how it works. I'm waiting to hear from
I've installed the package fine on various computers with minimal problems. Things to check are: - /etc/cron.daily has a syntax error - You need to make sure your php4 works. - You may need to add a directory statement in the apache config to allow things like directory indexes.
installation document. So I add those entries to /etc/crontab. This got me thinking. I started
out with apt-get install jffnms. So maybe that process did not configure the packages? So
now I have been following that generic unix install document. So the next thing I discovered
is that mysql was not installed properly(or not at all).
dpkg --purge mysql
apt-get install mysql-server mysql-common mysql-client
But when do the next step(from the generic unix install document)
"mysql -u admin -p admin"
it chokes. In fact I tried all sorts of combinations.
How do I reset the admin for mysql?
I guess I assumed that installing via apt-get that the only configureation I would have to do, is from a web page, or answering questions from a script to complete/customize the installation. I guess I need to follow the generic unix installation, after the debian apt-get proceedure? This is unclear, but, obviously I have screwd up on this?
Anyway, that where I'm at (short of other tips) that is, following the mysql instructions in the generic unix document.
I got mysql configure, as specified in the generic unix document, wiht this command mysql -u root
It did not need/ask for a password. I can correct this later, but, for now I'm moving on.
http://localhost/jffnms/ reveals:
db_ping(mysql) Connection to DB Restored... db_ping(mysql) Connection to DB Restored... db_ping(mysql) Connection to DB Restored... db_ping(mysql) Connection to DB Restored... 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 301
db_ping(mysql) Connection to DB Restored... db_ping(mysql) Connection to DB Restored... db_ping(mysql) Connection to DB Restored... db_ping(mysql) Connection to DB Restored... 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 301
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/jffnms/lib/api.inc.php:32) in /usr/share/jffnms/lib/gui.inc.php on line 183
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/jffnms/lib/api.inc.php:32) in /usr/share/jffnms/lib/gui.inc.php on line 184
You must enter a valid Username and Password to access this system.
Login
When I click the login button on the bottom of the screen, nothing happens,
/var/loc/apache/error.log reveals: nothing, i.e. nothing added to error.log file.
Since I do not have a domain name, and I'm intend to use jffnms on a close network, without DNS, to monitor a bunch of machines(snmp) and cisco routers, I'm going to try this(substitue the IP address for the dns?):
1. As a virtual Hosts (if you control a DNS server):
<VirtualHosts *>
ServerAdmin [EMAIL PROTECTED] { the ip address of the machine running jffnms}
DocumentRoot /usr/share/jffnms/htdocs
ServerName 192.168.2.9
<VirtualHosts>
If this will not work, then I need ideas, as no DNS will be running on the network of machines.
Actually, that's what's appealling, no humans (er help desk), only machines with IPs....
Ideas on this one?
James
of old hardware. The problems with the apt-get installation of jffnms are identical
on both systems, so I do not think it's kernel related....but, I could be wrong..
http://localhost/jffnms says:
"Forbidden You don't have permission to access /jffnms on this server."
Which file do I change permissions on?
Right, /var/log/apache/error.log will tell you what is going wrong. It can either be a directory index or it doesnt know it can use index.php
Try http://localhost/jffnms/index.php
If that works, it means you need to add index.php to the line in /etc/apache/httpd.conf that starts with
DirectoryIndex index.html
Actually, try http://localhost/jffnms/ (with the / at the end) first
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
