Solved

Solaris 10 change named bin path

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Compare if date string is within text file 3 61
unix scripting question 1 99
How to check the PVU´s on AIX TSM servers? 3 95
mobaxterm not able to change directory 28 164
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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
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.

825 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