[01:21] <basil> 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] <sarnold> 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 :)
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] <sarnold> basil: oh! that makes so much more sense. :) okay. thanks
 I used sudo rm /etc/resolv.conf this morning - does that remove the package?
[01:25] <sarnold> basil: no that only deletes your file. when your nics change state, probably the resolvconf package will write you a new one.
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] <mardraum> basil: you should consider just fixing your /etc/network/interfaces with the correct dns servers etc.
 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] <basil> rebuild
[01:29] <sarnold> 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] <sarnold> 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/
 so once i purg it, use the interface file?
[01:33] <sarnold> 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] <basil> sarnold> my resolv.conf has been simply nameserver  8.8.8.8, will that suffice. It was working with that previously
[01:39] <sarnold> 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] <sarnold> 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..
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
I can ping 8.8.8.8, www.google.com and my gateway. All work, but no internet access again on FF.
[01:44] <sarnold> basil: restart firefox? it may still have its own resolver implementation
no..it still shows "unable to connect"
[01:46] <sarnold> basil: try the IP address of your gateway?
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] <sarnold> 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
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] <sarnold> basil: was the original setting your gateway's IP address? that's common..
All I could recall was that it 192.x Wasn't sure if it was machine IP or gateway?
[01:52] <sarnold> basil: probably the gateway.
changed it to gateway, restarted networking, restarted FF; unable to connect
[01:56] <sarnold> basil: to where are you trying to connect?
When I open FF, type in www.Google.com; unable to connect
[01:58] <sarnold> basil: telnet www.google.com 80  -- then hit ^D
 does that mean "enter"?
trying 203.8.182.170...
[02:01] <sarnold> basil: no, ^D is often used as an end-of-file kind of signal, it's some special handling the shell offers
[02:02] <sarnold> basil: when you hit ^D the telnet should quit and you should see a load of error message from the remote web server
^ = ctrl????
[02:05] <sarnold> basil: yes
It's just hanging at the moment.....trying 203.8.182.152
 now it's trying 203.8.182.166
 now it's trying 203.8.182.1177
[02:10] <basil> 177
 now it's trying 203.8.182.185
[02:12] <sarnold> basil: heh, sounds like telnet can't connect to google's webservers either
[02:13] <sarnold> 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?
I connected this morning for short period - until I rebooted. After I purged my resolv.conf file and then rewrote it!
 my webserver appears to get through OK.
I can ping www.google.com
[02:15] <sarnold> basil: your DNS appears to be working fine, though, you got four different IPs for your dns lookup..
I can ping 8.8.8.8
[02:16] <sarnold> basil: so it appears to be a problem with tcp, which is usually indicative of firewalling errors somewhere
 canyouseeme.org shows port 80 is open for 124.254.81.40
 my static IP
port forwarding is setup on my router
ubuntu firewall has ports 80,22 open
[02:19] <sarnold> basil: sure enough, I get http and ssh banners on both those ports
[02:20] <sarnold> basil: I wonder why you can't do any tcp egress though. that seems odd.
i have another NIC - how do I go about switching to it, to test if it's actually hardware
[02:21] <sarnold> basil: the easiest is to edit the /etc/network/interfaces to select the different NIC, swap the cable, and reboot
[02:22] <sarnold> basil: but I don't think that will help
[02:22] <sarnold> basil: your NIC properly talks ICMP with hosts on the other side of the planet, and I can connect to your services just fine
just trying to think of solutions
[02:23] <sarnold> basil: I'd look at your gateway. I wonder if it is forbidding outgoing connections from machines in a 'dmz' zone or something similar
I'm port forwarding using my router for ports 80, 22 to my server IP (192.168.1.101)
[02:24] <sarnold> basil: ah, so not using a goofy 'dmz' service. ok. hrm.
don't think so...static ip
 what switching off my firewall for testing?
[02:28] <basil> about
wala...it worked with FW turned off
[02:30] <sarnold> basil: that makes sense :)
 so, what does that mean? In practical tersm for me...???????
[02:34] <sarnold> basil: it means you need to fix your firewall rules.
[02:34] <sarnold> basil: you need to allow tcp packets out of your machine / network, and you need to allow the reply packets back in
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.
Hey thanks for all your help...and infinite patience
[02:37] <sarnold> basil: what did you think of firestarter? i've never tried it..
[02:37] <sarnold> .. and I've never learned iptables well enough by hand :)
its graphical...and I'm not very good with CLI. I've used it for a few years...usually happily
[02:38] <sarnold> basil: cool, thanks. I've been content with ufw, it normally does what I want :) but it's all CLI
thanks again...so much
[02:38] <sarnold> basil: have fun!
ciao
[03:04] <Noah_AT> 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] <sheptard> Noah_AT: why not just ask your question in the channel and give everyone a chance to help you
[03:19] <Noah_AT> sheptard: thanks for the advice. Do you mean the #ubuntu channel?
[03:28] <sarnold> Noah_AT: or this channel
[03:32] <sheptard> evening sarnold
[03:34] <sarnold> hey sheptard :)
[03:40] <Noah_AT> 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] <Noah_AT> sheptard: I'm referring to ubuntu servers. there was a bit of confusion about that on #ubuntu, so I wanted to specify
[03:41] <sarnold> Noah_AT: did you get stuck in partitioning durin the installer? or during your manual gparted wiping?
[03:42] <Noah_AT> sarnold: installer. Can't remember the exact error though, so I am going to try and make the error happen again
[03:42] <sarnold> Noah_AT: ooh, good, an exact error message is always welcome :)
[03:43] <Noah_AT> 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] <Noah_AT> sarnold: I'll be concise so as to not bloat the channel though
[03:44] <sarnold> Noah_AT: hehe, okay
[03:44] <semiosis> 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] <semiosis> sarnold: would you agree?
[03:45] <sarnold> 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] <Noah_AT> sarnold: we are working on about 111GB
[03:45] <semiosis> well, only need to nuke the beginning of the disk, where the mbr is.  doesn't matter what's after that
[03:45] <sarnold> I'm hoping to avoid a long zeroing if we can nuance the partitioning somehow else..
[03:45] <Noah_AT> sarnold: might as well see the error first though, no?
[03:46] <sarnold> semiosis: hah, true
[03:46] <sarnold> Noah_AT: if it's easy to get to
[03:46] <Noah_AT> sarnold: yeah.. t-10min I'd say
[03:46] <sarnold> 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] <semiosis> hah, good to know, next time i'm knee deep in zfs
[03:47] <sarnold> :)
[03:48]  * semiosis wonders if btrfs does similar
[03:49] <Noah_AT> sarnold: Configured language, keyboard, hostname, full name, username, should I choose to encrypt my home directory?
[03:49] <sarnold> Noah_AT: probably not; if you're asking, you probably don't need it :)
[03:49] <semiosis> Noah_AT: it'll slow everything down a lot
[03:49] <Noah_AT> semiosis: haha great thanks!
[03:49] <semiosis> but maybe protect from prying eyes
[03:49] <sarnold> (it's a neat feature, but it comes with its own caveats for use. skipping it is a lot easier.)
[03:50] <Noah_AT> sarnold: for now, lets definitely keep it simple
[03:50] <Noah_AT> sarnold: Timezone done
[03:51] <sarnold> 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] <Noah_AT> sarnold: alright enjoy!
[03:52] <sarnold> danke :)
[03:52] <Noah_AT> sarnold: thanks for your help. hopefully I'll have some good news when you get back
[03:53] <semiosis> sarnold: enjoy your pie
[03:54] <semiosis> Noah_AT: feel free to ask me whatever about your install.  happy to help
[03:57] <Noah_AT> 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] <semiosis> Noah_AT: can we wipe this drive completely?  confirm you dont care about any data on it please
[04:00] <Noah_AT> semiosis: Yup. Confirmed.
[04:00] <semiosis> then just do guided partitioning
[04:00] <semiosis> that should be mostly automatic
[04:01] <Noah_AT> 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] <semiosis> hmm, is there a "use whole disk" option or something like that?
[04:02] <Noah_AT> 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] <Noah_AT> sea not sea
[04:03] <Noah_AT> sda**
[04:03] <semiosis> "use entire disk" is the one (no LVM, no encrypted LVM, ...)
[04:06] <Noah_AT> semiosis: would you join a private chat with another nice guy who is helping me out?
[04:06] <semiosis> prefer to keep it in channel
[04:06] <Noah_AT> semiosis: he had responded in the ubuntu channel
[04:06] <Noah_AT> gotcha kk
[04:09] <Noah_AT> 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] <semiosis> looks good to me
[04:11] <Noah_AT> semiosis: "Finish partitioning and write changes to disk" ?
[04:12] <semiosis> if you are sure you want to wipe the whole disk drive and install ubuntu on it, then yes
[04:13] <Noah_AT> semiosis: Alonsi! then
[04:14] <semiosis> Noah_AT: congrats! you're (almost) the owner of a new ubuntu system!
[04:14]  * sarnold returns
[04:14] <sarnold> Noah_AT: good news? :)
[04:14] <Noah_AT> semiosis: haha I hope you're right! I'll hold you to it :P
[04:16] <Noah_AT> 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] <semiosis> Noah_AT: you know what to do
[04:17] <Noah_AT> semiosis: its going... .... ....
[04:18] <Noah_AT> Oh! Installing base system!
[04:18] <sarnold> nice :)
[04:19] <Noah_AT> sarnold: hahaha just in time!
[04:19]  * semiosis bed time
[04:19] <sarnold> Noah_AT: yeah no kidding, pizza in the oven, VM upgrading, and your system installing :)
[04:19] <Noah_AT> semiosis: so, this is farther than I've gotten
[04:19] <sarnold> semiosis: 'night :)
[04:19] <Noah_AT> semiosis: Night! Thanks so much
[04:19] <semiosis> Noah_AT: enjoy your new ubuntu
[04:19] <semiosis> sarnold: laters
[04:19]  * semiosis afk
[08:50] <wkmanire> Hello.
[08:50] <wkmanire> 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] <wkmanire> Can I add an extra disk and grow an existing partition to include that disk?
[09:31] <bekks> 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.
[09:34] <wkmanire> bekks: I see.
[09:34] <wkmanire> bekks: So it will appear as one contiguous filesystem
[09:34] <wkmanire> Comprised of 3 drives
[09:34] <bekks> yeah, it is pretty unsafe, but it is possible.
[09:35] <wkmanire> Unsafe in what sense?
[09:35] <wkmanire> If I have a drive failure do I lose the whole volume?
[09:35] <bekks> If one drive gets corrupted, data on the whole volume will be lost.
[09:35] <wkmanire> That makes sense.
[09:37] <wkmanire> bekks: Thank you for answering my questions.
[10:48] <eagles0513875> hey guys
[10:48] <eagles0513875> hey lordievader :D here is teh pastebin of the log http://paste.ubuntu.com/7055081/
[10:50] <lordievader> eagles0513875: Hmm, does syslog contain something usefull?
[10:50] <lordievader> Also what happens when you manually run dpkg -i on the package?
[10:51] <eagles0513875> lordievader: all im seeing in syslog is emails coming in etc
[10:51] <eagles0513875> let me try the dpkg -i
[10:51] <eagles0513875> 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] <eagles0513875> !runit
[10:51] <eagles0513875> !info runit
[10:52] <lordievader> eagles0513875: Try redownloading the .deb.
[10:52] <eagles0513875> lordievader: i downloaded it from the repo
[10:52] <eagles0513875> ok seems like none of my other servers have it
[10:53] <eagles0513875> how can i see a list of dependencies that rely on the package giving the issue
[10:54] <lordievader> apt-cache rdepends
[10:56] <eagles0513875> 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] <lordievader> eagles0513875: Write a script ;)
[10:58] <eagles0513875> lordievader: is there a way i can force it to be removed and reinstalled?
[10:59] <lordievader> Err not really sure what you mean? Purge and install?
[11:02] <eagles0513875> lordievader: basically how can i have the system reinstall the package with the issue
[11:03] <lordievader> eagles0513875: Remove, clean, and install. (check that step one doesn't tear down something important)
[11:04] <eagles0513875> lordievader: removing it and reinstalling it solved the problem
[11:04] <eagles0513875> it removed something git related which i reinstalled along side it
[14:48] <freenide> which ubuntu server i need to install that will help me setup dhcp ????? thanks
[14:51] <cfhowlett> !dhcp
[23:41] <irv> can someone assist me with installing a low-latency kernel on ubuntu server 13.10?
[23:43] <qman> apt-get install linux-rt ?
[23:44] <irv> i'll give that a shot, thx :)
[23:44] <qman> i think its still in default sources
[23:44] <qman> if not i'm sure there's a ppa
[23:44] <irv> perfect, i'm just installing the OS now