[01:21] is anyone able to suggest a way to preventUbuntu 12.04 overriding my /etc/resolv.conf file? I have access to the internet now, but I'll lose it if I have to reboot. [01:22] basil: uninstall the resolvconf package? why do you have to reboot if you lose internet access....? I feel like there's a much larger, much more significant problem that you're -not- asking about :) [01:23] I don't have to reboot when I lose access - I'm doing a range of things. I guess I was saying if I do reboot, Ubuntu reverts. [01:24] basil: oh! that makes so much more sense. :) okay. thanks [01:24] I used sudo rm /etc/resolv.conf this morning - does that remove the package? [01:25] basil: no that only deletes your file. when your nics change state, probably the resolvconf package will write you a new one. [01:26] What's the command to remove the whole package? Can I then just use sudo nano /etc/resolv.conf to build a new file? [01:26] basil: you should consider just fixing your /etc/network/interfaces with the correct dns servers etc. [01:28] I had tried that without luck...the only success I've had in the last few days was to rebilid the resolv.conf [01:29] rebuild [01:29] basil: you probably forgot the 's' at the end of 'dns-nameservers' -- see the resolvconf(8) manpage for a better example of the interfaces file than the interfaces(5) manpage [01:30] basil: if you really want to be in complete control of your resolv.conf, apt-get purge resolvconf. if you find you need it back, there is probably a backup in /var/cache/apt/archives/ [01:33] so once i purg it, use the interface file? [01:33] basil: you'll still need to configure much of your networking in the interfaces file; but you'll be responsible for the dns settings in /etc/resolv.conf [01:38] sarnold> my resolv.conf has been simply nameserver 8.8.8.8, will that suffice. It was working with that previously [01:39] basil: depends upon what you do with your system and how you want to use either local networks or virtual machines / lxc instances etc.. [01:40] basil: using a public server means you won't be able to look up machines that have names only in your local network, nor will any vms you run via libvirt be resolvable. that might be good or bad, because the automatic stuff doesn't always work, but you'll have to manage your /etc/hosts for those machines as necessary.. [01:41] I've made that change. Purged resolv.conf...restarted, but no Internet access. I'm content with public dns for now. I'd really just like to get stable interent conncetion [01:43] I can ping 8.8.8.8, www.google.com and my gateway. All work, but no internet access again on FF. [01:44] basil: restart firefox? it may still have its own resolver implementation [01:44] no..it still shows "unable to connect" [01:46] basil: try the IP address of your gateway? [01:47] A few days ago I edited /etc/resolvconf/resolv.cof.d/original - I couldn't remember the setting so it now has as nameserver 127.0.0.1. Would that affect the system? I can ping my gateway. [01:50] basil: if you use nameserver 127.0.0.1 you will need to run a local dns resolver, either a forwarding resolver like dnscache or a recursive resolver like pdns-recursor [01:50] I don't want to do that...I could remember the original setting. I think I tried 8.8.8.8 and things stopped working [01:51] basil: was the original setting your gateway's IP address? that's common.. [01:52] All I could recall was that it 192.x Wasn't sure if it was machine IP or gateway? [01:52] basil: probably the gateway. [01:55] changed it to gateway, restarted networking, restarted FF; unable to connect [01:56] basil: to where are you trying to connect? [01:57] When I open FF, type in www.Google.com; unable to connect [01:58] basil: telnet www.google.com 80 -- then hit ^D [01:59] does that mean "enter"? [02:01] trying 203.8.182.170... [02:01] basil: no, ^D is often used as an end-of-file kind of signal, it's some special handling the shell offers [02:02] basil: when you hit ^D the telnet should quit and you should see a load of error message from the remote web server [02:04] ^ = ctrl???? [02:05] basil: yes [02:06] It's just hanging at the moment.....trying 203.8.182.152 [02:08] now it's trying 203.8.182.166 [02:09] now it's trying 203.8.182.1177 [02:10] 177 [02:12] now it's trying 203.8.182.185 === markthomas is now known as markthomas_away [02:12] basil: heh, sounds like telnet can't connect to google's webservers either [02:13] basil: so now you get to figure that out -- is it something on your gateway? or a local firewall? or something your ISP has put in place? [02:14] I connected this morning for short period - until I rebooted. After I purged my resolv.conf file and then rewrote it! [02:14] my webserver appears to get through OK. [02:15] I can ping www.google.com [02:15] basil: your DNS appears to be working fine, though, you got four different IPs for your dns lookup.. [02:16] I can ping 8.8.8.8 [02:16] basil: so it appears to be a problem with tcp, which is usually indicative of firewalling errors somewhere [02:17] canyouseeme.org shows port 80 is open for 124.254.81.40 [02:17] my static IP [02:18] port forwarding is setup on my router [02:19] ubuntu firewall has ports 80,22 open [02:19] basil: sure enough, I get http and ssh banners on both those ports [02:20] basil: I wonder why you can't do any tcp egress though. that seems odd. [02:20] i have another NIC - how do I go about switching to it, to test if it's actually hardware [02:21] basil: the easiest is to edit the /etc/network/interfaces to select the different NIC, swap the cable, and reboot [02:22] basil: but I don't think that will help [02:22] basil: your NIC properly talks ICMP with hosts on the other side of the planet, and I can connect to your services just fine [02:22] just trying to think of solutions [02:23] basil: I'd look at your gateway. I wonder if it is forbidding outgoing connections from machines in a 'dmz' zone or something similar [02:23] I'm port forwarding using my router for ports 80, 22 to my server IP (192.168.1.101) [02:24] basil: ah, so not using a goofy 'dmz' service. ok. hrm. [02:25] don't think so...static ip [02:28] what switching off my firewall for testing? [02:28] about [02:30] wala...it worked with FW turned off [02:30] basil: that makes sense :) [02:30] so, what does that mean? In practical tersm for me...??????? [02:34] basil: it means you need to fix your firewall rules. [02:34] basil: you need to allow tcp packets out of your machine / network, and you need to allow the reply packets back in [02:35] Ok...I'll trash it and start over. I did have rules setup for both inbound and outbound. I used Firestarter to assist me graphically. [02:35] Hey thanks for all your help...and infinite patience [02:37] basil: what did you think of firestarter? i've never tried it.. [02:37] .. and I've never learned iptables well enough by hand :) [02:37] its graphical...and I'm not very good with CLI. I've used it for a few years...usually happily [02:38] basil: cool, thanks. I've been content with ufw, it normally does what I want :) but it's all CLI [02:38] thanks again...so much [02:38] basil: have fun! [02:38] ciao [03:04] Hello, I need support installing Ubuntu 12.04.4-server. Please message me if you can help. I'm having issues at partition time. [03:17] Noah_AT: why not just ask your question in the channel and give everyone a chance to help you [03:19] sheptard: thanks for the advice. Do you mean the #ubuntu channel? [03:28] Noah_AT: or this channel [03:32] evening sarnold [03:34] hey sheptard :) [03:40] sarnold: thanks guys, here goes: I had Ubuntu 11.04 Natty. I was upgrading to Oneiric, but I realized I'd rather just do a 12.04.4 LTS clean install. So I force shut down 5hrs into the upgrade and tried to wipe the hard drive using gparted and then install the clean Ubuntu. I've gotten stuck at the partition phase every time [03:41] sheptard: I'm referring to ubuntu servers. there was a bit of confusion about that on #ubuntu, so I wanted to specify [03:41] Noah_AT: did you get stuck in partitioning durin the installer? or during your manual gparted wiping? [03:42] sarnold: installer. Can't remember the exact error though, so I am going to try and make the error happen again [03:42] Noah_AT: ooh, good, an exact error message is always welcome :) [03:43] sarnold: for sure, I'm on it. If its okay with you, I'll post my step by step here so that we know exactly what I might have done to trigger the error [03:44] sarnold: I'll be concise so as to not bloat the channel though [03:44] Noah_AT: hehe, okay [03:44] Noah_AT: just a wild idea, but if you want to wipe the *entire* disk, you could dd if=/dev/zero of=/dev/sd? -- that would nuke anything left by parted/fdisk [03:44] sarnold: would you agree? [03:45] semiosis: yeah, that's a good way of getting back to a clean slate, but it can take a while on a larger drive [03:45] sarnold: we are working on about 111GB [03:45] well, only need to nuke the beginning of the disk, where the mbr is. doesn't matter what's after that [03:45] I'm hoping to avoid a long zeroing if we can nuance the partitioning somehow else.. [03:45] sarnold: might as well see the error first though, no? [03:46] semiosis: hah, true [03:46] Noah_AT: if it's easy to get to [03:46] sarnold: yeah.. t-10min I'd say [03:46] semiosis: (funny thing, zfs stores four copies of its per-disk uberblock on a disk, two copies near the beginnin and two copies near the end; advice there often is "zero the first and last ten megabytes" :) [03:47] hah, good to know, next time i'm knee deep in zfs [03:47] :) [03:48] * semiosis wonders if btrfs does similar [03:49] sarnold: Configured language, keyboard, hostname, full name, username, should I choose to encrypt my home directory? [03:49] Noah_AT: probably not; if you're asking, you probably don't need it :) [03:49] Noah_AT: it'll slow everything down a lot [03:49] semiosis: haha great thanks! [03:49] but maybe protect from prying eyes [03:49] (it's a neat feature, but it comes with its own caveats for use. skipping it is a lot easier.) [03:50] sarnold: for now, lets definitely keep it simple [03:50] sarnold: Timezone done [03:51] Noah_AT: .. I'm off to pick up pizza :) I should be back in a bit.. hopefully semiosis and sheptard will get you squared away :) [03:52] sarnold: alright enjoy! [03:52] danke :) [03:52] sarnold: thanks for your help. hopefully I'll have some good news when you get back [03:53] sarnold: enjoy your pie [03:54] Noah_AT: feel free to ask me whatever about your install. happy to help [03:57] semiosis: cool I'm at the partition disks screen with these options: "Guided Partitioning, Configure software RAID, Configure the Logical Volume Manager, Configure encrypted volumes, Configure iSCSI volumes, Undo changed to partitions, and Finish partitioning and write changes to disk" with a little section showing "SCST1 (0,0,0) (sea) - 120.0 GB ATA ST9120822A #1 Primary 120.0 GB ext2 [03:59] Noah_AT: can we wipe this drive completely? confirm you dont care about any data on it please [04:00] semiosis: Yup. Confirmed. [04:00] then just do guided partitioning [04:00] that should be mostly automatic [04:01] semiosis: I've selected "Guided Partitioning" and am now selecting "Guided - Resize SCSI1 (0,0,0), partition #1 (sea) and use freed space" Ok? [04:02] hmm, is there a "use whole disk" option or something like that? [04:02] semiosis: Options: G is for "guided". "G - resize SCSI1 (0,0,0), partition #1 (sea) and use freed space, G - use entire disk, G - use entire disk and set up LVM, G - use entire disk and set up encrypted LVM, Manual" [04:02] sea not sea [04:03] sda** [04:03] "use entire disk" is the one (no LVM, no encrypted LVM, ...) [04:06] semiosis: would you join a private chat with another nice guy who is helping me out? [04:06] prefer to keep it in channel [04:06] semiosis: he had responded in the ubuntu channel [04:06] gotcha kk [04:09] i selected "use entire disk" and the plan has updated to "#1 primary 117.9GB f ext4 /" and "#5 logical 2.1 GB f swap swap" [04:10] looks good to me [04:11] semiosis: "Finish partitioning and write changes to disk" ? [04:12] if you are sure you want to wipe the whole disk drive and install ubuntu on it, then yes [04:13] semiosis: Alonsi! then [04:14] Noah_AT: congrats! you're (almost) the owner of a new ubuntu system! [04:14] * sarnold returns [04:14] Noah_AT: good news? :) [04:14] semiosis: haha I hope you're right! I'll hold you to it :P [04:16] semiosis: alright! Warning screen. "If you continue, changes will be written...This will destroy all data...The partition tables on the following devices are changed: SCSI1 (0,0,0) (sea) and then the plan again [04:16] Noah_AT: you know what to do [04:17] semiosis: its going... .... .... [04:18] Oh! Installing base system! [04:18] nice :) [04:19] sarnold: hahaha just in time! [04:19] * semiosis bed time [04:19] Noah_AT: yeah no kidding, pizza in the oven, VM upgrading, and your system installing :) [04:19] semiosis: so, this is farther than I've gotten [04:19] semiosis: 'night :) [04:19] semiosis: Night! Thanks so much [04:19] Noah_AT: enjoy your new ubuntu [04:19] sarnold: laters [04:19] * semiosis afk [08:50] Hello. [08:50] I'm not that familiar with LVM. I know it's supposed to be flexible in that you can increase partition sizes but how does that work with additional disks? [08:51] Can I add an extra disk and grow an existing partition to include that disk? === IdleOne- is now known as IdleOne [09:31] LVM does not need partitions. If you want to extend your volume group, add your new disk as physical volume to the volume group, then you can extend your logical volumes. And after that, you need to expand the filesystems contained in the logical volumes. === Jare_ is now known as Jare [09:34] bekks: I see. [09:34] bekks: So it will appear as one contiguous filesystem [09:34] Comprised of 3 drives [09:34] yeah, it is pretty unsafe, but it is possible. [09:35] Unsafe in what sense? [09:35] If I have a drive failure do I lose the whole volume? [09:35] If one drive gets corrupted, data on the whole volume will be lost. [09:35] That makes sense. [09:37] bekks: Thank you for answering my questions. [10:48] hey guys [10:48] hey lordievader :D here is teh pastebin of the log http://paste.ubuntu.com/7055081/ [10:50] eagles0513875: Hmm, does syslog contain something usefull? [10:50] Also what happens when you manually run dpkg -i on the package? [10:51] lordievader: all im seeing in syslog is emails coming in etc [10:51] let me try the dpkg -i [10:51] root@ha1:/var/log# dpkg --install runit dpkg: error processing runit (--install): cannot access archive: No such file or directory Errors were encountered while processing: runit [10:51] !runit [10:51] !info runit [10:51] runit (source: runit): system-wide service supervision. In component universe, is optional. Version 2.1.1-6.2ubuntu3 (saucy), package size 108 kB, installed size 415 kB [10:52] eagles0513875: Try redownloading the .deb. [10:52] lordievader: i downloaded it from the repo [10:52] ok seems like none of my other servers have it [10:53] how can i see a list of dependencies that rely on the package giving the issue [10:54] apt-cache rdepends [10:56] lordievader: how will i know what i have on my system is using it as im seeing two things with | next to them [10:57] eagles0513875: Write a script ;) [10:58] lordievader: is there a way i can force it to be removed and reinstalled? [10:59] Err not really sure what you mean? Purge and install? [11:02] lordievader: basically how can i have the system reinstall the package with the issue [11:03] eagles0513875: Remove, clean, and install. (check that step one doesn't tear down something important) [11:04] lordievader: removing it and reinstalling it solved the problem [11:04] it removed something git related which i reinstalled along side it === Guest60952 is now known as NCommander === NCommander is now known as Guest60966 [14:48] which ubuntu server i need to install that will help me setup dhcp ????? thanks [14:51] !dhcp [14:51] dhcp is Dynamic Host Configuration Protocol, a protocol for automatic IP assignment from a router. Ubuntu uses dhclient as a DHCP client but other ones (and DHCP servers too) can be obtained from the !repos. More info at http://en.wikipedia.org/wiki/DHCP === Mogwai is now known as Guest79014 === phunyguy_ is now known as phunyguy [23:41] can someone assist me with installing a low-latency kernel on ubuntu server 13.10? [23:43] apt-get install linux-rt ? [23:44] i'll give that a shot, thx :) [23:44] i think its still in default sources [23:44] if not i'm sure there's a ppa [23:44] perfect, i'm just installing the OS now