Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th August 2006, 17:45
zimele zimele is offline
Member
 
Join Date: Jun 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Question help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl

Hi Ever since i ran this step
update-rc.d dnsctl defaults

Adding system startup for /etc/init.d/dnsctl ...
/etc/rc0.d/K20dnsctl -> ../init.d/dnsctl
/etc/rc1.d/K20dnsctl -> ../init.d/dnsctl
/etc/rc6.d/K20dnsctl -> ../init.d/dnsctl
/etc/rc2.d/S20dnsctl -> ../init.d/dnsctl
/etc/rc3.d/S20dnsctl -> ../init.d/dnsctl
/etc/rc4.d/S20dnsctl -> ../init.d/dnsctl
/etc/rc5.d/S20dnsctl -> ../init.d/dnsctl

i get the following errors on startup and shutdown
This error starts on line 5 upto 160

/etc/init.d/dnsctl: line 5: head: No such file or directory
/etc/init.d/dnsctl: line 6: title: No such file or directory
/etc/init.d/dnsctl: line 7: style: No such file or directory
: command not found line 8: td
: command not found line 9: {
/etc/init.d/dnsctl: line 10: font-size:: command not found
: command not found line 10:
/etc/init.d/dnsctl: line 11: font-family:: command not found
: command not found line 11:
/etc/init.d/dnsctl: line 12: color:: command not found
/etc/init.d/dnsctl: line 13: font-weight:: command not found
: command not found line 13:
: command not found line 14: }
/etc/init.d/dnsctl: line 15: p: command not found
: command not found line 16: {
/etc/init.d/dnsctl: line 17: font-size:: command not found
: command not found line 17:
/etc/init.d/dnsctl: line 18: font-family:: command not found
: command not found line 18:
/etc/init.d/dnsctl: line 19: color:: command not found
/etc/init.d/dnsctl: line 20: font-weight:: command not found
: command not found line 20:
: command not found line 21: }
: command not found line 22: .expbox
: command not found line 23: {
/etc/init.d/dnsctl: line 24: border:: command not found
: command not found line 25: }
/etc/init.d/dnsctl: line 26: .domain: command not found
: command not found line 27: {
/etc/init.d/dnsctl: line 28: font-size:: command not found
: command not found line 28:
/etc/init.d/dnsctl: line 29: font-family:: command not found
: command not found line 29:
/etc/init.d/dnsctl: line 30: color:: command not found
/etc/init.d/dnsctl: line 31: font-weight:: command not found
: command not found line 31:
: command not found line 32: }
: command not found line 33: .courtesy
: command not found line 34: {
/etc/init.d/dnsctl: line 35: font-size:: command not found
: command not found line 35:
/etc/init.d/dnsctl: line 36: font-family:: command not found
: command not found line 36:
/etc/init.d/dnsctl: line 37: line-height:: command not found
: command not found line 37:
/etc/init.d/dnsctl: line 38: font-weight:normal: command not found
: command not found line 38:
: command not found line 39: }
: command not found line 40: .search
: command not found line 41: {
/etc/init.d/dnsctl: line 42: font-size:: command not found
: command not found line 42:
/etc/init.d/dnsctl: line 43: font-family:: command not found
: command not found line 43:
/etc/init.d/dnsctl: line 44: font-weight:: command not found
: command not found line 44:
/etc/init.d/dnsctl: line 45: color:: command not found
: command not found line 46: }
: command not found line 47: .domprice
: command not found line 48: {
/etc/init.d/dnsctl: line 49: font-size:: command not found
: command not found line 49:
/etc/init.d/dnsctl: line 50: line-height:18px: command not found
: command not found line 50:
/etc/init.d/dnsctl: line 51: font-family:: command not found
: command not found line 51:
/etc/init.d/dnsctl: line 52: font-weight:: command not found
: command not found line 52:
/etc/init.d/dnsctl: line 53: color:: command not found
: command not found line 54: }
/etc/init.d/dnsctl: line 55: .expired: command not found
: command not found line 56: {
/etc/init.d/dnsctl: line 57: font-size:: command not found
: command not found line 57:
/etc/init.d/dnsctl: line 58: font-family:: command not found
: command not found line 58:
/etc/init.d/dnsctl: line 59: color:: command not found
/etc/init.d/dnsctl: line 60: font-weight:: command not found
: command not found line 60:
: command not found line 61: }
/etc/init.d/dnsctl: line 62: .dop: command not found
: command not found line 63: {
/etc/init.d/dnsctl: line 64: font-size:: command not found
: command not found line 64:
/etc/init.d/dnsctl: line 65: font-family:: command not found
: command not found line 65:
/etc/init.d/dnsctl: line 66: color:: command not found
/etc/init.d/dnsctl: line 67: font-weight:: command not found
: command not found line 67:
: command not found line 68: }
: command not found line 69: a.tlds_bgDk:link
: command not found line 70: {
/etc/init.d/dnsctl: line 71: font-size:: command not found
: command not found line 71:
/etc/init.d/dnsctl: line 72: font-family:: command not found
: command not found line 72:
/etc/init.d/dnsctl: line 73: font-weight:: command not found
: command not found line 73:
/etc/init.d/dnsctl: line 74: color:: command not found
/etc/init.d/dnsctl: line 75: line-height:: command not found
: command not found line 75:
: command not found line 76: }
: command not found line 77: .try
: command not found line 78: {
/etc/init.d/dnsctl: line 79: font-size:: command not found
: command not found line 79:
/etc/init.d/dnsctl: line 80: font-family:: command not found
: command not found line 80:
/etc/init.d/dnsctl: line 81: color:: command not found
/etc/init.d/dnsctl: line 82: line-height:: command not found
: command not found line 82:
/etc/init.d/dnsctl: line 83: font-weight:normal: command not found
: command not found line 83:
/etc/init.d/dnsctl: line 84: text-decoration:underline: command not found
: command not found line 84:
: command not found line 85: }
: command not found line 86: .copyright
: command not found line 87: {
/etc/init.d/dnsctl: line 88: font-size:: command not found
: command not found line 88:
/etc/init.d/dnsctl: line 89: font-family:: command not found
/etc/init.d/dnsctl: line 159: /style: No such file or directory
/etc/init.d/dnsctl: line 160: syntax error near unexpected token `<'
/etc/init.d/dnsctl: line 160: `<script language="JavaScript" src="http://as.casa 'emedia.com/sd?s=73040&f=1"></script>

DO you have any ideas on why this is happening
Reply With Quote
Sponsored Links
  #2  
Old 5th August 2006, 17:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's in /etc/init.d/dnsctl? Is PATH set in the file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th August 2006, 17:13
zimele zimele is offline
Member
 
Join Date: Jun 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dnsctl

Hi Falko

Here is a copy of my dnsctl do you know why this is happening
Attached Files
File Type: zip DNS.zip (14.1 KB, 592 views)
Reply With Quote
  #4  
Old 7th August 2006, 13:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Please post the contents of the file here directly.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 7th August 2006, 19:13
zimele zimele is offline
Member
 
Join Date: Jun 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Question Hope this helps

HI Falko

I've managed to upload a page with the DNSCTL info

http://www.testingnxa.homelinux.com/help.htm

I hope that this can be of assistance and another thing i found was that the page that it is pointing to www.servershak.com is no longer available and it also has this
This domain name expired on 07/29/06 and is pending renewal or deletion

Another Error i run into when i try to dig @SECOND IP www.yahoo.com
it sometimes resolves it but yet again sometimes it say it cannot be reached and when i run /etc/init.d/networking restart it says

Reconfiguring network interfaces... ifup: interface lo already configured
SIOCADDRT: Network is unreachable
Failed to bring up eth0:0.

Please help Me

Last edited by zimele; 7th August 2006 at 19:59.
Reply With Quote
  #6  
Old 8th August 2006, 18:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by zimele
HI Falko

I've managed to upload a page with the DNSCTL info

http://www.testingnxa.homelinux.com/help.htm
You've replaced the contents of /etc/init.d/dnsctl with an HTML page... Of course this doesn't work. Do you have a backup of the original dnsctl file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.