Hello,
I've been working for three days now off and on trying to get this all to work. I've scoured the message boards and read the instructions over and over. I can login to the interface and navigate through some of the menus. My problems follow. Please if anyone has time advise me where to look at to solve these.
1.
The number one problem i'm having is with saving any changes. I can't change anything. Of course that seems like a database access problem however, i've done the "grant all..." for the user connecting so i don't understand why i can't do any writes.
2.
The paths in the console show "c:/php/php.exe" - shouldn't it be
"c:\php\php.exe". I get the feeling there is more of these "pathing" errors in other files. Unfortunately, i can't makes any changes (see #1 above).
3.
I can't use the user authentication - had to drop and rebuild the database to get in and turn it off. I saw a couple other people were having the same problem. Basically when i try to login for the first time with admin/admin it just refreshes the screen.
4.
Scheduling the cmd.php through a batch file i get an errors with the perl
calls. Activestates perl for Win32 is installed (I currently use MRTG).
C:\php>C:\PHP\php.exe c:\inetpub\wwwroot\cacti\cmd.php
Can't open perl script "/cacti/scripts/users.pl": No such file or directory
I've read as much as i can and tried every hint i gleaned from the message boards. I've set ACL's accordingly, went over and over the php.ini, created c:\usr\mibs, copied the unix tools over, modifed the path to include everything needed, and all my program paths are defaults.
Please advise.
Oh yes, and thanks for your time and efforts in creating what appears to be a fantastic piece of software.
Thanks,
Brandon
Environment = Win2k SP2, IIS5, Cacti 0.6.7
Saving Problems as well as others
Moderators: Developers, Moderators
My configuration is identical to yours. For starters, under "Cacti Settings", uncheck "Use Cacti's Built In Authentication". Here's my environment settings (starting with PHP Binary Path):
c:/php/php.exe
c:/rrdtool/rrdtool.exe
c:/usr/bin/snmpget.exe
c:/usr/bin/snmpwalk.exe
/cacti
/foxserv/www
Here's MY PHP.INI , located in C:\WINNT - (change the 1st 2 lines to match your directories)
include_path="c:\php\includes;c:\foxserv\www\cacti"
extension_dir="C:\php\extensions\"
safe_mode_gid=Off
highlight.string=#CC0000
highlight.comment=#FF9900
highlight.keyword=#006600
highlight.bg=#FFFFFF
highlight.default=#0000CC
highlight.html=#000000
gpc_order="GPC"
enable_dl=On
cgi.force_redirect=0
define_syslog_variables=Off
SMTP=localhost
sendmail_from=me@localhost.com
sql.safe_mode=Off
odbc.allow_persistent=On
odbc.check_persistent=On
odbc.max_persistent=-1
odbc.max_links=-1
odbc.defaultlrl=4096
odbc.defaultbinmode=1
mysql.allow_persistent=On
mysql.max_persistent=-1
mysql.max_links=-1
msql.allow_persistent=On
msql.max_persistent=-1
msql.max_links=-1
pgsql.allow_persistent=On
pgsql.max_persistent=-1
pgsql.max_links=-1
sybase.allow_persistent=On
sybase.max_persistent=-1
sybase.max_links=-1
sybase.min_error_severity=10
sybase.min_message_severity=10
sybase.compatability_mode=Off
sybct.allow_persistent=On
sybct.max_persistent=-1
sybct.max_links=-1
sybct.min_server_severity=10
sybct.min_client_severity=10
bcmath.scale=0
ifx.allow_persistent=On
ifx.max_persistent=-1
ifx.max_links=-1
ifx.textasvarchar=0
ifx.byteasvarchar=0
ifx.charasvarchar=0
ifx.blobinfile=0
ifx.nullformat=0
session.save_handler=files
session.save_path=C:\PHP\sessiondata
session.use_cookies=1
session.name=PHPSESSID
session.auto_start=0
session.cookie_lifetime=0
session.cookie_path=/
session.serialize_handler=php
session.gc_probability=1
session.gc_maxlifetime=1440
session.entropy_length=0
session.cache_limiter=nocache
session.cache_expire=180
session.use_trans_sid=1
url_rewriter.tags="a=href,area=href,frame=src,input=src,form=fakeentry"
mssql.allow_persistent=On
mssql.max_persistent=-1
mssql.max_links=-1
mssql.min_error_severity=10
mssql.min_message_severity=10
mssql.compatability_mode=Off
ingres.allow_persistent=On
ingres.max_persistent=-1
ingres.max_links=-1
pfpro.defaulthost="test-payflow.verisign.com"
pfpro.defaultport=443
pfpro.defaulttimeout=30
sockets.use_system_read=On
expose_php=On
allow_url_fopen=On
max_execution_time=60
memory_limit=32M
engine=On
y2k_compliance=Off
output_buffering=Off
zlib.output_compression=on
short_open_tag=On
asp_tags=Off
allow_call_time_pass_reference=On
implicit_flush=Off
precision=14
display_errors=On
error_reporting=E_USER_ERROR
display_startup_errors=Off
track_errors=Off
warn_plus_overloading=Off
html_errors=On
log_errors=Off
variables_order="EGPCS"
magic_quotes_gpc=On
register_globals=On
register_argc_argv=On
magic_quotes_runtime=Off
magic_quotes_sybase=Off
post_max_size=8M
default_mimetype="text/html"
default_charset="iso-8859-1"
file_uploads=On
upload_tmp_dir="C:\PHP\uploadtemp"
upload_max_filesize=5M
# extension="php_snmp.dll"
safe_mode=Off
safe_mode_allowed_env_vars="PHP_"
safe_mode_protected_env_vars="LD_LIBRARY_PATH"
c:/php/php.exe
c:/rrdtool/rrdtool.exe
c:/usr/bin/snmpget.exe
c:/usr/bin/snmpwalk.exe
/cacti
/foxserv/www
Here's MY PHP.INI , located in C:\WINNT - (change the 1st 2 lines to match your directories)
include_path="c:\php\includes;c:\foxserv\www\cacti"
extension_dir="C:\php\extensions\"
safe_mode_gid=Off
highlight.string=#CC0000
highlight.comment=#FF9900
highlight.keyword=#006600
highlight.bg=#FFFFFF
highlight.default=#0000CC
highlight.html=#000000
gpc_order="GPC"
enable_dl=On
cgi.force_redirect=0
define_syslog_variables=Off
SMTP=localhost
sendmail_from=me@localhost.com
sql.safe_mode=Off
odbc.allow_persistent=On
odbc.check_persistent=On
odbc.max_persistent=-1
odbc.max_links=-1
odbc.defaultlrl=4096
odbc.defaultbinmode=1
mysql.allow_persistent=On
mysql.max_persistent=-1
mysql.max_links=-1
msql.allow_persistent=On
msql.max_persistent=-1
msql.max_links=-1
pgsql.allow_persistent=On
pgsql.max_persistent=-1
pgsql.max_links=-1
sybase.allow_persistent=On
sybase.max_persistent=-1
sybase.max_links=-1
sybase.min_error_severity=10
sybase.min_message_severity=10
sybase.compatability_mode=Off
sybct.allow_persistent=On
sybct.max_persistent=-1
sybct.max_links=-1
sybct.min_server_severity=10
sybct.min_client_severity=10
bcmath.scale=0
ifx.allow_persistent=On
ifx.max_persistent=-1
ifx.max_links=-1
ifx.textasvarchar=0
ifx.byteasvarchar=0
ifx.charasvarchar=0
ifx.blobinfile=0
ifx.nullformat=0
session.save_handler=files
session.save_path=C:\PHP\sessiondata
session.use_cookies=1
session.name=PHPSESSID
session.auto_start=0
session.cookie_lifetime=0
session.cookie_path=/
session.serialize_handler=php
session.gc_probability=1
session.gc_maxlifetime=1440
session.entropy_length=0
session.cache_limiter=nocache
session.cache_expire=180
session.use_trans_sid=1
url_rewriter.tags="a=href,area=href,frame=src,input=src,form=fakeentry"
mssql.allow_persistent=On
mssql.max_persistent=-1
mssql.max_links=-1
mssql.min_error_severity=10
mssql.min_message_severity=10
mssql.compatability_mode=Off
ingres.allow_persistent=On
ingres.max_persistent=-1
ingres.max_links=-1
pfpro.defaulthost="test-payflow.verisign.com"
pfpro.defaultport=443
pfpro.defaulttimeout=30
sockets.use_system_read=On
expose_php=On
allow_url_fopen=On
max_execution_time=60
memory_limit=32M
engine=On
y2k_compliance=Off
output_buffering=Off
zlib.output_compression=on
short_open_tag=On
asp_tags=Off
allow_call_time_pass_reference=On
implicit_flush=Off
precision=14
display_errors=On
error_reporting=E_USER_ERROR
display_startup_errors=Off
track_errors=Off
warn_plus_overloading=Off
html_errors=On
log_errors=Off
variables_order="EGPCS"
magic_quotes_gpc=On
register_globals=On
register_argc_argv=On
magic_quotes_runtime=Off
magic_quotes_sybase=Off
post_max_size=8M
default_mimetype="text/html"
default_charset="iso-8859-1"
file_uploads=On
upload_tmp_dir="C:\PHP\uploadtemp"
upload_max_filesize=5M
# extension="php_snmp.dll"
safe_mode=Off
safe_mode_allowed_env_vars="PHP_"
safe_mode_protected_env_vars="LD_LIBRARY_PATH"
Thanks but, still having problems saving.
Ok, thanks for the post of the ini file. I tried it and it did seem to fix an error that i was getting when clicking the graph tab at the top of the interface.
For some reason though i still can't change or save anything.
For example: When trying to add a new user when i click save it just refreshes and what i entered is gone. I did do the grant all to the user i'm connecting with through the config.php.
Any ideas anyone?
Brandon
For some reason though i still can't change or save anything.
For example: When trying to add a new user when i click save it just refreshes and what i entered is gone. I did do the grant all to the user i'm connecting with through the config.php.
Any ideas anyone?
Brandon
snmpget
sorry about intromission, but where can i find these archives snmpwalk.exe, snmpget.exe ?
Anonymous wrote:My configuration is identical to yours. For starters, under "Cacti Settings", uncheck "Use Cacti's Built In Authentication". Here's my environment settings (starting with PHP Binary Path):
c:/php/php.exe
c:/rrdtool/rrdtool.exe
c:/usr/bin/snmpget.exe
c:/usr/bin/snmpwalk.exe
/cacti
/foxserv/www
Here's MY PHP.INI , located in C:\WINNT - (change the 1st 2 lines to match your directories)
include_path="c:\php\includes;c:\foxserv\www\cacti"
extension_dir="C:\php\extensions"
safe_mode_gid=Off
highlight.string=#CC0000
highlight.comment=#FF9900
highlight.keyword=#006600
highlight.bg=#FFFFFF
highlight.default=#0000CC
highlight.html=#000000
gpc_order="GPC"
enable_dl=On
cgi.force_redirect=0
define_syslog_variables=Off
SMTP=localhost
sendmail_from=me@localhost.com
sql.safe_mode=Off
odbc.allow_persistent=On
odbc.check_persistent=On
odbc.max_persistent=-1
odbc.max_links=-1
odbc.defaultlrl=4096
odbc.defaultbinmode=1
mysql.allow_persistent=On
mysql.max_persistent=-1
mysql.max_links=-1
msql.allow_persistent=On
msql.max_persistent=-1
msql.max_links=-1
pgsql.allow_persistent=On
pgsql.max_persistent=-1
pgsql.max_links=-1
sybase.allow_persistent=On
sybase.max_persistent=-1
sybase.max_links=-1
sybase.min_error_severity=10
sybase.min_message_severity=10
sybase.compatability_mode=Off
sybct.allow_persistent=On
sybct.max_persistent=-1
sybct.max_links=-1
sybct.min_server_severity=10
sybct.min_client_severity=10
bcmath.scale=0
ifx.allow_persistent=On
ifx.max_persistent=-1
ifx.max_links=-1
ifx.textasvarchar=0
ifx.byteasvarchar=0
ifx.charasvarchar=0
ifx.blobinfile=0
ifx.nullformat=0
session.save_handler=files
session.save_path=C:\PHP\sessiondata
session.use_cookies=1
session.name=PHPSESSID
session.auto_start=0
session.cookie_lifetime=0
session.cookie_path=/
session.serialize_handler=php
session.gc_probability=1
session.gc_maxlifetime=1440
session.entropy_length=0
session.cache_limiter=nocache
session.cache_expire=180
session.use_trans_sid=1
url_rewriter.tags="a=href,area=href,frame=src,input=src,form=fakeentry"
mssql.allow_persistent=On
mssql.max_persistent=-1
mssql.max_links=-1
mssql.min_error_severity=10
mssql.min_message_severity=10
mssql.compatability_mode=Off
ingres.allow_persistent=On
ingres.max_persistent=-1
ingres.max_links=-1
pfpro.defaulthost="test-payflow.verisign.com"
pfpro.defaultport=443
pfpro.defaulttimeout=30
sockets.use_system_read=On
expose_php=On
allow_url_fopen=On
max_execution_time=60
memory_limit=32M
engine=On
y2k_compliance=Off
output_buffering=Off
zlib.output_compression=on
short_open_tag=On
asp_tags=Off
allow_call_time_pass_reference=On
implicit_flush=Off
precision=14
display_errors=On
error_reporting=E_USER_ERROR
display_startup_errors=Off
track_errors=Off
warn_plus_overloading=Off
html_errors=On
log_errors=Off
variables_order="EGPCS"
magic_quotes_gpc=On
register_globals=On
register_argc_argv=On
magic_quotes_runtime=Off
magic_quotes_sybase=Off
post_max_size=8M
default_mimetype="text/html"
default_charset="iso-8859-1"
file_uploads=On
upload_tmp_dir="C:\PHP\uploadtemp"
upload_max_filesize=5M
# extension="php_snmp.dll"
safe_mode=Off
safe_mode_allowed_env_vars="PHP_"
safe_mode_protected_env_vars="LD_LIBRARY_PATH"
Who is online
Users browsing this forum: No registered users and 3 guests