[00:01] Dont understand === _TechAway_ is now known as _Techie_ [00:06] Anyone around that is proo on proftpd [00:08] eriksson25: what's wrong with vsftpd? aside from not being able to restart [00:10] Well, I have been using proftpd for a long time. But since updating to latest the tls support dosent work. So I looked at vsftpd but its virtuel user suport is so messy to set up. And since I only need to get tls to work on proftpd for everything to be set up I wanted to give it a other chanse === _Techie_ is now known as _TechAway_ [01:00] eriksson25, I'm not proo on proftp, but the upstart message is fairly clear - its an "improvement" on the standard service starting mechanism [01:00] I have one instance of proftp working on a server , but its a simple setup === zz_sailerboy is now known as sailerboy === _TechAway_ is now known as _Techie_ === _Techie_ is now known as _TechAway_ [01:36] where do /dev/md_d*p* come from? I have /dev/md_d3 and /dev/md_d3p[1-4] for some reason, and I can't get rid of them. [01:36] mdadm --stop /dev/md_d3 will work, but I can't get rid of the p1-p4 [01:47] electrofreak: you want to remove the array? [01:52] martin-, I don't know where it came from.... so..... yes [01:56] how is the release date looking for Maverick? :) [01:58] electrofreak: mdadm --detail /dev/md_d3, mdadm --stop /dev/md_d3 and mdadm --zero-superblock the devices that are part of the array [01:59] md_d3p[1-4] are just partitions on md_d3, so they should disappear when you stop /dev/md_d3 I think [02:00] * fluvvell is annoyed that when he hit enter on "Commit partition changes and write to disk", it suddenly started installing the root system before he has his raid1 partitions allocated [02:01] martin-, they didn't disappear.. :-/ [02:03] these might be coming from some external HDD I used to play with a linear "raid" [02:03] I thought I zero'd out the whole drive when I saw done... maybe not [02:04] if you zero the superblock on the raid members and reboot, they should be gone [02:04] I'm assuming you have backups of course :) [02:05] martin-, hah, yea.... ideally. My storage volume kinda out grew the external drives... [02:05] I think I was working on playing with btrfs + compression and stuff... never got back to it though... [02:06] hehe [02:07] so, is 10.10 going to be a 2.6.35 kernel? or 2.6.34? [02:07] I haven't been keeping up with it [02:08] I have 2 drives installed: /sda and /sdb, what is dm-0??? [02:08] I just installed 10.10 desktop on my laptop, which is .35 [02:09] Dravekx: dm-0 is a mapper device used by lvm, dm-crypt etc. [02:09] martin-, ah... === harrsonk is now known as harrisonk3012 === harrisonk3012 is now known as harrisonk === harrisonk is now known as harrisonk_away === Datz_ is now known as Datz [02:41] Hi all... I'm restoring my server after having to rebuild my RAID array... I was wondering if anyone could direct me to information for ensuring that GRUB2 will recognize my new mdadm RAID array as well as what I need to do to update mdadm on the system. [02:48] aegis, the initram should have what is needed for RAID... which is built when you install a kernel... [02:48] if you install mdadm... I think by default it'll detect your array(s)... [02:49] electrofreak: the problem is I'm restoring my system from backups... the backups most definitely have different UUID's for the raid arrays since these are new. [02:49] edit /etc/mdadm/mdadm.conf [02:49] I can probably edit /etc/mdadm.conf [02:49] right [02:50] but I still think grub is going to throw a fit when I go to boot the system... actually, I think grub may not even pop up to be honest... [02:50] did you run grub-setup? [02:51] IIRC the default behaviour is to scan all partitions for md arrays, and activate any it finds. [02:51] or grub-install [02:51] Ahhhh... upstart change. :( [02:51] That is, in an initrd that was built after mdadm was installed. [02:53] electrofreak: I just rebuilt the arrays using sysrescuecd and am in the processes of restoring the filesystem from backup onto the array... That's where I am right now... When it finishes, I will have a RAID 1 and RAID 10 array with my system as it was 3 days ago... [02:53] Sorry, I tell a lie. In 8.04, at least, mdadm.conf is copied into the ramdisk and appears to only assemble pre-defined arrays. [02:54] electrofreak: So should I try to rub grub-install or grub-setup from the rescuesyscd I have up now? [02:54] twb: So do you think if I just change the UUID's in mdadm.conf that it will boot? [02:54] aegis: you will need to change the UUIDs in the *ramdisk* mdadm.conf. [02:54] I would chroot into your restored install, then run it from there. [02:54] UUIDs can be found with blkid [02:55] aegis: you can do this by editing the chroot and running "update-initramfs -u -k all", or by doing it by hand with cpio [02:55] AHHHH, great idea [02:55] You can, of course, simply tell mdadm to create the array with the old UUID [02:55] I forgot about chroot... interesting... that opens up some possibilities. [02:56] twb: the arrays are already created though and LVM installed on top... the system is being restoring onto the lvm as I type... [02:56] something like mdadm assemble /dev/md0 /dev/sd[ab]1 --update=uuid --uuid=XXXX:XXXX:XXXX:XXXX [02:56] One of my failover products works by making the failover host have the same UUIDs as the "real" host. [02:57] twb: that's interesting... that sounds like that might be the easiest thing rather than to hunt throughout my system to find all the places it might be referenced... [02:58] electrofreak: so when I chroot into the system, are you recommending I run grub-install? [02:58] aegis, well... you need a bootloader.... so yes === _TechAway_ is now known as _Techie_ [03:00] electrofreak: so, grub-install versus update-grub? [03:01] either might work [03:01] cool... I'm just researching the update-initramfs command twb recommended as well... [03:01] aegis: you'll want to do it for the LV names and filesystem UUIDs, too [03:02] aegis: you can't fix the MACs of the NICs, though, so you'll want to edit or delete /etc/udev/rules/*persistent-net.rules [03:02] twb: okay, I'm a little confused now... what will I want to do for the LV names and filesystem UUID's now? [03:02] Oh -- and if you make UUIDs match, NEVER EVER EVER put both the old and new disks in the same box at the same time. [03:03] twb: these are the same disks [03:03] aegis: make them match the old box (or hunt down references to the old UUIDs and update them, e.g. /etc/fstab) [03:03] twb: the disks were just rebuilt into a new array [03:03] aegis: oh, you're restoring from tape or something? [03:03] twb: from tar... basically... [03:04] okey dokey [03:04] twb: so if I delete those rules, will they be recreated somehow? [03:05] twb: I did use mostly the same LV names... I figured that would be the easiest thing to fix by editing /etc/fstab anyway... [03:05] The persistent-net.rules file is generated by the persistent-net-generator.rules file in the same directory (or in /lib/udev/rules.d/ in newer versions) [03:06] twb: okay, the nic thing shouldn't be a problem though right? it's going in the same box... so the MAC for the NIC should be the same... [03:06] twb: do you agree? [03:06] Yeah [03:07] what does the -u -k all switch do for update-initramfs? errr, I'll just read the manpage. ;) [03:08] W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn't be verified because the public key is not available. [03:08] Magic [03:08] LOL [03:08] oh, so that will affect all the kernals... [03:08] kernels rather [03:08] -k all is basically because you're probably running a live CD so "uname -r" is the wrong mojo [03:09] s/is/gives/ [03:09] twb: but even if I'm chrooted? uname-r should work for the chrooted system, right? or will it go back to the host? [03:09] Dravekx: you need to install the appropriate key [03:10] Dravekx: for official archives, that's usually "apt-get install foo-archive-keyring" or so -- for PPAs and such, you'll need to use gpg(1) and apt-key(8). Join #debian-bots and /msg dpkg apt-key XXXXXX, where XXXXXX is the key hash mentioned in the error. [03:10] uh oh... my tar just gave me an "tar: exiting with failure due to previous errors"... :( [03:10] aegis: chroot doesn't change the kernel [03:10] aegis: and now you've just learned why tar is a bad archive format [03:11] twb: any idea how to figure out what errors ? [03:11] Not offhand [03:12] no problem... thanks for your help though! I'm closer to getting this fixed... if I can figure out what files had errors I might get there. :) [03:15] Er, what tar said is "I stopped unpacking partway because I had a problem" [03:15] (I think.) [03:16] I'd be diffing the lslR you generated at archive time with the current one. [03:16] twb: roger that... I'm just trying to find out what the problem might be... if it is the fact that I created certain directories already prior to extracting, that's fine... but if it lost files, that's more serious... [03:17] twb: not exactly sure how to do that... sounds like a good idea though. They should be almost identical [03:19] Well, it assumes you did an "ls -lR / >/lslR" or so before the problem occurred [03:19] That is, because you made the tarball [03:19] That is, BEFORE you made the tarball [03:19] well, it's a backuppc archive [03:19] I'm not familiar with backuppc [03:19] I created a tar from that [03:22] I guess you could try something like "diff -u <(find / -xdev -ls | sort) <(tar tvf /dev/rmt | sort)" [03:22] Where / is the chroot dir and /dev/rmt is your tarball [03:22] The trick will be to get the line format to match so diff doesn't have a whole lot of false positives [03:30] twb: I'm trying to just chroot into it now... not working out so well... lol Backuppc did give me this report when creating the tar: bin$ /usr/share/backuppc/bin/BackupPC_tarCreate -t -n -1 -h localhost -s '/' / > /mnt/data1/try/restore.tar [03:30] Done: 119909 files, 50597613663 bytes, 18531 dirs, 9994 specials, 0 errors [03:44] anyone have a tutorial on auto mounting a second drive on startup? [03:46] Dravekx: put it in /etc/fstab [03:48] twb, do I need to add the UUID for that? or can I simply specify /dev/sdb ? [03:49] Either will do [03:49] great. [03:49] But note that drive names are increasingly allocated dynamically [03:50] so the UUID would be a better recommendation? [03:51] If you can assume udev (which you can for Ubuntu), then UUID or LABEL is more future-proof than drive name === sailerboy is now known as zz_sailerboy [03:53] ok thx [03:54] i'm trying to find where my databases are stored in sql. the only way i've ever been able to transfer them is through export feature in phpmyadmin. is there a way i can manually recover them? [03:58] knolls: mysql databases typically live in /var/lib/mysql [03:59] Obviously you cannot simply copy the files while the database is active, because they're incoherent. [04:00] Either stop the database before copying the files, or use the mysql-specific dump command. #mysql or the Ubuntu Server Guide are probably good places to learn about that. [04:04] oh woes of 10.04 server. Can anyone tell me what the virtual machine support is that is referenced in the install ? [04:05] fluvvell: probably KVM [04:06] Are you looking at the tasksel screen in d-i? === zz_sailerboy is now known as sailerboy [04:07] way past that twb, have a running system. So much is different to hardy. [04:07] I've botched the raid install, was trying to do it by hand [04:07] Might be better to start again. [04:08] Well, I think I may have figured out part of my problem... I was trying to chroot from a 32 bit live cd into a 64 bit system... I think that probably doesn't work so well. [04:15] Wait, my raid1 array has changed its name, its not /dev/md0 anymore, its... /dev/md_d0 ? and only has one element Whaaat ? Is this normal behaviour? [04:15] FSVO well = at all [04:16] fluvvell: oh, that. You're screwed. I don't know how to stop that [04:16] fluvvell: basically what's happening is that post-install, the two RAID1 partitions are recognized as a single RAID1 *disk* with two partitions *inside* the array [04:16] I "solved" that problem by installing 8.04 instead === sailerboy is now known as zz_sailerboy [04:20] twb, :-S [04:21] twb, I've managed to --auto-detect and start the original array, but the second hard drive is the one thats showing up as the md_d0 and md_d1 [04:21] doesnt mdadm have a way of knocking off an array ? [04:26] I don't know, man [04:27] I guess I need to find the changelog of software raid. [04:27] Why do they screw around with stuff like this without telling us????? [04:28] Because where Debian is run by a committee of conservative pedants, Ubuntu is run by a handful of Canonical employees [04:30] So they Just Do Stuff, and sometimes it works great, and sometimes they go "oh, oops, that actually totally breaks one in eight machines. Oh well, they aren't desktops" [04:30] Not that I'm bitter... [04:30] no, not a bit lol. [04:31] Having seen how well per's conservative startpar work WORKS on Squeeze, I'd put all of upstart into the latter bucket [04:32] err, ok. I'm not really following debian squeeze, but there is times when ubuntu's pressing forward really bugs me too. btw, I just tried the grml disk that someone recommended the other day, and .. well it left me less than satisfied. [04:33] particularly that I couldn't chroot into my system, it grizzled on about zsh stuff [04:33] Well, grml is a fork of Debian [04:33] yeah, got that part. [04:33] Try Debian Live, [04:33] it's *not* a fork [04:34] yeah, well I'm either past that... 10.04 is booting (very quickly I might add) but just the raid stuff is a pig. [04:34] so I either reinstall, or [04:34] Oh I might as well. [04:43] great, the raid configuration utility in the cd is clearlyl screwed. [04:49] so, my file server locked up again last night, and even though I have auditd installed, there was nothing in /var/crash [04:50] am I right in assuming it pretty much guarantees hardware fault? [04:54] I'm not familiar with auditd [04:54] But obviously if you have e.g. a kernel panic, it will be hard for it to then write stuff via the filesystem [04:55] I don't think it's a kernel panic, but I don't know for sure, it just drops off the network with a blank screen and no keyboard response [04:55] any time I've had a kernel panic on screen the keyboard flashed too [04:55] but this one just halts, basically [04:56] one time it responded to sysrq commands to sync and reboot [04:56] this last time it didn't [05:02] hey everyone [05:02] anyone know anything about how to setup a PXE network boot server? If so do you know a 'how to' so I can learn how to do it myself? [05:03] how do I keep iftop from figuring out that my local IP address is myserver.local without the -n option because I still want to see the reverse lookups on the remote hosts, I just need to distinguish between each IP address while looking at it, because now they are all lablled "servername.local" [05:03] reggi: apt-get install di-netboot-assistant [05:04] it used to do what I wanted, just showed my the local IP address that was making the connection but it randomly decided it wanted to start just telling me that useless "servername.local" crap [05:04] demonspork: edit /etc/hosts or wherever your nsswitch.conf is configured to reverse-resolve those IPs [05:05] hey twb thanks for replying. i'll check it out - by the way, do you have experience with network booting? [05:05] so I could put a name on them? could I name them after themselves? like " 1.2.3.4 1.2.3.4" [05:06] reggi: http://prisonpc.com <-- is me [05:07] IOW I run some diskless netboot farms [05:07] demonspork: er, no. You'd remove the entry entirely [05:07] demonspork: of course, that will almost certainly break OTHER things, that DO need to reverse-resolve your local IPs [05:08] twb - nice work man [05:08] you could just pipe the results through a sed for easier reading [05:08] qman__: eh? [05:09] Oh, ntop. I think ntop is a curses application, not a stream. [05:09] oh, ok [05:09] And I *think* his problem is that he has mapped all his addresses back to a single name, so he can't tell which is which [05:09] so why would it have suddenly changed from just seeing the IP address to resolving to the servername.local [05:09] twb, yeah, that is what is happening [05:10] e.g. his ntop has both 127.0.1.1 and 10.0.0.1 mapping to wankfest.example.net [05:10] I can't tell which is which [05:10] ah [05:10] iftop actually [05:10] well, the solution would be to unmap them or map them to different names [05:10] but why would it have changed? [05:10] demonspork: you could also change the mapping such that the canonical name is something like 1.1.0.127.wankfest.example.net [05:10] but you need to make sure that won't break anything [05:11] either your name resolution has changed, or that function was broken for some reason and an update fixed it [05:11] even BandwidthD used to give " 1.2.3.4 - Configure Reverse DNS for this IP" [05:11] but now it says "servername.local [05:11] " [05:12] well, the solution is to modify your name resolution so that the different addresses have different names [05:12] if I used the /etc/hosts file does the name being applied have to be a fully qualified domain name, or does it not matter [05:12] depends on what your applications want [05:12] apache needs an FQDN [05:13] hey twb are you free for a couple of minutes so I can pick your brain on something related to network booting? [05:13] does a FQDN need to have a true reverse lookup set up on the IP, or can I just set it in the hosts file and leave the actually reverse DNS setup for later [05:14] By convention, one would put in /etc/hosts "IP FQDN [ CNAME ... ]" [05:14] demonspork: that depends on the application [05:14] reggi: ask away [05:14] thanks twb [05:15] twb, i'm a computer technician, work from home. i do lots of virus repairs / windows reinstalls. [05:16] i would like to be able to network boot a computer and have the option (in a menu) to choose to install xp, vista etc over the network, or run diagnostics (UBCD). [05:16] my current setup is as follows... [05:16] 1 gateway which acts as the DHCP [05:17] 1 linux laptop (ubuntu desktop 10.04) [05:17] I don't know about installing Windows or UBCD over the network, but otherwise, that's possible. [05:17] a couple of pc boxes. [05:17] ok twb, my question is this [05:18] is it possible to setup the network boot server on a virtualbox machine (on my linux)? [05:18] IME virtualbox's networking leaves something to be desired [05:19] netbooting requires broadcast, so basically you need to be on the same network [05:19] or will it not work because the dhcp is already provided by the gateway [05:19] That *probably* means that it will work with a vbox virtual server iff you're bridging, but NOT if you're routing or masquerading [05:19] for that reason among others I'd suggest breaking this section of your network off from the rest by a router [05:19] ya i always set the virtualbox network adapter to bridge mode [05:20] where is the setting to allow php after chrooting sftp? [05:20] i see [05:20] yeah that was suggested actually, to create a separate network for the purpose of network boot server [05:20] you could accomplish the same thing by putting two NICs in your netboot server [05:21] Dravekx, there is no such thing as a "setting to allow php" [05:21] oh yeah so putting two nics = two seperate networks [05:21] you need to configure file permissions correctly [05:22] oh well looks like i'll have to set up a seperate network [05:23] although it would have been handy to stick on the existing network and use my Nas (freenas) for storing images [05:23] you can still route between the two [05:23] though I'd be careful about that, since you mentioned you're dealing with viruses [05:23] qman__, php is disabled in home directories after setting userdir. [05:24] i can? would that mean my existing network would be 192.168.0.0 and the PXE network could be 192.168.1.0? [05:24] reggi, yes [05:25] ahah [05:25] qman__, I found it. :) [05:25] you don't need NAT, just regular routing [05:25] and I suggest a firewall [05:25] hmm [05:25] you don't want your infected windows machines doing anything nasty [05:26] just basic internet access, plus access to your file store [05:26] maybe what I'll do is learn to setup this PXE in a separate network before joining networks. [05:27] have you already squared away the part about booting windows installs? [05:27] I've not seen that done and am somewhat interested [05:28] yeah I actually saw a youtube vid of someone who had setup a neat little network boot with menu [05:28] where you can choose which version of windows to install [05:28] so rather than putting the install CD in the drive (which takes a long time to complete the installation process) [05:29] you basically install over the network, so basically the relevant version of windows ISO is transferred to the computer as it is required. [05:29] lemme look for that youtube vid. [05:30] http://www.youtube.com/watch?v=-Xi0xRVlxbk [05:30] thanks [05:30] http://www.youtube.com/watch?v=zUajpWii_c0 [05:34] nah those vids arent it [05:34] it's missing the menu...lemme look for it [05:42] lol, reading back, a few months ago I slapped together a virtual box and bound it to one of the ethernet ports on my laptop and installed Ubuntu via a PXE boot on a laptop with a bad CDROM that did not support USB booting [05:44] FOUND IT! [05:44] http://www.youtube.com/watch?v=mJZsDQtmQvg&feature=related [05:44] I know it's pretty easy to do with linux [05:44] but installing windows is trickier [05:45] unfortunately the creator of this utube vid does not provide a 'how to' [05:46] yeah, he shows it off, but doesn't actually say what software it is or how to set it up [05:46] wait a sec [05:46] oh, UDA [05:46] what are those two links in the description? [05:46] is that it? [05:47] that utilities menu [05:47] has links to installing different versions of windows, accessing acronis, and other utilities === zz_sailerboy is now known as sailerboy === sailerboy is now known as zz_sailerboy [06:24] i need a bit of help [06:25] im looking to consolidate all my network gear into one low power computer running xen or kvm [06:26] i'd like to know if it is possible to dedicate a NIC to a xen or KVM instance, without the "host" being accessible on that interface [06:26] i know in vbox/vmware you can do things like NAT or bridged, but the host OS is visible on that NIC [06:26] echosystm: AFAIK it is [06:26] i want the host to be invisible to the outside world [06:26] Don't assign an IP to the host OS on that iface [06:26] it should look like a collection ofphysical devices, not one [06:27] rightyo [06:27] Note that's just SPECULATION [06:27] ok [06:27] I plan to do that, but I haven't actually tried it yet [06:27] anyone with xen/kvm experience able to confirm? [06:28] It will also matter if you're running libvirt, since that gets its greedy fingers into the network configuration [06:28] howso? [06:28] Because obviously if you're doing it via libvirt you're stuck with whatever libvirt can do [06:29] Whereas if you set it up by hand, you aren't [06:29] ah yeah [06:29] what happens at the moment is this... [06:30] (wireless adsl modem)--wireless--(my access point)--(switch)--(my computers) [06:30] because i share a unit with other people [06:31] i need to create a DMZ, because im setting up a few servers here... so it would look like [06:32] (modem)--wireless--(AP)--(unsecure stuff / router)--(safe stuff hanging off router) [06:32] theres going to be cables going everywhere [06:32] so... what i want to know is if it is possible to just go like this... [06:33] (modem)--wireless--(xen/kvm server)--(safe stuff) [06:33] does that make any sense at all? [06:34] my AP/router/servers/whatevers will all go in that xen or kvm box [06:43] I have done that before [06:43] with vmware server 1.x [06:43] simply don't assign the host an IP [06:43] effectively completely inaccessible [06:44] you would, however, still have to worry about kernel bugs and exploits for the host OS [06:44] And ARP [06:44] ARP? [06:44] <_Techie_> any good tutorials for setting up cups for an HP laserjet 2100m or similar ( lpt port ) ? [06:44] MAC <--> IP resolution [06:44] In IPv4, ARP is used for that and it happens below the IP layer [06:45] doesnt it somehow magically handle that too? === Barre_ is now known as Barre [06:45] oh wait [06:45] nevermind [06:45] sorry [06:45] the host kernel would still be vulnerable to ARP poisoning attacks [06:45] yep [06:45] echosystm: it only matters if you have a rogue ARP poisoner on the local network [06:45] what is the worst that can happen from an ARP poison though? [06:46] echosystm: MITM attacks on your online banking [06:46] oh. [06:46] do not want [06:46] anything from complete network outage to MITM snooping whatever they wish [06:47] is that any more or less likely with xen/kvm though? [06:47] Of course, if your bank actually a fucking clue how to do security, and your users had a clue about not just clicking through SSL errors, you probably wouldn't be vulnerable [06:47] it's got nothing to do with them [06:47] You *can* turn off ARP and hard-code MAC resolution, of course. [06:47] static ARP is the workaround, if you have to worry about that sort of thing [06:48] i see [06:48] an attacker needs to be on the same switched network as you to do it [06:48] Or switch to IPv6 only, which replaces ARP with IPsec-secured ICMPv6 [06:48] i think ipv6 would be a source of brain hurt, so i might give that a miss :P === _Techie_ is now known as _TechAway_ [06:49] Sorry, I forgot the ";-)" [06:50] so just to clarify, i would definitely be no more or less secure from ARP attacks than if i wasnt virtualizing everything? [06:50] im a bit confused === _TechAway_ is now known as _Techie_ [06:51] yes [06:52] excellent [06:53] thanks :) [07:46] can someone nmap my ip? i'm trying a firewall [07:47] echosystm: ARP poisoning is pretty bottom-of-the-barrel as far as attacks go [07:47] Especially since you'll probably be running PHPMyAdmin and wordpress and other random, totally insecure, services [07:48] phpmyadmin and wordpress are totally insecure? [07:48] Well, they sure get lot of CVEs [07:49] And obviously anything that allows arbitrary users on the internet access to your database using single-factor authentication is bound to be Bad News [07:49] well, for plugins..not itself.. [07:49] registering is disabled in wp [07:51] http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=wordpress [07:53] seen..none about version 3.0 [07:53] is syslog replacing klogd [07:54] ? [07:56] mmhh..when starting /etc/init.d/klogd it remains in "* Starting kernel log daemon.."...any clue? [07:56] i need it to log firewall rules [07:59] Erm, historically syslogd and klogd were separate daemons provided by the same sysklogd package. [07:59] As at 10.04, rsyslogd (I believe) performs both actions [08:00] i've 10.04 server..csf firewall tell me "syslogd appears to be running, but not klogd which logs kernel firewall messages to syslog. You should ensure that klogd is running" [08:00] cause i have problem tracking port scan..that's why i've asked someone to portscan me [08:00] If rsyslogd isn't installed then somebody fucked with the defaults [08:00] It could be that your "csf firewall" is reporting a false positive [08:01] syslogd is running.. [08:01] rsyslogd, not syslogd [08:02] dunno what to do.. [08:02] Complain to your VPS vendor that they've messed with the Ubuntu defaults? [08:03] and what should i say? [08:03] That the 10.04 default syslogd is rsyslogd, but it appears you've got sysklogd, and its klogd component isn't running [08:03] At least, that's the evidence you've reported to me -- you may be misinterpreting it. [08:04] Hi, When ever i transfer a file to or from my media server i seem to lose my network connection after a few seconds. Any ideas as to what might cause this? [08:17] I have an "issue" I always have more than 1 apache processes running in my server [08:17] http://pastebin.com/R3Mss13y [08:17] it this an issue? [08:22] tydeas: no it's not [08:26] alex88: why this happen? [08:27] cause apache uses more server executables to process more requests.. [08:27] you can change that value in /etc/apache2/apache2.conf === SuperL4g_ is now known as SuperL4g === foobarbaz is now known as SuperLag === SuperL4g is now known as SuperLag [09:27] Daviey: around ? [09:46] hi, i'm running ubuntu 9.04 and grub 0.97, and attempting to configure grub to boot from my raid partition. i have grub installed on the disk, but in menu.lst, i need to specify the uuid for the /boot and / partitions. i need these to be md partitions, but they're not loaded/mounted at boot time so grub cannot find them. is it enough to put raid1 in /etc/modules? or does this mean it's loaded after the kerne [09:47] hi i bought domains in name.com and i am a new bie. am using an ubuntu server. what do i do so that my domain refers to /var/www/app/trunk folder? [09:51] anyone here? [10:08] Zeu5: you need to add virtualhosts in apache [10:08] Zeu5: i'm a newb too...but what do you mean "so that my domain refers to /var/www/app/trunk"? do you want to serve web pages? [10:26] where iptables log goes? [10:27] i've some iptables rules like "17 216 12888 LOG tcp -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* ' [10:27] i can see those in dmesg, but neither in any file in /var/log [10:29] <_Techie_> what can i use to proxy non SSL IMAP connections, to a server that only allows connections with SSL? [10:30] proxy to? [10:36] <_Techie_> yes [10:37] <_Techie_> proxy from a non ssl capable mail client, to a mail server that only supports connections with ssl [10:38] if it only ssl you can't use non ssl clients [10:39] <_Techie_> alex88, theres a reason why im after a way to proxy the connection [10:40] well, so you're asking for a proxy that encrypts to ssl and then connects to server? [10:40] <_Techie_> yes [10:40] ttx: Yes.. sorry - irc didn't hilight me - oddly :/ [10:41] Hi everyone ... I have a really strange samba problem ... I have a smb domain @ lucid with printers via cups. Accessing cups without samba works, adding printer drivers too, connecting and adding to windows too, but printing itsself does not work [10:41] rpc_server/srv_spoolss_nt.c:8386(_spoolss_AddForm) [10:41] _spoolss_Addform: denied by insufficient permissions. [10:42] i get this error which cant be found via google which is the strange part of it [10:42] (using log level >= 2) [10:43] anyone has a suggestion where to search? samba does not give any hint which permission might be the problem, just this error. which makes me a little helpless. [10:47] with cat /proc/kmsg i can see the iptables log, how can i transfer to syslog? [10:51] is any of you using collectd for server statistics ? I am interested to know which tool you're using to graph the rrd files that collectd gathers. [11:05] I have a small 10.4.1 server running here and I installed the latest updates on Saturday which included a kernel update (I guess it must have been 2.6.32-24.43). [11:07] Now the system will not boot because /dev/mapper/severname-root does not exist. [11:08] I assume this must be an error in the initrd but I don't really know how to fix that. [11:08] tried to bood from old kernel? [11:08] Also, I don't see a grub prompt before that. How do I get into the grub menu to anyting? [11:08] alex88: ^ ;) [11:09] I don't get a chance to pick a kernel. [11:12] henninge: press Esc to get into grub menu at boot time...by default, you get 3 seconds... [11:12] henninge: you can get to the prompt from there [11:12] kinygos: let me try that. I admit, I am a bit rusty on grub usage ... [11:12] * RoyK is impressed - Ubuntu on Hyper-V is _fast_ [11:13] btw i'm trying to catch iptables logs, they're shown fine in /proc/kmsg but i need they go into syslog, in /etc/syslog.conf i've added line kern.warn -/var/log/syslog, but there are no logs in there, /var/log/kern.log shows "No module symbols loaded - kernel modules not enabled" [11:22] kinygos: no luck :( I can press (hold, repeat) ESC for as much as I like, I don't get any output (just a blinking cursor) until it says "Gave up waiting for root device". [11:23] Can I not reach the grub config from the shell that it drops me to? [11:25] henninge: admitedly i'm using grub legacy (v0.97) but during boot it shows "starting grub" with a countdown to launch the menu during which you hit Esc [11:25] *admittedly [11:29] kinygos: yes, that's what I remember, too. But I am not seeing any of that. [11:29] <_chris_> heja guys [11:29] <_chris_> kinda have problems mounting an usb stick [11:29] kinygos: this is a new install of 10.4.1 [11:29] <_chris_> i plug it in, messages log says "scsi7" but cant find sca or something in /dev [11:30] henninge: from that prompt you're at, you should be able to cd /boot/grub, but i'm not sure if you have access to any text editors there [11:31] henninge: perhaps you can load vi and then edit the configs...or do something more ingenious with grep [11:31] kinygos: no boot dir ?:( [11:31] what's the difference between syslogd and syslog-ng? [11:31] ouch...not mounted [11:32] <\sh> alex88: different syslog implementations... [11:33] \sh: because i have problems with klogd and sysklogd because i can't see warn kernel logs that are in /proc/kmsg in /var/log/kern.log. can it be a solution? [11:34] <\sh> alex88: which release of ubuntu? we switched during lucid times I think to rsyslog as default syslog app [11:35] \sh: 10.04, init.d has /etc/init.d/sysklogd, and i can't start klogd because i'm on vps and it's unable to use on openvz.. [11:35] i'll try with that..thank you..brb going to eat now [11:36] Hi! I === ircleuser is now known as Magnus [11:36] just out of curiosity if i'm installing ubuntu-server to a drive why would it put grub on a seperate drive? === Magnus is now known as magnuso [11:37] Hi! I was wondering if someone could provide some help with installing Grub? [11:41] <_chris_> anyone can help me ? i cant mount an usb stick, i plug it in and /var/log/messages it is on device scsi7 , but it seems to not appear in /dev [11:43] _chris_: is the device really "scsi7"? [11:43] <_chris_> thats what comes up in messages when plugging it in [11:44] _chris_: is there no message about "sda" or "sdb" etc. ? [11:44] <_chris_> no , its only "scsi7 : usb-storage" [11:45] <_chris_> well, actually it is scsi9 now cause i unplugged it 2 times [11:45] * henninge tries on maverick desktop [11:46] <_chris_> ah sorry, need to mention this is not ubuntu related, im on an esx server [11:46] ... [11:46] yes, I guess that is important. [11:47] _chris_: here is what I get when I plug in an usb stick. http://paste.ubuntu.com/505654/ [11:47] so, it is scsi12, but the device is /dev/sdb [11:48] <_chris_> ok [11:48] <_chris_> yea [11:48] _chris_: I guess the process that does that mapping is missing on your machine? [11:48] <_chris_> the only message that comes up here is line2 from your pastebin [11:49] <_chris_> what would that be then ? udev ? [11:53] <_ruben> _chris_: esx has very limited usb support, and you're better off asking in #vmware anyway [11:54] <_chris_> _ruben, ah ok didnt know there was channel, ill have a try there [11:54] <_chris_> thx anyway :) [12:18] \sh: using syslog-ng worked perfectely [12:18] *perfectly [12:24] i just did a fresh install on a brand new drive.. made sure that it was the only drive in the machine to avoid accidently overwritting important data... let the installer do the guided install using full disk... everything installed without errors... just reboot for first boot... got Kernel panic - not syncing: VFS: unable to mount root fs on unwn-block(0,0)... please help i have to have this fileserver up and running for my [12:24] users ASAP... work day is starting ... ahhhhh hard drive crashes are such a pain... first drive to ever fail on me! [12:34] <\sh> alex88: well..syslog-ng is not multi-core compatible (at least the last time I used it) since a couple of months/ 1 1/2 years, we are using rsyslog now here @office [12:35] <\sh> alex88: and it could be that the syslogd fragment is still on your system, and wasn't cleaned up somehow [12:35] moin \sh [12:35] <\sh> hey binBASH [12:36] \sh: if there are some syslogd fragment they're not used.. i've checked some files and they're working fine.. just the kernel thing that now works.. [12:37] i mean files in /var/log === rgreening_ is now known as rgreening === xfaf is now known as zul [13:27] i'm trying to get my remote server to boot from a raid drive. i've installed grub on the underlying disk and i can boot from it if i point at the root partition of the non-raid disk...i'm trying to get the raid partition mounted in time for grub. i've added raid1 and md to /etc/modules, but this isn't enough... [13:28] i've read that i need to update my ram disk using update-initramfs -u. my question is, should i do this when i'm chroot'd to the mounted raid partition? [13:36] different question, md_mod doesn't appear to be loaded, but modprobe md won't load it...is ubuntu different? using 9.04 [13:36] i don't have any trouble running mdadm though [13:50] in courier, can I delete all contents e.G. in the folder .Trash ? I'm running out of space. [13:51] Thunderbird doesn't seem to really delete anything if I delete something via IMAP [13:55] RoyK: i've finally done it...all remotely :) [13:56] RoyK: i just need to configure notifications, then test failing the drives, but the partitions are synchronising now [13:58] i have a device that is correctly detected when i plug it in, but could there be a way i could symlink it or change the /dev filename before any /dev file is created for it? [13:59] <_ruben> reisi: have a look at the udev documentation [13:59] _ruben: thanks [13:59] _ruben: though, i though udev was superceded in latest ubuntus? i guess i was wrong [14:00] ttx: i fixed that rabbitmq-server bug [14:00] <_ruben> reisi: not that i know of [14:00] <_ruben> (which doesnt mean all that much) [14:05] oki [14:05] ttx: ping [14:09] zul: pong [14:09] ttx: can you check out the /etc/network/if-up.d/samba for me the last chunk of it is wrong [14:12] * ttx looks [14:14] zul: wrong as in... doesn't apply to upstartified scripts ? [14:14] ttx: yeah [14:17] zul: you want me to do waht exactly ? [14:17] ttx: make sure im not crazy? :) [14:17] zul: it looks good, but I haven't tested it would fail ;) [14:17] erh [14:17] it looks bad, I mean [14:18] heh [14:18] ttx: so if im reading that correctly we should only restart nmbd? [14:20] zul: apparently yes. "Try to bring nmbd up when an interface comes up, if smbd is already running." [14:20] ttx: k...ill write something then [14:21] zul: I'd SRU that [14:21] ttx: agreed [14:23] kinygos: congrats :) [14:23] RoyK: thanks for all your help last week :) [14:23] i should really write the procedure up somewhere [14:24] please do [14:24] I guess more ppl might need that [14:24] where would be a good place? [14:26] kinygos: https://help.ubuntu.com/community [14:28] RoyK: awesome...i'll make a start :) [14:32] ttx: http://pastebin.ubuntu.com/505738/ [14:47] zul: looks good, untested though [14:47] * ttx is deep into that axis2c build failure [14:47] ttx: i just tested it restarted nmbd according to the the log files [14:53] ttx: im surprised no one filed a bug about it [14:57] ttx: uploaded [14:57] zul: did you file a bug about it ? [14:57] ttx: no should i? [14:58] zul: if you want it to pass the release team, more than probably [14:58] ttx: k === ivoks-afk is now known as ivoks [15:02] New bug: #654549 in tomcat6 (main) "Cannot Upgrade Tomcat6 when doing release upgrade from lucid to maverick" [Undecided,New] https://launchpad.net/bugs/654549 [15:02] sigh [15:06] New bug: #654556 in samba (main) "Samba if-up script is incorrect." [Undecided,New] https://launchpad.net/bugs/654556 [15:13] Has anyone been able to get Adobe AIR to run on 64bit 10.04? [15:14] <_ruben> iirc AIR is rather GUI'ish, so not likely to run on a server [15:24] apparently the last lucid kernel update is missing lvm2 in the initrd. can anyone confirm that? [15:27] Daviey: good morning. bug 585108 should be fixed by 2.0-bzr1241-0ubuntu4, correct? [15:27] Launchpad bug 585108 in eucalyptus "euca_conf --register-nodes returns 0 but the node is not registered" [Medium,Confirmed] https://launchpad.net/bugs/585108 [15:35] Daviey, zul, SpamapS: I need someone to look deeper into bug 600174 [15:35] Launchpad bug 600174 in axis2c "axis2c fails to build from source on maverick/i386" [High,New] https://launchpad.net/bugs/600174 [15:36] * ttx tries to reproduce bug 654549 [15:36] Launchpad bug 654549 in tomcat6 "Cannot Upgrade Tomcat6 when doing release upgrade from lucid to maverick" [High,Incomplete] https://launchpad.net/bugs/654549 [15:40] ttx: ill take a crack at it [15:42] I have an nfs file share defined in fstab,,, when the server boots the nfs share doens't get mounted due to the fact the network isnt' up yet.. anyone aware of a workaround other than putting mount -a in /etc/rc.local? [15:45] well, you could put mount -a in /etc/interfaces/if-up.d/, but it's an equally dirty workaround [15:46] err [15:46] /etc/network/if-up.d/ [15:46] right on, I was hoping there was a proper hack lol === jjohansen is now known as jj-afk [16:26] zul: there? [16:27] hggdh: ye [16:28] zul: about bug 654249 -- should we send it over to the desktop team? [16:28] Launchpad bug 654249 in libnss-ldap "libnss-ldap create troubles in gnome session when ldap server is unreacheable" [Undecided,New] https://launchpad.net/bugs/654249 [16:28] hggdh: yes i think so [16:28] zul: thanks, will do [16:31] ttx: i think there is still a nis upstart issue that we havent looked at yet [16:32] ttx: i was going to do it this afternoon [16:32] zul: ok, file bug if there isn't any, and point me to it [16:32] ttx: ack [16:47] ttx: i was able to reproduce it [16:47] um if I change my group and im a sudoer do I lose sudo access? [16:47] ttx: it happens when there is no network [16:47] hm [16:48] but i need to eat so bbiab [16:56] elb0w: out of the box, you shouldn't; the default entry is a named user. do take a look at your /etc/sudoers first tho [16:57] I lost sudo [16:57] on the one user that had it [16:57] when I did a usermod -G and -g [17:03] could i get someone to sponsor https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/649591 for me please ? [17:03] Launchpad bug 649591 in mountall "mountall spins eating cpu when 'nobootwait' option exists in fstab followed by a comma" [Critical,Fix released] === ivoks is now known as ivoks-afk [17:45] why on earth does the server build from my isp have openoffice installed? lol...epic failage === mathiaz_ is now known as mathiaz [17:47] if i have ubuntu-server installed and serving, can i apt-get install ubuntu-desktop without affecting the configuration i have currently, and obtain gnome? [17:49] knolls: afaik, yes. [17:49] Datz: thanks. [17:50] sure, haven't personally tried it myself.. but in theory.. [17:51] beware of networkmanager messing up your network configuration [17:51] otherwise you should be fine [17:52] kinygos: heh - your ISP doesn't seem like one I'd use :รพ [17:53] yeah, still using a hacked up version of jaunty [17:53] RoyK: indeed...but it's just a burden on me to do more sysadmin kinda stuff, which is good cos i learn :) [17:54] kinygos: which version are you running now? [17:54] if they're not going to update with each cycle, they should at least stick to LTS versions [17:54] RoyK: 9.04 at the moment, but i'm removing stuff i don't need like openoffice, mysql, php before upgrading to 10.04LTS (i know 9.10 first) [17:55] k [17:55] qman__: i know...it's insane...but they're cheap [17:55] I'm still running 9.10 on my desktop, because it's just the way I want it and it works great [17:55] I know most people had tons of problems with 9.10 but I didn't [17:56] kinygos: remember to set prompt=lts in /etc/update-manager/release-upgrades when you're at 10.04 [17:56] however, I did have tons of problems with 10.04 on my other machines [17:56] qman__: what sort of problems? [17:56] RoyK: to stop it picking up updates automatically? [17:56] failed upgrades, requiring lots of manual fixes [17:56] kinygos: to stay at LTS until a new LTS is released, even if someone runs do-release-upgrade [17:57] the only problems I've seen so far are some initial grub issues and g77 missing [17:57] RoyK: thanks :) [17:57] it broke my torrentflux, grub, my ability to see fsck on boot, on one system it broke my framebuffer [17:58] I got it mostly straightened out but it was a huge hassle [17:58] well, works for me (tm) [17:58] I only have 10-15 10.04 installs yet, but then... [17:58] but I upgraded my desktop to 9.10 in RC, and it went without a hitch [17:58] and has ran beautifully since [17:58] so I'm not touching it until 9.10 support drips [17:58] drops [18:00] * RoyK suspects kinygos will make a decent sysadmin some day if he keeps on working with ubuntu :) [18:01] * kinygos loves working with ubuntu :) [18:01] agreed [18:01] I have complaints but they're petty compared to the problems I used to get [18:02] well, i haven't done much yet, but what i have done, once i've figured out how to do it, it's made perfect sense :) [18:03] I am having a hard time finding the Ubuntu package name for a Perl CPAN module I like using. It is called Devel::Trace. Am I just not searching for the correct keywords? [18:04] kinygos: did you get your raid done? [18:04] I found the Ubuntu package for Perl CPAN Debug::Trace but that is not what I need [18:04] SpamapS: yep :) am a very happy chap atm [18:05] kinygos: how many months until you can ditch your crappy provider? ;) [18:05] SpamapS: thanks for your help too btw :) [18:05] kinygos: its a pleasure.. glad you were able to work around their weirdness :-D [18:05] SpamapS: well, if the business is successful then i'll be able to change easily...but whilst there's no revenue from the app, i have to work with a tight budget [18:08] well... i got everything setup on my machine and samba and all was running great... modified fstab to automount the two drives i needed mounted... then reboot and i get /dev/sdb1 already mounted or /fileserver (mount point) busy.. according to mtab /dev/sdb1 is mounted on / ... what might be the problem? [18:08] * RoyK has just moved some VMs to Hyper-V and the speed is _great_ - those MS drivers for Linux guests really work well - I'm impressed! [18:09] Guest81533, sdb1 is not the correct drive (though it may have been before) [18:10] use fdisk -l to find the right one [18:10] ubuntu uses UUIDs by default because of this problem, sometimes disks detect in a different order after an update or configuration change [18:10] qman__, , how could it have changed since i reboot? the drive that has the OS on it is specified by UUID [18:11] qman__, i was going to specify the other two drives that are data drives by UUID but one of them is a removable drive that will be swaped every week to take off site [18:11] the UUID should stay the same [18:11] that's why UUIDs are useful [18:12] unless you format the drive, it should stay the asme [18:12] same* [18:12] qman__, oddly enough i just put in a liveCD to check my fstab and it boot just fine [18:12] like I said, the sd?? naming is relative and changes depending on your environment and configuration [18:12] and is therefore unreliable [18:12] qman__, so if i have two drives that i swap out everyother week they are going to have the same UUID and can be put in the fstab that way? [18:13] no, they won't [18:13] they will have different ones [18:13] but they also won't always have the same sd?? [18:13] qman__, ok i'll boot to the liveCD and use UUIDs, just concerned as to how i'm to automount the two drives to the same mount point depending on which is installed at a given time... won't it fail? or will it just mount whichever is there? [18:14] that, you'd have to test [18:14] What type of drives are being plugged in, USB? [18:14] the only reliable way I can think to achieve that is to not use automount, but to instead use a script [18:14] that knows of the two different UUIDs [18:16] qman__, well it is to be used as a backup... i was planning on using rsync and cron... i guess i could use a script to mount before executing the rsync [18:16] If you are speaking of USB drives, I am thinking to use usbmount to achieve a consistent mount point for my USB backup drives. [18:17] mdlueck, its an enclosure that has 3.5" drive in it... I have two that I can alternate which enclose pops in [18:17] Aaahh, some sort of hot swap container then? [18:18] mdlueck, similar, but unfortunatly not hot swapable [18:19] OK, then the usbmount package obviously would not help in your situation. [18:19] so a bash script executed by cron (still need to review how to set that up to schedule the backup) to mount the drive then execute the rsync should be sufficient? or would you suggest perl? [18:22] whichever you're more comfortable with [18:22] basically you just need the script to look up attached UUIDs, match against the two you use, and mount that drive [18:23] qman__, shouldn't be that hard... lexicographical scripting is that hard [18:23] isn't i mean [18:26] still annoyed that grub never was installed... can't afford to mess wtih it right now, cuz i need my users to be able to work [18:26] it'd always been installed automatically in the past [18:27] it still is [18:27] unless your issue is hardware specific, I'd be wary to use that install [18:28] qman__, i put in a new drive and installed directly from the same disk as i had on the old drive.. i had the disk check for errors on it and didn't find any [18:29] qman__, can labels be used in the fstab or just /dev/sd?? and UUID? [18:29] did you change the boot order post install? [18:29] qman__, nope [18:30] I don't think you can, because they're not necessarily unique, but I don't know for sure [18:30] qman__, i thought i had a problem first time i installed because it wouldn't boot, but it turned out to be an option that was turned off the the BIOS... damn previous employee was notorious for turning BIOS options off [18:31] qman__, they may not be necessarily unike but i could then lable the two drives to be swaped back and forth the same and avoid the differnt uuid issue... maybe not worth the effort... it'd be good practice to write a script [18:31] according to this, you can http://ubuntuforums.org/showthread.php?t=283131 [18:32] #Data partition [18:32] LABEL=data /mnt/usr_data ext3 auto,users,rw,relatime 0 0 [18:32] hi guys, anyone here has a local ntp server up and running? i am trying to get it to run with ntpd and following some how-tos but it doesn't seem to work :( if i do an nmap on the server it shows me port 123 as closed although ntpd is up and running and configured (well, at least that's what i thought) to provide ntp service to the local network [18:33] qman__, nice... i'lll try the label meathod... [18:33] jeiworth, I do run local NTP, but I set it up a long time ago, I can share my config if you like [18:34] http://pastebin.ubuntu.com/505857/ <-- current config [18:34] qman__: would be greatly appreceated, thanks :) [18:36] I'm only noticing two differences [18:36] I have [18:36] restrict -4 default kod notrap nomodify nopeer noquery [18:36] at line 30 [18:36] and I have line 39 commented out [18:36] ok, let's see... [18:37] oh, 44 is commented out too [18:37] another question, are you using ntpdate on the c,lients or the ntpd as well? [18:37] 'broadcast' is apparently a deprecated method [18:37] ntpdate-debian [18:37] clients should not need to run ntpd [18:38] it doesn't hurt, though [18:39] good if you want log file timestamps in sync [18:39] clients should not need to run ntpd <-- exactly, they should just query the server and set the time once a day [18:40] $ sudo ntpdate 192.168.1.10 [18:40] 4 Oct 12:40:36 ntpdate[12821]: the NTP socket is in use, exiting [18:40] hmm [18:40] yes [18:40] use ntpdate-debian [18:41] ntpdate will not work [18:41] ok [18:42] qman__: not in the repo :( [18:42] it's in the default install [18:42] sudo ntpdate-debian [18:44] in lucid, configure the time server for non-ntpd clients in /etc/default/ntpdate [18:44] qman__: aaaaaah [18:45] in older versions, modify the cron script in /etc/cron.daily [18:46] qman__: ok, with ntpdate-debian it worked, also thanks for the hint with /etc/default/ntpdate! :D [18:47] qman__, thanks for your help... [18:51] whoops... >.> I typed it in to tell you. === ivoks-afk is now known as ivoks [18:58] kirkland: ping? [18:58] RoAkSoAx: pong [18:58] hello? [18:59] kirkland: have you experienced this before: sudo virt-install --connect qemu:///system -n hardy -r 512 -f hardy.qcow2 -s 12 -c hardy-server-amd64.iso --vnc --noautoconsole --os-type linux --os-variant ubuntuHardy --accelerate --network=network:default [18:59] Daviey: PING [18:59] plop [18:59] lol [18:59] kirkland: i mean this: libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/3 [18:59] qemu: could not open disk image /home/roaksoax/.cache/testdrive/iso/ubuntu_maverick-server-i386.iso: Permission denied [19:00] Daviey SpamapS: when you get a chance can you look at #600174 please [19:00] RoAkSoAx: sorry -- no. apparmor maybe? [19:00] RoAkSoAx: is your home encrypted, and not mounted? [19:00] RoAkSoAx: don't know.... [19:00] * kirkland away from keyboard ~15-20 minutes [19:01] more likely libvirt-wemu:kvm doesn't have DAC read access [19:01] bug #600174 [19:01] Launchpad bug 600174 in axis2c "axis2c fails to build from source on maverick/i386" [High,Confirmed] https://launchpad.net/bugs/600174 [19:02] kirkland: none of that, was working fine yest, today it is not after some package upgrades [19:02] jdstrand: how can I fix it :)? [19:03] Daviey: i was able to reproduce it in my ppa as well [19:03] RoAkSoAx: try 'sudo -u libvirt-qemu -g ls -l /home/roaksoax/.cache/testdrive/iso/ubuntu_maverick-server-i386.iso' [19:03] RoAkSoAx: err [19:03] sudo -u libvirt-qemu -g kvm ls -l /home/roaksoax/.cache/testdrive/iso/ubuntu_maverick-server-i386.iso [19:04] zul: AIUI it's just FATFS on amd64? [19:04] err, i386 [19:04] RoAkSoAx: sigh [19:04] Daviey: i386 [19:04] RoAkSoAx: that won't work either [19:04] jdstrand: nope :) [19:04] zul: and armel :/ [19:04] zul: I'll poke i386 [19:04] Daviey: meh [19:04] Daviey: drop it ;) [19:05] RoAkSoAx: you just need to make sure that that user can access that file. so, if any of the directories or chmod 0700, then that is a no go [19:05] zul: I don't know how much we *need* it.... perhaps we should drop it and it's rdepends. [19:05] RoAkSoAx: my ~/.cache directory is 0700, so I wouldn't expect testdrive to work there [19:06] Daviey: good idea :) [19:06] of course its not my head that will roll [19:06] jdstrand: jdstrand I can access that file. I can even launch a VM using TestDrive, but when I try to do it with virt-install or virt-manager It just through that error [19:06] RoAkSoAx: also, if you use encrypted home, you will have an 0700 $HOME [19:06] RoAkSoAx: oh right, testdrive is kvm only [19:06] RoAkSoAx: libvirt runs VMs as libvirt-qemu:kvm. that is the user that needs access to the file [19:07] RoAkSoAx: if you don't want to change permissions, you can adjust /etc/libvirt/qemu.conf to run as root:root [19:08] jdstrand: the iso permission are being changed: -rw-rw-r-- 1 libvirt-qemu kvm 705077248 2010-08-16 06:22 ubuntu_ubuntu-10.04.1-server-i386.iso [19:08] RoAkSoAx: yes, but every directory in the path leading to that file needs to be accessiable by that user/group [19:08] RoAkSoAx: ie, if your ~/.cache is 0700: boom [19:09] RoAkSoAx: you can also simply move your iso somewhere else [19:09] (that is readable by libvirt-qemu:kvm) [19:10] jdstrand: right but that's the thing, I did use ISO's that were downloaded through testdrive, and used virt-manager to install VM's, and it didn't through that error on saturday [19:10] s/through/throw [19:10] RoAkSoAx: I don't understand "it didn't through that error on saturday" [19:11] RoAkSoAx: there have been no new libvirt uploads. I don't know what happened on saturday, I can tell you for sure that if libvirt-qemu:kvm cannot read the file, it won't work. check your path, move the iso or adjust /etc/libvirt/qemu.conf [19:11] jdstrand: ok thanks :) [19:12] sure, np [19:26] RoAkSoAx: I'm preparing security updates for clvm in lvm2...do you have any idea on how I can test it? [19:30] mdeslaur: not really. Though, you should ask ivoks since I beleive he works with these stuff :) [19:30] RoAkSoAx: thanks! [19:30] ivoks: ^ [19:35] If you are configuring bind9, in which of the three named.conf files would you put the acl's? [19:36] mdeslaur: yes? [19:36] mdeslaur: ah, clvm [19:36] ivoks: I need to test clvm for a security update...is there an easy way to do this? or some docs perhaps? [19:37] mdeslaur: you would have to set up a cluster with redhat cluster suite [19:37] mdeslaur: or... you could enable support for corosync and openais in build [19:37] mdeslaur: and then use available doc for thath [19:37] that [19:38] mdeslaur: i don't really have any docs on clvm in redhat cluster suite :/ [19:38] mdeslaur: you'll need shared storage in any case [19:38] mdeslaur: or, you could just give me the diff and i'll test it :) [19:39] ivoks: I have packages for dapper all the way to lucid...are you sure you want to volunteer? :) [19:39] how about this: https://wiki.ubuntu.com/ClusterStack/LucidTesting#BONUS%20:%20RHCS%20Samba%20file%20server%20cluster [19:40] ivoks: I can try that, right? ^ [19:40] mdeslaur: oh yeah [19:40] i totally ignored RHCS part of that page [19:41] ivoks: was there anything special in the PPA mentioned there, or should that work with the default lucid packages? [19:41] mdeslaur: still, you need shared storage [19:41] ivoks: I can do that with two VMs, right? [19:41] mdeslaur: for RHCS, you don't need additional ppa [19:41] mdeslaur: yes [19:42] ok, thanks ivoks, I'll try and get that working [19:43] mdeslaur: i'll probably be online next couple of hours, so ping me if you need help [19:44] ivoks: sweet, thanks [19:46] ivoks: speaking of which, I'll enable Pacemaker RHCS support for maverick and upload it to a PPA ubuntu-ha-maintainers. Then, we can start working on the library split for natty [19:47] RoAkSoAx: ok, you could do that for lvm too [19:47] RoAkSoAx: enable it to build with corosync and openais [19:48] ivoks: ok will do. I think I'll just setup a blueprint for natty to discuss library split and trying to get HA for UEC [19:48] ivoks: I'm gonna start testing that [19:49] ivoks: would there be anything else you'll like me to discuss in the blueprint? [19:49] RoAkSoAx: ways to reintegrate that into debian [19:49] RoAkSoAx: even if we know that's a complete failure :) [19:50] haha indeed [19:50] ivoks: had the same conversation with fghaas about it, but they said what we all know already. Anyways [19:56] New bug: #654574 in mailman (main) "qrunner crashed with IOError in _logexc()" [Undecided,New] https://launchpad.net/bugs/654574 [20:12] ivoks: I'm getting "parse error in config: The consensus timeout parameter (4800 ms) must be atleast 1.2 * token (12000 ms).". Any ideas? [20:14] kirkland: I'm installing a Lucid UEC setup. During installation of the VM's, they ask for the IP of the CLC. Should I specify it or should I leave it, to have autodiscovery? [20:14] ivoks: never mind, I found it [20:17] RoAkSoAx: what component are you installing? [20:18] kirkland: sc-cc in one VM [20:20] kirkland: but I believe the same will apply to the walrus [20:20] mdeslaur: sorry, i was away for couple of minutes [20:20] ivoks: np :) [20:22] RoAkSoAx: normally, you let it autodetect [20:22] RoAkSoAx: that requires that avahi work [20:22] RoAkSoAx: i don't know what your network setup looks like [20:22] RoAkSoAx: but if avahi broadcasts work, it should autodetect okay [20:22] kirkland: well since this is just testing, avahi will work. I'm just using NAT [20:22] kirkland: i"m doing it all in VM's [20:23] RoAkSoAx: right -- the VMs must be bridged to talk to one another [20:24] kirkland: yep, but I just want to have the eparate components ( 1 CLC, 1 Walrus, 1 CC-SC, 1 NC) to start looking into how to provide HA [20:24] kirkland: so they are all in a single virtual network, which is the NAT provided by KVM [20:32] upgrade to 10.04 was supersmooth...bloody good job guys :) [20:33] where can you set environment variables such that they are loaded even for no-login users (specifically JAVA_HOME), no bash rc's because they are shell user only, /etc/environment doesn't seem to work either === txwikinger is now known as txwikinger_on_gn === txwikinger_on_gn is now known as txwikinger [21:08] hey guys, did a sudo apt-get update and something hung on my 10.04 x64 install when i log in it says ihave updates avaiable but when i update/upgrade it says there were errors and nothing gets installed. any ideas on how to flush this out? [21:09] T3CHKOMMIE: Depends on what the errors are. [21:10] it looks like its unable to connect to some of the packages listend in the source.lst [21:10] like lucid-security-updates /multiuniverse [21:10] etc [21:11] Pastebinning the errors would be a good start [21:11] !paste [21:11] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [21:12] "unable to connect to security.ububtu.com etc.... [21:13] it trys conencting then times out... [21:13] then goes to about 21%... then says "failed failed failed... etc" [21:14] ok here we go, "some index files faild to download, they have been ignroed, or old ones used instread. [21:15] --fix-missing doesnt help either. [21:15] is the repo server down? [21:15] I seem to have a nonfunctional dpkg process sitting in the background locking my /var/lib/dpkg/lock file. It was in the middle of install MRTG and it stopped doing anything, I left it for 30 minutes and then I tried to ctrl+c with no luck, so I actually closed that ssh session and then reconnected, and now the dpkg won't die [21:30] Hello. can anyone give me a technical reason for using ebox over webmin? I understand webmin is no longer supported, but it offers much more flexibility if I wish to modify some configuration files by hand. [21:31] !webmin [21:31] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [21:32] * kinygos likes ubottu [21:33] ehcah: ebox is ... well I don't like it at all -- but webmin will botch your system if you use it to actually modify configuration :-(( [21:33] guntbert: Compared to the experiences I had with webmin, I don't like ebox (zentyal), at all. [21:34] It is an extremely limited tool with its scope. [21:34] ehcah: imho the commandline outperforms any web-based administration interfaces [21:34] RoyK: You and I have chatted about that before, and I agree - no question. [21:35] ehcah: I said the same -- especially since ebox uses its own config files -- but still webmin "is not compatible" -- I agree with RoyK here [21:36] No arguments here. I really liked being able to use webmin to review my configs easily. Funny as it sounds, I still do a lot of terminal based changes. [21:37] More simply stated, I wish there was a webmin like GUI out there that was supported. [21:39] * RoyK sticks to vim [21:42] sooooz [21:42] ok 1st time on IRC sheeshe I'm a lil noobish [21:48] test [21:51] Anyone know of a good HP Designjet 500 Driver other than the preinstalled HP junk [21:51] the foomatic shifts stuff all over the page [21:52] there's a couple different ones included, foomatic, hp2js or something [21:52] othere than that the new 10.04 is solid here [21:52] ye they all shift stuff bout 1/2" off the top of a landscape page [21:53] tried gen hp stuff too [21:53] maybe use alien and grab a fedora one? [21:53] they use the same ones [21:53] figured [21:53] hmmm maybe its the format [21:53] pdf [21:54] mdeslaur: everything ok? [21:54] i am still amazed that the other 5 printers in the building work flawlessly [21:54] Sharp Dell 3 other HPs [21:54] it still amazes me that printer manufacturers feel a need to write and maintain drivers when PCL and PS are perfectly capable of anything anybody wants to do. [21:54] ivoks: yes! I've tested it on lucid...tomorrow, I'll do the others [21:54] mdeslaur: ok [21:54] they should all use gen PCL [21:55] would be so much easier [21:55] PS [21:55] not PCL [21:55] PCL6 [21:55] PS, so that we can just cat files to usb port [21:55] ivoks: I had trouble for a while, until I fixed the hosts file properly [21:55] Apple figured it out [21:56] that's why they just dump screenshot to printer [21:56] they have to write drivers because the printers aren't smart enough to understand PS or PCL [21:56] Yeah, PS used to have the argument that it was too complex.. but at this point you can embed highly capable SoC in your printer cheaper than you can build an ASIC to handle your super special printer driver language. [21:56] yeah its painfull [21:56] like winmodems, they're basically mechanical devices on USB control [21:56] the rest is handled in software [21:56] I cringe when someone says I need a new printer [21:57] i rem google talking about universalizing [21:57] still, even if all printers would be PS, they would have 'drivers' [21:57] brother laser printers have been great for me [21:57] not every printer is the same [21:57] -> PPD [21:57] oh boy [21:57] cheap, good functionality [21:57] the sharp here has PPD [21:57] I really fought even having a printer until 6 months ago. I hate the damn things. [21:58] I spend more time on them than I do anything else here [21:58] Even the windows clients take less time [21:58] the mac maintain themselves [21:59] i never had problems with printers [21:59] the servers are nix so nadda there either [21:59] plug it in...wait... works [21:59] u run a print server? [21:59] yeah, on each ubuntu desktop :) [21:59] LOLOL [21:59] and on couple of servers [21:59] my print server has to run windows because I have to support a canon laser with no linux drivers [21:59] Anyone has any idea of this error? : For example, I have a 37GB partition mounted, formatted with ext4. Inside the partitions I have 3 disk images that total 26GB. When I try to create another 10GB image there it says the disk does not have enough space, and it will only let me create a disk image of 5gb. Any ideas why? [22:00] I always ran windows print servers with ubuntu file servers until 10.04 [22:00] why? [22:00] because of drivers [22:00] had to use win [22:00] where do you get printers [22:00] RoAkSoAx, by default it reserves 5% for the journal [22:00] form HP SHarp Dell [22:00] i'm having troubls finding printer that won't work on linux [22:00] ah, dell [22:01] USA? [22:01] :) [22:01] gen PCL does [22:01] dells are rebranded lexmarks? [22:01] but u have to .cofig it a bit [22:01] *.config [22:01] it defaults to greyscale and such [22:01] lexmark is the brand i avoid [22:01] yeah, lexmarks are junk [22:01] I like the Shap the best here [22:01] Hi Speed [22:02] qman__: ohh didn't know that :)! And would there be any way to override that reservation? [22:02] sharp [22:02] ye [22:02] sry [22:02] HPs are okay [22:02] even epson is good [22:02] HP makes me ill on the windows side tho [22:02] crapware [22:02] but I've been recommending brother printers, best one I have [22:02] i have epson multifunction and bunch of HPs [22:02] ye? [22:02] plug and play [22:02] never tried one [22:02] RoAkSoAx, that's specified when you create the filesystem [22:02] brother is OK, that's true [22:02] might be able to change it with tune2fs [22:03] i've talked with Till couple of months ago [22:03] HP and Brother are working with community [22:03] while others... :) [22:03] qman__: cool thanks ... btw.. I just create an image using qemu-kvm specifying 10GB size, and it did it withpout a problem === _Techie_ is now known as _TechAway_ === _TechAway_ is now known as _Techie_ [22:26] kirkland: in lucid, is walrus supposed to register to the clc automatically without having to exchange keys before? [22:28] kim0: ^^ === ivoks is now known as ivoks-afk === zz_sailerboy is now known as sailerboy === jfluhmann__ is now known as jfluhmann