[00:01] I am tempted to chmod -R 750 * for a bunch of places, including /var, /etc, /home - is this a bad idea? [00:01] generically, yes, it's bad [00:01] for example, ~/.ssh [00:02] jMyles: Yeah, don't do that. [00:02] Well I created a new user and I'm surprised how much access they have [00:02] I want them to only have access to ~ [00:03] for example, they can read everything in /etc/apache2/sites-enabled - I do not want this [00:07] How about instead of 750, I go o=X ? [00:12] how would I look up the cpu info ? [00:12] orudie_: cat /proc/cpuinfo [00:13] thanx === dendrobates is now known as dendro-afk [00:18] anyone know if I add /etc/event.d/ttyS0 so I can support a serial adapter, is there any way to apply that device without rebooting? [00:41] Hypnoz, sudo start ttyS0 [00:42] qman__: OH SNAP you da man! [00:43] qman__: was trying telinit q and telinit u, but I'm wondering if those only apply to the old init.d system, not event.d [00:43] yeah, all that stuff is gone away in ubuntu now [00:43] qman__: "start" and "stop" are for event.d I'd guess? [00:43] yes [00:44] and 'service' is now in ubuntu by default, for the rest [00:44] like the RH command, i can do service network restart? [00:44] yes [00:45] maybe some motivation to move up from 8.04 at some point [00:45] but I'm kinda hesistant to dist-upgrade all my servers ... if it ain't broke don't fix it [00:48] oi... just booted up an AIX machine. this thing is like a haunted house. [00:48] ksh default, and the up arrow moves the cursor upwards on the screen [00:48] hah... boy do I love gnu. [00:49] eek quick reimage [00:49] if you can believe it, some of our customers actually still use AIX. [00:55] And I bet service(8) ignores policy-rc.d(8) >:-/ [00:56] I'm considering trying out the Ubuntu-Server 10.4 beta1 for it's UEC. How reliable is that if anyone else by chance uses it yet? [00:57] Psi-Jack: i'm running it in a vm to host mediawiki and do miscellaneous tasks and it's working fine for me. [00:57] Oh yeah? Cool. I know 10.4 is due to release by the end of next month, so I hoped it was reasonably stable at the moment with all the freezes. [00:58] And 10.4 is the new LTS? [00:58] Psi-Jack: yeah, LTS. [00:58] Will be anyway. ;) [00:58] Psi-Jack: it seems like a lot of the issues, as always, are tied to GUI apps, so if you go headless you're much less prone to problems. [00:58] Psi-Jack: that being said, i just upgraded a gui install with zero problems. [00:58] Right, and my server is headless. ;) [00:59] I only plan to have GUI by UEC standpoints. [00:59] Which is totally web based as I understand. [00:59] Web/CLI that is. [00:59] Psi-Jack: well, join us in #ubuntu+1 if you're taking the plunge [01:00] Psi-Jack: beta2 comes out april 8th, so you may want to hold out another 2 weeks... [01:00] er... week and a half [01:00] I can always upgrade or dist-upgrade, no? ;) [01:01] These aren't live production servers anyway, just gathering ideas and trying out various options. [01:01] OpenSUSE with it's Xen Hypervisor approach, which seems really nice.. Citrix XenServer, which is effing awesome, but limited. And now, UEC, which I don't like some of it's approaches, but until I actually try it, I can't knock it. [01:17] for those in on the question re XDMCP, has anyone tried a simple ssh -X login with a gnome-session, and / or seen scripting to make that work well and automated for a client ? [01:17] fluvvell: ssh -X/Y work fine, as does Xnest [01:18] lullabud, my understanding was that xnest uses tsclient ? [01:18] fluvvell: i think that's vice versa... [01:18] heh. [01:18] In the UEC, what is Walrus? [01:23] lullabud, I think i mean that the client machine logs in with tsclient. I'd need to install xnest on the server. Prob I have is that we have virtualbox running with port 3389 in use and I haven't checked if I can do both at once [01:24] fluvvell: no, that's not true. tsclient is a client for logging in with various other methods, like MS RDP and such. xnest basically is network redirected X sessions, just like ssh -Y but with a windowed desktop. [01:25] fluvvell: you can get something similar if you ssh -Y and then run startx, but it's not in a window. xnest nests the remote X session in a window so you don't end up with two docks, two of everything [01:25] all overlapping each other... [01:26] fluvvell: first google link validates most of that... - http://en.wikipedia.org/wiki/Tsclient [01:27] ..that is, first google result for "tsclient" [01:30] fluvvell: oh, so back to server vs client, you don't need to install xnest on the server, you have to have xnest on the client. [01:31] lullabud, yes - though the nail I'm trying to hit is to replace XDMCP. My user was working well in Jaunty, when upgraded to karmic the XDMCP support failed. So she only needs to show one desktop, that of the session on the server. I've gotten around the lack of a server-locating utility in gdm by starting her client machine with kdm. But for some reason, (I suspect the version of xorg at this stage) there are no XDMCP servers showin [01:31] g. [01:32] oh, i see, i see... [01:32] then no, xnest is not what you need. [01:32] Sry, that was a long post [01:33] fluvvell: there are some conf files you can tweak, i forget which, that enable/disable xdmcp. i think it's xorg.conf... might have some notes around somewhere.... [01:33] no, but If I could think through the ssh /startx thing, I could probably work it out. [01:33] lullabud, yes. I've just been down to the site and I think the fact that he has the ATI commercial x server stuff installed, thats where the issues begin - that and possibly compiz [01:34] hmm. compiz, i don't know... never done that with xnest. [01:34] which i should disable, and start with a bog standard setup. [01:35] and the fact that its a cafe and its the lunch /2h period, I've skipped away to lick my wounds and think it out. :-) [01:37] well, they are surely moving away from xdmcp. i hadn't used it in a long time, but looking now it's clear that they're doing away with it for some reason. [01:37] they say it's insecure, which i can't validate... [01:37] perhaps they're moving to vnc or something... [01:38] vnc has never been reliable for me in linux though, so it's disappointing to see xdmcp being dropped. [01:39] the xdmcp support on the 6.06 livecd saved my ass one time when i had to configure a solaris machine that had no monitor port. [01:39] What's this about dropping XDMCP? [01:40] twb: eh, gnome is moving away from xdmcp [01:40] twb: it's no longer a login option to connect to a remote machine rather than the local... [01:40] and it's missing from other places too [01:40] FSVO gnome = gdm? [01:40] fsvo? [01:40] For Some Value Of [01:41] uh... yeah, gdm-2.20 is now considered "legacy" [01:41] and it's the last version (afaik) that supports xdmcp [01:41] the newer versions do not support it, and are default in 9.10 and 10.04 [01:41] Annoying, but as long as Xorg (and xdm) continues to support it, I don't care too much. [01:42] I wonder what the LTSP people had to say about it [01:42] well, that's part of my disappointment... i just did "grep -ri xdmcp /etc/" and didn't find it in anything xorg related on 10.04 [01:43] there didn't seem to be much development going on in the ltsp crowd either [01:44] but the XDMCP indifference is definitely at Gnome level rather than Ubuntu [01:45] RFB is retarded compared to X11. [01:45] and it *is* insecure, but what with ssh or ssl surely there is a way to seal any cracks - [01:45] It's only when you get insane amounts of layered gradients, like in GTK2 or OpenOffice or xulrunner, that RFB actually starts being faster. [01:46] Oh, and bloody client-side font rending [01:46] RFB ? [01:46] fluvvell: RFB is the protocol that VNC is a thin wrapper on top of. [01:47] fluvvell: oh, well, it looks like it's dead simple to enable xdmcp server-side stuff in 10.04. edit /etc/gdm/gdm.schemas, just change "disable" to "enable" and it works.... [01:47] i jsut tested it between OSX and 10.04 [01:47] http://en.wikipedia.org/wiki/RFB_protocol [01:47] twb, yeah I'm using vnc in a number of cases, and while it solves the immediate problem its not the answer to everything [01:47] lullabud: my last OS X host was a glorified X thin client ;-) [01:47] fluvvell: RFB is a "lowest common denominator" protocol. [01:48] twb: yeah, but it was probably the thinnest client ever. [01:48] :P [01:48] following after steve job's as the thinnest ceo ever.... [01:48] s/job's/jobs [01:48] lullabud: it was a 330MHz bondi blue running 10.2, acting as a remote head for a 3GHz workstation [01:49] hey, g3's are still useful! [01:49] now i'm going to have to run out to the curb and get that one that's next to the trash can... === dendro-afk is now known as dendrobates [03:31] New bug: #552238 in postfix (main) "package postfix (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/552238 === rgreening_ is now known as rgreening === manjo is now known as manjo_ === manjo_ is now known as manjo [04:17] I just set up parted (from the expert install of the alternate CD) with a RAID1 with /boot on it and all three drives it mirrors have a bootable flag. And a RAID5 with a lvm on it that contains root filesystem and swap space. Will my kernel be able to find and mount the root filesystem at boot? [04:17] Try it and see. [04:17] I will. I am hoping for the best twb. [04:18] Finishing install of base system now... [04:18] As you were told yesterday, this is the wrong channel for support for desktop ("desktop" and "alternate" CDs) installs. [04:18] Nobody knows what a LVM on that channel is... [04:18] that doesn't surprise me [04:19] Well, we *did* suggest you use the server install CD. [04:20] Right, I will probably have to do that if this fails. Even if I do drop to command line to set up fstab and mdadm, how can I be sure what I am doing is right. I first started with gentoo and followed the docs and got help on IRC and that had a kernel panic where it couldn't find the root partition. [04:23] Maletor: I can help you if you go to the debian-installer partition manager (d-i partmgr) step on the server install CD. [04:23] And assuming a clean install. [04:24] Doing it any other way is more effort than I can be bothered going to on your behalf. [04:24] I may take you up on that offer twb. I'll let you know how this goes. [04:34] Maletor: it should be able to, though there's been some trouble in lucid booting off of lvm+raid. [04:35] sbeattie: thanks, yes, i've heard lucid is very unstable from pretty much everybody [04:37] Until it's released, it is /by definition/ unstable. [04:37] * sbeattie eyes his two lucid systems carefully. :-) [04:37] I installed karmic server on a raid 1 with LVM just yesterday [04:37] it was smart enough to figure it out [04:37] That's not the same as "buggy" [04:37] which surprised me greatly [04:37] since it's the first time that's ever happened for me [04:38] I wouldn't have said it was pretty unstable. but I don't have any of my raid machines running it. === Maletor_ is now known as Maletor [04:46] hqman__: did you install from server? [04:46] qman__ [04:50] yes [04:51] Maletor, you could always install ubuntu server, then install the ubuntu-desktop package on top [04:51] of course the GUI is not supported here [04:52] but the install process would be [04:52] Houston, we have lift off. [04:52] Let me just verify the RAID and LVM and I will be ecstatic. [04:53] cat /proc/mdstat [04:54] And what is the command 'dh -i' for where filesystems are mounted? [04:54] I usually use 'mount' to do that [04:55] and df -h to check filesystem usage [04:55] Yup, everything is working magically. This is fantastic. [04:58] lvextend works too. This is sweet. Thank you everybody. [05:00] OK, I have a host here with three rtl8169's in it. mii-tool can't tell me which one is connected, because apparently the driver doesn't support that ioctl. [05:00] How can I non-destructively determine which NIC has a cable plugged in (so I can label the NICs with eth0 through eth2)? [05:01] Hmm, I suppose worst case is I can connect it to another host (instead of just a switch), and stick pings over a transiently-static configuration. [05:01] twb, mii-tool works for me on rtl8169s [05:02] those are what I mostly use, since they're a great way to go gigabit for about 15 bucks [05:07] is there a way to check which computers are connected to samba ? [05:08] maxagaz, I'm sure it could be done with netstat, though there may be a higher level tool for it [05:08] maxagaz: smbstatus maybe? === aetaric_ is now known as aetaric [06:55] hey guys im having issues with vi over ssh [06:55] eagles0513875: expand. [06:56] twb: basically work in vi then all of a sudden it feels like it freezes [06:56] eagles0513875: you're hitting ^S. Type ^Q to fix it. [06:56] im not hitting annything [06:56] this is while typeing lets say some programming in c++ [06:56] OK, what kind of line speed are we talking? [06:57] lan [06:57] 100mbps [06:57] server nic being gigabit [06:57] and desktop im on gigabit as well [06:57] what even stranger it only happens with vi [06:57] OK, check the load average and the iowait on the remote host. [06:58] atm i have no load on it [06:58] im the only one who has access to it [06:58] if i use nano this doesnt happen [06:58] Talk to #vim, then. [06:59] twb: could it be an issue with ssh [06:59] cuz it seems from what i can tell by the ssh program im using it ends up one way the connection [06:59] the server is getting input just not sending back output [07:00] How did you determine this? [07:00] im using xshell ssh program on windows and it has arrows to show input to the remote machine and whats getting sent back out to said client [07:02] Just because your client receives nothing doesn't mean the server isn't sending anything. [07:02] If you kicked out the cable, you'd see the same behaviour. [07:02] i havent been anywhere near them [07:03] Ask dmesg if the link has been bouncing lately [07:04] I get that kind of behavior when I have a poor wireless signal [07:04] moving my laptop to get a better signal fixes it [07:04] but, on a LAN [07:04] it would have to be bad cables or faulty hardware [07:04] qman__: or something like NM playing silly-buggers [07:04] or some bizarre software issue [07:08] Ah, xshell apparently proprietary crap. [07:08] twb: and qman__what doesnt make sense though is why does it only do this on vi and not anythign else like nano [07:08] twb: i like it so i can consolidate all ssh connections into one program with multiple tabs [07:11] I presume there are extraneous factors that prevent you simply running Ubuntu on your workstation [07:11] twb: said desktop is windows said machine in question is nix [07:12] bah got no help in vim [07:12] random thought [07:12] since im on 64bit ubuntu server should i install ia32libs to be save [07:12] I think you're misdiagnosing the symptoms, and I'm still waiting for the results of the diagnostics I asked you for. [07:15] twb: not showing anythign out of the ordinary in dmesg and syslog [07:15] Can you reproduce the symptoms on demand? [07:15] twb: i can reproducd them yes just have to work with vi for a few [07:16] Can the server address your Windows desktop directly (i.e. no NAT)? [07:17] im using static ips on both and yes it can [07:17] On the server, run "mtr ", and hit d once. [07:18] You should see horizontal line(s) of "." crossing the screen. [07:18] When there is no network, it'll print a ? instead of a . [07:18] didnt do anything like that [07:18] it just brought up an empty traceroute [07:19] You need to hit "d" [07:19] i did [07:19] i have some latency values [07:20] eagles0513875: you should have at least one line in the table, starting with "1. " [07:20] going to take a few need to hook up my monitor directly to the server [07:20] Whatever [07:21] twb, I get nothing of the sort doing that [07:21] twb: if im doing it via ssh its not givine me an ip but latency values [07:22] It should look like this: http://paste.ubuntu.com/406887/ [07:22] yeah, it doesn't look like that [07:22] im not getting anythign of that sort either [07:22] ...except with fewer entries, because there aren't any hops on your LAN [07:22] also, that's what page it opens to [07:22] but I don't get anything at all in the list [07:22] me neither [07:23] Try mtr 8.8.8.8 [07:23] that works as expected [07:23] Or even "mtr 127.0.0.1" should have at least one entry [07:24] ah, working now [07:25] I don't know why it isn't/wasn't working for you. [07:25] 8.8.8.8 and lo device both have something for me [07:25] I don't either [07:25] You could try mtr -n , if it's a DNS issue [07:25] maybe something wrong with the client IP I was using [07:25] when you say workstation ip do you mean teh host or destination [07:25] taht you are on [07:25] eagles0513875: AFAIK you have two hosts, a workstation (running xshell) and a server (running sshd and vim). [07:26] On the server, run "mtr -n ' [07:26] ok [07:26] nothing still [07:27] Then your network's totally buggered, and you need to make that work. [07:28] :-/ [07:28] eagles0513875: are you the network admin, there? [07:28] its a small home network [07:28] lol only one in this family who understands in computers [07:29] wait a min [07:29] could me having bind installed but not configured be the issue here [07:29] at least to networking [07:29] not really [07:29] cuz i tried to ping my current machine im on from server and it wasnt resolving [07:30] it would have an effect but by IP things should still work [07:30] super high latency more like it [07:30] well, there you go [07:30] found the answer [07:30] find out what's causing the latency and fix/replace it [07:30] restarted networking [07:30] and its fine [07:30] so its a bug in networking somewhere in ubuntu server [07:31] qman__: it wouldn't surprise me if he has an appliance router or switch, and it got confused after a power outage. [07:31] no power outages here though twb [07:31] im on a linksys [07:31] yeah, I've had that happen before, as well as them burn up [07:31] Stupid cheapo switches... [07:31] qman__: think im goign to buy a new one cuz this one is starting to piss me off [07:32] I use a PC running ubuntu server with 4 NICs in it as my router [07:32] Real Soon Now manglement will turf them and actually fix the wall points, so that we can just use the UPS-backed switch in the rack. [07:32] but I have a somewhat complex network [07:32] Oh yeah, and replace the battery in the UPS :-/ [07:32] heh, yeah [07:32] UPS makes all the difference, even without power actually going out [07:33] everything just works happier [07:33] * twb hits manglement with a trout [07:34] * eagles0513875 tries vi again [07:35] not happening again [07:36] seems like its a bug in ubuntu networking [07:36] cmeiklejohn, yes smbstatus! [07:36] cmeiklejohn, thanks [07:37] eagles0513875, a hardware problem is far more likely [07:37] qman__: this server is brand new [07:37] qman__: as it only does this with vi and no other editor [07:37] cables, your linksys [07:37] that stuff does get flakey sometimes [07:37] qman__: true [07:37] qman__: after resetting networkign on ubuntu its fine and happy [07:38] could also be a problem with the NIC driver [07:38] or if you've got networkmanager running [07:38] which you shouldn't, networkmanager just causes problems [07:38] trust me i know [07:38] about nm [07:39] im nothing but commandline on my server [07:39] tbh kinda prefer it [07:39] the nic's are both broadcom nics [07:39] one is a pcie nic the other is a normal nic both gigabit [07:39] what do you mean by "normal" [07:40] NM is a headless daemon. [07:41] qman__: normal pci nic im guessing and the other uses the pcie bus [07:41] it did it again [07:41] froze or lost connection [07:46] New bug: #552360 in squid (main) "package squid 2.7.STABLE7-1ubuntu11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/552360 [07:51] * eagles0513875 will have to try ssh via my macbook to soee if same issue with vi locking up occurs [08:08] wow... incredible how some people pay up to $3 700 for having RHEL pre-installed on their servers [08:08] I wonder if they come with something beside installation and upgrades [08:12] <_ruben> support probably [08:18] _ruben, right... forgot about that one, he he [09:11] hi [09:17] sebsebseb_, hi === sebsebseb_ is now known as xylos [09:25] hi [09:27] model name : Intel(R) Xeon(R) CPU E5504 @ 2.00GHz [09:35] do i need to install amd64 or is there a x86_64 hardy image ? [09:35] amd64 will do [09:38] Jeeves_: Thanks [09:39] so there is only i386 and amd64 image only ? [09:40] afaik, yes [09:44] <_ruben> amd64 == x86_64 [09:45] <_ruben> as in: the amd64 install media install a x86_64 kernel [11:39] How would you determine the ftp software on a server if you are sitting at the client. Is it even possible? [11:39] alvin, if you telnet to it, it should say the software and version [11:39] nimrod10: Thanks! [11:43] Hi, I want to restrict access to the nbdrootd service to local networks only. Is the following correct? [11:43] a) in hosts.deny, put: nbdrootd: ALL [11:43] b) in hosts.allow, put: nbdrootd: 127., 10., 192.168., 172.16.-172.31.: keepalive === swift__ is now known as swift === swift__ is now known as swift [12:42] how to dpkg use wildcard character [12:47] dpkg -l mysql* ? [12:50] obea: never tried but *if* it works then you should put quotes around the pattern to hide the * from the shell [13:06] yeah dpkg -l ¡®*mysql*' thx! [13:06] ;) === rgreening_ is now known as rgreening [13:45] can anyone comment on mdadm using "raw" disks (/dev/sdx), or partitions (/dev/sdx1) and which is better and why? [13:48] Hi, is it possible to setup an ubuntu entreprise cloud across multiple data center ? [13:49] proppy: it is possible to setup separate "clusters" (availability zones), but they will depend on the same "Cloud controller" front-end. [13:50] ttx: is LAN connection required between all the "clusters", and the "controller" ? [13:51] proppy: yes. Otherwise you should install two separate "clouds" [13:51] well, not LAN connection [13:51] can be WAn [13:52] the cluster controller and the cloud controller need to be able to talk to each other, but not necessarily on the same network. [13:53] one "cluster" = one "physical host" ? [13:54] one "cloud" = multiple "physical host" on the same network ? [13:54] no, a cluster is made of a cluster controller, a storage controller, and one or more node controller [13:54] oh ok, "node controller" = one "physical host" [13:55] node controller is one physical host running lots of VMs, yes. [13:55] so we can have a "cluster" in house [13:55] another in running on a dedicated server [13:55] and having them part of the same "cloud" [13:56] given that each cluster controller is able to talk to the cloud controller [13:56] is it possible to provision image on multiple clusters ? [14:02] thefish: I have no idea, but the Debian installer uses partitions if you set up md devices during install [14:03] alvin: cheers, ubu does the same [14:03] but ive set up raid6 here on raw devs [14:03] i cant think why that would be bad [14:03] thefish: I meant Ubuntu actually. Ubuntu uses the Debian installer. (unmodified?) [14:03] me neither. Go ahead [14:04] if mdadm scans /proc/partitions it sees both [14:04] If I set up LVM, I also use raw devices. (Same for ZFS) [14:04] ttx: thanks for all these informations [14:04] im going to stick to the debian method, im sure theres something they know that i dont [14:04] ye ill be using lvm on top of this md [14:05] proppy: yes, the image registered in one "cloud" should be available to all "clusters" [14:05] For ZFS, it is recommended to use raw devices, but I'm pretty sure the reason for that is not valid for mdadm. [14:10] ttx: is there some kind of synchronisation available for the multiple storage controller, across the cloud [14:11] for EBS-like storage [14:11] proppy: I think multiple SCs will sync, but I'm not exactly sure, sounds like a question for #eucalyptus [14:11] ttx: yes, I will ask there, thanks a lot for your help [14:11] proppy: np [14:19] ¡° /usr/sbin/dpkg-reconfigure: uptrack is broken or not fully installed === dendrobates is now known as dendro-afk === RoyK is now known as Guest19685 [15:15] Hi, does uec support non-VT hardware throught Xen or Qemu/kqemu ? [15:18] proppy: Kirkland should be able to give a conclusive answer but I believe the reponse will be no as UEC uses KVM. [15:19] the fish: re: MD on top of raw partitions. According to Steven Ellis at Linux.conf.au 2010 : [15:19] http://mirror.internode.on.net/pub/linux.conf.au/2010/tuesday/index.html [15:20] They are not so good - makes it harder to move disks to another system (backup/recovery). A single partition takes a very small amount of space and is more compatitible with the tools. [15:20] Even : thefish :-) [15:20] sherr: ok ta [15:20] sherr: same for lvm? [15:21] thefish: I use LVM over MD over partitions. Works well. [15:22] sherr: so just pv on eg /dev/md0 ? === klaas- is now known as klaas [15:27] hi. solaris has a command, pstack, to see the stack from a coredump - any idea if linux has something similar? the pstack available in ubuntu doesn't show this [15:27] thefish: yes, that's right. [15:28] cool, thanks sherr - thats what ive usually done [15:46] proppy: Omahn: well .... i suppose it kinda does support non-accel QEMU, as UEC just runs "kvm", which by default, if no VT hardware is present, it just disables kvm-acceleration and runs in godawful-slow mode [15:47] proppy: Omahn: as to the other points, upstream Eucalyptus supports Xen, I believe, but Xen in Ubuntu is universe-supported, and very much untested with UEC [15:47] proppy: Omahn: and kqemu doesn't exist anymore, sorry. === dendro-afk is now known as dendrobates [16:13] ttx: a bit of PM? [16:15] Why is this command not working? [16:15] $ sudo qemu-img -c -O qcow2 disk-raw.img disk.img [16:15] Oh,... I know [16:16] (Sorry to bother. The 'convert' part was missing) [16:21] hggdh: just a sec [16:26] hello. i have a server that now is a NX server for several clients on the office [16:26] now i want just to export /home with nfs and use some kind of Network Authentication for account [16:27] the nfs export goes fine... but when it comes to the central network authentication thing i don't know really which tool plays what role. OpenLDAP, Kerberos... [16:28] * zul dislikes dentists [16:31] ihernandez: I'm also interested in that. Let us know if you find documentation that works with Ubuntu [16:33] alvin, i have been told by a user on #ubuntu that with ldap + nfs all users can login from all machines and have they data [16:33] the nfs docs on ubuntu site are great, and they work pretty well [16:33] Yes, they should. [16:33] https://help.ubuntu.com/9.10/serverguide/C/network-file-system.html [16:33] VMBuilder.exception.VMBuilderUserError: No such hypervisor. Available hypervisors: vmserver esxi xen kvm vbox vmw6 [16:33] where did qemu go in 10.04? :D [16:33] but ldap docs are a nightmare [16:33] zul: ^^ ? [16:34] ihernandez: which ldap document is wrong? [16:34] ihernandez: which version of ubuntu are you using? [16:34] I'm about to upload a debdiff that (hopefully) resolves an old issue in exim4 in hardy. Once I upload the debdiff should I subscribe ~ubuntu-sponsors to get someone to build the -proposed package? [16:35] There is nothing to find about NFS4+kerberos, and there are bugs filed against the ldap documentation. ldap has split the packaging. For someone without experience, the whole ldap story is very confusing. [16:35] http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html [16:35] ldap ^^ [16:36] looks better than last time, thanks [16:36] I'll try them out in a few weeks [16:36] that's for karmic and newer [16:38] Omahn: kirkland: thanks for these informations [16:38] soren: hi; isn't qemu supported in vmbuilder? [16:39] ivoks: Just use kvm. [16:40] soren: on machines that don't support kvm? [16:40] ivoks: The image has no kvm-specific things in them. [16:40] soren: that won't work [16:40] soren: i get: [16:40] ivoks: How do you figure that? [16:40] libvir: Domain Config error : internal error no supported architecture for os type 'hvm' [16:40] so, image is built [16:41] and vmbuilder dies on creating xml file [16:41] File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1119, in defineXML [16:41] if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) [16:41] libvirt.libvirtError: internal error no supported architecture for os type 'hvm' [16:41] Ah, right, yes, if you try to use the libvirt stuff as well. [16:41] ...was that ever supported? [16:41] i think it worked in 8.04 [16:42] i'm sure qemu, without kvm, worked in 8.04 trough libvirt [16:42] ivoks: Feel free to file a bug. [16:42] soren: ok :) [16:42] ivoks: Oh, and it still does. [16:42] ivoks: It's purely a VMBuilder issue. [16:42] that's obvious [16:42] :) [16:42] ivoks, 9.04 on server [16:43] ivoks, 9.10 the last docs i checked. the docs are not either right or wrong. they are confusing. [16:44] ihernandez: http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html [16:44] ihernandez: that's it :) [16:46] ivoks, yes. it's damn confusing! [16:46] and as docs don't go further on what are you doing ... it's a mess [16:46] 10.04 should be out soon... [16:47] ihernandez: book a course [16:47] ihernandez: There are a few options available you e.g. OpenLDAP, LDAP-other, NIS etc. [16:48] ihernandez: IRC is hard to do support/training on sometimes. [16:48] Google has lots and lots of resources on authentication. Some very well writen. [16:48] sherr, i did google a lot, of course. [16:48] sherr, but most points to the ubuntu documentations [16:49] i will have to read just NIS howto [16:49] and more general resources [16:49] ihernandez: NIS is less recommended (and insecure) but fairly easy to set up. [16:49] as there is no straightforward howto to setup network authentication [16:50] sherr, yes. i know . that's the reason i'm trying to set ldap [16:50] ihernandez: "setup network authentication" is a large book ... :-) [16:50] Have a look at Apache's Directory - seems to look good, has a GUI front-end etc. [16:50] i'm just complaining about... let's say... very common tasks requiring large books [16:50] i will :) [16:50] thanks [16:50] ihernandez: ubuntu training provides excellent courses [16:51] ivoks, online? [16:51] ihernandez: there's ubuntu server course that will explain you everything [16:51] ihernandez: yes, even on line [16:51] sorry, wronk shortcut [16:52] ihernandez: It's hard doing docs, support, training, etc. You have to search hard sometimes. But there are decent docs around. Sometimes in more than one document though ... [16:52] go for lunch! be bacl! [16:52] back : ) [16:53] http://directory.apache.org/ (it is Java however) [16:54] <\sh> sherr, the gui frontend is an eclipse plugin ;) [16:55] yeah, and it rocks [16:55] ivoks: I have two papercuts bugs left for you, just in case you can work on them [16:55] (or invalidate them if they are not simply-fixed papercuts) [16:55] ttx: sure; i'm finishing my work in UK today, so i'll have time starting tomorrow [16:56] bug 321091 and bug 552622 [16:56] Launchpad bug 321091 in server-papercuts "Bacula fails to install correctly if mysql wasn't installed before" [Medium,Confirmed] https://launchpad.net/bugs/321091 [16:56] Launchpad bug 552622 in server-papercuts "Installing scsitools pulls in Tk and X" [High,Confirmed] https://launchpad.net/bugs/552622 [16:56] ivoks: get up early while it's still wednesday somewhere :) [16:56] huh? why? [16:56] another deadline? :D [16:59] hggdh: I'm ready now [16:59] ivoks: beta2freeze :) [16:59] argh... [17:06] ivoks, we need to get the cluster packages too :) [17:06] * ivoks will move to RedHat [17:07] a lot less releases; more time to do some work :D [17:07] lol [17:07] ok, so... i'll stay awake this night [17:07] and try to get this all done [17:08] lol [17:08] zul: bug 552636 [17:08] Launchpad bug 552636 in bacula "bacula-server 5.0.1: package update should warn about required database update" [Undecided,New] https://launchpad.net/bugs/552636 [17:08] i'll be back in an hour to start testing [17:08] and i expect to see pacemaker in main, as a reward for all this work :D === luis__lopez is now known as luis_lopez [17:08] mdeslaur: thanks [17:08] ok [17:08] another thing to work on [17:09] sometimes i feel like only packages that fall apart are those that i'm working on :/ [17:09] i'm a jinx [17:09] ivoks, haha pacemaker is now 1.0.8 [17:11] New bug: #552636 in bacula (main) "bacula-server 5.0.1: package update should warn about required database update" [Undecided,New] https://launchpad.net/bugs/552636 [17:30] mdeslaur: ill take a look at it this afternoon/tomorrow [17:34] is there anyway to update more than one installation/server at a time? [17:35] Xbert: landscape :þ [17:35] anyway to do it without landscape [17:35] Xbert: I don't know any open source systems for it, though. if you find one, let me know :) [17:36] atm I do it with and SSH script but its really messey and I have to enter the root password around 8 tmes [17:37] use ssh keys [17:38] ssh keys are only used to login not for sudo commands [17:38] visudo - set NOPASSWD [17:38] it that safe? [17:38] is* [17:38] or just sudo ./myscript [17:38] it's safe so long noone gets your password [17:39] but then, if someone gets your password, they can sudo in anyway [17:40] I cant sudo the script it does not pass sudo to the remote machine, that would just run the script on my local machine with root priv [17:40] but again, if you leave your terminal open and you have NOPASSWD set, you have a problem [17:40] that what I mean having no sudo password is a bad idea on 8 servers [17:41] ssh server sudo /run/this/script.sh [17:41] but then, without NOPASSWD you'll have to type your password for each server [17:41] the problem is not really entering the password 8 time but I have to remember 8 password as each server has it own pasword [17:42] I guess landscape is the only way [17:42] erm - your user account has different passwords on each server? [17:42] the sudo users does [17:42] sudo uses your password, not the root password [17:42] sudo uses the password of anyone in the sudo group [17:42] why don't you allow your own account sudo access? [17:42] that's the whole point of sudo [17:42] no common password [17:43] I do but I have 8 different passwords, one for each server [17:43] why? [17:43] I cant have them the same incase I have to get the password to somewhere to do something for me === cs278| is now known as cs278|work [17:43] give* [17:43] using sudo correctly you never have to give your password away [17:44] just allow a user to do this and that as another user [17:44] * RoyK^ NEVER gives his password away [17:45] then point is I cant have any passwords the same on any system as it is policy [17:45] erm [17:45] why aren't you using a central password database? [17:45] like ldap or even nis? [17:45] if i'm ill or something at least this way i can give someone 1 password then change it later, the worst they can do then is mess only 1 server up [17:46] they are 8 server for different companies [17:46] they all have different users [17:46] I admin them all [17:46] well, NOPASSWD won't hurt [17:47] or setup cron-apt or something and let the systems do the updates themselves [17:47] I can't have an account with no password, so a sudo with no password would loose me my job in about 10sec [17:48] I think when we do the upgrade to the OSs I'll have to change to a real enterprise linux [17:49] heh - you use ssh keys to get in and then nopasswd with sudo to login as root. nobody can get in unless they have your password for your computer [17:49] yeah but if anyone see that I have an account with no password I'll get fired [17:49] or $150 per server per year for landscape [17:49] you can't do all with landscape, though [17:50] "real" enterprise linux? [17:50] like redhat? [17:50] ubuntu is just as "enterprise" as redhat is [17:50] and if you can afford redhat, you can afford landscape [17:50] it's not an account with no password [17:50] ubuntu server lacks many things redhat have [17:50] give me an example, please [17:50] I like ubuntu very much, but lately I've been think it just not enterpise ready [17:51] well push update [17:51] landscape? [17:51] that would increase the cost of the servers [17:51] I'm with Xbert on that one. I like Ubuntu far more than RedHat, but RedHat is more stable (at least for the things I need) [17:52] it costs less than redhat and works well with our system with some 30 ubuntu boxes [17:52] the reason we use linux is cost [17:52] yeah but we have redhat support already [17:52] Xbert: redhat costs more than a landscape subscribtion [17:52] per server [17:52] alvin: more stable ????? [17:52] I think even if linux cost as much as windows, we'd still use linux [17:52] but that is another cost on top of that [17:53] RoyK^: Absolutey. Do you want examples? [17:53] please [17:53] upstart for a start, that is so buggy [17:53] give me a moment. I have written them down [17:53] yes, upstart is the worst by far [17:53] grub 2 [17:53] that quite bad too [17:53] Xbert: redhat costs like $350 per server per year, landscape $150, and redhat alone doesn't allow for push updates, for that you need an extra product [17:54] yeah but we have redhat support already, I look for away to no add more yearly cost [17:54] what's so bad about it? [17:54] grub 2 is a mess [17:54] it fails to find kernals [17:54] and is a nightmare to edit manually [17:56] for those 30 ubuntu machines we have, I haven't seen such problems. Is that just me? [17:56] grub 2 should not be called grub, it nothing like grub 1 so much so it shouldnt be a new app altogether [17:56] grub2 is not in use on ubuntu LTS [17:56] and you should use LTS on servers [17:57] it included in server 9.10 and 10.4 [17:57] Xbert: when you say "update", you mean configuration etc.? [17:57] package update [17:57] 9.10 is not LTS and 10.4 is in beta1 [17:57] they will not remove grub 2 from 10,4 [17:58] not now [17:58] its a feature they market [17:58] 9.10 also doesn't use grub2 [17:59] not on this server I just checked [17:59] 9.10 does use grub2 - but only on new installs (no prev. grub) [17:59] ok [17:59] I don't want to sound like i don't like ubuntu, I do, alot, its just ot not reasdy for servers, it as ready for the server as fedor is [17:59] RoyK^: I've written a post about it. https://lists.ubuntu.com/archives/ubuntu-server/2009-December/003574.html Since then, we have taken Canonical support, and I will now start feeding them some of these problems. (Yes, grub2 is buggy. I have servers that sometimes can't find their root device, resulting in 80% failed boots. Other HDD and reinstall does not work. Older Ubuntu does.) [17:59] this one was upgraded [17:59] I have avoided grub2 yet - and am glad so far ... [17:59] yes grub 2 is in server 9.10 [17:59] i have it running right next to me [18:00] and it will be in 10.4 server too [18:00] alvin: that's bad... [18:00] which is a bad move [18:00] perhaps upgrading to 10.4 will have to wait [18:00] Last I heard Grub 2 was only for new installs [18:00] It's bug 360378 [18:00] Launchpad bug 360378 in linux "Gave up waiting for root device after upgrade then busybox console" [High,Confirmed] https://launchpad.net/bugs/360378 [18:00] no idea why anyone thinks grub to is ready or any good tbh [18:01] brug 2 * [18:01] i don't know but yes i have new installs of 9.10 all running grub 2 [18:02] 9.10 used grub2 if no previous grub was present ... [18:02] i upgraded my laptop to 9.10 and i think it still has 1 yes [18:02] yeah that sounds right [18:02] Debian lets you choose 1 or 2. [18:02] It's not on all servers. That would create an outrage. But I have the error on 4 different servers. I just keep rebooting as workaround. [18:03] alvin, i have had the same problem 3 time on 1 system in 3 differnet reinstalls [18:03] * ScottK didn't have any problems so far. [18:03] hehe, yeah i did the reboot dance for a while too [18:03] Then please add a 'me too' on Launchpad [18:04] but then after a kernal upgrade it never found the new kernal and I try for an hour to work out how to manually edit grub2 menu and gave up confused as hell [18:04] the jump to grub2 in 9.10 was premature, but hopefully they will round out the features for 10.04 [18:05] The cause of the bug is still unclear, but I'm using LVM on all servers. Could be a combination of grub2+lvm+something else. Anyway, it's nothing beyond a standard install. [18:05] qman__, the bugs are still there in 10.4 beta 1 [18:05] * alvin facepalm [18:05] something like that normally get fixed before beta or never [18:05] In that case, I really have to test the beta some of these days [18:06] I reported it (a duplicate) while Karmic was in RC [18:06] alvin, I had it on both lvm and no lvm systems [18:06] Lack of pre-release testing is generally a problem for Ubuntu Server because server people are a lot less willing to run pre-release stuff than Desktop people in general. [18:06] Oh, so it's not lvm then [18:06] still [18:06] So please test. [18:06] 8.04 LTS works like a dream [18:06] That could very well be correct [18:06] ScottK, yeah i get that, I am running 10.4 at home for my servers OS [18:06] Great. [18:07] but I really cant see me staying with ubuntu server professionally for a few more years [18:07] alvin: and what other version will you be using than an LTS version for servers? [18:07] well, use windows [18:07] or just get lost [18:07] no need for more trolling [18:07] so why get nasty? [18:07] RoyK^: please keep it civil [18:08] I'm not, Im expressing my feeling on the matter [18:08] RoyK^: Hey, hardy is LTS, but KVM guests kept crashing. At least that was fixed in Karmic. We had to move [18:08] Xbert: have you even tried 8.04 LTS? [18:08] I rather like karmic, I think it's a net gain [18:08] and if they can fix the bugs for 10.04 it'll be nice [18:08] yeah I have been running ubuntu server for a few years and every version has show stopping bugs for a server [18:09] That's a yes. Tested Hardy, Jaunty and Karmic for weeks. This involved a lot of bug triaging. I don't think I was being counter-productive. [18:09] I want newer version of samba on a updated OS, not messing with backports and manual installs [18:10] Xbert: What about just removing Grub2 and installing Grub1? Testing that? [18:11] I cant risk the down time if it goes wrong, and I don't want to take anymore time setting up new servers and hacking on them out of the box [18:11] removing grub2 and installing grub1 on a fresh karmic install is more work than it should be, it's faster to install 9.04 and upgrade [18:11] I have to have a explainable install procedure, I cant link to some wiki page and say do this, hehe [18:12] I really think it should be an option in the installer [18:12] with grub2 as default [18:12] alvin: how does kvm scale, really? [18:12] qman__, yes i agree [18:12] I compare ubuntu server to fedora, it a testing ground atm [18:13] RoyK^: What do you mean by scale? [18:13] I really hate fedora [18:13] I hope it become more enterprise friendly soon [18:13] * RoyK^ pats qman__ [18:13] I'd use slackware or BSD over fedora any day [18:13] qman__, i've never got it running correct on any install i tried, so ubuntu wins the desktop for sure [18:14] alvin: does it support guest smp? does it allow for failover to other hosts? how about overhead? [18:14] Oh, it does support guest SMP, and live migration (but that last one is buggy and crashed libvirt. If I'm not mistaken, it's an apparmor thing) [18:15] We want to use it for one physical server, and one spare. The server will run about 8 virtual machines. Now, I bring them down and migrate offline. [18:15] qman__: no room for hate here surely? [18:15] sherr, hate is probably too strong a word, but fedora has caused me so many problems [18:15] Disagreements of course :-) [18:15] KVM is evolving very fast [18:15] I refuse to use it on any of my stuff [18:15] I don't like fedora to use but they give a lot back to all upstream so I good its there [18:16] qman__: me too. A long time ago - but it is a very important dist. [18:16] alvin: did you file a bug on the live migration crashing libvirt? [18:16] sherr, agreed [18:16] sbeattie: There is one [18:17] it's be nice to see a fancy gui fronting kvm [18:17] alvin: okay. jdstrand has been pretty good about trying to fix up any issues like that. [18:17] has anyone even tried to edit a grub 2 menu? [18:18] Xbert: I haven't - but reading, it appears straightforward [18:18] sbeattie: It's very well possible it's fixed. I just don't like testing those things on production machines. I'm currently preparing some test machines. [18:18] Xbert: I don';t like config in /etc - prefer /boot [18:18] changing any grub2 configuration is a real trip [18:18] I'm confused to even why they changed from 1, I see no reason to change [18:18] sherr: does it really matter where the config lies? [18:18] it 'just works' a lot better than grub1 could [18:18] but you're SOL if you need something custom [18:19] sherr, I'll have to re-read the doc on it, I was confused as hell [18:19] Xbert: If I have >2 OS's to boot, I forget which one has the config for Grub. I have to boot into it to edit it or keep them sync'd? [18:19] erm [18:19] yes [18:19] I can more easily share /boot [18:19] sbeattie: Got it, bug 461528 it's fixed by jdstrand. Now I really have to try this again. [18:19] Launchpad bug 461528 in libvirt "apparmor blocks migration" [Medium,Fix released] https://launchpad.net/bugs/461528 [18:19] I just wanted to add some switch to the kernal, I could make the changes stay [18:20] couldnt [18:20] Mind you, maybe I am not the target audience and the plain fact is - Grub1 is unmaintained. Grub2 will get better. [18:20] I assumed the install that installed grub had the configs [18:20] alvin: cool, it'd be great when you get a chance (and test machines set up again) to give it a go again. Thanks! [18:21] sherr: heh - then better stay at grub1 until grub2 is fixed :D [18:21] grub 1 is unmaintained really? [18:22] perhaps it doesn't need much maintenance :) [18:22] No, it says here it's in main [18:22] why are they still updates being released for grub then? [18:24] Xbert: I recall readng that it is not going to be developed further - no develpers want to work on it. Moved to Grub2. [18:24] Maybe still getting some updates e.g. security [18:25] yeah I guess, grub 2 seems like a big jump for a distro at this point tho, but I guess the more uses it gets the better it gets, just never fast enough [18:28] * RoyK^ is sceptical === RoyK^ is now known as RoyK [18:49] can I become root after I open nano? because I forgot to type sudo nano I just typed nano [18:50] No [18:50] <_ruben> safe the file in a place you do have write rights, then sudo mv it to the proper place [18:50] <_ruben> s/safe/save/ [18:50] ok thank you I'll do that :) [18:53] does ubuntu server have gui [18:53] Caspa no [18:53] awesome [18:53] but you can add a web gui like landscape [18:54] or webmin which is free [18:54] hello [18:54] someone know UEC well? [18:54] landscape isn't free [18:56] what is UEC? [18:56] Ubuntu Enterprise Cloud [18:56] !webmin [18:56] 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. [18:57] ubottu your kidding :( when did that happen? [18:57] Error: I am only a bot, please don't think I'm intelligent :) [18:57] metalf8801, webmin has been unsupported since about 6.10 [18:57] very long time [18:58] I have it running on Ubuntu server 9.04 [18:58] metalf8801: people here seem to point people to ebox [18:58] Looks quite good for web server config and admin (Ubuntu based I think) [18:58] I just had to add the webmin ppa [19:00] I guess I should give ebox another try or pay for landscape but sins I'm just using it at home right now its hard to justify the cost [19:00] there is a ppa for webmin? [19:00] I just use SSH [19:00] solves the problem [19:01] i just untared the tar and ran ./install.sh [19:01] webmin allow you to update from the GUI [19:01] lol @ubottu [19:02] sudo apt-get update && sudo apt-get dist-upgrade -y [19:02] pretty simple [19:03] (next, he'll tell you that XDMCp is unsupported as well, and that we should use some experimental form of RDP) [19:03] let's test that theory [19:03] !xdmcp [19:03] xdmcp is the X Display Manger Control Protocol -- look at http://tldp.org/HOWTO/XDMCP-HOWTO/ to find out how to configure it [19:04] Last revision 2007, but so farm so good. We're still safe. [19:04] interesting that it doesn't link to an ubuntu doc [19:04] 7.04 [19:04] pretty outdated [19:05] no way it'll work for current releases [19:05] everything has changed [19:06] Actually, I was half serious. I'm using Kubuntu as clients, so I'm not affected, but Ubuntu has lost support for choosing an XDMCP session in GDM. There are other methods of course. XDMCP is still working and TLDP can even be clustered these days. (Another thing I really have to try) [19:07] ah, so it's a change in GDM [19:07] Yes, not X [19:07] I remember trying to set it up back on 6.10, but XDMCP wasn't compiled with SSH support [19:07] in the package [19:07] I would have had to compile it myself [19:08] What I still like to find out is how we can send those nifty new X transparancy, wobbly, shiny bling over XDMCP [19:08] interesting thought [19:08] Oh, I'm only using it the old-fashioned way. Enable it, connect. No need for addd security on a local network. [19:09] it would require client-side hardware acceleration to be worthwhile [19:09] but does XDMCP run the theme manager server side or client side? [19:09] Off course it would [19:09] Well, server side I think. [19:09] Server as in the traditional sense. Not in the X sense, because that's the other way around. [19:10] yeah [19:10] I have to turn that fancy stuff off anyway though [19:10] for some reason it always memory leaks [19:10] Intel card? [19:11] usually run out of RAM in two weeks [19:11] nvidia [19:11] I'm faster. I only have to start Akonadi for that. Bam, instant out of memory [19:12] hah [19:12] well, transparency is nice, but it's not worth having my desktop crash every 10-14 days [19:12] That's thinking like a Linux user :-) with uptime of x days [19:15] Either I'm becoming old, or I have become more experienced finding bugs, or Ubuntu is too bleeding edge. I've been asking myself that question for about a year now. [19:16] For the record, it's probably not Ubuntu. [19:17] I'm a bit old fashioned, don't know what I'm going to do about my desktop for 10.04 [19:17] really don't like all this "2.0" UI mentality [19:19] If only it where that simple. Upstart, grub2, Akonadi,... they all bring very interesting features and even solutions for long standing problems. It's only the instability that is very irritating. I'm beginning to feel like a Windows user. [19:20] at least those changes have good reason and improvements to come [19:20] I like the faster boot times upstart gives [19:20] Yes, one day we'll be very happy with them [19:21] Also, no troubles with ordering scripts. (And yet, that is the main problem of upstart now) [19:27] hi... anyone knows where I can find documentation to create a local Ubuntu One/Dropbox ? [19:28] jeffesquivel: The Ubuntu One server code is not open source [19:28] ScottK, I know... [19:28] ScottK, I want to implement something like it using other tools [19:29] ScottK, the thing is that I have several computers I would like to keep in sync, but they have a lot of files... it would be painful to do it through the Internet... I really prefer doing it on my LAN [19:29] A real-time rsync? [19:29] alvin, yeah, something like that [19:29] I read about unison [19:29] but as far as I can tell it is not real-time either [19:29] Tricky. It sounds like you could use a fileserver [19:29] It's not real time [19:29] alvin, yep, I do have a file server [19:29] 2776 root 20 0 419m 102m 19m R 94 5.2 86:12.11 Xorg [19:29] alvin, let me explain [19:30] ok [19:30] for what reason is Xorg using 94% cpu [19:30] alvin, I have several desktops and a laptop and a netbook [19:30] I'd say: Intel drivers, or those shiny effects we were talking about :-) [19:30] alvin, I would like to be able to work on any of them and, for example, download some music or some important document [19:30] alvin, and then, that info should be sync to the others once they are available [19:31] alvin, that way if I take the netbook or the laptop on the road [19:31] alvin, I still can get to my music and stuff (because I have a local copy) [19:31] Ah, but there is an old method fot that. Maybe not perfect, but we'll get to that. [19:31] alvin, I know about VPN... but internet connection is not always possible or extremely slow [19:32] For local use, you can use share /home on NFS. For the notebook, rsync (or unison - it is used for things like that) [19:33] I'm using dropbox for some things, and rsync for the rest. (And also shares /home at home) [19:33] alvin, hmm... yeah, what I would have to do is run rsync periodically... which is what I thought... but wanted to know if someone knew of a better way to do it (something that synced immediately, like dropbox, he he) [19:34] alvin, one other question... why do you prefer NFS over any of the other networked FS? [19:34] jeffesquivel: Simple. It's the default Unix/Linux method for sharing [19:36] Let's see what ubottu says about it. If it says 'samba' I'll scream. [19:36] !NFS [19:36] nfs is the network file system. See https://help.ubuntu.com/community/SettingUpNFSHowTo for information on installing and configuring NFS. [19:36] alvin, ok... I've read that NFS can sometimes give you issues with lock files or something like that... (I remember reading "NFS safe" as a feature for some apps)... have you ever have any problem with something like it? [19:36] ok, network file system. We're safe [19:36] how do i make Xorg stop using 99% CPU and sending my temps over 95C [19:36] Oh, that's true. Especially when using databases (Akonadi...) [19:36] Samba has the same problems. For that reason, there's NFSv4 [19:37] jeffesquivel: Never used it but the Tahoe-LAFS filesystem might be worth a look : [19:37] http://allmydata.org/trac/tahoe-lafs [19:37] You can put your shared /home on an NFS server and use it with Kubuntu/akonadi [19:38] anyone have any suggestions for good solid external drives for backing up to? [19:39] dinger1986: external drives are the same as internal drives, just with a case around them. are you asking what cases are good? [19:40] zroysch: yeh, need ones for backing up servers to [19:40] does the server have no more room for drives or something [19:40] would it be better buying server drives and put them into an external case? [19:41] I got a cheap solution from sans digital. its a 2 drive enclosure in raid1 [19:41] the server has space but its for doing backups to which can be taken offsite [19:41] its usb, so kinda slow [19:41] but does the job [19:41] usb would be fine [19:42] sherr, seems interesting that tahoe-LAFS [19:42] any brand best? [19:42] i dont use many external drives, but this sans digital has been working for 2-3yrs [19:42] Yes, interesting indeed. But, how do you pronounce it :-) [19:42] has an interface that tells you when the drives/fans fail etc [19:42] runs on windows, not sure about linux servers [19:43] alvin, sherr: have you considered a cluster filesystem? but first, let me check if that makes sense at all ;) [19:44] ok thats cool, only issue is im in the uk so will need to check if i can get it over here [19:44] Tahoe-stuff looks interesting, but big. What's the speed of that stuff for local use? [19:45] if not im sure you can find something comparable. i'd opt for a raid situation so you have 2 copies of the backup at all times, in case one of the drive fails. [19:45] good luck [19:46] I (well, a company I work for) wanted a spare system. We bought 2 SUN servers and 2 SANs. A commercial application (PresStore) is doing the sync. (not real-time) You can easily do things like that with open source I think. [19:47] Isn't a cluster file system over the top to keep a notebook in sync? [19:48] alvin, I don't know... may be... but still would like to at least research the possibility... :-) [19:48] jeffesquivel: If you do, post your story on Slashdot [19:49] jeffesquivel, he he... I haven't read /. for years now... [19:49] I have met people from a company that made backups by breaking RAID-1. break RAID, put disk away, put in new disk,... So, yes, you can use some technologies where it's not meant to be used. [19:50] alvin, actually, I was thinking something like that... I know there is a tool called like nrbd or something like that [19:50] alvin, that is supposed to behave as a "networked RAID 1" [19:51] I shouldn't be saying stuff like that... [19:51] I know that exists, but what's the performance? [19:51] I think for mirroring /home, you need quite a bit these days with all databases running in the background. [19:52] Nepomuk, Akonadi, strigi,.. [19:52] alvin, yeap, that's what I would research about... he he... it is probably not worth it [19:52] Databases are troublesome for syncs [19:52] alvin, but may work for some other similar situation in the future... [19:53] Even normal files. I tried to sync kjots (a note taking application) by using Dropbox. This fails most of the time. [19:53] New bug: #551617 in apache2 (main) "/doc/ shows entire /usr/share/doc, not apache doc" [Medium,Invalid] https://launchpad.net/bugs/551617 [19:53] alvin, hmm... is kjots similar to tomboy ? [19:53] alvin, because I think you can sync you tomboy notes through Ubuntu One [19:53] Maybe, it stores 'books' in files. Each book can have pages [19:54] I've heard about that. Well, kjots will soon move to akonadi, so I wonder what will happen then. [19:54] I think we need to put those things centralised. Databases belong on a server. [19:55] alvin, yeap... in tomboy they are named "notebooks" and notebooks have notes [19:55] he he [19:55] There is someone doing a KDE cloud project meant to link all those kinds of things together. Not sure if it's working or not yet. [19:56] Hmmm [19:57] I can't believe no one has thought of doing a FLOSS Dropbox-like project [19:57] it is so useful... he he [19:57] or at least it would be so useful for me ;) [19:57] You can also put your files in a git repo [19:58] alvin, never used git... it is something like subversion, right? let me STFW... [19:58] yes [19:59] There is a project that puts /etc in it. Also, to share between servers if I'm not mistaken [20:02] New bug: #552126 in postfix (main) "package postfix 2.6.5-3 failed to install/upgrade: alamprotsess installed post-installation script tagastas lõpetamisel veakoodi 75" [Undecided,New] https://launchpad.net/bugs/552126 [20:04] wow... didn't know the kernel team had stopped using bitkeeper [20:04] It was big news [20:04] I remember the controversy because of it not being OSS... [20:04] hi all. is there a quick way I can get sshd to email me when someone logs on. ie. session opened for user [20:04] * ScottK considers updating postfix to uninstall if you feed it an invalid hostname (the source of ^^^). If you aren't smart enough to use a proper hostname, you aren't smart enough to run postfix. [20:04] alvin, yeah... I was away from the news for quite sometime... he hehe [20:05] alvin, mostly working on non-linux related stuff... [20:11] alvin, do you know if Linus Torvalds created git because of the controversy of bitkeeper not being OSS or just because he felt they needed something better? [20:11] funny, i was just about to ask about git on ubuntu [20:12] jeffesquivel: I don't think you missed much. He created it because something in the license of bitkeeper changed [20:12] i did apt-get install git, which installed gnuit and something else, but 'git' isn't found when i try to use it [20:12] alvin, I see... [20:12] i thought he created it it keep track of linux kernel development? [20:12] That is its purpose [20:13] how do i use it on ubuntu jaunty? [20:13] Off course, Linus made git better than everything he used before, so that's why it's so popular now [20:13] !git [20:13] Git is a distributed revision control/software code management project created by Linus Torvalds. For more information, see http://en.wikipedia.org/wiki/Git_(software) [20:14] git is provided by git-core [20:15] gnuit is something else (git is a virtual package that installs gnuit) [20:15] New bug: #371875 in kvm (main) "kvm 1:84+dfsg-0ubuntu11 lacking vde support (dup-of: 253230)" [Undecided,Invalid] https://launchpad.net/bugs/371875 [20:18] alvin, hmm... but I don't think git is what I need... I actually don't care much about the version support of Dropbox (I have backups for that ;)... I mean is a nice feature, but I prefer the auto-sync better... he he [20:21] Let's ask ubottu [20:22] !autosync [20:22] !dropbox [20:24] Hey I was playing with server redundancy with 2 nics, and ran into a weird issue. If anyone recognizes this pls let me know. http://dpaste.de/OowB/ [20:32] Hypnoz, you want redundancy in case of a switch failure? [20:33] yeah [20:33] Hypnoz, hmm... then link aggregation is not an option... unless you have fancy switchs which can behave as one virtual switch [20:34] Hypnoz, link aggregation is nicer because it also provides increased bandwidth... but both ethernet ports need to be on the same virtual switch [20:34] virtual switch? not familiar with that [20:35] Hypnoz, I know this doesn't addresses your current issue... but may be a better way to do what you want to do... he he [20:35] Hypnoz, http://en.wikipedia.org/wiki/Link_aggregation [20:35] this is for a new DC not in production yet, trying to set up some redundancy on a budget [20:35] Hypnoz, specially http://en.wikipedia.org/wiki/Link_aggregation#Single_switch [20:36] Hypnoz, IIRC, Linux supports link aggregation natively... [20:37] I'll browse the article. Right now I have the server with two IP's both in the same subnet, and was going to put both IP's in the load balancer [20:37] so if one goes down, the LB sees that and takes that link down [20:37] but LB is taking both links down sometimes, when only one link went away [20:39] Hypnoz, is your LB a hardware device? [20:39] i'm hating ldap [20:39] really [20:40] ScottK: heh [20:41] jeffesquivel: yeah an F5 [20:43] Hypnoz, I have never used one of those [20:44] Hypnoz, down here is difficult/expensive to get cool devices... we usually try to do as much as possible in software (with FLOSS, preferably ;) ) [20:45] jeffesquivel: where is "down here" [20:45] Hypnoz, Costa Rica [20:46] yeah I could see how it might cost more for network gear there than in california [20:46] Hypnoz, yep [20:47] Hypnoz, anyway... I think you can do what you want through link aggregation... basically you have to NICs that behave as one... you get twice the bandwidth and if one link fails the other is still used [20:47] s/to NICs/two NICs/ [20:48] jeffesquivel: ya I may look into virtual switch, and bond0 for my two eth adapters, it will be more inital config and learning, but sounds faster and more stable and redundant in the end [20:49] Hypnoz, yes [20:51] brb === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [21:01] How do I ask ubottu a question? [21:01] /msg ? [21:02] Well, that was resourceful [21:02] Anyone here using zsh on Ubuntu Server? How would I go about installing and configuring it [21:02] !askthebot | GhostFreeman [21:02] GhostFreeman: Please investigate with me only with "/msg ubottu Bot" or in #ubuntu-bots. Search for factoids with "/msg ubottu !search factoid". === guntbert is now known as whoelse [21:10] soren, are you around ? [21:10] smoser: MAybe. [21:10] what does [21:10] logging.debug("Preventing daemons from starting") [21:10] self.prevent_daemons_starting() [21:10] Am I in troube? [21:10] do ? [21:10] trouble. [21:10] Uh.. [21:11] echoes some stuff to the debug log and calls a method? [21:11] as i understand all it does is put a script in /usr/sbin/policy-rc.d [21:11] Not anymore. [21:11] of the target [21:11] It also diverts initctl nowadays. [21:11] oh. i am looking at 0.11 [21:11] ok. [21:11] Then... uh... Yes, you're probably right. [21:12] but am I right that it just puts that there, and then somehow things are supposed to run through that ? === whoelse is now known as guntbert [21:12] Not exactly. [21:12] postinst scripts (well-behaved ones) call invoke-rc.d to start stuff. [21:12] ..invoke-rc.d respects policy-rd.d [21:12] ok. [21:13] so, i'm guessing then that apache and postgres aren't well behaved... or maybe osmehting else got them started. [21:13] in hardy [21:13] pass === endkill is now known as ubuntu-virt === ubuntu-virt is now known as endkill [22:00] RoAkSoAx, hi... are you part of the HA Team? [22:01] jeffesquivel, yes I am [22:02] RoAkSoAx, great... is there a specific channel for contributing to HA? [22:03] RoAkSoAx, I've been asked to give a conference about HA at the FLISOL (latin american install fest day) and may be I can create some documentation or something that may be useful... [22:03] jeffesquivel, in ubuntu we usually idle at #ubuntu-ha, but if you are interested in contributing upstream you should check #linux-ha and #linux-cluster [22:03] (plus I will probably need some help from team members ;-) ) [22:03] jeffesquivel, i know what that Is and I've also gave conference in the flisol about HA :P [22:04] last year [22:04] damn! I should really try to enter the obvious channel before asking and looking like a fool, he he ;-) [22:05] RoAkSoAx, really? is your material licensed under CC or similar? can I use it? [22:05] RoAkSoAx, I'm in Costa Rica, btw... where did you gave your conference? [22:05] jeffesquivel, you sure can but i'll have to search for it since I don't really know where in all my files it is. Just drop me an email reminding me [22:07] RoAkSoAx, ok, thank you very much! [22:08] jeffesquivel, no prob [23:23] lamont, ping === dendrobates is now known as dendro-afk [23:33] sherr, tahoe-lafs is already in ubuntu [23:47] kirkland, ping? [23:49] can somebody help me with this comand, i get an error: sudo mount -t cifs -o username=xxxx,password=xxx //192.168.1.106/DRG/"D"/My Documents/Charts /home/rgotten/charts.windows [23:56] Rafael_, can you log into that share with that username and password using smbclient? [23:57] Rafael_, just in case... have you tried changing the order of the parameters as in the man page [23:57] jeffesquivel: i am new to all this and i was trying to create a mount point..my i ask you what you mean? [23:57] Rafael_, ok... first try this: [23:58] sudo mount -t cifs //192.168.1.106/DRG/"D"/My Documents/Charts /home/rgotten/charts.windows -o username=xxxx,password=xxx [23:58] Rafael_, I think that is the correct order for the parameters... at least the official one === dendro-afk is now known as dendrobates [23:59] jeffesquivel: ok let me try