Hmmmm.....

The x's you have below--were they replaced with actual numbers I assume?  

And these are the IPs your ISP gave you as DNS servers?

At 10:21 PM 3/27/00 -0800, you wrote:
>I enetered in the following, the three IP's below are my ISP's DNS 
>servers. Anyway, entering in the exact following caused my server to 
>give a !Segmentation error when loading the envi configuration file. 
>Could you double check my manual startup code if the spacing, commands, 
>etc are all correct? I thought it might be "set" instead of "sed" but 
>I'm fairly new to linux.
>

sed is correct. Stands for String Editor.

>echo adding forwarders 24.130.1.xx 24.130.4.x 24.128.1.xx to 
>/etc/named.boot
>sed "s/forwarders.*/forwarders 24.130.1.xx 24.130.4.x 24.128.1.xx/g" 
>/etc/named.boot > /tmp/t
>mv /tmp/t /etc/named.boot
>kill -HUP `cat /var/run/named.pid`

Not sure if this is a mail-reader-writer-wrapping problem, but thinking maybe that's 
the case.

I'll put line numbers this time, indicating the FOUR lines you're adding to the 
startup commands window:

line1: echo adding forwarders ip1 ip2 ip3 to /etc/named.boot 
line2: sed "s/forwarders.*/forwarders ip1 ip2 ip3/g" /etc/named.boot > /tmp/t
line3: mv /tmp/t /etc/named.boot
line4: kill -HUP `cat /var/run/named.pid`


Of course, you don't put "lineN: " in, just what's after that.  Four lines, that's 
what's key.

The "backticks" are kind of important, too. That's what's used in the final line.  
They're not single quotes, but 'backticks'.  On my keyboard, it's under the ~ 
character.

If you already had it as four lines, and your backticks look OK from what you sent, 
then ??????  I'm stumped.

pjb

>
>thanks,
>Alan
>
>> echo adding forwarders ip1 ip2 ip3 to /etc/named.boot 
>> sed "s/forwarders.*/forwarders ip1 ip2 ip3/g" /etc/named.boot > /tmp/t
>> mv /tmp/t /etc/named.boot
>> kill -HUP `cat /var/run/named.pid`
>--
>Visit http://www.ShareTheNet.com for info about ShareTheNet
>Visit http://www.topica.com/lists/sharethenet for info about this list
>_________________________________________________________
>Enlighten your in-box.         http://www.topica.com/t/15
>

--
Visit http://www.ShareTheNet.com for info about ShareTheNet
Visit http://www.topica.com/lists/sharethenet for info about this list
_________________________________________________________
Enlighten your in-box.         http://www.topica.com/t/15

Reply via email to