Solved

Solaris 10 change named bin path

Posted on 2006-11-20
3
619 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

707 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