/srv/irclogs.ubuntu.com/2013/04/05/#ubuntu-server.txt

Questsarnold,  any clues00:01
sarnoldQuest: it's hard to debug a problem without any idea of what commands you ran or what errors you got. :)00:02
Questjust says general error. error mounting hardisk00:03
Questiam installing by live cd00:03
acidflashhello02:56
acidflashi have a pci-express ssd that i installed into my server yesterday, and i can see it in lspci, but i cant see it in fdisk, can someone point me in the right direction as to how to get this ssd viewable in fdisk?02:57
sarnoldacidflash: does it show up with a device name in dmesg?02:58
sarnoldacidflash: does fdisk just not read the partition table or do you not even know how to get fdisk to talk to that specific drive?02:58
acidflashsarnold: the entire drive doesnt show up in fdisk, im checking dmesg for any signs of life02:59
sarnoldacidflash: dang, unreadable partitions might have been easier. :) grep for 'sd' or 'hdd' or something...02:59
acidflash[    2.232470] scsi 15:0:0:0: Processor         Marvell  91xx Config      1.01 PQ: 0 ANSI: 503:00
acidflash[    2.232596] scsi 15:0:0:0: Attached scsi generic sg3 type 303:00
acidflashim fairly certain thats it.03:00
sarnoldbut sg3 is the closest you get? hrm. :(03:00
sarnoldthat's way out of my experience, good luck :)03:01
acidflashhehe, thanks03:02
acidflashsarnold: all other ssd's show up with the after the areca raid controller, this is the only thing other then onboard devices which show up before the areca raid controller, makes me pretty sure its it,03:02
acidflash3 hdd's, then this, then areca controller, then the rest of my ssds03:03
sarnoldhrm, I do'nt see anything in /lib/modules/`uname -r`/kernel/drivers/scsi/ that looks like it'd fit the bill either.03:06
sarnoldacidflash_: hrm, I do'nt see anything in /lib/modules/`uname -r`/kernel/drivers/scsi/ that looks like it'd fit the bill either.03:07
acidflash_i se03:07
=== acidflash_ is now known as acidflash
sarnoldgood luck :)03:09
acidflashi think i should be looking for mvsas03:09
acidflashthank you03:09
ashley_wi built a vm using vmbuilder, and now i have a qemu qcow image, but i'm not sure what to do with it. i've built a couple of other VMs using virt-install03:23
zuladam_g: ill take a look tomorrow03:37
zulhallyn_:  gah?03:37
adam_gzul, this is causing the failures: http://bazaar.launchpad.net/~openstack-ubuntu-testing/keystone/grizzly/revision/181  it was passing before because we weren't shipping the sql backend enabled by default. with it the default, we need to create a test db and overrides for the test suite05:29
adam_gzul, or we can only test the kvs backend at build time but default to sql on installation, i prefer to test sql though05:30
pii3what is the minimum hardware requirment for ubuntu 12.04 or 12.10 server ? specially for disk and ram ?07:13
smbDaviey, when you are around, how far did the ffe handling for raring xen get?07:22
Davieysmb: hey.  I couldn't quite work out if XiongZhang (xiong-y-zhang)  was concerned about the TSC change?07:39
smbDaviey, Let me read the report again, but I belive it was more me not finding the support bit because the user-space tool I used was lying...07:40
Davieyah!07:40
smbYeah, I think it was that07:41
smbBasically I had a machine supporting tsc offset (at least after I installed the upgrade) but cpuid is not telling the truth for cpuid[7]07:41
Davieysmb: approved.. please progress :)07:43
Daviey(Thanks!)07:43
smbDaviey, If that means upload... hey could you sponsor the source package I prepared. :)07:44
Davieysmb: sure07:56
caraconanHi there. Can somebody please provide to me the URL to install ubuntu server from internet? I have (I think) the one to install desktop version, which is http://archive.ubuntu.com/ubuntu/dists/quantal/main/installer-amd64/08:25
caraconanNobody? The url that I pasted is the right one?08:30
Davieycaraconan: that is the correct one08:30
Davieymini.iso covers all flavours08:30
caraconan<Daviey> But maybe I'm missing something, but I can't see in any place the option to choose ubuntu server08:32
caraconanHow will this end up installing the flavour that I want?08:32
=== security is now known as megha
WaltherOkay, completely stupid question. I have a new server here with 128GB of ram and only 2x146GB (-> 146GB after raid) for the host install. Ubuntu server wants to grab >130GB for *swap partition* when I try to configure LVM10:14
WaltherObviously there will be more disk space afterwards for virtual servers etc, but those will be in ZFS pools and configured later10:14
Waltherthe partitioner in the ubuntu installer doesn't seem to allow changing the swap partition size10:15
xnoxWalther: sounds about right. You should use manual partitioning, it does allow to "autopartition using lvm" and then delete/resize swap.10:16
xnoxWalther: unfortunately the rule of thumb SWAP ~= RAM doesn't work well these days where it can be the case that RAM >> HDD space10:16
Walthermmh. However it seems that if I now go to manual partitioning, the lvm volume groups etc have already been written to disk -> it doesn't allow me to properly modify them, even if I "go back" in the installer10:17
Waltherso how do I go about to "just blank the disk / ignore partition tables and start again" in the installer?10:19
WaltherEr, how can I shrink the lvm swap partition in the installer?10:31
xnoxWalther: enter manual partitioning -> delete swap -> enter lvm submenu -> delete swap volume.10:33
xnoxWalther: the create a new volume.10:33
xnoxWalther: none of it is written to disk, but it does preserve / show the model. Or reboot =)10:34
Waltherahh, now i got it. the menu is a bit backwards10:36
Walther(and yeah, perhaps something should be done to that swap ≃ ram thing10:36
Waltherat least in server installs, the partitioner could be smarter)10:36
wwoohello, I want to update mysql on my ubuntu VPS to version 5.6. How do I do that? Is there a command? Can I just run installation?..11:03
wwooI don't want to loose any data though11:04
shadeslayerhi, does anyone have any ideas on how to limit mysql mem consumption by using cgroups?11:39
=== acidflash_ is now known as acidfalsh
=== acidfalsh is now known as acidflash
Davieysmb: Your build FTBFS.. mce.c:150:1: internal compiler error: Segmentation fault .. erk12:36
DavieyI've hit retry.12:37
smbDaviey, ok. I am pretty sure I did do a test sbuild12:37
Davieysmb: well this is i386.. so not sure i care much about that :)12:38
smbDaviey, Hm, probably only did one on 64bit but still...12:38
smbDaviey, Started a local 32bit build as well. If the failure persists we should let the compiler people know12:41
Davieysmb: https://launchpad.net/ubuntu/+source/xen/4.2.1-0ubuntu2/+build/446997112:41
_BAMbandaon setup, i accidentally skipped over all the various options such as lamp server, ssh server, dns, etc...12:42
_BAMbandahow can I bring that up again12:42
Nafallotasksel12:42
_BAMbandathats the command?12:42
Nafallomaybe. I'm not fond of doing it that way myself.12:43
smbIt is the command and actually brings up the selection screen12:45
Davieysmb: same error12:45
smbDaviey, Bugger, ok I will look into it12:46
hallyn_zul: yeah, gah.  libvirt is requiring mem-balloon in .xml for domxml-tonative qemu-argv to work, and i don't see why yet.12:47
zulthats dumb12:47
hallyn_yup12:49
zulyolanda: ping https://code.launchpad.net/~zulcss/cinder/2013.1/+merge/15734812:55
yolandadone12:59
zulthanks13:10
=== Pricey is now known as PriceChild
=== PriceChild is now known as Pricey
ftpdHi guys. Is there a problem with installing Ubuntu on disks/partitions larger than 3 TB? I'm trying to install 12.04.2 from .iso on a remote dell iDrac machines. On machine with 6 x 600 GB RAID5 it works, on 8 x 900 GB or 8 x 480 SSD still (also with raid5) fails with grub's error 'out of disk'.15:06
ftpdIt worked once, when I've used 'guided partitioning'. When I'm trying to use just one big partition (as customer wants) without swap, it fails. I'm creating 'bootdisk' partition 1.0 MB 'large', as installer wants, but still nothing.15:07
maswanftpd: Nope, we always slice out a fairly small raid volume for OS and keep the large data volume separate15:28
ftpdmaswan, I would do that, but my customer just 'wants' to have one big partition. But I think I'll slice it and he'll have to deal with it ;-)15:39
xroHi, i'm looking for a cheap cloud to interface with JUJU... Do you know one?16:01
xronobody knows cheap cloud ?16:04
utlemmingxro: HPCloud and EC2 are the two with Juju support16:05
utlemmingor you can use the local provider against LXC16:05
xroutlemming, you can't say amazone s cheap! 600$ a year per small vm...16:06
utlemmingxro: well, short of finding an openstack cloud with API access that is in beta, you aren't going to find both cheap and Juju support. However,  I cheap is in the eye of the beholder. 600$/year isn't that bad considering the infrastructrue you're getting.16:08
xroutlemming, i though about building my openstack cloud... but it's really expensive16:09
xroutlemming, 600$ per year is cheap or expensive depending of the use16:10
utlemmingxro: if you have a spare machine (albeit beefy) you can look at DevStack. That'll run on commidity hardware16:10
xroand of the client16:10
tgm4883utlemming, he wants to sell managed services16:10
xrotgm4883, i try to do a business plan16:14
alimj1Hi. I have a question with iptables. I want people who connect to my box through PPTP to have some specific port redirection. I am a little bit new to iptables16:23
alimj1current role is: iptables -t nat -A POSTROUTING -s 192.168.4.0/24 -o eth0  -j MASQUERADE16:24
alimj1I want ALL incoming TCP PPTP connection to be redirected to 127.0.0.1:904016:25
alimj1I managed to configure it with two Network Adapters and NAT. However, It does not work with PPTP connections16:25
alimj1The role that works for NAT is: iptables -t nat -A INPUT ! -o lo ! -d 192.168.0.0/16 -s 192.168.0/24 -p tcp -m tcp -j REDIRECT --to-ports 904016:27
alimj1Forget the above line, it is for local redirection16:28
Questwhats the recomended one for package for NX (like freeNX) to share full desktop with mouse, keyboard events where the server can be on linux ubuntu and the client may be either linux or windows?16:59
genii-aroundServer edition doesn't come with a desktop to share.17:00
adam_gzul, did you say you got keystone building?17:37
zuladam_g:  almost17:37
zuli thought i did but it still errors out17:37
adam_gzul, might work if you just set all backends to kvs in the test_overrides.conf17:39
zuladam_g: ill try that next17:40
adam_gzul, you need to specify all of them explicitly or they'll default to sql (which the keystone.conf.sample specifies)17:41
zuladam_g:  they are all kvs17:42
adam_gzul, what is your test_overrides.conf ?17:43
=== security is now known as megha
zuladam_g: the default one in debian/tests17:44
zulwait never mind i suck17:45
adam_gzul, theres a bunch of other backends that doesnt address, which the tests will configure to use what is set in keystone.conf.sample. we patch that file to specify sql for all of them, so unless they're overridden in test_overrides.conf, you'll be testing sql17:46
zuladam_g: gotcha17:49
flickorflyIs there a command to list the current applicable security updates for a server without all the rest on teh latest LTS?17:51
flickorflyI usude to grep apt-get upgrade -s, but they don't seem to be differentiated from any other updates anymore.17:51
sarnoldflickorfly: if you remove 'updates' from your sources.list (or have a different sources.list for answering this question) you'll get just the security updates17:52
flickorflyno way to just do it on the fly?17:53
sarnoldI've not tried the new configuration file msyelf, but presumably it'd be a simple little shell script, function, or alias, to use the different configuration..17:54
flickorflyyeah, I'm basically supposed to be auditing systems so I avoid making changes without approval. That's why I'm attempting not to do something like that.17:56
flickorflyI guess I could point apt at a sources.list in my home dir though17:56
flickorflyI'm sure there is an option to specify a config17:56
sarnoldflickorfly: apt.conf(5) mentions a "sourcelist" configuration option, maybe just -oDir::Etc::Sourcelist=~/audit.list ,,,17:59
flickorflysweet, thanks17:59
rbasakJust make sure that you've run apt-get update recently and that audit.list is a subset of sources.list. Otherwise I'm think you might get a silently invalid result.18:01
=== Malediction_ is now known as Malediction
flickorflyrbasak, I did " grep security /etc/apt/sources.list > sources.list" so that should meet your subset requirement right?18:03
rbasakflickorfly: yeah that should be fine. Assuming you have security lines in /etc/apt/sources.list already that aren't commented out :)18:04
flickorflylol, yeah, It's good. Appreciate you attention to detail though18:10
Questiam following https://help.ubuntu.com/community/FreeNX . at step 5. it says Some packages could not be installed. This may mean that you have18:14
Questrequested an impossible situation or if you are using the unstable distribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies:freenx : Depends: freenx-smb but it is not going to be installe E: Unable to correct problems, you have held broken packages.18:14
flickorflyThanks sarnold and rbasak. It's working great. (but now 157 security updates... looks like I'll be coming back ot this customer.)18:15
sarnoldflickorfly: oof. :)18:16
flickorflyit'll keep me out of managing windows systems so I'm happy18:17
bkerensapmatulis: are you still the serverguide POC?18:57
pmatulisbkerensa: yeah, but i've been sleepy this cycle in terms of actually doing anything18:58
bkerensapmatulis: ok I just got a simple pending merge I hoped to land for raring if possible18:58
pmatulisbkerensa: link?18:58
bkerensahttps://code.launchpad.net/~bkerensa/serverguide/fix-for-1165007/+merge/15745918:58
resnohey can you suggest any books?19:07
resnoim trying to learn a bit more about sys admining etc19:07
bkerensaresno: Essential System Administration (O'Reilly)19:12
resnothanks bkerensa19:13
flickorflyresno, Rute Users Guide is another good one.19:19
resnoheh, i like one of the opening statements19:22
resnoflickorfly: ^19:22
resnoI Get Frustrated with UNIX Documentation19:22
resnoThat I Don't Understand19:22
zuladam_g:  https://code.launchpad.net/~zulcss/horizon/2013.1/+merge/15746419:23
cerealso i'm having a hard time tracking down the cause of a system freeze on my server :(  did memtest for hours, added some additional air cooling, and when it happens its not overly taxed19:32
cerealall it has is a single kvm guest running moderate load, suggestions on where to look next?19:32
zuladam_g:  one more https://code.launchpad.net/~zulcss/ceilometer/2013.1/+merge/15746719:35
=== Ursinha_ is now known as Ursinha
hallyn_zul: well as long as i'm wasting *this* much time on libvirt 1.0.4, maybe i can also get past the annoying gnutls compilation bug19:37
zulhallyn_:  hehe19:37
zulhallyn_:  feel the love19:38
=== hallyn_ is now known as hallyn
Questis it easy to get the password of a sudoer if the system harddisk is given to someone?19:45
maswanyes, if it is a weak password19:48
Questignore bruteforce19:54
patdk-lapQuest, heh?20:13
patdk-lapthere is only two things20:13
patdk-lapwhat kind of hashing was used20:13
Questok?20:13
patdk-lapand how long brute force or rainbow tables would take20:13
Questhm20:13
Questhow about i just replace the /etc/shadows file with my own?20:14
Questit will change the passwords?20:14
patdk-lapyes20:14
patdk-lapjust make sure the old cope on the disk is wiped20:14
patdk-lapor it might be able to be recovered20:14
Questhm20:14
Questgreat20:14
Questthanks20:14
kajeI have screwed up my pam settings somehow and now users can log in by typing any password. Here are my pam files: http://pastebin.com/yrmtQPJL20:33
kajeI should have said, users can ssh in.20:33
kajeIf someone tries to connect with an unknown user, it rejects them. If they try to ssh with a known user, any password they enter will work.20:34
Questwhile updating . i got W: Failed to fetch http://ppa.launchpad.net/freenx-team/ppa/ubuntu/dists/quantal/main/source/Sources  404  Not Found.    i cannot install freenx. any solution?20:49
patdk-lapquest, dunno, that isn't part of ubuntu20:50
Questwhat can i do20:52
Pici!crosspost20:52
ubottuPlease don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support.20:52
sorenkaje: You've commented out pam_deny in common-auth.20:58
sorenkaje: That's probably why.20:58
kajeYeah, that was my REALLY dumb mistake. I thought pam-auth-config was going to overwrite that.20:59
kajeThanks very much20:59
sorenkaje: No problem.21:17
PraxiI'm trying to change the ownership of a drive, specifically /dev/mapper/sdk  I do a sudo chown bacula /dev/mapper/sdk and it doesn't change the owner.  I did some googling and come up with a possible fstab issue, but, I checked that and nothing in there.  Any ideas?21:34
sarnoldPraxi: what's ls -l /dev/mapper/sdk look like?21:35
=== alamar is now known as julian
Praxirebooting the server real quick, be up in just a second21:36
Praxilrwxrwxrwx 1 root root 7 Apr  5 14:37 /dev/mapper/sdf -> ../dm-221:38
Praxithis is an autofs usb drive21:38
sarnoldPraxi: aha :) that's just a symbolic link. do you really want to change the ownership of a symlink?21:39
Praxino just the drive :)21:39
sarnoldaha :) how about ls -l /dev/dm-2 ?21:40
Praxithere we go, lets see if that fixed my problem21:41
Praxithanks sarnold21:41
sarnold:)21:41
Praxiok that was the issue, lets see if I get further now lol21:43
irvmy /boot partition seems to be 100% full and only 226mb or so22:32
irvis this a problem?22:32
sarnoldirv: it'll be a problem next kernel upgrade..22:32
irvya it's failing22:32
irvhow could this have happened?22:33
sarnoldold kernels are not automatically removed22:33
irvand i guess during setup it only makes it large enough to just fit the one?22:33
irvany way to automagically clear up some old ones so i can update?22:33
sarnoldirv: check dpkg -l linux-image* | grep ^ii   to find the installed kernel packages22:34
sarnoldirv: check uname -r to find the currently running kernel22:34
sarnoldyou probably won't want to remove the package corresponding to the currently running kernel, since any new required modules will be missing..22:35
=== julian is now known as alamar
sarnoldirv: as for the default size, I don't think the installer creates a /boot by default. It'll let you make one, of course..22:36
sarnold226 would seem plenty to me :)22:36
irvokay i have 8 installed22:37
irvso just manually remove the ones i'm not using22:38
irvwell that's certainly not working ahah22:39
irvi try to uninstall linux-image-3.2.0-29-generic22:39
irvcurrently using 3.2.0-37-generic22:39
irvit says i have unmet dependencies, and to run apt-get -f install22:40
irvbut when i do, it fails due to no space to extract22:40
irvD:22:40
sarnoldirv: try to remove with dpkg --purge, not apt-get purge ..22:42
=== blkperl_ is now known as blkperl

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