Doug D | 4 Apr 2005 07:20

Re: [opennms-discuss] Adding OpenNMS to Mandrake Startup

Just to make it interesting I have the same 'challenge' on a Mandrake 9.2 
system....

--
Teknable, Inc. (http://www.teknable.com)

---------- Original Message -----------
From: "Doug D" <dd1 <at> teknable.com>
To: opennms-discuss <at> lists.sourceforge.net
Sent: Mon, 4 Apr 2005 01:16:02 -0400
Subject: Re: [opennms-discuss] Adding OpenNMS to Mandrake Startup

> Hey DJ, shouldn't we be sleeping???
> 
> I'm running 1.2.2 which I installed last night and have the same 
> issue on three systems so far. I'm not sure about the bug but I 
> think it's different.
> 
> After the install the service doesn't show up in the list of 
> services in Mandrake's control center and I can't add it using chlconfig.
> 
> ls -la of /etc/init.d below. Notice the link to opennms and the 
> copied opennms.sh named opennms2. I added opennms2 to startup simply 
> by copying from /opt/OpenNMS/bin and running chkconfig --add 
> opennms2. And it worked... Hence my assumption Mandrake 10.1 doesn't 
> like the link.
> 
> [root <at> freemon init.d]# ls -la
> total 244
> drwxr-xr-x   2 root root  4096 Apr  4 00:19 ./
> drwxr-xr-x  10 root root  4096 Aug 14  2004 ../
> -rwxr--r--   1 root root  6931 Jun 24  2004 alsa*
> -rwxr--r--   1 root root  1194 Jan  8  2004 atd*
> -rwxr--r--   1 root root  1344 Jul 24  2003 crond*
> -rwxr--r--   1 root root  7291 Jan 21 18:59 cups*
> -rwxr--r--   1 root root  1476 Mar 11  2004 devfsd*
> -rwxr--r--   1 root root  1370 Jun 24  2004 dm*
> -rwxr--r--   1 root root 13776 Jun 24  2004 functions*
> -rwxr--r--   1 root root  6078 Jun 24  2004 halt*
> -rwxr--r--   1 root root  1231 Aug  2  2004 harddrake*
> -rwxr--r--   1 root root  1243 Mar 25  2004 hotplug*
> -rwxr--r--   1 root root  9454 Mar 17  2004 httpd*
> -rwxr--r--   1 root root  5354 Nov  2 16:55 iptables*
> -rwxr--r--   1 root root  2956 Sep 22  2003 keytable*
> -rwxr--r--   1 root root  2608 Mar  2  2004 kheader*
> -rwxr--r--   1 root root   481 Jun 24  2004 killall*
> -rw-r--r--   1 root root   758 Jun 24  2004 mandrake_consmap
> -rwxr--r--   1 root root  2382 Jun 24  2004 mandrake_everytime*
> -rwxr--r--   1 root root   670 Jun 24  2004 mandrake_firstime*
> -rwxr--r--   1 root root  5141 Jun 24  2004 netfs*
> -rwxr--r--   1 root root  1230 Mar 15  2004 netplugd*
> -rwxr--r--   1 root root  8024 Jun 24  2004 network*
> -rwxr--r--   1 root root  1233 Mar  1  2004 ntpd*
> -rwxr--r--   1 root root  1104 Apr 19  2003 numlock*
> lrwxrwxrwx   1 root root    32 Apr  3 01:03 opennms -
> > ../../opt/OpenNMS/bin/opennms.sh
> -rwxr--r--   1 root root 16509 Apr  4 00:19 opennms2*
> -rwxr--r--   1 root root   960 Jun 24  2004 partmon*
> -rwxr--r--   1 root root  1091 Apr 28  2003 portmap*
> -rwxr--r--   1 root root  2863 May 25  2004 postfix*
> -rwxr--r--   1 root root  6712 Feb 15 18:07 postgresql*
> -rwxr--r--   1 root root  1543 Jun 24  2004 random*
> -rwxr--r--   1 root root  2319 Jun 24  2004 rawdevices*
> -rwxr--r--   1 root root  1421 Jun 24  2004 single*
> -rwxr--r--   1 root root  1455 Mar 17  2004 snmpd*
> -rwxr--r--   1 root root  1353 Mar 17  2004 snmptrapd*
> -rwxr--r--   1 root root  3484 Jun 24  2004 sound*
> -rwxr--r--   1 root root  3051 Feb  3  2004 sshd*
> -rwxr--r--   1 root root  2009 Apr 22  2004 syslog*
> -rwxr--r--   1 root root  3297 Jan  8  2003 tomcat4*
> -rwxr--r--   1 root root  4554 Jun 24  2004 usb*
> -rwxr--r--   1 root root  1731 Mar 16  2004 vncserver*
> -rwxr--r--   1 root root  1401 Nov  5 14:16 webmin*
> -rwxr--r--   1 root root  1025 Nov 18 11:22 xfs*
> -rwxr--r--   1 root root  2467 Feb 19  2004 xinetd*
> [root <at> freemon init.d]#
> 
> --
> Teknable, Inc. (http://www.teknable.com)
> 
> ---------- Original Message -----------
> From: DJ Gregor <dj <at> opennms.org>
> To: opennms-discuss <at> lists.sourceforge.net
> Sent: Mon, 4 Apr 2005 00:49:44 -0400
> Subject: Re: [opennms-discuss] Adding OpenNMS to Mandrake Startup
> 
> > Doug,
> > 
> > If you could, please check and make sure that what you are running 
> > into isn't this problem (which was fixed in 1.2.1):
> > 
> > http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1177
> > 
> > If your problem seems different from that issue, please create a bug 
> > and include the information that you provided in your question,
> >  along with the version of OpenNMS you are trying this on, as well 
> > as the exact command-line you are passing to chkconfig and the 
> > output from the command.  Please include examples of the time that 
> > it fails and when it succeeds (when you copy opennms.sh to opennms2 
> > and try "chkconfig -add"ing that).
> > 
> > 	Thanks,
> > 	- djg
> > 
> > On Apr 4, 2005, at 12:27 AM, Doug D wrote:
> > 
> > > It seems the rpm adds a symbolic link to /etc/init.d. This doen't 
> > > appear to
> > > make mandrake happy and the service can't be added to startup using
> > > chkconfig -add. As a temp fix I copied opennms.sh to opennms2 in 
> > > /etc/init.d
> > > but this just doesn't seem right..
> > >
> > > Any other suggestions? Should I copy opennms.sh and overwrite the 
> > > link? Is
> > > this a Mandrake 10.1 only oddity?
> > >
> > > Thanks, BTW-It looks nice so far.... Doug.
> > >
> > > --
> > > Teknable, Inc. (http://www.teknable.com)
> > >
> > >
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide
> > > Read honest & candid reviews on hundreds of IT Products from real 
> > > users.
> > > Discover which products truly live up to the hype. Start reading now.
> > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > _______________________________________________
> > > Please read the OpenNMS Mailing List FAQ:
> > > http://wiki.opennms.org/tiki-index.php?page=MailingListFaq
> > >
> > > opennms-discuss mailing list
> > >
> > > To *unsubscribe* or change your subscription options, see the bottom 
> > > of this page:
> > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > >
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Please read the OpenNMS Mailing List FAQ:
> > http://wiki.opennms.org/tiki-index.php?page=MailingListFaq
> > 
> > opennms-discuss mailing list
> > 
> > To *unsubscribe* or change your subscription options, see the bottom 
> > of this page: https://lists.sourceforge.net/lists/listinfo/opennms-
discuss
> ------- End of Original Message -------
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://wiki.opennms.org/tiki-index.php?page=MailingListFaq
> 
> opennms-discuss mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom 
> of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss
------- End of Original Message -------

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-index.php?page=MailingListFaq

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss


Gmane