Solved

Solaris 10 change named bin path

Posted on 2006-11-20
3
614 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 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