Problems installing net-snmp - installing perl

2009-08-26 Thread Ross, Brian
In the README.solaris file, there is a section about needing to install perl. I have had to do this on a couple of systems but I've encountered a problem. Where it advises: " Once you have compiled and installed net-snmp you can test the Perl capabilities of the final installation by doing the

Re: FW: Problems installing net-snmp

2009-08-24 Thread Dave Shield
2009/8/24 Ross, Brian : > My next problem is with the startup script.   It appears to be set up > for Solaris 10 and I'm running this under Solaris 9.  The startup script > supplied with the source isn't working and I was wondering if you'd be > able to help. > I don't have an /etc/rc.d/init.d/fun

RE: FW: Problems installing net-snmp

2009-08-23 Thread Ross, Brian
Dave, Thanks for your help. I've added that and it now appears to be working OK. My next problem is with the startup script. It appears to be set up for Solaris 10 and I'm running this under Solaris 9. The startup script supplied with the source isn't working and I was wondering if you'd be a

Re: FW: Problems installing net-snmp

2009-08-22 Thread Dave Shield
2009/8/21 Ross, Brian : > Now, my configuration file has been pared back to basically: > trap2sink  kens-mgmt-043 ISsCa1 > informsink  kens-mgmt-043 ISsCa1 Note that this will send two copies of every trap (to the same manager). You probably don't want this. > trapcommunity  ISsCa1 Not strictl

FW: Problems installing net-snmp

2009-08-20 Thread Ross, Brian
OK, I've worked out that the command "/usr/local/sbin/snmpd /usr/local/share/snmp/snmpd.conf" is NOT the command to start net-snmp. It should just be "/usr/local/sbin/snmpd". Thanks to Dave Shield for confirming that. I have also worked out that you should not have quotes around the server name

Re: Problems installing net-snmp

2009-08-20 Thread Dave Shield
2009/8/20 Ross, Brian : > [after] starting > snmpd with the command " /usr/local/sbin/snmpd > /usr/local/share/snmp/snmpd.conf" (I am unsure if that is the correct > start command) > > Am I starting it with the wrong command? Yes, you are. Try simply running "snmpd" (after restoring the

Problems installing net-snmp

2009-08-19 Thread Ross, Brian
I have managed to download and compile the net-snmp source files and I believe it is working correctly. However, I note that after copying the snmpd.conf file to the directory /usr/local/share/snmp, and starting snmpd with the command " /usr/local/sbin/snmpd /usr/local/share/snmp/snmpd.conf" (I am

RE: Problems installing net-snmp

2009-08-05 Thread Mike Ayers
> From: Ross, Brian [mailto:[email protected]] > Sent: Tuesday, August 04, 2009 7:56 PM > I've followed the instructions to the point where I attempt the following > command, I get the following response: > > snmpconf -g basic_setup > bash: /usr/local/bin/snmpconf: bad interpreter: No suc

Re: Problems installing net-snmp

2009-08-05 Thread Dave Shield
2009/8/5 Ross, Brian : > I've followed the instructions to the point where I attempt the following > command, I get the following response: > > snmpconf -g basic_setup > bash: /usr/local/bin/snmpconf: bad interpreter: No such file or directory > Does anybody have any suggestions from this point?

Problems installing net-snmp

2009-08-04 Thread Ross, Brian
I am attempting to install net-snmp for the first time. I have a Solaris 9 server which needs to be monitored by HP Openview. I have downloaded the binary from sunfreeware.com and installed it. I've followed the instructions to the point where I attempt the following command, I get the follow

problems installing net-snmp

2008-11-19 Thread Enrique Amigó
I have a fedora core 6 Linux 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux and i want to install net-snmp. i was trying to install net-snmp-5.4.2.1 but this machine has already installed net-snmp-5.1.2-11, but every time i tried to start this service it fails. What a have t

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-04-20 Thread Dave Shield
> On Sat, 8 Mar 2008, Thomas Bonham wrote: > > > Does anyone else have any idea's on how to get this to working right? Sorry for the delay in responding to this. I've just started using my Mac laptop in earnest, and ran into the same issue. The simplest workaround that I've found so far is to ru

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-04-20 Thread Dave Shield
> On Sat, 8 Mar 2008, Thomas Bonham wrote: > > > Does anyone else have any idea's on how to get this to working right? Sorry for the delay in responding to this. I've just started using my Mac laptop in earnest, and ran into the same issue. The simplest workaround that I've found so far is to ru

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-09 Thread Brian A. Seklecki
On Sat, 8 Mar 2008, Thomas Bonham wrote: > Does anyone else have any idea's on how to get this to working right? > Maybe I need to send it to the snmp devels list also? The xcode mailing list should get CC'd on any Darwin-specific bugs. Also, can you post a URL to your config.log? That double

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-08 Thread Thomas Bonham
Does anyone else have any idea's on how to get this to working right? Maybe I need to send it to the snmp devels list also? Thank you, Thomas - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

RE: Problems installing NET-SNMP on Mac 10.5.2

2008-03-07 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Bonham > Sent: Friday, March 07, 2008 4:31 AM > > Maybe try to figure out why it's passing both: "-arch i386 > -arch ppc" > > > > Some split personality syndrome going on. > > Nope that still doesn't work. I wouldn't

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-07 Thread Brian A. Seklecki
That's what I tell people when they file bug reports about Darwin. "Next time, just install FreeBSD." ~BAS On Fri, 7 Mar 2008, Thomas Bonham wrote: >> Maybe try to figure out why it's passing both: "-arch i386 -arch ppc" >> >> Some split personality syndrome going on. > > Nope that still does

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-07 Thread Thomas Bonham
> Maybe try to figure out why it's passing both: "-arch i386 -arch ppc" > > Some split personality syndrome going on. Nope that still doesn't work. I wouldn't think it would be so hard to get something that is popular to install on any computer. Thanks, Thomas

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-06 Thread Brian A. Seklecki
Maybe try to figure out why it's passing both: "-arch i386 -arch ppc" Some split personality syndrome going on. ~BAS On Thu, 2008-03-06 at 21:26 -0700, Thomas Bonham wrote: > > This is a new one on me: > > > > ranlib: archive member: .libs/libnetsnmpagent.a(DynaLoader.a) fat > > file for cput

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-06 Thread Thomas Bonham
> This is a new one on me: > > ranlib: archive member: .libs/libnetsnmpagent.a(DynaLoader.a) fat > file for cputype (18) cpusubtype (0) is not an object file (bad > magic number) ar: internal ranlib command failed make[1]: *** > [libnetsnmpagent.la] Error 1 make: *** [subdirs] Error 1 bonham:

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-06 Thread Brian A. Seklecki
This is a new one on me: ranlib: archive member: .libs/libnetsnmpagent.a(DynaLoader.a) fat file for cputype (18) cpusubtype (0) is not an object file (bad magic number) ar: internal ranlib command failed make[1]: *** [libnetsnmpagent.la] Error 1 make: *** [subdirs] Error 1 bonham:net-snmp-5.4.

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-06 Thread Thomas Bonham
Okay fix the first error what I end up doing was putting what it was looking for in the file as defined at 1. #define HAVE_SSIZE_T 1 So now when I run make I'm getting this error. Any ideas now. rm -fr .libs/libnetsnmpagent.15.1.0.dylib .libs/libnetsnmpagent. 15.dylib .libs/libnetsnmpagent.a

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-06 Thread Brian A. Seklecki
On Wed, 5 Mar 2008, Thomas Bonham wrote: >> autoconf macros to be executed. sys/types.h and 'HAVE_SYS_TYPES_H' >> macro, IIRC. > > I don't know what you mean here . Check the CVS for autoconf.in or configure.ac. ~BAS - Thi

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-05 Thread Brian A. Seklecki
On Wed, 2008-03-05 at 14:32 -0700, Thomas Bonham wrote: > Hello, > > I'm trying to instill the net-snmp-5.4.1 on my MAC laptop. I'm > receiving this error when I run the make command. Are you running Xcode 3.0 or whatever the new/experimental version is? 2.5 is the stable release that you wan

Re: Problems installing NET-SNMP on Mac 10.5.2

2008-03-05 Thread Thomas Anders
Thomas Bonham wrote: > I'm trying to instill the net-snmp-5.4.1 on my MAC laptop. I'm > receiving this error when I run the make command. > > In file included from snmp_client.c:96: > ../include/net-snmp/types.h:68: error: conflicting types for 'ssize_t' > /usr/include/string.h:70: error: previo

RE: Problems installing NET-SNMP on Mac 10.5.2

2008-03-05 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Bonham > Sent: Wednesday, March 05, 2008 1:33 PM > In file included from snmp_client.c:96: > ../include/net-snmp/types.h:68: error: conflicting types for 'ssize_t' > /usr/include/string.h:70: error: previous declaration

Problems installing NET-SNMP on Mac 10.5.2

2008-03-05 Thread Thomas Bonham
Hello, I'm trying to instill the net-snmp-5.4.1 on my MAC laptop. I'm receiving this error when I run the make command. bonham:net-snmp-5.4.1 bonham$ make gcc -E -Iinclude -I./include -I./agent/mibgroup -I. -I. - DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin -x c ./sedscript.in | egrep '^s[/#]'