[00:33] <thepumpkin> Hi. I set the ipv4 in my linux container conf but is not getting the IP address the first time, it only works the second time I boot the container. any ideas?
[03:07] <John> bump
[03:34] <randomusr_> I could use some help installing and configuring DRBL server with PXE boot capability
[03:35] <randomusr_> not sure which packages to install and whether there are caveats on 64 bit that I should be aware of. Could someone help?
[03:46] <randomusr_> Can I use PXELINUX or freedos to then transfer a windows image over TFTP?
[03:47] <randomusr_> google.com
[03:47] <randomusr_> oops
[04:46] <arooni-mobile> i'm seeing "The site's security certificate is not trusted!" after following a guide on slicehost.  i generated a ssl cert with startssl... not sure what i need to check next.  nginx and ubuntu 10.04
[07:24] <Ubuntubruger9> ?question I've just set up a headless server with Ubuntu Server 12 on an old Lenovo M55, with a new Seagate Barracude 1 Tb SATA disk installed
[07:25] <Ubuntubruger9> ?question everything is working fine and using it in an afp mac-only environment, but I want to idle the disk when the server is not in use as I only use it sporadically as a NAS - how do I go about doing this?
[07:29] <nibalizer> arstu/win 19
[07:52] <AdvoWork> I Currently have ubuntu-10.04.3-server-amd64.iso  I assume the alternative 12.04 is: ubuntu-12.04-server-amd64.iso?
[07:53] <ScottK> Yes, although if you have an existing install, you can just upgrade it.  No need to reinstall.
[07:57] <AdvoWork> ScottK, its a guest client on a XEN vm, so i have to supply a file name and install via xen
[07:57] <AdvoWork> i installed 10.04.03 or something ages ago, did an upgrade to 12.04 and it nackered it, so doing a clean install
[09:46] <alex88> hi guy, is there a way to resize a lvm partition without unmounting?
[09:52] <domas> hi! when I try to change RTO_MIN for routes using ip, instead of e.g. 300ms I end up getting 3ms and things break - http://p.defau.lt/?GQXenT2OEHRH8r1Q0jW_Xg - what am I doing wrong?
[10:04] <alex88> i've a swap partition in a lvm group, how can i remove it and create a new one?
[10:06] <cpg> hi, i am trying to figure how a good way to get a service program properly restarted upon a deb upgrade ...
[10:06] <cpg> was looking for a couple of working examples
[10:07] <cpg> i am smewhat knew to ubuntu
[10:07] <cpg> how do i get the source for a given package, say mysql, or apache2, or monit
[10:08] <alex88> cpg, apt-get source apache2
[10:10] <cpg> alex88: ossom. worked like a charm. i feel some learning coming on
[10:10] <alex88> eheh ;)
[10:40] <domas> alex88: you can, swapoff first
[10:41] <alex88> domas, yup, just found, the problem now is that the partition table is got, fdisk can't read it
[10:41] <alex88> i'm using parted to create some partitions,  but i get this http://pastie.org/4383195
[10:41] <alex88> the 2 new partitions has primary as name, how can i set this to empty?
[10:42] <alex88> -brb lunch
[11:04] <_ruben> domas: seems there's been some bugs in the rto_min stuff handling, might be that one's still present? using kernel 2.6.38 or newer?
[11:09] <domas> _ruben: tested on lucid, will revisit precise soon
[11:39] <WanderingEnder> Are there any special things I need to do with Ubuntu 12.04 LTS if deploying from the gallery image on Windows Azure?
[12:15] <alex88> hi guys, why in mdadm --detail --scan some devices has /dev/md/2 and others /dev/md0? without the / before?
[12:41] <patdk-wk> alex88, depends on how they where made
[12:47] <roasted_> If my dhcp-server service is not automatically starting, what can I do to ensure it starts up each and every time the system starts up?
[12:59] <alex88> patdk-wk, right, that was my issue when creating them, thanks :)
[13:00] <WanderingEnder> roasted_: Although this isn't #Ubuntu, i'd say you could add it to your startup programs?
[13:00] <roasted_> WanderingEnder, you're right - it's ubuntu-server - and I'm asking about dhcp server services. :D
[13:01] <roasted_> WanderingEnder, I'd like to do it via terminal or whatever, not the gui startup apps
[13:01] <WanderingEnder> Bah, sorry, thought this was offtopic. Give me a sec, let me remember how to do that in ubuntu.
[13:01] <roasted_> WanderingEnder, hahaha, all good :D
[13:02] <roasted_> WanderingEnder, is it /etc/rc.local?
[13:02] <roasted_> I have to wonder why it's not doing this anyway... *shrug*
[13:03] <WanderingEnder> update-rc.d
[13:03] <WanderingEnder> If it has a rc script.
[13:03] <roasted_> WanderingEnder, pardon? I just run update-rc.d in terminal?
[13:03] <WanderingEnder> If not, you can manually run it from /etc/rc.local, using su - to be whoever you need to.
[13:03] <roasted_> or edit that?
[13:04] <WanderingEnder> Its a command. i.e.
[13:04] <WanderingEnder> man update-rc.d
[13:05] <WanderingEnder> update-rc.d <name> enable <service level> is a good one. I had to actually look it up, I haven't actually had to add something in months.
[13:06] <WanderingEnder> note: if your thing doesn't have an rc-script, you can either make one (google, I have no freakin clue how anymore), or you can add it manually to rc.local
[14:10] <AdvoWork> does anyone know how much space is needed for 12.04 server?
[14:12] <melmoth> AdvoWork, i have a shell on a 10G vm here, showing 8.7G still available
[14:27] <AdvoWork> melmoth, perfect thanks, this is for a VM too, so if i give it 40GB i have plenty for other stuff too
[14:27] <melmoth> sure
[15:07] <AdvoWork> just installing ubuntu server, got to the partition stage where i can chose whole partition, or whole partition and setup LVM, would i want this LVM?
[15:08] <mardraum> mmm, yes?
[15:08] <mardraum> you would?
[15:09] <AdvoWork> what exactly is it?
[15:09] <koolhead17> Daviey, ping
[15:09] <mardraum> AdvoWork: http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29
[19:36] <arooni-mobile> having trouble with sslcerts.  i have this error message when i run: openssl s_client -connect www.magicpresspass.com:443 ==> "depth=1 CN = OpenVPN Web CA 2012.01.15 16:11:48 PST li25-146; verify error:num=19:self signed certificate in certificate chain"  how do i find and delete this cert?
[22:23] <r3dLunchb0x_> does lvm on ubuntu automatically setup as raid 5 on ver 10.04?
[22:24] <patdk-wk> do what?
[22:25] <patdk-wk> lvm doesn't even support raid5
[22:25]  * patdk-wk doesn't think lvm supports raid
[22:26] <seekwill> It can do mirroring and striping
[22:26] <patdk-wk> oh it can?
[22:26] <r3dLunchb0x_> is there any other way to determine if my file systems are setup in raid 5?
[22:26] <seekwill> Not sure if you'd call that "RAID" though ...
[22:26] <patdk-wk> thought it just did lineir, and mirror
[22:27] <patdk-wk> r3dLunchb0x, mdadm? and whatever dm-raid uses
[22:27] <r3dLunchb0x_> right I thought you had to setup the devices in a raid 5 and then lvm the radied device.
[22:27] <patdk-wk> r3dLunchb0x, that is a solution
[22:27] <r3dLunchb0x_> mdadm wasn't even installed how do i tell if dm-raid is there?
[22:27] <patdk-wk> but the goal is what says why you had to do it
[22:27] <seekwill> patdk-wk: http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/LV_create.html Just happen to have that open
[22:28] <r3dLunchb0x_> and this works on ubuntu server?
[22:28] <seekwill> You don't really want RAID5
[22:28] <patdk-wk> didn't know it could do stripe
[22:29] <seekwill> r3dLunchb0x_: http://www.thedatacave.com/raid-5-is-dead
[22:29]  * patdk-wk has 3 installs using raid5
[22:29] <patdk-wk> so far 2 of them have failed horrible deaths
[22:30] <seekwill> I'm trying to move towards SAN environments
[22:30]  * seekwill drank the SAN kool-aid
[22:30] <patdk-wk> these where san :)
[22:30] <seekwill> oh :)
[22:30] <patdk-wk> raid50 with 5 raid5's
[22:30] <seekwill> nice
[22:30] <patdk-wk> we just dumped our raid10 of 74 disks
[22:31] <patdk-wk> moved to 6 raid6's
[22:31] <patdk-wk> the *controller* wasn't fast enough to take advantage of the speed of the raid10
[22:31] <patdk-wk> the raid6's are slower, but not enough to be user noticable
[22:31] <patdk-wk> they are slower when installing updates, but users don't do that
[22:34] <r3dLunchb0x_> so since mdadm and dmraid are not isntalled (no config files are found either) that means I'm not using a raid of any sort. correct?
[22:34] <seekwill> Hardware RAID?
[22:35] <r3dLunchb0x_> it is an HP Proliant 580 G7 and the controller is capable of raid, yet I am pretty sure it's setup as jbod.
[22:35] <xnox> check bios settings, it could have been setup there
[22:35] <seekwill> If it's hardware RAID, the OS generally doesn't really know
[22:36] <seekwill> Your dmesg might show the name of the disks, that's how I usually tell
[22:41] <r3dLunchb0x_> and what am i looking for in the dmesg? I don't see anythign about disks...
[22:41] <seekwill> Do you have access to the console?
[22:42] <r3dLunchb0x_> i do
[22:42] <seekwill> Can you reboot it?
[22:43] <r3dLunchb0x_> no i can't reboot it.
[22:43] <r3dLunchb0x_> thought about that already. ;-)
[22:43] <seekwill> Even for a little bit?
[22:43] <seekwill> There's no real way to know for sure without jumping on the console
[22:43] <seekwill> (and getting into the controller's setup)
[22:44] <r3dLunchb0x_> right
[22:44] <seekwill> Not that I'm aware of anyway. I could be wrong
[22:44] <r3dLunchb0x_> i am on the ilom
[22:44] <seekwill> I don't know if it shows up there
[22:45] <r3dLunchb0x_> yeah, looking and nothing.
[22:46] <r3dLunchb0x_> so my assumption is correct, lvm is NOT doing raid 5...maybe striping as the disks aren't mirrored
[22:46] <seekwill> I wouldn't guess or make any assumptions
[22:47] <seekwill> LVM doesn't do RAID5
[22:49] <r3dLunchb0x_> correct, but since there is no mdadm or dmraid pkgs installed....
[22:49] <xnox> r3dLunchb0x_: lvm can do raid0, raid1, raid10
[22:50] <r3dLunchb0x_> xnox: how can i tell if my current situation is setup with a raid?
[22:55] <xnox> how would i know
[22:56] <xnox> r3dLunchb0x_: $ sudo lvdisplay
[22:56] <r3dLunchb0x> thats what im looking for. someone is telling me one of the servers is running raid 5, lvm doesnt do raid 5 you have to have mdadm or dmraid pkgs installed which are not on this server.
[22:57] <r3dLunchb0x> but i see that raid 1 is striping, and raid 10 is striped mirrors
[22:57] <xnox> r3dLunchb0x: or it is setup in the BIOS with fakeraid or it is set up with hardware raid
[22:57] <xnox> such that no packages are needed in the OS
[22:57] <r3dLunchb0x> its not hw raid, i have full use of ever disk (for the most part)
[22:57] <xnox> r3dLunchb0x: i am sorry, but i am off to sleep
[22:57] <xnox> it's midnight here
[22:57] <r3dLunchb0x> nighty-night
[23:00] <pmatulis> r3dLunchb0x_: if you know the number of disks in use and their capacity you can deduce roughly the RAID level
[23:00] <pmatulis> r3dLunchb0x_: you machine comes with a Smart Array P410i controller
[23:00] <pmatulis> *your
[23:03] <r3dLunchb0x_> pmatulis: thanks, that's my point. cowoarker believes everything is in raid 5 due to lvm...and im telling him no, but could be hw raid, but I am certain it isn't as I just setup a new server with the exact same hw and it was default jbod
[23:03] <r3dLunchb0x_> so i am looking for *any* info that lvm on my server is setup to do raid.
[23:04] <pmatulis> r3dLunchb0x_: how many disks does the OS see?
[23:04] <r3dLunchb0x_> one "/dev/mapper-waandroid3  mounted on /"
[23:04] <pmatulis> r3dLunchb0x_: pastebin output to 'sudo fdisk -l'
[23:04] <r3dLunchb0x_> there are 6 1TB disks in the machine
[23:04] <r3dLunchb0x_> ok, hold a sec...
[23:05] <pmatulis> r3dLunchb0x_: include the output to 'df -hT'
[23:06] <arooni-mobile> how could i be able to connect to 443 on my server (from my server) but not be able to do it from my dev box... ubuntu 10.04 lts server.  and nginx is hadnling 443: tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      7272/nginx
[23:06] <r3dLunchb0x_> http://pastebin.com/4tpGpXd9
[23:09] <pmatulis> r3dLunchb0x_: so you are using LVM
[23:09] <r3dLunchb0x_> pmatulis: correct....and coworker believes it is raid 5 config
[23:09] <pmatulis> r3dLunchb0x_: but LVM does not do RAID5
[23:10] <pmatulis> r3dLunchb0x_: only mixtures of striping and mirroring
[23:10] <pmatulis> r3dLunchb0x_: pastebin output to 'sudo pvs; sudo vgs; sudo lvs'
[23:10] <r3dLunchb0x_> pmatulis: that's what im telling him and he is the lead, so he is pretty sure he knows its setup that way. I just want to show him he's wrong so we can get more disk as this server is at risk.
[23:15] <pmatulis> arooni-mobile: could be a firewall or tcp wrappers
[23:15] <arooni-mobile> heres my rules list: https://gist.github.com/98985f154f06a4c7660a
[23:16] <pmatulis> arooni-mobile: or nginx has some authentication.  how are you checking?
[23:16] <r3dLunchb0x> pmautils: here it is: http://pastebin.com/9KUNeBU2
[23:16] <smokie> hey guys, if i want to run a bash file from rc.local at boot with root access, do i neeed to do anything specially or it doesnt matter?
[23:16] <r3dLunchb0x> pmatulis: sorry: http://pastebin.com/9KUNeBU2
[23:16] <pmatulis> smokie: list it in rc.local before the 'exit 0' line
[23:16] <arooni-mobile> pmatulis, the problem is somehow (i think by installing openvpn before... which i have since uninstalled) my port 443 got mapped to a different port
[23:19] <smokie> pmatulis, this will automatically make it run with root access?
[23:19] <pmatulis> smokie: yes
[23:20] <smokie> pmatulis, thanks
[23:21] <PatrickDK> heh?
[23:21] <PatrickDK> 6 1tb disks, and ubuntu sees 1 5tb disk
[23:21] <PatrickDK> so something likely did raid5
[23:21] <PatrickDK> but it wasn't linux
[23:21] <PatrickDK> so it has to be hardware
[23:22] <PatrickDK> smartctl -i /dev/sda, will likely tell you
[23:27] <r3dLunchb0x_> PatrickDK: I had to install smartmontools to use that ocmmand here is the output: http://pastebin.com/v7Pm6PYD
[23:28] <PatrickDK> so it's using some hp raid card
[23:28] <r3dLunchb0x_> PatrickDK: and I don't think it is raid 5, i think it is JBOD
[23:28] <PatrickDK> explain this
[23:28] <PatrickDK> 6 1tb drives != 5tb
[23:28] <PatrickDK> 6 1tb JBOD = 6 drives
[23:28] <r3dLunchb0x_> and the only way to tell is to reboot and go into the hp raid controller's setup
[23:28] <PatrickDK> you have 1 5tb drive
[23:28] <r3dLunchb0x_> ok, doesn't make it raid 5 automatically.
[23:29] <PatrickDK> no, could be raid0 with 5 disks
[23:29] <PatrickDK> could be you lied, and it's a single 5tb drive :)
[23:29] <PatrickDK> that you brought from the future
[23:29] <r3dLunchb0x_> and that's my point, LVM doesn't do raid 5 unless you use mdadm or dmraid pkgs
[23:30] <PatrickDK> that point was made long long ago, stop it already
[23:30] <PatrickDK> you oviously have a hardware raid card in there
[23:30] <PatrickDK> if you want more info about it, use lshw, it normally will
[23:31] <r3dLunchb0x_> ok, that command is showing some promising info....what exactly would show it is in a hw-raid
[23:31] <PatrickDK> nothing
[23:32] <PatrickDK> IT'S IMPOSSIBLE to show that info
[23:32] <PatrickDK> cause how do we know if it's a real disk, or a make believe real disk
[23:32] <r3dLunchb0x_> gotcha.
[23:32] <r3dLunchb0x_> or one from the future ;-)
[23:34] <PatrickDK> someone might have done this to your server: http://img.photobucket.com/albums/v11/Ba-Ka/DSC_0781.jpg
[23:35] <PatrickDK> nothing like shoving in a few extra
[23:38] <seekwill> lol
[23:39] <seekwill> That won't last very long
[23:39] <PatrickDK> it will outlive you :)
[23:39] <seekwill> omg... are you threating me???
[23:40] <PatrickDK> only in the politest of ways
[23:40] <seekwill> ah ok :)
[23:41] <PatrickDK> hmm, today seems to be a big spam day
[23:41] <r3dLunchb0x_> PatrickDK: that's funny, gonna save that and send it to my boss with caption :I have found a way to extend our disk space! lol
[23:42] <r3dLunchb0x_> laters,
[23:43] <RoyK>  
[23:50] <PatrickDK>