[00:51] i 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? [01:01] New 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/871058 [01:29] How stable is glibc crypt() (using $6$) from ever changing? [01:44] Hey folks [01:45] I 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:46] "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:47] I was wondering about the missing /etc/network/if-up.d/$stuff... [01:49] for fs in $( awk '/_netdev/{print $2}') < /etc/fstab ); do mount $fs ; done' [01:49] That should do it. [02:09] Yeah baby. [02:10] Two machines, equal setup. One mounts nfs on boot, the other does not. [02:27] jMCg: 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:54] SpamapS: I'd rather not touch grup - I only have SSH access. [02:55] SpamapS: 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. [03:23] hey I'm trying to use automatic memory allocatin with ubunutu 11.04 and kvm, but can't find any docs, can anyone help please [03:23] *allocation [03:40] greetings, 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:59] RAID 1 is really the only possibility for software RAID (to boot from), right? [04:00] no [04:01] then how the does the boot loader magically read the harddrives (if it exceed a sector) if it doesn't even have software RAID running? :P [04:02] I think it does some magic sector mapping [04:03] Takyoji, that would be the magical raid grub2 boot driver :) [04:03] ahh [04:03] So it's only present in GRUB2 then, yes? Whereas prior to GRUB2, it wasn't? [04:03] yep [04:04] but as everything, from 10.04+ has grub2 [04:04] also, any thoughts on software RAID versus hardware RAID? [04:04] that depends on your needs [04:04] How exactly do you configure the hardware RAID controller? [04:04] how exactly do you configure your bios? [04:04] So it's modularly through the BIOS process? [04:05] unless you get one with network/serial support [04:06] basically the need here is generally fault-tolerance [04:06] then anything would work [04:06] if the need is quicker burst ability, hardware raid + battery backup [04:07] but there generally is not much difference from software and hardware raid unless your using a battery backup [04:08] except that more of your pci bandwidth is used writing to the disks, that the hardware raid would be doing [04:08] because 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. xP [04:08] ahh [04:08] there's really nothing else on the PCI bus anyway [04:08] well, nothing will help with that [04:08] I know, but just for preventive future measures. [04:08] software and hardware riad both need to be monitored [04:09] ya, if they had raid, they would unlikely know one drive failed [04:09] and I'm just wondering what alert system would be used, or how you'd even tell [04:09] and would notice when the second one did [04:09] normally, it emails [04:09] but that only works if email server works to get out the email address is still in use, and all that :) [04:09] and someone does monitor that email account, and it doesn't go to junk :) [04:10] but 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, etc [04:10] only if people have a habit of deleting things [04:10] that they need [04:13] I wonder if there's anything for along the lines of "soft deletion" [04:13] as for the files itself, it's an LDAP server with NFS/SAMBA [04:13] moreso focusing on the NFS/SAMBA part [04:14] so there can be precautions server-side that are transparent to the client. [04:14] I'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:15] is this because transmission doesn't have write properties in the folder I created for my downloads? [05:12] is there any way to enable automatic memory ballooning with ubuntu (kvm) couldn't find any docs about it [05:30] What are people using for email servers these days? [05:32] Postfix and Dovecot? [05:33] heh, that is software [05:33] I normally use hp blades [06:13] I 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:32] Is there a HDD benchmark similar to CrystalDiskMark for server? [06:32] I tested in windows, would be interesting to see ubuntu server comparison [06:33] disk utility tests mostly just cache, like gives over 1GB/s writes for 4x1TB HDD raid0 with spinning disks [06:34] http://img1.uploadscreenshot.com/images/orig/10/28101590141-orig.jpg [07:03] here is test in windows side, is there a program that is easy to compare to those results? [07:03] http://img1.uploadscreenshot.com/images/orig/10/28103022752-orig.jpg [07:05] I'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] I know you can use the tool for checking details of a filesystem remotely, but not sure if the read/write test is possible remotely. [10:17] New 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/871216 [11:16] New 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/871236 [11:38] Hello,can somebody give me a guide for setting up postfix mail server along with dovecot and a webmail interface? [12:09] can someone help me with this driver on ubuntu server [12:09] 1c:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02) [12:10] what do ya need? [12:13] xorg .. is it supported in oneiric .. the driver? [12:13] 13.617] (EE) Failed to load module "mgag200" (module does not exist, 0) [12:13] [ 13.617] (EE) No drivers available. [12:13] i hv tried "mga" also not work [12:16] looks like that should work [12:20] if the xorg.conf is setup for mga in the chipset, and mgag200 in the device section, what version are you on? [12:22] ejat: X isn't really a server issue, is it? ;) [12:23] RoyK :) .. yeah .. agreed .. just wondering "if" u guys can help me :) [12:23] ive tried using vesa … but its flickering .. [12:24] * RoyK had an rsync running all night for this apple time machine disk and only realized now that it uses hard links [12:26] buy gui's can good for quick reference :) [12:27] but* [12:27] * RoyK never uses X on servers [12:28] of course, i'm certain extra junk that came with my gui is causing the network problems i'm having... [12:30] http://pastebin.com/atPqJk4k if anyone is feeling brave :) [12:32] one 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-->br0 [12:32] the gui isn't very likely to mess up networking [12:33] probably PEBKAC ;) [12:33] when 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:35] most likely, i had i just run grub before restarting i could have saved myself soooo much trouble... [12:37] i'm about ready to dump the whole bonding config and just go back to one interface and deal with it later :( === koolhead17 is now known as koolhead17|Afk [12:38] i 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:44] dunno - never used bonding on linux - sorry [12:46] ya? i just liked the idea that one port could go bad, or one cable could get un pluggd and everything would keep working [12:47] so the hard links filled things up did they? [12:47] the lack of hard links [12:47] 1,5TB used, while the source had 1,3TB [12:47] stopped it and added -H to rsync [12:50] installed 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 :P [12:51] did google post a report.... 45 or something was better then 35? [12:52] I think I read something like that too [12:53] but 65 is a bit over the top [12:53] theyære currently at ~40˚C [12:54] the fans in our server could get used in a vacuum.... ear plugs NOT optional [12:56] 1U servers have very small fans, spinning at a very high rate... :P [12:56] 16 disk 4U monster [12:56] * RoyK has a couple of 45 disk 4U monsters :P [12:56] they're hovering around 32˚C [12:57] ouch [12:57] 2.5" [12:57] ? [12:57] well, it's two servers - 36 drives in the server chassises and 45 drives in their JBODs [12:58] front and back [12:58] supermicro stuff [12:58] i think i saw that thing [12:59] 100TB net storage in each [12:59] is the crane optional? or included to help you mount it in the rack? [12:59] hehe [12:59] it's not that heavy if you install it without the drives [12:59] :P i know [13:00] and you just run single nic's? [13:00] those ones uses 10Gbps [13:00] fiber? or copper? [13:00] copper to the switch, single mode fiber from that datacentre to our main datacentre [13:01] bacula backup storage [13:01] ahhh [13:01] alright alright.... i'll drop the bonding... [13:02] bonding should work, though [13:02] that is, if it's correctly configured on the switch [13:02] switch hasn't changed since i set it up last year, and it's been working great since yesterday :( [13:03] i mean.... until [13:03] http://paste.ubuntu.com/704869/ [13:03] dkn: that's one of the servers' raid config ;) [13:04] wow.... 2 spares? [13:04] should suffice - all VDEVs are RAIDz2, so in theory, we can lose 22 drives without losing data [13:05] ahhh [13:05] and.... raidz2...? is that like raid 60? [13:05] raid6 [13:05] and no, it's not running linux :P [13:06] c'mon get gnome on there! [13:07] imagine the media library you could have :) [13:07] http://paste.ubuntu.com/704872/ [13:07] this is the real beast [13:07] only 24 drive slots, 24 gigs of memory, but with striped mirrors and SSDs for caching both reads and writes [13:08] fastest file server I've seen so far [13:08] cost us some NOK 43k [13:08] is that the solaris system for ssd caching? [13:08] openindiana, so yes, solarisish [13:08] cool [13:09] it's zfs' caching system [13:09] works on freebsd too [13:09] and there's a linux port, but I don't think that's very good (yet) [13:11] * dkn dreams about SSD caching in linux [13:12] IIRC there's some in ext4 [13:12] you can place the journal on an SSD [13:12] that won't affect reads, though [13:13] i think i read something to that effect.... [13:14] * dkn drives all the way back to work get the networking..... working [13:15] * dkn grumbles.... stupid netnotworking [13:17] exit [13:27] I'm looking for a way to have automatic memory ballooning, but couldn'T find any docs. is it even possible? [13:30] scalability-junk: can you be more specific? [13:31] I 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:32] ahh. kvm. I'm not sure the hypervisor will do that [13:33] any other hypervisor capable of this? [13:33] scalability-junk: using virt-manager, you can set a minimum and maximum amount of memory available. is this what you mean? [13:33] that's on kvm [13:33] RoyK: sort of, I just want it to be automated, always check and allocated the needed memory, I don't think virt-manager is automating it [13:34] scalability-junk: http://www.linux-kvm.org/page/FAQ#Is_dynamic_memory_management_for_guests_supported.3F [13:34] might help [13:35] StevenR: not really the link is moved and not available anymore, the one for the balloon monitor [13:37] or is this something just supported and I wouldn't notice? [13:40] scalability-junk: I think so. according to that url, it depends on your guest OS [13:40] ubuntu 11.04 host and guest. [13:41] then it probably does [13:41] but I just don'T think it is automatic and I can't really test it [13:46] scalability-junk: virt-top may help you [13:47] scalability-junk: why would you use a non-LTS version for the server? [13:47] RoyK: I always upgrade anyway [14:11] scalability-junk: I usually find it wise to stick to LTS for servers [14:11] RoyK: I'm more the always the latest kind of guy ;) [14:16] New bug: #871297 in cloud-init (main) "uncloud-init updates.tar doesn't work" [Undecided,New] https://launchpad.net/bugs/871297 === koolhead17|Afk is now known as koolhead17 [15:19] * dkn jumps in victory [15:19] network manager had cleared out the nameservers in /etc/resolv.conf [15:36] If 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] yup [15:36] When I use adduser group02 I get an "error" saying that the group group02 already exists [15:37] That is "adduser group02" [15:38] Can I use any other commands or is there a switch I have overlooked for the adduser command [15:38] exit [15:38] oops [15:40] adduser group02 group02 should create the user and the group at the same time and assign group02 as the primary group of the user group02 [15:40] errr... sorry [15:41] I still get the error message. The problem is that I have already created the group group02 [15:41] But I think it could be usefull to be able to login as the group also [15:41] It's for an exercise many people will be doing on a server [15:42] So 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 also [15:42] ok [15:44] But if it is too much a hassle they are probably allright with just a user accunt and memebership in the same groups [15:44] create the user group02 sudo adduser group02 [15:44] then assign the user to the group02 sudo adduser group02 group02 [15:45] to create a new group sudo adduser --group group03 [15:46] it's confusing though :) [15:47] But the command "adduser group02" complains that the group02 already exists. Yeah I know, I try to create the user and it complains about the group [15:47] But it seems like the more low-level command useradd worked [15:48] Oh... wait! [15:48] no, it's saying the user group02 is already created, so now create the group with sudo adduser --group group02 [15:48] adduser group02 --ingroup group02 seems to work :D [15:49] When I run "adduser group04" I get this out adduser: The group `group04' already exists. [15:50] But it seems to work if I use the useradd group04 --ingroup group04 [15:50] But yeah, quite confusing :P [15:51] hurray :D [15:52] indeed [15:53] It probably tries to be smart about users and groups and prevent me from mixing them up [15:54] Hello, any clue why a lot of commands on my VPS are not working correctly [16:00] ok..... why would restarting cause the /etc/resolv.conf file to get regenerated by network manager..... when NetworkManager isn't installed anymore... [17:07] New bug: #871278 in nova (main) "Cannot attach volumes to instances if tgt is used" [High,Triaged] https://launchpad.net/bugs/871278 [17:17] smoser: can you check out bug 871297 please? [17:17] Launchpad bug 871297 in cloud-init "uncloud-init updates.tar doesn't work" [Undecided,New] https://launchpad.net/bugs/871297 [18:11] how do I run the command (qemu) info balloon in ubuntu? [18:41] palt, when you adduser without specifying a group, it automatically creates a group by the same name and puts the user in it [18:57] qman__: Aaaahh.. so therefore it didn't like that the group was specified from before :) [18:57] yep [18:59] 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 scriptability [18:59] so erring out is the best option [19:02] I see. Yeah, my use case is probably a bit strange. I though of adding a group user after I had created the users so [19:03] *afet I had created the groups [19:16] I 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:21] Jeeves_: 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:22] when you say the OS doesnt see it, what do you mean? [19:22] Kiall, when I run an lspci, I get "00:0a.0 Ethernet controller: Intel Corporation 82543GC Gigabit Ethernet Controller (Fiber) (rev ff)" [19:23] Okay, and you have tried adding the interface to /etc/network/interfaces? [19:23] but 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:24] and I can use "ifconfig eth1 up" to bring it up. I've tried adding it to the interfaces list, and it won't come up [19:24] the reason I want to use it is for my NAS [19:24] Oh .. Are you sure the card is working? ("This is not a software error") [19:24] Kiall, the card was pulled from a knowen working envoriment [19:25] the issue is that I have the 64bit card plugged into a 32bit slot [19:25] and when I use the "ifconfig eth1 up", I get "SIOCSIFFLAGS: Cannot assign requested address" [19:26] a 64 bit card, assuming it fits (older PCI-X slots wont accept it), should *generally* would .. [19:27] yep, it fits. and the card was functioning in a 32 bit slot in the device it was pulled out of [19:28] Its possible - ah .. scratch that idea then [19:28] ?? [19:28] I was going to say maybe that card is incompatible with 32 bit slots .. [19:28] but you beat me to it ;) [19:29] lol. it's just weird that the OS "sees" it, but won't "use" it [19:29] Well - the OS sees it, and believes there is a hardware error so is refusing to use it [19:30] was it taken from another linux box? [19:30] hmmm. I don't want to rip other hardware apart to get a gig card. :-( [19:32] ok, let's try a "new" card. [19:41] Kiall, now, let's see if it like a Sun systems MMF card any better [19:43] weird, it likes the Sun card. LOL [19:48] typical ;) [20:06] argh, it causes ssh issues [20:06] grrrr. time to rip out the card in my other server that's a 32 bit [21:15] is 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:16] automount on boot that is [21:34] dkn: I'd use UUID=xxx ... but it probably isn't that critical of a decision [22:23] i guess both will be visible if it's set to remember the pass on the server === micahg_ is now known as micahg