/srv/irclogs.ubuntu.com/2011/10/09/#ubuntu-server.txt

dkni had bonding setup on my network interfaces eth0 and eth1, i unplugged eth0 and attached it to another port on my switch when i was booting off of recovery mode CD, now the bond is getting an ip but not working, i can't ping anything, and eth0 is getting it's own ip address.... what did the boot cd do to my network config?00:51
uvirtbotNew bug: #871058 in bind9 (main) "package bind9 1:9.7.3.dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/87105801:01
jrwrHow stable is glibc crypt() (using $6$) from ever changing?01:29
jMCgHey folks01:44
jMCgI got my NFS server up and running and I put according to https://help.ubuntu.com/community/NFSv4Howto server:/export/homes /home nfs4 _netdev,auto 0 0 in the clients' /etc/fstab -- but it doesn't mount it on boot.01:45
jMCg"Currently Ubuntu Server does not come with the scripts needed to auto-mount nfs4 entries in /etc/fstab after the network is up." oh joy.01:46
jMCgI was wondering about the missing /etc/network/if-up.d/$stuff...01:47
jMCgfor fs in $( awk '/_netdev/{print $2}') < /etc/fstab ); do mount $fs ; done'01:49
jMCgThat should do it.01:49
jMCgYeah baby.02:09
jMCgTwo machines, equal setup. One mounts nfs on boot, the other does not.02:10
SpamapSjMCg: can you boot with '--verbose' in grub on the one that doesn't, and share your /var/log/boot.log and grep init: /var/log/syslog ?02:27
jMCgSpamapS: I'd rather not touch grup - I only have SSH access.02:54
jMCgSpamapS: but adding sleep 5 to my script fixed the issue -- I tried it before with ifdown eth0; ifup eth0 -- and it said no route to host when trying to mount nfs.02:55
scalability-junkhey I'm trying to use automatic memory allocatin with ubunutu 11.04 and kvm, but can't find any docs, can anyone help please03:23
scalability-junk*allocation03:23
ejvgreetings, I have apcupsd monitoring my APC UPS battery backup, upon a fresh restart of the server, 'apcaccess' responds promptly with data dump of all the relevant information; after several hours, it stops responding correctly and my dmesg log fills up with "generic-usb 0003:051D:0002.0001: control queue full" why is this happening, and how do I fix it?03:40
TakyojiRAID 1 is really the only possibility for software RAID (to boot from), right?03:59
patdk-lapno04:00
Takyojithen how the does the boot loader magically read the harddrives (if it exceed a sector) if it doesn't even have software RAID running? :P04:01
jrwrI think it does some magic sector mapping04:02
patdk-lapTakyoji, that would be the magical raid grub2 boot driver :)04:03
Takyojiahh04:03
TakyojiSo it's only present in GRUB2 then, yes? Whereas prior to GRUB2, it wasn't?04:03
patdk-lapyep04:03
patdk-lapbut as everything, from 10.04+ has grub204:04
Takyojialso, any thoughts on software RAID versus hardware RAID?04:04
patdk-lapthat depends on your needs04:04
TakyojiHow exactly do you configure the hardware RAID controller?04:04
patdk-laphow exactly do you configure your bios?04:04
TakyojiSo it's modularly through the BIOS process?04:04
patdk-lapunless you get one with network/serial support04:05
Takyojibasically the need here is generally fault-tolerance04:06
patdk-lapthen anything would work04:06
patdk-lapif the need is quicker burst ability, hardware raid + battery backup04:06
patdk-lapbut there generally is not much difference from software and hardware raid unless your using a battery backup04:07
patdk-lapexcept that more of your pci bandwidth is used writing to the disks, that the hardware raid would be doing04:08
Takyojibecause apparently there's a school that had a backup harddrive, and would rsync things nightly from the main harddrive (y u no RAID? D: ), and the backup harddrive failed, and they didn't even know, and apparently they also had a single copy of some data on there as well that's now pretty much lost. xP04:08
Takyojiahh04:08
Takyojithere's really nothing else on the PCI bus anyway04:08
patdk-lapwell, nothing will help with that04:08
TakyojiI know, but just for preventive future measures.04:08
patdk-lapsoftware and hardware riad both need to be monitored04:08
patdk-lapya, if they had raid, they would unlikely know one drive failed04:09
Takyojiand I'm just wondering what alert system would be used, or how you'd even tell04:09
patdk-lapand would notice when the second one did04:09
patdk-lapnormally, it emails04:09
patdk-lapbut that only works if email server works to get out the email address is still in use, and all that :)04:09
patdk-lapand someone does monitor that email account, and it doesn't go to junk :)04:09
Takyojibut regardless, the reason of RAID would be: better read (don't really care much about write speed, xP), no need for doing the redundancy nightly instead of on-instant, etc04:10
patdk-laponly if people have a habit of deleting things04:10
patdk-lapthat they need04:10
TakyojiI wonder if there's anything for along the lines of "soft deletion"04:13
Takyojias for the files itself, it's an LDAP server with NFS/SAMBA04:13
Takyojimoreso focusing on the NFS/SAMBA part04:13
Takyojiso there can be precautions server-side that are transparent to the client.04:14
thevinciI've set up transmission-cli and transmission-daemon, and I've just accessed the web interface, i went to download a torrent, and it gave me an error, saying permissino denied.04:14
thevinciis this because transmission doesn't have write properties in the folder I created for my downloads?04:15
scalability-junkis there any way to enable automatic memory ballooning with ubuntu (kvm) couldn't find any docs about it05:12
nronksrWhat are people using for email servers these days?05:30
TakyojiPostfix and Dovecot?05:32
patdk-lapheh, that is software05:33
patdk-lapI normally use hp blades05:33
srk9I have been given a virtual machine running Ubuntu Server. On Gentoo, I can run "glsa-check -l" to view all security advisories that apply to installed software. IS there an equivalent command on Ubuntu?06:13
OlotilaIs there a HDD benchmark similar to CrystalDiskMark for server?06:32
OlotilaI tested in windows, would be interesting to see ubuntu server comparison06:32
Olotiladisk utility tests mostly just cache, like gives over 1GB/s writes for 4x1TB HDD raid0 with spinning disks06:33
Olotilahttp://img1.uploadscreenshot.com/images/orig/10/28101590141-orig.jpg06:34
Olotilahere is test in windows side, is there a program that is easy to compare to those results?07:03
Olotilahttp://img1.uploadscreenshot.com/images/orig/10/28103022752-orig.jpg07:03
TakyojiI'm not sure if you can use 'palimpsest' (which is actually called the 'Disk Utility' in the Admin menu in Ubuntu) to do such remotely.07:05
TakyojiI know you can use the tool for checking details of a filesystem remotely, but not sure if the read/write test is possible remotely.07:05
uvirtbotNew bug: #871216 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/87121610:17
uvirtbotNew bug: #871236 in clamav (main) "package clamav-base 0.97.2 dfsg-1ubuntu1.11.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/87123611:16
dgrfHello,can somebody give me a guide for setting up postfix mail server along with dovecot and a webmail interface?11:38
ejatcan someone help me with this driver on ubuntu server12:09
ejat1c:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02)12:09
dknwhat do ya need?12:10
ejatxorg .. is it supported in oneiric .. the driver?12:13
ejat    13.617] (EE) Failed to load module "mgag200" (module does not exist, 0)12:13
ejat[    13.617] (EE) No drivers available.12:13
ejati hv tried "mga" also not work12:13
dknlooks like that should work12:16
dknif the xorg.conf is setup for mga in the chipset, and mgag200 in the device section, what version are you on?12:20
RoyKejat: X isn't really a server issue, is it? ;)12:22
ejatRoyK :) .. yeah .. agreed .. just wondering "if" u guys can help me :)12:23
ejative tried using vesa … but its flickering ..12:23
* RoyK had an rsync running all night for this apple time machine disk and only realized now that it uses hard links12:24
dknbuy gui's can good for quick reference :)12:26
dknbut*12:27
* RoyK never uses X on servers12:27
dknof course, i'm certain extra junk that came with my gui is causing the network problems i'm having...12:28
dknhttp://pastebin.com/atPqJk4k if anyone is feeling brave :)12:30
dknone of my bonded interfaces is still getting it's own IP... i think when i booted from the recovery CD it messed something up with the networking cause i'm setup for eth0 & eth1 --> bond0-->br012:32
RoyKthe gui isn't very likely to mess up networking12:32
RoyKprobably PEBKAC ;)12:33
dknwhen i restarted Network Manager (used to ignore the eth1 and eth0 interfaces), it started poping up with auto eth0 and eth1 getting their address....12:33
dknmost likely, i had i just run grub before restarting i could have saved myself soooo much trouble...12:35
dkni'm about ready to dump the whole bonding config and just go back to one interface and deal with it later :(12:37
=== koolhead17 is now known as koolhead17|Afk
dkni just don't understand how eth0 and eth1 are getting an IP? i removed network manager, and /etc/network/interfaces has them as slaves for bond0.... does not compute!12:38
RoyKdunno - never used bonding on linux - sorry12:44
dknya? i just liked the idea that one port could go bad, or one cable could get un pluggd and everything would keep working12:46
dknso the hard links filled things up did they?12:47
RoyKthe lack of hard links12:47
RoyK1,5TB used, while the source had 1,3TB12:47
RoyKstopped it and added -H to rsync12:47
RoyKinstalled 4 WD Black drives for holding this storage and found out a few hours later that adding a fan in front of them would be a jolly good idea - 65˚C isn't healty for a drive :P12:50
dkndid google post a report.... 45 or something was better then 35?12:51
RoyKI think I read something like that too12:52
RoyKbut 65 is a bit over the top12:53
RoyKtheyære currently at ~40˚C12:53
dknthe fans in our server could get used in a vacuum.... ear plugs NOT optional12:54
RoyK1U servers have very small fans, spinning at a very high rate... :P12:56
dkn16 disk 4U monster12:56
* RoyK has a couple of 45 disk 4U monsters :P12:56
dknthey're hovering around 32˚C12:56
dknouch12:57
dkn2.5"12:57
dkn?12:57
RoyKwell, it's two servers - 36 drives in the server chassises and 45 drives in their JBODs12:57
RoyKfront and back12:58
RoyKsupermicro stuff12:58
dkni think i saw that thing12:58
RoyK100TB net storage in each12:59
dknis the crane optional? or included to help you mount it in the rack?12:59
RoyKhehe12:59
RoyKit's not that heavy if you install it without the drives12:59
dkn:P i know12:59
dknand you just run single nic's?13:00
RoyKthose ones uses 10Gbps13:00
dknfiber? or copper?13:00
RoyKcopper to the switch, single mode fiber from that datacentre to our main datacentre13:00
RoyKbacula backup storage13:01
dknahhh13:01
dknalright alright.... i'll drop the bonding...13:01
RoyKbonding should work, though13:02
RoyKthat is, if it's correctly configured on the switch13:02
dknswitch hasn't changed since i set it up last year, and it's been working great since yesterday :(13:02
dkni mean.... until13:03
RoyKhttp://paste.ubuntu.com/704869/13:03
RoyKdkn: that's one of the servers' raid config ;)13:03
dknwow.... 2 spares?13:04
RoyKshould suffice - all VDEVs are RAIDz2, so in theory, we can lose 22 drives without losing data13:04
dknahhh13:05
dknand.... raidz2...? is that like raid 60?13:05
RoyKraid613:05
RoyKand no, it's not running linux :P13:05
dknc'mon get gnome on there!13:06
dknimagine the media library you could have :)13:07
RoyKhttp://paste.ubuntu.com/704872/13:07
RoyKthis is the real beast13:07
RoyKonly 24 drive slots, 24 gigs of memory, but with striped mirrors and SSDs for caching both reads and writes13:07
RoyKfastest file server I've seen so far13:08
RoyKcost us some NOK 43k13:08
dknis that the solaris system for ssd caching?13:08
RoyKopenindiana, so yes, solarisish13:08
dkncool13:08
RoyKit's zfs' caching system13:09
RoyKworks on freebsd too13:09
RoyKand there's a linux port, but I don't think that's very good (yet)13:09
* dkn dreams about SSD caching in linux13:11
RoyKIIRC there's some in ext413:12
RoyKyou can place the journal on an SSD13:12
RoyKthat won't affect reads, though13:12
dkni think i read something to that effect....13:13
* dkn drives all the way back to work get the networking..... working13:14
* dkn grumbles.... stupid netnotworking13:15
dknexit13:17
scalability-junkI'm looking for a way to have automatic memory ballooning, but couldn'T find any docs. is it even possible?13:27
StevenRscalability-junk: can you be more specific?13:30
scalability-junkI want the memory of my kvm ubuntu setup to be dynamicly allocated so if guest a needs 1 gb in peak and it is available it will get it.13:31
StevenRahh. kvm. I'm not sure the hypervisor will do that13:32
scalability-junkany other hypervisor capable of this?13:33
RoyKscalability-junk: using virt-manager, you can set a minimum and maximum amount of memory available. is this what you mean?13:33
RoyKthat's on kvm13:33
scalability-junkRoyK: sort of, I just want it to be automated, always check and allocated the needed memory, I don't think virt-manager is automating it13:33
StevenRscalability-junk: http://www.linux-kvm.org/page/FAQ#Is_dynamic_memory_management_for_guests_supported.3F13:34
StevenRmight help13:34
scalability-junkStevenR: not really the link is moved and not available anymore, the one for the balloon monitor13:35
scalability-junkor is this something just supported and I wouldn't notice?13:37
StevenRscalability-junk: I think so. according to that url, it depends on your guest OS13:40
scalability-junkubuntu 11.04 host and guest.13:40
StevenRthen it probably does13:41
scalability-junkbut I just don'T think it is automatic and I can't really test it13:41
StevenRscalability-junk: virt-top may help you13:46
RoyKscalability-junk: why would you use a non-LTS version for the server?13:47
scalability-junkRoyK: I always upgrade anyway13:47
RoyKscalability-junk: I usually find it wise to stick to LTS for servers14:11
scalability-junkRoyK: I'm more the always the latest kind of guy ;)14:11
uvirtbotNew bug: #871297 in cloud-init (main) "uncloud-init updates.tar doesn't work" [Undecided,New] https://launchpad.net/bugs/87129714:16
=== koolhead17|Afk is now known as koolhead17
* dkn jumps in victory15:19
dknnetwork manager had cleared out the nameservers in /etc/resolv.conf15:19
paltIf I have created some groups on a server, is it possible to also create a user with the same name as the group? For example  have group02, can I also make a user name group02?15:36
dknyup15:36
paltWhen I use adduser group02 I get an "error" saying that the group group02 already exists15:36
paltThat is "adduser group02"15:37
paltCan I use any other commands or is there a switch I have overlooked for the adduser command15:38
epistemeexit15:38
epistemeoops15:38
dknadduser group02 group02 should create the user and the group at the same time and assign group02 as the primary group of the user group0215:40
dknerrr... sorry15:40
paltI still get the error message. The problem is that I have already created the group group0215:41
paltBut I think it could be usefull to be able to login as the group also15:41
paltIt's for an exercise many people will be doing on a server15:41
paltSo they have individual accounts, but I have created groups for them. But I think it would be convenient to be able to login as their group also15:42
dknok15:42
paltBut if it is too much a hassle they are probably allright with just a user accunt and memebership in the same groups15:44
dkncreate the user group02 sudo adduser group0215:44
dknthen assign the user to the group02 sudo adduser group02 group0215:44
dknto create a new group sudo adduser --group group0315:45
dknit's confusing though :)15:46
paltBut the command "adduser group02" complains that the group02 already exists. Yeah I know, I try to create the user and it complains about the group15:47
paltBut it seems like the more low-level command useradd worked15:47
paltOh... wait!15:48
dknno, it's saying the user group02 is already created, so now create the group with sudo adduser --group group0215:48
paltadduser group02 --ingroup group02 seems to work :D15:48
paltWhen I run "adduser group04" I get this out adduser: The group `group04' already exists.15:49
paltBut it seems to work if I use the useradd group04 --ingroup group0415:50
paltBut yeah, quite confusing :P15:50
palthurray :D15:51
dknindeed15:52
paltIt probably tries to be smart about users and groups and prevent me from mixing them up15:53
BigbucksHello, any clue why a lot of commands on my VPS are not working correctly15:54
dknok..... why would restarting cause the /etc/resolv.conf file to get regenerated by network manager..... when NetworkManager isn't installed anymore...16:00
uvirtbotNew bug: #871278 in nova (main) "Cannot attach volumes to instances if tgt is used" [High,Triaged] https://launchpad.net/bugs/87127817:07
Davieysmoser: can you check out bug 871297 please?17:17
uvirtbotLaunchpad bug 871297 in cloud-init "uncloud-init updates.tar doesn't work" [Undecided,New] https://launchpad.net/bugs/87129717:17
scalability-junkhow do I run the command (qemu) info balloon in ubuntu?18:11
qman__palt, when you adduser without specifying a group, it automatically creates a group by the same name and puts the user in it18:41
paltqman__: Aaaahh.. so therefore it didn't like that the group was specified from before :)18:57
qman__yep18:57
qman__adding the user to an existing group without confirmation could have big implications, using a different group name automatically would be inconsistent, and prompting the user would ruin scriptability18:59
qman__so erring out is the best option18:59
paltI see. Yeah, my use case is probably a bit strange. I though of adding a group user after I had created the users so19:02
palt*afet I had created the groups19:03
jeeves_mossI have a "Ethernet controller: Intel Corporation 82543GC Gigabit Ethernet Controller (Fiber) (rev ff)" and I can't get the OS to see it. ideas on how I can find it?19:16
KiallJeeves_: Odd - I would have thought that would be supported, since its one of the adapters VirtualBox can simulate (well .. its the same chipset anyway)19:21
Kiallwhen you say the OS doesnt see it, what do you mean?19:22
jeeves_mossKiall, when I run an lspci, I get "00:0a.0 Ethernet controller: Intel Corporation 82543GC Gigabit Ethernet Controller (Fiber) (rev ff)"19:22
KiallOkay, and you have tried adding the interface to /etc/network/interfaces?19:23
jeeves_mossbut when I grep dmesg, I get "e1000: This is not a software error! Something bad happened to" "e1000 0000:00:0a.0: eth1: (PCI-X:33MHz:64-bit) 00:00:00:00:00:00" "e1000 0000:00:0a.0: eth1: Intel(R) PRO/1000 Network Connection"19:23
jeeves_mossand I can use "ifconfig eth1 up" to bring it up.  I've tried adding it to the interfaces list, and it won't come up19:24
jeeves_mossthe reason I want to use it is for my NAS19:24
KiallOh .. Are you sure the card is working? ("This is not a software error")19:24
jeeves_mossKiall, the card was pulled from a knowen working envoriment19:24
jeeves_mossthe issue is that I have the 64bit card plugged into a 32bit slot19:25
jeeves_mossand when I use the "ifconfig eth1 up", I get "SIOCSIFFLAGS: Cannot assign requested address"19:25
Kialla 64 bit card, assuming it fits (older PCI-X slots wont accept it), should *generally* would ..19:26
jeeves_mossyep, it fits.  and the card was functioning in a 32 bit slot in the device it was pulled out of19:27
KiallIts possible - ah .. scratch that idea then19:28
jeeves_moss??19:28
KiallI was going to say maybe that card is incompatible with 32 bit slots ..19:28
Kiallbut you beat me to it ;)19:28
jeeves_mosslol.  it's just weird that the OS "sees" it, but won't "use" it19:29
KiallWell - the OS sees it, and believes there is a hardware error so is refusing to use it19:29
Kiallwas it taken from another linux box?19:30
jeeves_mosshmmm.  I don't want to rip other hardware apart to get a gig card.  :-(19:30
jeeves_mossok, let's try a "new" card.  <rolls eyes>19:32
jeeves_mossKiall, now, let's see if it like a Sun systems MMF card any better19:41
jeeves_mossweird, it likes the Sun card.  LOL19:43
Kialltypical ;)19:48
jeeves_mossargh, it causes ssh issues20:06
jeeves_mossgrrrr.  time to rip out the card in my other server that's a 32 bit20:06
dknis it better to put the uuid, or the /dev/mapper/udisks-luks-uuis-yadayada in fstab if i want to automount an encrypted lvm?21:15
dknautomount on boot that is21:16
SpamapSdkn: I'd use UUID=xxx ... but it probably isn't that critical of a decision21:34
dkni guess both will be visible if it's set to remember the pass on the server22:23
=== micahg_ is now known as micahg

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