/srv/irclogs.ubuntu.com/2012/08/03/#ubuntu-server.txt

uvirtbotNew bug: #1032405 in nova (main) "RBDDriver does not support volume creation from snapshots" [Undecided,New] https://launchpad.net/bugs/103240500:16
=== Lcawte is now known as Lcawte|Away
thepumpkinHi. 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?00:33
=== Aaton is now known as Aaton_off
=== cpg is now known as cpg|away
Johnbump03:07
randomusr_I could use some help installing and configuring DRBL server with PXE boot capability03:34
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:35
=== cpg|away is now known as cpg
randomusr_Can I use PXELINUX or freedos to then transfer a windows image over TFTP?03:46
randomusr_google.com03:47
randomusr_oops03:47
arooni-mobilei'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.0404:46
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== smb` is now known as smb
=== n0ts_off is now known as n0ts
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 installed07:24
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:25
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
nibalizerarstu/win 1907:29
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
AdvoWorkI Currently have ubuntu-10.04.3-server-amd64.iso  I assume the alternative 12.04 is: ubuntu-12.04-server-amd64.iso?07:52
ScottKYes, although if you have an existing install, you can just upgrade it.  No need to reinstall.07:53
AdvoWorkScottK, its a guest client on a XEN vm, so i have to supply a file name and install via xen07:57
AdvoWorki installed 10.04.03 or something ages ago, did an upgrade to 12.04 and it nackered it, so doing a clean install07:57
=== Lcawte|Away is now known as Lcawte
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
uvirtbotNew bug: #1032550 in multipath-tools (main) "[multipath]  failed to get sysfs information" [Undecided,New] https://launchpad.net/bugs/103255009:25
=== n0ts_off is now known as n0ts
alex88hi guy, is there a way to resize a lvm partition without unmounting?09:46
=== n0ts is now known as n0ts_off
domashi! 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?09:52
=== mcclurmc_away is now known as mcclurmc
alex88i've a swap partition in a lvm group, how can i remove it and create a new one?10:04
cpghi, i am trying to figure how a good way to get a service program properly restarted upon a deb upgrade ...10:06
cpgwas looking for a couple of working examples10:06
cpgi am smewhat knew to ubuntu10:07
cpghow do i get the source for a given package, say mysql, or apache2, or monit10:07
alex88cpg, apt-get source apache210:08
cpgalex88: ossom. worked like a charm. i feel some learning coming on10:10
alex88eheh ;)10:10
domasalex88: you can, swapoff first10:40
alex88domas, yup, just found, the problem now is that the partition table is got, fdisk can't read it10:41
alex88i'm using parted to create some partitions,  but i get this http://pastie.org/438319510:41
alex88the 2 new partitions has primary as name, how can i set this to empty?10:41
alex88-brb lunch10:42
=== Razique_ is now known as Razique
=== Skaag_ is now known as Skaag
_rubendomas: 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:04
domas_ruben: tested on lucid, will revisit precise soon11:09
=== cpg is now known as cpg|away
WanderingEnderAre there any special things I need to do with Ubuntu 12.04 LTS if deploying from the gallery image on Windows Azure?11:39
alex88hi guys, why in mdadm --detail --scan some devices has /dev/md/2 and others /dev/md0? without the / before?12:15
patdk-wkalex88, depends on how they where made12:41
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:47
alex88patdk-wk, right, that was my issue when creating them, thanks :)12:59
WanderingEnderroasted_: 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. :D13:00
roasted_WanderingEnder, I'd like to do it via terminal or whatever, not the gui startup apps13:01
WanderingEnderBah, 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 :D13:01
roasted_WanderingEnder, is it /etc/rc.local?13:02
roasted_I have to wonder why it's not doing this anyway... *shrug*13:02
WanderingEnderupdate-rc.d13:03
WanderingEnderIf it has a rc script.13:03
roasted_WanderingEnder, pardon? I just run update-rc.d in terminal?13:03
WanderingEnderIf 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:03
WanderingEnderIts a command. i.e.13:04
WanderingEnderman update-rc.d13:04
WanderingEnderupdate-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:05
WanderingEndernote: 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.local13:06
uvirtbotNew bug: #1032633 in keystone (main) "Keystone's token table grows unconditionally." [Undecided,New] https://launchpad.net/bugs/103263313:51
uvirtbotNew bug: #1031977 in clamav (main) "package clamav-base 0.97.5+dfsg-1ubuntu0.12.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/103197714:05
AdvoWorkdoes anyone know how much space is needed for 12.04 server?14:10
melmothAdvoWork, i have a shell on a 10G vm here, showing 8.7G still available14:12
AdvoWorkmelmoth, perfect thanks, this is for a VM too, so if i give it 40GB i have plenty for other stuff too14:27
melmothsure14:27
=== zyga is now known as zyga-afk
=== arosales1 is now known as arosales
AdvoWorkjust 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:07
mardraummmm, yes?15:08
mardraumyou would?15:08
AdvoWorkwhat exactly is it?15:09
koolhead17Daviey, ping15:09
mardraumAdvoWork: http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%2915:09
=== Skaag_ is now known as Skaag
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #1032721 in openldap (main) "package slapd 2.4.28-1.1ubuntu4.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/103272116:51
uvirtbotNew bug: #1032724 in linux (universe) "Cannot access IPMI card" [Undecided,New] https://launchpad.net/bugs/103272416:51
=== dendrobates is now known as dendro-afk
=== matsubara_ is now known as matsubara-afk
=== dendro-afk is now known as dendrobates
=== mcclurmc is now known as mcclurmc_away
=== cpg|away is now known as cpg
=== glebihan_ is now known as glebihan
=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== dendro-afk is now known as dendrobates
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== dendrobates is now known as dendro-afk
=== Aaton_off is now known as Aaton
=== Malediction is now known as Malediction_
=== dendro-afk is now known as dendrobates
=== Malediction_ is now known as Malediction
arooni-mobilehaving 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?19:36
=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|away
=== alaing is now known as funkymonk
=== LordOfTime is now known as TheLordOfTime
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
r3dLunchb0x_does lvm on ubuntu automatically setup as raid 5 on ver 10.04?22:23
patdk-wkdo what?22:24
patdk-wklvm doesn't even support raid522:25
=== dendrobates is now known as dendro-afk
* patdk-wk doesn't think lvm supports raid22:25
seekwillIt can do mirroring and striping22:26
patdk-wkoh it can?22:26
r3dLunchb0x_is there any other way to determine if my file systems are setup in raid 5?22:26
seekwillNot sure if you'd call that "RAID" though ...22:26
patdk-wkthought it just did lineir, and mirror22:26
patdk-wkr3dLunchb0x, mdadm? and whatever dm-raid uses22:27
r3dLunchb0x_right I thought you had to setup the devices in a raid 5 and then lvm the radied device.22:27
patdk-wkr3dLunchb0x, that is a solution22:27
r3dLunchb0x_mdadm wasn't even installed how do i tell if dm-raid is there?22:27
patdk-wkbut the goal is what says why you had to do it22:27
seekwillpatdk-wk: http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/LV_create.html Just happen to have that open22:27
r3dLunchb0x_and this works on ubuntu server?22:28
seekwillYou don't really want RAID522:28
patdk-wkdidn't know it could do stripe22:28
=== smw_ is now known as smw_work
seekwillr3dLunchb0x_: http://www.thedatacave.com/raid-5-is-dead22:29
* patdk-wk has 3 installs using raid522:29
patdk-wkso far 2 of them have failed horrible deaths22:29
seekwillI'm trying to move towards SAN environments22:30
* seekwill drank the SAN kool-aid22:30
patdk-wkthese where san :)22:30
seekwilloh :)22:30
patdk-wkraid50 with 5 raid5's22:30
seekwillnice22:30
patdk-wkwe just dumped our raid10 of 74 disks22:30
patdk-wkmoved to 6 raid6's22:31
patdk-wkthe *controller* wasn't fast enough to take advantage of the speed of the raid1022:31
patdk-wkthe raid6's are slower, but not enough to be user noticable22:31
patdk-wkthey are slower when installing updates, but users don't do that22:31
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
seekwillHardware RAID?22:34
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
xnoxcheck bios settings, it could have been setup there22:35
seekwillIf it's hardware RAID, the OS generally doesn't really know22:35
seekwillYour dmesg might show the name of the disks, that's how I usually tell22:36
r3dLunchb0x_and what am i looking for in the dmesg? I don't see anythign about disks...22:41
seekwillDo you have access to the console?22:41
r3dLunchb0x_i do22:42
seekwillCan you reboot it?22:42
r3dLunchb0x_no i can't reboot it.22:43
r3dLunchb0x_thought about that already. ;-)22:43
seekwillEven for a little bit?22:43
seekwillThere's no real way to know for sure without jumping on the console22:43
seekwill(and getting into the controller's setup)22:43
r3dLunchb0x_right22:44
seekwillNot that I'm aware of anyway. I could be wrong22:44
r3dLunchb0x_i am on the ilom22:44
seekwillI don't know if it shows up there22:44
r3dLunchb0x_yeah, looking and nothing.22:45
r3dLunchb0x_so my assumption is correct, lvm is NOT doing raid 5...maybe striping as the disks aren't mirrored22:46
seekwillI wouldn't guess or make any assumptions22:46
seekwillLVM doesn't do RAID522:47
r3dLunchb0x_correct, but since there is no mdadm or dmraid pkgs installed....22:49
xnoxr3dLunchb0x_: lvm can do raid0, raid1, raid1022:49
r3dLunchb0x_xnox: how can i tell if my current situation is setup with a raid?22:50
xnoxhow would i know22:55
xnoxr3dLunchb0x_: $ sudo lvdisplay22:56
r3dLunchb0xthats 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:56
r3dLunchb0xbut i see that raid 1 is striping, and raid 10 is striped mirrors22:57
xnoxr3dLunchb0x: or it is setup in the BIOS with fakeraid or it is set up with hardware raid22:57
xnoxsuch that no packages are needed in the OS22:57
r3dLunchb0xits not hw raid, i have full use of ever disk (for the most part)22:57
xnoxr3dLunchb0x: i am sorry, but i am off to sleep22:57
xnoxit's midnight here22:57
r3dLunchb0xnighty-night22:57
pmatulisr3dLunchb0x_: if you know the number of disks in use and their capacity you can deduce roughly the RAID level23:00
pmatulisr3dLunchb0x_: you machine comes with a Smart Array P410i controller23:00
pmatulis*your23:00
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 jbod23:03
r3dLunchb0x_so i am looking for *any* info that lvm on my server is setup to do raid.23:03
pmatulisr3dLunchb0x_: how many disks does the OS see?23:04
r3dLunchb0x_one "/dev/mapper-waandroid3  mounted on /"23:04
pmatulisr3dLunchb0x_: pastebin output to 'sudo fdisk -l'23:04
r3dLunchb0x_there are 6 1TB disks in the machine23:04
r3dLunchb0x_ok, hold a sec...23:04
pmatulisr3dLunchb0x_: include the output to 'df -hT'23:05
arooni-mobilehow 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/nginx23:06
r3dLunchb0x_http://pastebin.com/4tpGpXd923:06
pmatulisr3dLunchb0x_: so you are using LVM23:09
r3dLunchb0x_pmatulis: correct....and coworker believes it is raid 5 config23:09
pmatulisr3dLunchb0x_: but LVM does not do RAID523:09
pmatulisr3dLunchb0x_: only mixtures of striping and mirroring23:10
pmatulisr3dLunchb0x_: 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:10
=== kentb is now known as kentb-out
pmatulisarooni-mobile: could be a firewall or tcp wrappers23:15
arooni-mobileheres my rules list: https://gist.github.com/98985f154f06a4c7660a23:15
pmatulisarooni-mobile: or nginx has some authentication.  how are you checking?23:16
r3dLunchb0xpmautils: here it is: http://pastebin.com/9KUNeBU223:16
smokiehey 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
r3dLunchb0xpmatulis: sorry: http://pastebin.com/9KUNeBU223:16
pmatulissmokie: list it in rc.local before the 'exit 0' line23:16
arooni-mobilepmatulis, the problem is somehow (i think by installing openvpn before... which i have since uninstalled) my port 443 got mapped to a different port23:16
smokiepmatulis, this will automatically make it run with root access?23:19
pmatulissmokie: yes23:19
smokiepmatulis, thanks23:20
PatrickDKheh?23:21
PatrickDK6 1tb disks, and ubuntu sees 1 5tb disk23:21
PatrickDKso something likely did raid523:21
PatrickDKbut it wasn't linux23:21
PatrickDKso it has to be hardware23:21
PatrickDKsmartctl -i /dev/sda, will likely tell you23:22
r3dLunchb0x_PatrickDK: I had to install smartmontools to use that ocmmand here is the output: http://pastebin.com/v7Pm6PYD23:27
PatrickDKso it's using some hp raid card23:28
r3dLunchb0x_PatrickDK: and I don't think it is raid 5, i think it is JBOD23:28
PatrickDKexplain this23:28
PatrickDK6 1tb drives != 5tb23:28
PatrickDK6 1tb JBOD = 6 drives23:28
r3dLunchb0x_and the only way to tell is to reboot and go into the hp raid controller's setup23:28
PatrickDKyou have 1 5tb drive23:28
r3dLunchb0x_ok, doesn't make it raid 5 automatically.23:28
PatrickDKno, could be raid0 with 5 disks23:29
PatrickDKcould be you lied, and it's a single 5tb drive :)23:29
PatrickDKthat you brought from the future23:29
r3dLunchb0x_and that's my point, LVM doesn't do raid 5 unless you use mdadm or dmraid pkgs23:29
PatrickDKthat point was made long long ago, stop it already23:30
PatrickDKyou oviously have a hardware raid card in there23:30
PatrickDKif you want more info about it, use lshw, it normally will23:30
r3dLunchb0x_ok, that command is showing some promising info....what exactly would show it is in a hw-raid23:31
PatrickDKnothing23:31
PatrickDKIT'S IMPOSSIBLE to show that info23:32
PatrickDKcause how do we know if it's a real disk, or a make believe real disk23:32
r3dLunchb0x_gotcha.23:32
r3dLunchb0x_or one from the future ;-)23:32
PatrickDKsomeone might have done this to your server: http://img.photobucket.com/albums/v11/Ba-Ka/DSC_0781.jpg23:34
PatrickDKnothing like shoving in a few extra23:35
seekwilllol23:38
seekwillThat won't last very long23:39
PatrickDKit will outlive you :)23:39
seekwillomg... are you threating me???23:39
PatrickDKonly in the politest of ways23:40
seekwillah ok :)23:40
PatrickDKhmm, today seems to be a big spam day23: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! lol23:41
r3dLunchb0x_laters,23:42
RoyK 23:43
PatrickDK 23:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!