Yeah, I'm in the same boat. I have a buddy breathing down my neck to get this server up, and I figure that if 6 goes smoothly, I can spend some time researching how to upgrade to 7. I just need to get this server up.
Then I'd recommend installing 6.1 now, and worry about 7.04 later. In the mean time... Falko -- do you have any idea why the 7.04 installation breaks on this point? We need your wisdom.
I found when I get in the VI go to the last line (or the line you want to change) and hit "Insert" to add a line or "Insert" "Enter" to create a new line.
At which point exactly? The network settings? What's the output of Code: cat /etc/network/interfaces ?
Perfect Ubuntu 7.04 server howto That is interesting. My installation hangs also just after it begins running the install scripts. However, when I hit enter I get the login in prompt. I also had problems installing the apps (kernel headers) but I believe that there was a resolution in the forum for this. Now, I get to chrooting Bind, and after completing that portion of the tutorial, I go to restart Bind and it fails. Anyone .. have any ideas? I did notice that when restarting bind it is referred to as bind9. However, when I look back at the part of the tutorial, it is referenced only as "bind" and not bind9. Can this be the problem as to why bind will not restart?
Problems with Perfect ubuntu server I am not close to the server but when I get there I will take a look at the log and post it. Just drives me nuts ... most especially since the step by step instructions are right in front of me. I looked for typos, but did not find any and then I retyped the command very slowly just in case I made an error. The outcome is the same. That when I go to restart Bind it Fails.
Here is syslog for my server .. Falko, Here is my syslog. Hope that it offers you some kind of idea of what is going on with my installation and current configuration. [email protected]:/var/log# less syslog Jul 19 06:25:30 lemai syslogd 1.4.1#20ubuntu4: restart. Jul 19 06:37:44 lemai -- MARK -- Jul 19 06:57:45 lemai -- MARK -- Jul 19 07:17:01 lemai /USR/SBIN/CRON[5922]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jul 19 07:37:46 lemai -- MARK -- Jul 19 07:57:46 lemai -- MARK -- Jul 19 08:17:01 lemai /USR/SBIN/CRON[5925]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jul 19 08:33:04 lemai init: tty1 main process ended, respawning Jul 19 08:33:38 lemai named[6005]: starting BIND 9.3.4 -u bind -t /var/lib/named Jul 19 08:33:38 lemai named[6005]: found 1 CPU, using 1 worker thread Jul 19 08:33:38 lemai named[6005]: loading configuration from '/etc/bind/named.conf' Jul 19 08:33:38 lemai named[6005]: /etc/bind/named.conf.options:2: change directory to '/var/cache/bind' failed: fil e not found Jul 19 08:33:38 lemai named[6005]: /etc/bind/named.conf.options:2: parsing failed Jul 19 08:33:38 lemai named[6005]: loading configuration: file not found Jul 19 08:33:38 lemai named[6005]: exiting (due to fatal error) Thanks in advance for your help.
He is /etc/bind/named.conf.options [email protected]:/home/roni# cd /etc/bind [email protected]:/etc/bind# less named.conf.options // }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; // By default, name servers should only perform recursive domain // lookups for their direct clients. If recursion is left open // to the entire Internet, your name server could be used to // perform distributed denial of service attacks against other // innocent computers. For more information on DDoS recursion: // http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0987 allow-recursion { localnets; }; // If you have DNS clients on other subnets outside of your // server's "localnets", you can explicitly add their networks // without opening up your server to the Internet at large: // allow-recursion { localnets; 192.168.0.0/24; }; // If your name server is only listening on 127.0.0.1, consider: // allow-recursion { 127.0.0.1; }; }; (END) Again thanks for any info that will set me on the right track.
Oops .. here is: login as: roni [email protected]'s password: Linux lemai.bitbyteword.com 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Jul 24 05:18:22 2007 from 192.168.1.100 [email protected]:~$ su Password: [email protected]:/home/roni# cd /etc/bind/named.conf.options bash: cd: /etc/bind/named.conf.options: Not a directory [email protected]:/home/roni# cat /etc/bind/named.conf.options options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; // By default, name servers should only perform recursive domain // lookups for their direct clients. If recursion is left open // to the entire Internet, your name server could be used to // perform distributed denial of service attacks against other // innocent computers. For more information on DDoS recursion: // http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0987 allow-recursion { localnets; }; // If you have DNS clients on other subnets outside of your // server's "localnets", you can explicitly add their networks // without opening up your server to the Internet at large: // allow-recursion { localnets; 192.168.0.0/24; }; // If your name server is only listening on 127.0.0.1, consider: // allow-recursion { 127.0.0.1; }; }; [email protected]:/home/roni# login as: roni Password: Linux lemai.bitbyteword.com 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Jul 24 05:18:22 2007 from 192.168.1.100 [email protected]:~$ su Password: [email protected]:/home/roni# cd /etc/bind/named.conf.options bash: cd: /etc/bind/named.conf.options: Not a directory [email protected]:/home/roni# cat /etc/bind/named.conf.options options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; // By default, name servers should only perform recursive domain // lookups for their direct clients. If recursion is left open // to the entire Internet, your name server could be used to // perform distributed denial of service attacks against other // innocent computers. For more information on DDoS recursion: // http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0987 allow-recursion { localnets; }; // If you have DNS clients on other subnets outside of your // server's "localnets", you can explicitly add their networks // without opening up your server to the Internet at large: Login incorrect lemai.bitbyteword.com login: // allow-recursion { localnets; 192.168.0.0/24; }; // If your name server is only listening on 127.0.0.1, consider: // allow-recursion { 127.0.0.1; }; }; [email protected]:/home/roni# Login incorrect lemai.bitbyteword.com login: roni Password: Last login: Tue Jul 24 05:20:57 2007 from 192.168.1.100 on pts/0 Linux lemai.bitbyteword.com 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. [email protected]:~$ su Password: [email protected]:/home/roni# cat /etc/bind/named.conf.options options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; // By default, name servers should only perform recursive domain // lookups for their direct clients. If recursion is left open // to the entire Internet, your name server could be used to // perform distributed denial of service attacks against other // innocent computers. For more information on DDoS recursion: // http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0987 allow-recursion { localnets; }; // If you have DNS clients on other subnets outside of your // server's "localnets", you can explicitly add their networks // without opening up your server to the Internet at large: // allow-recursion { localnets; 192.168.0.0/24; }; // If your name server is only listening on 127.0.0.1, consider: // allow-recursion { 127.0.0.1; }; }; [email protected]:/home/roni# [email protected]:/home/roni# clear [email protected]:/home/roni# cat /etc/bind/named.conf.options options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. // query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; // By default, name servers should only perform recursive domain // lookups for their direct clients. If recursion is left open // to the entire Internet, your name server could be used to // perform distributed denial of service attacks against other // innocent computers. For more information on DDoS recursion: // http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0987 allow-recursion { localnets; }; // If you have DNS clients on other subnets outside of your // server's "localnets", you can explicitly add their networks // without opening up your server to the Internet at large: // allow-recursion { localnets; 192.168.0.0/24; }; // If your name server is only listening on 127.0.0.1, consider: // allow-recursion { 127.0.0.1; }; }; [email protected]:/home/roni#
Hi! I've the same problem like gobetno. I did the commands and reasult the same like gobetno. So the result of the ls -la /var/cache/bind is: [email protected]:/home/administrator# ls -la /var/cache/bind/ total 8 drwxrwxr-x 2 root bind 4096 2007-07-31 00:18 . drwxr-xr-x 8 root root 4096 2007-07-30 23:54 .. Thanx for reply