Solved

Solaris 10 change named bin path

Posted on 2006-11-20
3
597 Views
Last Modified: 2013-12-21
Hi, i installed Solaris 10 and found that sun changed the way how the system starts services. I installed the latest bind version from
sunfreeware via pkgadd which installs in the /usr/local/sbin dir. But by default solaris starts the shiped version which is installed in
/usr/sbin. I have tried to play arround with the svccfg with not much luck.

i am looking for some advice how to change the startup script of /network/dns/server to start my new copy instead of the old one.

0
Comment
Question by:AlexPonnath
3 Comments
 
LVL 6

Assisted Solution

by:bpeterse
bpeterse earned 250 total points
ID: 17984191
1) mv the old binary to something like bind.old
2) chmod -x bind.old
3) create a symlink in the directory where bind.old exists to the new binary in /usr/local/sbin

give that a try.
0
 

Author Comment

by:AlexPonnath
ID: 17984204
i know that but i would prefer to make the changes in the new system facility which handles all the startup's etc.
So i am looking for info on how to use "svccfg -s" etc...
0
 
LVL 38

Accepted Solution

by:
yuzh earned 250 total points
ID: 17984268
To use the newer version of BIND, you can do:

# cd /usr/sbin
# mv named named.orig
# mv named-checkconf named-checkconf.orig
# mv named-checkzone named-checkzone.orig
# cp /usr/local/sbin/named .
# cp /usr/local/sbin/named-checkconf .
# cp /usr/local/sbin/named-checkzone

then restart DNS service
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now