Hi Justin,

Theres something bad in your PHP installation, did you do it by hand or using portage?

Gentoo is my main development system for JFFNMS, and my PHP 4.3.8 compile parameters are a lot bigger, and mysql is compiled in not as a module in Gentoo.

Javier

Justin hunt wrote:
Ill copy the setup into the bottom of this, but everything that is required is green.

I discovered its something todo with the way the frames work, because if i open control.php login then i get the menu that is usually at the top of the window, however loggin in thru index.php, it just prints the source for controls.php

Justin



JFFNMS Setup
Using ../../conf/config.ini

      Version      0.7.8
Site Name

Database Configuation
Database Type       mysql pg
Database Host
Database Name
Database Username
Database Password
Is The Database Working?       YES

System Configuration
Operating System       unix windows
GUI Access Method       local satellite
Satellite Server - optional        OK
Satellite URI or [none]        OK

Paths Configuration
Absolute Path        OK
WebServer Relative Path        OK
TFTP Server Files Path        OK
RRD Files Path        OK
Engine Temp Files Path        OK
Log Files Path        OK
Temp Images Absolute Path        OK
WebServer Temp Images Relative Path        OK
PHP Executable Path        OK
GraphViz Neato Executable Path        OK
RRDTool Executable Path        OK
GNU Diff Executable Path        OK
NMAP PortScanner Executable Path        OK
FPING Executable Path        OK
SMSClient for SMS via Modem - optional        ERROR
NTPQ Executable - optional        ERROR

PHP Status
Register Globals set to On       YES
Allow URL fopen set to On       YES
SNMP Module Loaded?       YES
Sockets Module Loaded?       YES
GD Module Loaded?       YES
optional MySQL Module Loaded?       YES
optional PgSQL Module Loaded?       NO
Perl RegExps Module Loaded?       YES
optional - WDDX Module Loaded?       NO

Colors
Standard Color
Mouse Over Color
Selected Option Color
Table Row Color 1
Table Row Color 2

Internal Options
GUI Auth/Login Method       http login
Your Logo URL        OK
Administrative Event Type
Internal Event Type

Misc Options
Enable Debugging/Logging
Days to Store Events/Alarms
Days to Store Raw Syslog/Tacacs/Trap
Days to Store Host Configs
Events Latest Records
Default Map Refresh in secs
Default Events Refresh in secs
Check for new Internal Messages Every in secs
Events Sound Alert
Replay Active Alarms Every in minutes
Check this when you finish Initial Setup

Also here is the output from jffnms/admin/adm/test.php

PHP Version 4.3.8

System Linux router 2.6.7-gentoo-r11 #2 Mon Aug 2 21:38:49 Local time zone must be set--see zic manua i586
Build Date Aug 10 2004 13:45:28
Configure Command './configure' '--with-apxs2=/usr/sbin/apxs2' '--with-snmp' '--with-gd' '--with-jpeg' '--with-zlib' '--with-config-file-path=/etc/' '--with-mysql' '--enable-sockets'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib


This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


--------------------------------------------------------------------------------



PHP Credits

--------------------------------------------------------------------------------


Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data On On
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir /usr/lib/php4 /usr/lib/php4
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF9900 #FF9900
highlight.default #0000CC #0000CC
highlight.html #000000 #000000
highlight.keyword #006600 #006600
highlight.string #CC0000 #CC0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/php/includes;/var/www/html/admintools .:/php/includes;/var/www/html/admintools
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 9999999999999 9999999999999
max_input_time -1 -1
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from [EMAIL PROTECTED] [EMAIL PROTECTED]
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP 10.1.0.101 10.1.0.101
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 100000 100000
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance Off Off



apache2handler
Apache Version Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8
Apache API Version 20020903
Server Administrator [EMAIL PROTECTED]
Hostname:Port 192.168.123.162:0
User/Group apache(81)/81
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server No
Server Root /usr/lib/apache2
Loaded Modules core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_usertrack mod_unique_id mod_setenvif mod_proxy proxy_connect proxy_ftp proxy_http mod_mime mod_status mod_autoindex mod_asis mod_info mod_cgi mod_cgid mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_file_cache mod_echo mod_charset_lite mod_cache mod_disk_cache mod_mem_cache mod_ext_filter mod_case_filter mod_case_filter_in mod_deflate mod_logio sapi_apache2


Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0


Apache Environment
Variable Value
UNIQUE_ID yfY1u8CoAAEAADZ8N2wAAAAF
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
HTTP_ACCEPT_LANGUAGE en-us
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
HTTP_HOST 192.168.123.162
HTTP_CONNECTION Keep-Alive
PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin


SERVER_SIGNATURE <address>Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8 Server at 192.168.123.162 Port 80</address>
SERVER_SOFTWARE Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8
SERVER_NAME 192.168.123.162
SERVER_ADDR 192.168.123.162
SERVER_PORT 80
REMOTE_ADDR 192.168.123.154
DOCUMENT_ROOT /var/www/localhost/htdocs
SERVER_ADMIN [EMAIL PROTECTED]
SCRIPT_FILENAME /var/www/localhost/htdocs/jffnms/admin/adm/test.php
REMOTE_PORT 2519
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /jffnms/admin/adm/test.php
SCRIPT_NAME /jffnms/admin/adm/test.php



HTTP Headers Information
HTTP Request Headers
HTTP Request GET /jffnms/admin/adm/test.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Accept-Language en-us
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host 192.168.123.162
Connection Keep-Alive
HTTP Response Headers
X-Powered-By PHP/4.3.8
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html; charset=ISO-8859-1



ctype ctype functions enabled


gd GD Support enabled GD Version bundled (2.0.23 compatible) GIF Read Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled


mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.49 MYSQL_MODULE_TYPE builtin MYSQL_SOCKET /var/run/mysqld/mysqld.sock MYSQL_INCLUDE no value MYSQL_LIBS no value

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off


overload User-Space Object Overloading Support enabled


pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 4.5 01-December-2003


posix Revision $Revision: 1.51.2.2 $


session Session Support enabled Registered save handlers files user

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies Off Off
session.use_only_cookies Off Off
session.use_trans_sid Off Off


snmp NET-SNMP Support enabled NET-SNMP Version 5.1.1


sockets Sockets Support enabled


standard Regex Library Bundled library enabled Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value



tokenizer Tokenizer Support enabled


xml XML Support active XML Namespace Support active EXPAT Version 1.95.6


zlib ZLib Support enabled Compiled Version 1.2.1 Linked Version 1.2.1

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value


Additional Modules Module Name


Environment
Variable Value
PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin




PHP Variables
Variable Value
PHP_SELF /jffnms/admin/adm/test.php
_SERVER["UNIQUE_ID"] yfY1u8CoAAEAADZ8N2wAAAAF
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
_SERVER["HTTP_HOST"] 192.168.123.162
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["PATH"] /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin


_SERVER["SERVER_SIGNATURE"] <address>Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8 Server at 192.168.123.162 Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.0.50 (Gentoo/Linux) PHP/4.3.8
_SERVER["SERVER_NAME"] 192.168.123.162
_SERVER["SERVER_ADDR"] 192.168.123.162
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 192.168.123.154
_SERVER["DOCUMENT_ROOT"] /var/www/localhost/htdocs
_SERVER["SERVER_ADMIN"] [EMAIL PROTECTED]
_SERVER["SCRIPT_FILENAME"] /var/www/localhost/htdocs/jffnms/admin/adm/test.php
_SERVER["REMOTE_PORT"] 2519
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /jffnms/admin/adm/test.php
_SERVER["SCRIPT_NAME"] /jffnms/admin/adm/test.php
_SERVER["PHP_SELF"] /jffnms/admin/adm/test.php
_SERVER["PATH_TRANSLATED"] /var/www/localhost/htdocs/jffnms/admin/adm/test.php
_SERVER["argv"] Array
(
)


_SERVER["argc"] 0
_ENV["PATH"] /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin




PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [EMAIL PROTECTED]



-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to