Hi Javier,

I removed de 'extension=snmp.so' both in apache/php.ini and cgi/php.ini.
I m sure about the RW community.

I do not understand the 'copy running tftp' thing what exactly should I
do?
If I look in the tftpd folder is see some .dat files.

I get this when I run it from command line:

debian:/opt/jffnms/engine# /usr/bin/php4 -q tftp_get_host_config.php <br
/> <b>Fatal error</b>:  Call to undefined function:  snmpset() in
<b>/opt/jffnms/engine/configs/cisco_cc.inc.php</b> on line <b>10</b><br
/>


Thanks for your help,


Cheers

Francis

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Javier
Szyszlican
Sent: dinsdag 6 juli 2004 15:30
Cc: [EMAIL PROTECTED]
Subject: Re: [jffnms-users] tftp not working

Hi Francis,

First, you have the snmp function defined inside your PHP and as a 
module, please remove the 'extension=snmp.so' line from your php.ini.

Second. Are you sure the RW community is correct?

Third, try doing a 'copy running tftp' to the JFFNMS box, and check if 
the file appears in the jffnms tftpd/ folder.

Javier

Francis Boterblom wrote:
> Hi,
> 
>  
> 
> Some additional information, when I run it from command line I get
this:
> 
>  
> 
> debian:/opt/jffnms/engine# /usr/bin/php4 -q tftp_get_host_config.php
> 
> Content-type: text/html
> 
>  
> 
> PHP Warning:  Function registration failed - duplicate name - snmpget
in 
> Unknown on line 0
> 
> PHP Warning:  Function registration failed - duplicate name - snmpwalk

> in Unknown on line 0
> 
> PHP Warning:  Function registration failed - duplicate name - 
> snmprealwalk in Unknown on line 0
> 
> PHP Warning:  Function registration failed - duplicate name - 
> snmpwalkoid in Unknown on line 0
> 
> PHP Warning:  Function registration failed - duplicate name - 
> snmp_get_quick_print in Unknown on line 0
> 
> PHP Warning:  Function registration failed - duplicate name - 
> snmp_set_quick_print in Unknown on line 0
> 
> PHP Warning:  Function registration failed - duplicate name - snmpset
in 
> Unknown on line 0
> 
> PHP Warning:  snmp:  Unable to register functions, unable to load in 
> Unknown on line 0
> 
>  :  H   4 : 192.168.xx.xx : cisco_cc : Error Waiting transfer to
finish 
> (34259.81 msec)
> 
> <br />
> 
> <b>Warning</b>:  No Response from 192.168.26.12
> 
>  in <b>/opt/jffnms/engine/configs/cisco_sys.inc.php</b> on line 
> <b>8</b><br />
> 
>  :  H   5 : 192.168.xx.xx : cisco_sys : Error Getting File (24079.58
msec)
> 
>  :  H   6 : 192.168.yy.yy : cisco_sys : Error Getting File (19.44
msec)
> 
>  :  H   7 : 192.168.zz.zz : cisco_cc : Error Getting File (19.74 msec)
> 
> TIMES   : Total Time 58381.98 msec.
> 
>  
> 
>  
> 
> ???
> 
>  
> 
>
------------------------------------------------------------------------
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of
*Francis 
> Boterblom
> *Sent:* dinsdag 6 juli 2004 11:35
> *To:* [EMAIL PROTECTED]
> *Subject:* [jffnms-users] tftp not working
> 
>  
> 
> Hi,
> 
>  
> 
>  
> 
> I trying to setup the JFFNMS o that I can get my configs from my cisco

> equip, but nothing happens.
> 
> Is JFFNMS after setting up the write community string saving the
config 
> right away or......?
> 
>  
> 
> Is there a log where I can se what is going wrong?
> 
>  
> 
>  
> 
> Cheers
> 
>  
> 
> Francis
> 
>  
> 
> Running Debian
> 
>  
> 
>  
> 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to