Sponsored Content
Full Discussion: Could not register prog
Special Forums UNIX and Linux Applications Infrastructure Monitoring Could not register prog Post 302370749 by upengan78 on Thursday 12th of November 2009 09:55:30 AM
Old 11-12-2009
Quote:
Originally Posted by incredible
I think you'll the startup script in /etc/rc3.d/S76snmpdx

Just rename it to s76snmpdx (that's a lower case "s", so Solaris won't start it up)
Thank you for your reply Incredible!

Currently the snmpd script (in rc3.d) name begins with small 's' only. rc2.d has K script.

Code:
/etc/rc3.d $ 08:51 AM]ls -al
total 52
drwxr-xr-x   2 root     sys          512 Nov  9 17:59 .
drwxr-xr-x  82 root     sys         4608 Nov 11 16:55 ..
-rw-r--r--   1 root     sys         1285 Jan 21  2005 README
-rwxr--r--   6 root     sys          474 Jan 21  2005 S16boot.server
-rwxr--r--   6 root     sys         2452 Aug 27 02:28 S50apache
-rwxr--r--   6 root     sys         5840 Jan 29  2004 S52imq
-rwxr--r--   6 root     sys         1125 Jan 21  2005 S77dmi
-rwxr--r--   6 root     sys          344 Jan 21  2005 S80mipagent
-rwxr--r--   6 root     sys          513 May 15  2006 S81volmgt
-rwxr--r--   5 root     sys          824 May 26  2004 S84appserv
-rwxr--r--   6 root     sys          660 Apr 13  2009 S84patchserver
-rwxr--r--   6 root     sys          324 Jan 13  2006 S90samba
-rwxr--r--   6 root     sys          685 Jan 21  2005 s76snmpdx

ls -lR /etc/tic
Code:
/etc/tic: No such file or directory

svcs -a | grep snmp
Code:
disabled       16:55:22 svc:/application/management/snmpdx:default

Any idea?


Additional info :

I just enabled rpc/bind and inetd using svcadm and rebooted system. This seems to have resolved the issue. I will update after monitoring.

Last edited by upengan78; 11-12-2009 at 11:42 AM..
 

10 More Discussions You Might Find Interesting

1. Programming

log user off from c prog

ok, heres what i want i need....well want, hehe... in a program, its a simple menu, i need to log the user running the program off...back to the login prompt. this is not a super user, just a normal account. i know i could just set the program to be the users login shell..but i'd rather do... (1 Reply)
Discussion started by: acromi
1 Replies

2. Solaris

c prog gives segmentation fault

hello , I have a C program which runs perfectly on linux but gives a segmentation core dump when i try to run it on solaris. The compilation of the c code happens without any errors on solaris. Any pointers thanks Nayeem (2 Replies)
Discussion started by: nayeemmz
2 Replies

3. Shell Programming and Scripting

shell script prog help

How to write a program to store the list of ordinary files and the directory files in the specified directory in two files called dir.dat and ord.dat. Then print the largest directory and largest file? (1 Reply)
Discussion started by: rameshparsa
1 Replies

4. Shell Programming and Scripting

how to write shell prog

how to write shell program. EX : to check whether a string is a palindrome or not. (9 Replies)
Discussion started by: raram
9 Replies

5. Linux

invoking a java prog

Can any1 guide me how to invoke a java program from a sh file. do i need to set up the class path. how to include the needed jar files. (1 Reply)
Discussion started by: Dine
1 Replies

6. UNIX for Dummies Questions & Answers

Books on Linux Prog..

Hi everybody, Can anyone suggest me some good books on Linux Prog.. I know richard stevens is always there.. But any specific books on Linux Porgramming and Networking in Linux.. Wud be of great help if anybody replies.. (4 Replies)
Discussion started by: srikumar_cs
4 Replies

7. Shell Programming and Scripting

How to call a Linux command in C prog.

Dear Friends, I want to know how to call a Linux commands in C programs. (1 Reply)
Discussion started by: krishna_sicsr
1 Replies

8. Programming

C prog Segmentation error.

Hello Friends, I made this program, it is running fine. when i try to add this line of code in to do repeat. It is giving segmentation error. can you please tell me how should i fix tht error. program runs fine. when i add char r; if statement while (ch r ='y') some cofe... (4 Replies)
Discussion started by: Learnerabc
4 Replies

9. Shell Programming and Scripting

shell prog for double words

I need a shell programing script for "double words" Available Data: This is a shell script that is used to find the ten character words in the machine local dictionary (/usr/dict/words) that are made up with two valid english words that are five character long. This means that each of the... (0 Replies)
Discussion started by: sujithcrazy
0 Replies

10. Debian

Help socket prog

HI Can anyone provide me with codes for file transfer server to client or vice versa? Also please explain how to compile those programs in ubuntu terminal as i am totally new to socket programming. Thanks (0 Replies)
Discussion started by: mayhemtrigger
0 Replies
bup-margin(1)						      General Commands Manual						     bup-margin(1)

NAME
bup-margin - figure out your deduplication safety margin SYNOPSIS
bup margin [options...] DESCRIPTION
bup margin iterates through all objects in your bup repository, calculating the largest number of prefix bits shared between any two entries. This number, n, identifies the longest subset of SHA-1 you could use and still encounter a collision between your object ids. For example, one system that was tested had a collection of 11 million objects (70 GB), and bup margin returned 45. That means a 46-bit hash would be sufficient to avoid all collisions among that set of objects; each object in that repository could be uniquely identified by its first 46 bits. The number of bits needed seems to increase by about 1 or 2 for every doubling of the number of objects. Since SHA-1 hashes have 160 bits, that leaves 115 bits of margin. Of course, because SHA-1 hashes are essentially random, it's theoretically possible to use many more bits with far fewer objects. If you're paranoid about the possibility of SHA-1 collisions, you can monitor your repository by running bup margin occasionally to see if you're getting dangerously close to 160 bits. OPTIONS
--predict Guess the offset into each index file where a particular object will appear, and report the maximum deviation of the correct answer from the guess. This is potentially useful for tuning an interpolation search algorithm. --ignore-midx don't use .midx files, use only .idx files. This is only really useful when used with --predict. EXAMPLE
$ bup margin Reading indexes: 100.00% (1612581/1612581), done. 40 40 matching prefix bits 1.94 bits per doubling 120 bits (61.86 doublings) remaining 4.19338e+18 times larger is possible Everyone on earth could have 625878182 data sets like yours, all in one repository, and we would expect 1 object collision. $ bup margin --predict PackIdxList: using 1 index. Reading indexes: 100.00% (1612581/1612581), done. 915 of 1612581 (0.057%) SEE ALSO
bup-midx(1), bup-save(1) BUP
Part of the bup(1) suite. AUTHORS
Avery Pennarun <apenwarr@gmail.com>. Bup unknown- bup-margin(1)
All times are GMT -4. The time now is 04:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy