[00:01] I don't see why [00:02] Admittedly I've never tried it with a dynamic IP on the hub. [00:16] kees: go ahead and publich eucalyptus, all is good [00:29] hggdh: thanks [01:11] Can anyone easily tell me when mountall-varrun.conf was added to lucid? [01:11] That is, /etc/init/mountall-varrun.conf [01:12] hello, I know ubuntu-cloud require's 2 server's to run, Does it require them to be in the same location? I am asking becouse I am looking at renting some rackspace from a company, and i would rather have only one server there [01:12] Hmm, changelog claims mountall 2.0 [01:20] timholum1, 3 as far as I know :) [01:20] I dunno the real names, but, a director, a storage node, and a machine node [01:21] patdk-lap: I thought I read someware basicly just a management node, and a machine node [01:22] cluster controller, storage controller, and node controllers [01:22] your missing the storage node then that actually has the harddrives [01:22] but in the example you where reading they might of loaded both of them onto the same machine [01:23] ahh, ok. hmm I might have to look at a different option then :( === jjohansen is now known as jj-afk [01:23] maybe install xen or kvm and find a web interface that can manage them [01:24] ya, looks like the smallest setup is two machines [01:24] one runs everything, except the node controller [01:24] so that means the cluster controller also has the storage controller on it [01:24] and I suppose that would not be the best performance over the net :) [01:25] depends :) [01:25] ( internet not network :) ) [01:25] oh defently not :) [01:25] ya, I am defenetly going to have to look into a solution all in one box [01:27] my current budget for the project is about $3k and the solution has to be rackmounted in less then 2U's [01:27] heh, you can get 4 systems in a 2u case [01:27] but your talking about 12-20k [01:28] I guess you might be able to find a dual system case somewhere [01:28] or just use 2 1u servers [01:28] :) ya if I had 12 - 20k I could build some awsome server's [01:29] ya, but then I am wasting about 1k on a server that is only going to manage the other one, [01:29] then your not building a cloud :) [01:30] I already have the server picked out I want :) dual 8 core amd opteron with 32G of ram :) [01:30] a cloud has several nodes, plus one or more that checks that the nodes work, and failover them as needed [01:30] well it does not have to be a cloud persay, just a machine that has the ability to run vm's [01:30] :) [01:30] well, just install kvm :) [01:30] Citrix Xenserver would actuly meet all of my requirements [01:30] xen is slow :( [01:31] buy ya I am leaning tword kvm as well [01:31] kvm is fast, just run through memory quick [01:31] I thought kvm was better with memory management then xen [01:31] it may be better at it, but it still can't overcommit [01:32] :( [01:32] xen has some limited overcommit support [01:32] O well over commit is not a deal braker at this point [01:32] atleast kvm has memory dedup, that helps alittle [01:33] I am mostly interested in performance [01:34] the server I want has 32G and is upgradable to 128G which is plenty for what I am going to be running [01:35] hi guys, i have a ubuntu server 10.04 installed running tomcat and postgres, and sometimes the network hang up, cannot ping, it's not acessible at all [01:35] remember, your are unlikely to ever upgrade it past half of what it is able to do [01:35] due to memory pricing of the largest density ram being ungodly expensive, and well, replaced with something else quickly [01:35] I am going to be running 1-2 email server 1-2 asterisk server and 4 -6 lamp servers [01:36] hmm, I wonder how asterisk works in a vm these days [01:36] works great [01:36] I did not like it at all, a few years ago, only raw hardware [01:36] I am using voip.ms as a phone provider [01:36] so they have the tie in with the phone system [01:37] I just set up an IAX channel to them [01:38] my virtual server ( through rackspace cloud ) version of asterisk actuly sounds better then my in house one [01:39] my in house one is running asterisk 1.4 and my cloud one is running 1.8 so that is probably why [01:39] hi guys, i have a ubuntu server 10.04 installed running tomcat and postgres, and sometimes the network hang up, cannot ping, it's not acessible at all [01:41] lucasreborn: have you tested your nic and switch? [01:41] yeah [01:41] separetely i have another fileserver, and a another firewall [01:42] it's just my webserver [01:42] i need to do networking restart every time; [01:42] hmm [01:42] sometimes appear at the console: error in task cp:"pid", task blocked for 120 seconds, or something like this [01:43] it's so randomly [01:44] what would be your test? [01:44] when it happens how much free memory do you have? [01:45] and how close to full is your disk? [01:45] my disk usage is 8%, i have a NFS server with all data, using ~5% atm [01:45] i have 8gb, most of time, have 1gb free. [01:47] i fix doing a networking restart, have something to do about memory? [01:48] I have just seen used up memory and used up disk space do some weired errors before [01:48] and unfortuanatly I have never run tomcat or postgresql. [01:49] plus 95% of my servers are centos, I just came in this room to research ubuntu-cloud [01:49] what you mean "testing nic or switch"? [01:49] i mean, how to do a good testing? [01:50] I would personaly go into /var/log and poke around in the log files, look for things around the same time that your network went donw [01:51] I would also run memtest and a hardrive test on the system, just to eliminate bad hardware ( which can cause a ton of weired issues ) [01:51] for memtest and a bunch of hardrive tests google for ultimate boot cd [01:51] [23:49] what you mean "testing nic or switch"? [23:49] i mean, how to do a good testing [01:53] the switch does not apper to be the culprate due to you having other systems on that same switch that do not go down [01:53] on the nic, if I susspect a bad nic, I just replace it and see if it fixes the issue [01:54] it's a Dell PowerEdge server nic. [01:54] wth. [01:55] most dell poweredge servers have 2 ports on the back, I would try to plug in your nic to the second one, [01:55] make sure to set the same ip to it [01:57] If I remember back a while correctly, I think I ran into an issue once on one of my ubuntu desktop's that I set a static ip in after a dynamic ip that the route would keep getting erased on me. [01:58] lucasreborn_: that "task blocked for 120 seconds" stuff is usually caused by disk problems [01:58] lucasreborn_: though, are you using NFS? [02:01] i'm using NFS to store website data [02:01] it's a problem? [02:02] a disk problem could cause the server freezes up completely, but needing just a networking restart to get it all working back again? [02:03] this server was runnning about 15 days without problem, and problems appeared when both disks was full, but i did a clean install now, and the problem persists [02:07] lucasreborn_: right, so NFS issues that are solved by a networking restart would also cause that 120 seconds error [02:07] but it's not a nfs issue. [02:08] the cp isn't touching any NFS mounts? [02:11] no, i don't run a cp task [02:11] the nfs mount is dedicated to tomcat, reading and writing. [02:12] lucasreborn_: ok.. either way.. I'd suspect NFS problems due to network problems [02:12] ok [02:12] lucasreborn_: are you hooked up to a switch with auto-sense for the port speed? [02:12] i'll umount the nfs filesystem, and work a bit without him [02:13] yeah, a crappy dlink des 1008d [02:13] i'm just the trainee.. [02:14] lucasreborn_: sometimes autosense fails with nicer switches.. it can help to specify the exact speed you want [02:14] I've always found that odd, but cheap switches seem to do a better job of autosensing [02:15] is NFS mounted -ohard or -ointr? [02:16] i don't have the exact mount cfg [02:17] i will try to verify from here [02:17] i'm at home [02:17] i think is intr [02:17] how to specify port speed? [02:17] it's a gigabit nic connected to a fast nic [02:17] maybe that difference is causing the freeze [02:19] lucasreborn_: pastebin the contents of /proc/mounts and /etc/nsswitch.conf on the client. [02:25] guys [02:25] thanks for helpinh [02:25] here are the logs [02:26] http://paste.ubuntu.com/544256/ [02:30] are you there guys? [02:31] hello [02:32] I have a little question [02:32] lucasreborn_: sorry we're all kind of in and out between other tasks. [02:32] who could help me [02:33] william_a: just ask, sometimes it takes people a while to respond [02:33] i'll be here waiting, ok? just don't forget [02:35] lucasreborn_: just looking at your paste.. it does look like the link is dying [02:36] I'm running my ubuntu server 9.10 without monitor. Sometimes when I want to look what happen, I need to plug the monitor. But after the monitor plugged, it shows blank screen. It works if I restart the server with the monitor attached. Maybe some configuration I missed? [02:38] lucasreborn_: did you try just putting a new cat5e cable in? [02:38] lucasreborn_: I'd try ethtool -s eth0 speed 100 duplex full [02:39] if it stops dropping, then you'll want to run that on ifup [02:41] ooo mysql 5.5 GA!! [02:42] lucasreborn_: I'm off ... good luck [02:47] There must be a better way than that [02:47] ip link set maybe [02:49] hmm [02:49] any other suggestions? [02:52] william [02:52] did you just try to press enter when you attach the monitor? [02:52] yes [02:52] enter [02:52] numlock [02:52] everything [02:53] hmm [02:53] i don't know anything about server [02:53] i would boot my system with monitor attached and when needed reattach [02:53] this way the monitor is "pre-loaded [02:54] william_a: that's just how PC video works, you can't do anything about that. [02:55] it's a true server? [02:55] william_a: the BIOS is saying something like "hm, no monitor is plugged in. Therefore I will disable this video output." [02:55] i remember a option in bios postback video after resume, or something like this [02:55] It depends on the BIOS, of course. [02:56] indeed. [02:56] sorry guys for bad english [02:57] self taught [02:57] I remembered I can attach my monitor anytime with my older version of ubuntu [02:57] maybe it's different hardware [02:57] or a different driver/config [02:57] try to find in google [02:58] something that persists the driver loading etc. [03:01] can't stop mysql via 'sudo service mysql stop' and /var/log/mysql.err and mysql.log are empty. any idea about where i could start investigating the problem? [03:02] tried mysqld? [03:02] about twb reply, I'm thinking about dummy monitor that might cheat bios pretend that there is monitor plugged [03:02] or /etc/init.d/mysqld restart? [03:02] is there any? [03:02] sure there is (noob talking) [03:02] mysqld restart cant stop it too [03:03] william_a: that's called a KVM [03:03] Igoru: in ubuntu, log are stored in syslog [03:03] it tries to stop, fails. then tries to start, and says OK. [03:03] You can get a cheap four-port one for aroudn $20 [03:04] kvm.. it's software, right? [03:05] no [03:05] it's a hardware [03:05] you can manage multiple pc's with one mouse, keyboard and monitor. [03:05] it's a "switcher" [03:06] william_a i tried $ dmesg, but there's nothing about mysql there [03:06] igoru: try cat /etc/log/syslog | tail [03:07] william_a this file doesnt exist o_O [03:07] i'm running ubuntu desktop 9.10 [03:08] it's /var/log/syslog [03:08] I'm sorry, yes it's /var not /etc [03:08] thanks lucas [03:09] Dec 16 01:08:55 igoru-ubuntu kernel: [87939.007575] type=1503 audit(1292468935.492:68): operation="open" pid=25051 parent=25050 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/" [03:14] please [03:14] pastebin in http://paste.ubuntu.com the cat /var/log/syslog and /var/log/dmesg last lines. [03:15] william_a, the problem is not the monitor, it's the screen saver [03:16] if you are using a PS/2 keyboard, you have to have one plugged in while the system boots or it won't work [03:16] sorry lucasreborn_, http://paste.ubuntu.com/544268/ [03:16] the workaround is leaving it in all the time, or using a USB [03:17] qman_: the keyboard is plugged all the time [03:18] what sort of graphics hardware are you using? onboard/discrete, VGA/DVI/etc [03:18] it could be initializing the wrong connector or device [03:18] In the openvpn.conf file it says that the listen address is optional if i do not specify an address as the ubuntu server docs suggest what is the effect will it listen on all interfaces specifying an address becomes a problem when using dhcp [03:19] it's a PCI Express card VGA [03:19] set your dhcp to lease always the sampe IP [03:19] not sure about the brand [03:19] william_a, does your system also have onboard graphics? if so, make sure it's disabled [03:20] Igoru, these are all the lines? [03:20] also, does your keyboard's indicators light up with the numlock, capslock, scroll lock keys? [03:21] lucasreborn_ yeah... before those there are just repetitions, 'cos i tried the commands a couple of times [03:21] those line keep repeating for every time i try to stop mysql [03:21] jasonmchristos, that could be worked around with the firewall, just listen on all interfaces but configure the firewall to only accept connections from the desired interface [03:21] New bug: #690924 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/690924 [03:21] qman: when I've plug the monitor and it shows blank screen, I always tried to press numlock key to see if the server crash, the light is responded well [03:22] did you mess up the logins etc? [03:22] sounds like this [03:22] i'm a begineer [03:22] i'm afraid i can't help you, sorry. [03:22] haha ty anyway, lucasreborn_ [03:22] Igoru, sound like a permission or something [03:22] i'm a kind of noob too. and i cant imagine how i could mess up with login if i'm trying to stop the service. === pgraner-afk is now known as pgraner [03:23] and i'm always using sudo. [03:23] did you installed mysql via apt-get or build manually/ [03:23] apt [03:24] i had this kind of problem some time before, when updating mysql [03:24] the solution was killing mysql process, updating, and then restarting it [03:24] but the database works? [03:24] william_a, then it's definitely the graphics, somehow [03:24] yes yes [03:24] i use it everyday [03:24] not sure if it's using the wrong one or if it's trying to be smart and not initialize because there is no monitor [03:24] would be fixed with a KVM switch [03:25] he could force initialisation ? [03:26] New bug: #690925 in mysql-5.1 (main) "Package MySQL 5.5.x for Natty" [Undecided,New] https://launchpad.net/bugs/690925 [03:26] but when you kill mysql process probably you're disconnecting something is connected. [03:26] I haven't experienced this problem, and I do basically the same thing on several machines [03:26] igoru: not sure, but you could check here: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/448656 [03:26] lucasreborn_ what do u mean? i killed it with htop and then started with service start [03:26] Launchpad bug 448656 in mysql-dfsg-5.1 "CPU information is inaccessible for MySQL (dup-of: 444479)" [Medium,Triaged] [03:26] Launchpad bug 444479 in mysql-dfsg-5.1 "missing apparmor access rule " [Medium,Fix released] [03:28] igoru, check that link [03:28] it's the problem you're having [03:28] change the permission and owners of mysql using folders by chown [03:29] lucasreborn_ william_a reading, i think it will solve my problem. [noob speaking] but what is apparmor? [03:29] same question here [03:29] i'll search and post asap [03:29] lucasreborn_, your issue looks like a hardware problem of some kind to me [03:29] bad switch, cable, NIC, NIC driver, somethign [03:29] https://wiki.ubuntu.com/AppArmor [03:30] if you notice, eth1 keeps coming online right before/after your NFS drops [03:30] this problem appeared after 15 days of uptime [03:31] i'm really thinking it's that damn switch [03:31] I'm out... thanks for the help everybody and good bye.. [03:31] this shit appeared suddenly [03:31] good night william [03:32] g'night and thanks william_a! :D [03:32] qman__: ok very good i didnt want to specify the ip anyway as i am on dhcp [03:32] lucasreborn_, don't ignore the possibility of the NIC though, my file server's onboard NIC suddenly failed recently [03:33] of course it was more obvious, since the forcedeth driver was filling the logs with garbage [03:33] hummm [03:33] but they don't always go that way [03:33] two noob questions [03:33] how to change the eth number? [03:33] test one thing at a time, figure out what it is [03:34] example, i want my eth1 became eth8 [03:34] /etc/udev/rules.d/70-persistent-net.rules [03:34] there i can remove a eth too? [03:35] that is where the auto generated MAC to eth# associations are stored [03:35] example: i have a eth0 onboard. [03:35] added a nic, eth1 [03:35] it's pretty self explanatory when you look at it [03:35] changed the nic, eth2 [03:35] i want to delete the eth1 and make eth2 become eth1 [03:35] yes, that's where it is done [03:35] perfect! [03:36] i appreciate a lot your help [03:36] here it's 01:36 and i need to go to bed. [03:36] a lot of work to do [03:36] good night y'all [04:30] the openVPN server docs says to add this to the openvpn.conf but doesnt explain its use push "route 172.18.100.1 255.255.255.0" [04:31] will someone please explain this too me? [04:34] is this the gateway in regular networking? [04:35] of "default route"? [04:41] jasonmchristos, no, that is giving the VPN clients routes to your network [04:42] the clients already know where the internet is, but they don't know your network, only the VPN server [04:42] so you push routes to tell them where your network is [05:06] New bug: #690937 in bind9 (main) "package bind9 1:9.6.1.dfsg.P1-3ubuntu0.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/690937 [08:06] What sets $FROM_SINGLE_USER_MODE in /etc/init/rc-sysvinit.conf ? === alvin_ is now known as alvin [08:21] New bug: #690983 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12.8 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1" [Undecided,New] https://launchpad.net/bugs/690983 [08:22] twb: Wait.. I know this one.... [08:22] Never mind, it was rcS [08:23] I wanted to throw away rc-sysvinit.conf because it reads /proc/cmdline, which is wrong for my containers (/proc/cmdline isn't virtualized), but it turned out to be too much trouble [08:23] It means if I start my VM server in single mode, then leave it and continue booting, all the containers will also try to enter single mode [08:28] So the question is.. do we a) have special boot code for containers, or b) virtualize /proc/cmdline ? [08:28] seems like there could be compelling arguments either way [08:35] The VM people say "you should not treat us specially" [08:35] The upstart people say "if you were doing your job, we wouldn't have to" [08:36] viz. detecting when you're inside a container and behaving differently, a la $debian_chroot handling in /etc/profile [08:36] well the ubuntu people sit in the middle and choose which one to snub [08:36] I think Ubuntu is pretty much in upstart's bed [08:36] sucking on its toes [08:36] Upstart is just so exotic.. we can't resist. [08:38] Is discussion about replacing upstart even possible? [08:39] that discussion is most likely going to come up a few times between now and 11.10 [08:39] I'm happy to hear that. [08:40] Even if we don't choose systemd or another boot "thingy" ... upstart's development has started picking up pace again. [08:40] alvin: what don't you like about upstart? [08:41] SpamapS: I don't know the ideas behind Upstart very well, but in it's current state, it is not production ready. It's the cause of a lot of boot problems. I can give examples. [08:42] alvin: that would be immensely helpful [08:43] I think most of the problems arise from poorly selected start on / stop on criteria [08:43] NFS mounting (in /etc/fstab) doesn't always work since upstart. Quasselcore starts before it sees a database, mdadm can't assemble drives and libvirt starts before its netfs drives are found. Sometimes nmbd doesn't start, and sometimes nfs-kernel-server starts before portmap,.. All in all, just 'booting' or rebooting a server has become imposible. You have to reboot some daemons after the normal boot in order to have the correct boot [08:43] order. That is very irritating. [08:44] (All those bugs are in Launchpad, and I experience them all) [08:45] alvin: I've seen a couple of them [08:46] At least 'file serving' should be a primary goal of Ubuntu-server. Something that should work at all times. It's not a very exotic feature. [08:46] and a few are also caused by missing post-start scripts to ensure that a service is *ready* before its 'started' event is emitted [08:47] agreed, but it's still missing and interrupting production. How can one take Ubuntu on the server serious then? The other problem is: someone needs to create these scripts and only needs to create them for Ubuntu? I don't know if the quasselcore devs will care. After all, only Ubuntu has troubles with starting their app and the database in the correct order. (for example) [08:47] One could argue that this actually MIGHT have affected sysvinit as well... as most sysvinit scripts return as soon as the daemon has forked.. but because everything is in serial.. the race between fork() and listen() and connect() rarely caused problems. [08:48] alvin: Are these bugs just not getting attention? [08:48] Yes, sysvinit was only flawed in theory. So, it's a good things replacements are made. But now we have taken some steps backwards. [08:49] I'm kind of surprised that upstart causes mdadm issues.. thats pretty early in the boot. [08:49] SpamapS: I don't think they do. Let me search the numbers a bit. [08:49] SpamapS, i don't see how it could if it is handled at the right time [08:49] The mdadm thing might be mountall or so. I don't know the details. I do know that I have to auto-assemble my RAID everytime after boot. Soemthing that should happen automatically during boot. (after all, it works automatically afterwards) [08:50] my rootfs is a mdadm raid1, never had an issue [08:50] alvin: mdadm has been really, really neglected in ubuntu server for a while. [08:50] alvin: the kernel should be detecting and assembling your raid partitions... [08:50] c0nv1ct: It's not rootfs in my case. [08:51] mdadm doesn't get involved unless there are problems. [08:51] alvin, it shouldn't matter really, they can all be assembled at the same time [08:51] the kernel should really be handling that, not your init [08:52] mdadm stuff: bug 27037 and bug 599135 [08:52] Launchpad bug 27037 in linux "mdadm cannot assemble array as cannot open drive with O_EXCL" [Medium,Fix released] https://launchpad.net/bugs/27037 [08:52] Launchpad bug 599135 in mdadm "mdadm cannot assemble array" [Undecided,New] https://launchpad.net/bugs/599135 [08:52] Quasselcore: bug 612729 [08:52] Launchpad bug 612729 in quassel "quasselcore does not connect to database at boot" [Undecided,Expired] https://launchpad.net/bugs/612729 [08:54] NFS: bug 540637 [08:54] Launchpad bug 540637 in nfs-utils "nfs-kernel-server fails to start after kernel upgrade" [High,Triaged] https://launchpad.net/bugs/540637 [08:54] and bug 540637 [08:55] hmm, havent ran into that one, then again i do have a pending reboot for a kernel update [08:55] no, scrap that last one [08:55] alvin: with mdadm.. I really don't think upstart is at fault for your drive disappearing. [08:55] It doesn't always happen. The solution is: service nfs-kernel-server stop; service portmap stop; service portmap start (yes, no restart) and service nfs-kernel-server start [08:56] alvin: unless you're using some kind of hotplug [08:56] SpamapS: No hotplug. Upstart might not be at fault. Still, this has worked and no longer does. [08:57] I even took a backup and recreated the RAID [08:57] alvin: Right, the mdadm user space tools were allowed to lag WAY behind upstream for some reason [08:59] alvin: looking at the NFS upstart jobs [09:01] I'm happy that someone is looking into it. I had the feeling that NFS was being neglected (not only in Ubuntu) in favour of Samba for file sharing between linux machines. [09:02] alvin: IMO, they accomplish entirely different things [09:02] n [09:02] Agreed [09:04] alvin: right, so the quassel problem, btw, is caused by /etc/init/rc-sysinit.conf .. This is one that drives me nuts too.. net-device-up IFACE=lo means that you may not have eth0 up yet. [09:04] and that's a problem, because the database is on another (virtual) server [09:05] So, quassel doesn't see the database and asks the first user to create one. [09:06] alvin: right, I haven't come up with a good generic solution to that. The workaround is to change rc-sysinit.conf to bring up init.d scripts on IFACE!=lo [09:07] I see how that could work. Now I'm thinking where there could be trouble with that scenario [09:09] alvin: because its an AND with filesystem.. there is one danger.. that the ifup script will get stuck waiting forever [09:09] So, if your network card can't go up. You're screwed [09:09] alvin: but no, ifup doesn't wait for net-device-up [09:10] alvin: so yeah, it should be fine [09:10] alvin: actually I think the NFS bug might be the same issue [09:11] Yes, and it's definately worth a try. Thanks. I can't test now because too many users are using the servers, but I'll write it down for the next reboot. [09:11] actually [09:11] portmap will always come up before runlevel2 is triggered [09:12] virtual-filesystems always happens before filesystems [09:13] Ah, but I would want libvirt to wait for netfs filesystems before trying to start (and fail) machines that use those netfs filesystems. I forgot to give the bug number. Let's see [09:13] virtual-filesystems is /proc, /sys, stuff like that [09:13] bug 491273 [09:13] Launchpad bug 491273 in libvirt "netfs storage pools are not autostarted at boot (karmic) (dup-of: 351307)" [Undecided,New] https://launchpad.net/bugs/491273 [09:13] Launchpad bug 351307 in libvirt "Libvirt NFS mount on boot." [Low,Incomplete] https://launchpad.net/bugs/351307 [09:13] SpamapS: oops, ok [09:13] it goes virtual -> local -> remote -> all [09:14] alvin: btw, THANK YOU for reporting bugs like this. :) [09:14] Remote fs can also be virtual :-) in another sense. [09:15] yeah, I'm just a user (of a lot of different servers). Sometimes I wonder why other people do not run into stuff like that. (Well, they do, but not as much as I would think) [09:16] alvin: well , know that its appreciated.. and we're trying as hard as we can to get stuff fixed in new releases and push what fixes we can into the stable release. [09:18] I'm glad it's appreciated and that someone takes care of the reports. Should I change the 'expired' status of the Quasselcore one to 'new'? [09:19] the libvirt one doesn't make much sense either actually [09:19] libvirt starts at runlevel 2.. which is triggered by filesystem + net-device-up IFACE=lo ... [09:19] oh wait that makes perfect sense. ;) [09:19] Yes :-) [09:20] hmm.. tho I thought filesystem was only triggered when all (remote, virtual, and local) were mounted [09:20] * SpamapS is reading mountall's code and doesn't understand [09:21] libvirt takes care of mounting itself. It's called 'storage pools' [09:22] alvin: ah, so the NFS filesystems might not be auto-mount ? [09:22] You can also mount NFS drives in /etc/fstab and tell libvirt it's a 'dir storage pool'. The problem is that if your network is a bit slow in coming up (don't know how to tell it), your NFS drives might not be mounted. Now, this problem is better, but I still see it from time to time. [09:22] SpamapS: True. libvirt actually does the mounting when the daemon starts. [09:22] alvin: so then its possible that filesystem triggered before eth0 came up [09:23] Exactly [09:23] I haven't tried iscsi. Libvirt can manage iscsi as well [09:23] alvin: this is the focus of something I'm proposing right now actually.. [09:23] alvin: isn't that an upstart issue? [09:23] alvin: that we have one file.. /etc/init/network-services.conf .. that defines when everything else gets started.. [09:23] Actually, that happens every time. The network is never up before libvirt. [09:24] i.e. just tell the libvirt job to depend on the network-filesystem job [09:24] alvin: but, the workaround would be to have libvirt start on net-device-up IFACE=eth0 [09:24] twb: maybe it is, yes. But it's only an issue if you actually have remote storage [09:25] SpamapS: yes (if you have remote storage) [09:25] I wasn't suggesting you'd make that change for everyone [09:26] No, but can upstart know the difference? [09:26] alvin: right, so change it from runlevel [2345] to net-device-up IFACE=eth0 ... or started networking if its a static interface. [09:28] I'll have to set the static interfaces back one day... All my virtual servers use dhcp because of bug 446031, but that is no longer necessary. [09:28] Launchpad bug 446031 in ifupdown "statically configured network interface does not come up at boot" [High,Fix released] https://launchpad.net/bugs/446031 [09:31] alvin: even sysvinit will have a hard time with this one.. you just have to shove libvirt to the back of the line and hope the network is up by the time you get to it. [09:32] but.. I digress.. this is why we need a single place where people can go to tweak the boot of most network services. [09:33] Indeed! [09:34] anyway [09:34] 01:34 .. I should probably stop playing with upstart bugs. ;) [09:35] Please do go on ;-) (No, it's 10:34 here. You can go to bed) [10:07] New bug: #691011 in tomcat6 (main) "package tomcat6 6.0.24-2ubuntu1.5 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2" [Undecided,New] https://launchpad.net/bugs/691011 [11:03] <_Techie_> are there any ways to share a tv tuner card across a network other than mythtv, preferably cross platform === BlackZ_ is now known as BlackZ [12:31] We've got an Ubuntu 8.04 LTS server do-release-upgrade'd to 10.04, which rebooted perfectly fine. However, just installed the latest updates, and it's not booting anymore due to a Grub Error 24. Is that a known issue? [12:35] 10.04, exclude php 5.2 [12:59] laen|work: docs show, "This error is returned if GRUB is told to execute the boot sequence without having a kernel to start." [13:32] hey, i registered a domain in godaddy and i want to make private name server (i have static ip and ubuntu + apache2) ... i setup in host summery a ns1.mydomain and ns2.mydomain to point to my static ip... but its wont redirect, anyone can help me out? [13:34] coconutz: domain name? [13:41] mtoolz.org [13:43] coconutz: confirmed, it doesn't resolve. i guess you have a mistake in the DNS config [13:44] coconutz: when did you make the change? [13:45] ? [13:47] 3 days ago [13:48] if i do a dns nameserver in go daddy i need to install bind in my home machine? [13:48] or godaddy do it already [13:51] coconutz: godaddy is your DNS registrar as well as your DNS hosting, so no [13:51] coconutz: you should open a support ticket with goddady hosting service [13:52] i should do hosting [13:52] the free hosting and then use thier dns or what? [13:53] coconutz: i said 'no' [13:53] i need bind server? [13:53] coconutz: i said 'no' [13:54] ok [13:54] coconutz: you should open a support ticket with goddady hosting service [13:54] (call godaddy) [13:55] k [13:56] how can I go about typing in odd chars into xterm? like 0xc0 and 0xff? [13:57] 0 x f f [13:57] Those are keys on your keyboard [13:57] Press them, and they show up [13:57] Jeeves_: Well trolled, sir. [13:58] :P [13:58] heh [13:58] Jeeves_, just doesn't work [13:58] the byte value, not the hex :) [13:58] patdk-wk: I've got no clue which characters those are [13:58] the windows method isn't working, with alt-numkeys [13:59] patdk-wk: You can add the character applet to your gnome-toolbar [14:00] patdk-wk: sudo apt-get install unicode; unicode 0xC0 [14:01] char applet doesn't go < 0x41 [14:01] patdk-wk: Then look at UTF-16BE: and do: Ctrl-Shift-U and enter: 00c0 [14:03] ÿ [14:03] À [14:04] control-shift-u just types u :( [14:04] ÿ [14:05] patdk-wk: Install a better terminal? It's 2010. [14:05] jpds: :) [14:06] I'll almost be able to say that it's 2011. [14:06] heh, jpds, thought I did :) it's lucid :) [14:07] gnome-terminal :( [14:07] terminator++; [14:08] oh, you have to hold control-shift while typing the number also, didn't make that clear :) [14:08] jpds: 2010 and ¾ ? [14:09] patdk-wk: Sorry. [14:09] pmatulis: Yeah™. [14:10] he he [14:14] ☃ [14:16] jpds: snowman? [14:17] http://en.wikipedia.org/wiki/☃ [14:19] Pici: wow, i was just guessing! [14:34] pmatulis: So, the normal procedure, doing apt-get upgrade, made sure the kernel wouldn't work? [14:53] laen|work: i would guess that grub is currently misconfigured and is probably due to a bug. may need to boot into a recovery session and re-install grub [14:53] (re-install -> update it's config) [14:58] Hi Guys Im looking at updating my servers. I currently have HP G3 servers. Now I ont know what to get for the update here is my choice [14:58] Dell PowerEdge 2950 / 2 x Dual Core Xeon 1.6GHz / 4GB RAM / 2 x 300GB SAS [14:58] or [14:59] HP Proliant DL360 G4 / 2 x Xeon 3.0GHz / 4 GB RAM / 4 x 146GB SCSI [15:00] * patdk-wk has love going on for the bl490c g7's [15:01] I have two pe2950's I'm getting ready to scrap, dual core 3.0ghz 16gig ram [15:06] SCSI? [15:06] Does that still exist? [15:06] hmmm im running on scsi now in office :S [15:06] pmatulis: yup, that's planned. Only problem is that the iLO and the whole HP Blade went down about 15 minutes later as well, stopped working completely. So, it's done ;p [15:06] amazingly, it does [15:07] the pe2950's where my first non-scsi servers [15:07] garymc: Still running it, ok. But can you still buy it? :) [15:07] you selling them patdk-wk ? [15:08] prob not jeeves but new servers cost a packet [15:08] garymc: You can a lot too :) [15:08] I doubt it, they will probably get loaded into the dev area or something [15:08] can? [15:08] gain [15:08] I wish to [15:08] or, I wish I could [15:10] If I had to buy new what model would you recommend [15:11] depends what your needs are, and I dunno that :) [15:11] ok Im running an LTSP server at the minute with 10 computers attached running off it [15:11] its a little bit slow [15:13] what specs are slow about it? [15:13] cpu usage? [15:13] iowait times? [15:13] networking latency? [15:14] Daviey: ping [15:14] that I dont know [15:15] then what ever replacement server you get, will be *just like* if it solves the issue :) [15:15] just luck [15:17] ok [15:18] I wanted 64bit as the ones we have only run 32bit software [15:18] ok, that is a requrement, but won't change any performance though [15:42] how do I setup motd to display packages that needs to be updated ? [15:44] is it update-motd pkg that does that ? [15:57] <[diablo]> evening [15:58] <[diablo]> anyone know if there is an Ubuntu package of pdflib please? We have a lot of legacy PHP code that currently depends on it. [16:04] [diablo], nope, but have you tried this: http://blog.janjonas.net/2010-05-26/ubuntu-10_04-php-5_3-setup-pdflib-6-pecl [16:05] <[diablo]> hi c0nv1ct mmm problem is legacy code [16:05] <[diablo]> maybe we have to convert to php-fpdf [16:07] <[diablo]> c0nv1ct, will look at that option tho [16:15] kirkland: did you get the pxe working yet? [16:16] zul: not yet :-/ [16:16] kirkland: whats wrong? [16:17] zul: i've been distracted, fixing other things [16:17] kirkland: like what? [16:20] who renier [16:21] zul: sudo breakage in natty, ssh-copy-id upstreaming, etc [16:22] k [16:23] soren: hi! Is there a way to tell vmbuilder to use virtio for disk and networking? [16:30] zul: i'm back looking at it now [16:38] hi all [16:38] trying to fix a grub2 problem [16:39] afaik it all started when /boot run out of space [16:39] now kernel package updates fail to run postinst hooks [16:39] we did kind of ignore it [16:39] but now after a reboot grub2 drops into rescue mode [16:40] did boot up using ubuntu-server cd and drop into rescue mode [16:41] actual problem now: [16:41] 'grub-probe /' gives [16:41] grub-probe: error: cannot find a device for / (is /dev mounted?). [16:44] hi all [16:51] soren: actually, never mind...I just poked through the source. thanks! [16:55] zul: okay, for starters, tftpd-hpa is a "suggests" [16:55] zul: so I don't have that installed yet [16:55] zul: we might consider promoting that to a depends? [16:55] yes i already did that for rsync as well [17:00] zul: yeah [17:11] zul: what's the output of "sudo cobbler check" for you? [17:12] kirkland: im in the middle of eating lunch ill let you know [17:12] zul: sure thing [17:12] zul: i'm about to do the same [17:45] kirkland: ok, so this is what I've decided to do so far with PowerNap. First, revert Adam's changes from trunk, then, bump the version to 1.12 and apply all my changes for the new "PowerSave" method based on the original way of how PowerNap worked, and then release. Next release 1.13, will include the integration with Adam's monitor plugins based on the original daemon. What do you think? [17:51] kirkland: \unless we should bump to 2.0 instead of 1.13 [17:51] the next release after that will have the powerwaked daemon to track machines using PowerNap [17:58] Hey where I can remove the remove check_sender_access hash:/etc/postfix/disallow_my_domain in Postfix? === Fookin_Prawn is now known as Prawn_gone [18:09] getting "undefined reference to `xc_interface_open'" on natty while building xen. What libxc* should I have installed? [18:10] or any clues to where xc_interface_open should come from? [18:10] RoAkSoAx: i don't care much about the version ... [18:10] RoAkSoAx: you can bump to 2.0 if you like [18:10] RoAkSoAx: there's a fair amount of new stuff, so a major version bump makes sense to me [18:14] kirkland: ok then. Will work on that this week, and hopefully have evertyhing done by alpha 2 [18:15] RoAkSoAx: sounds good [18:15] ;) [18:15] nm - its a xen interface [18:19] QUESTION: When configure the bridge by editing /etc/network/interfaces do i have to configure the bridge with the same network ip as the openVPN server.conf to get it to work? [18:21] New bug: #691215 in vsftpd (main) "package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/691215 === smoser is now known as smoser` === smoser` is now known as smoser [18:37] SpamapS: you can add the debian iso import testing to your list now as well [18:38] zul: I 'spose I should download a debian iso then. :) [18:38] SpamapS: or you can use an ubuntu iso too [18:39] * SpamapS has quite a few of those lying around [18:39] because you can test that as well :) [18:43] * patdk-wk wonders what exactly spamaps uses those iso's for [18:45] patdk-wk: you really don't want to know. ;) === jasonmchristos is now known as YasonBinDavid [19:16] http://ubuntuserver.wordpress.com/ [19:16] is rebranded! [19:17] * robbiew loves him some GIMP! [19:17] but still on wordpress.com? :( [19:17] well...yeah [19:17] I choose to celebrate the small victories ;) [19:17] heh :) [19:26] where is the postfix chroot jail? [19:27] theres a chroot jail for postfix? [19:27] /var/spool/postfix ? [19:28] i get mx not found errors for domains which work with dig [19:28] postfix cannot find bind on my server [19:28] guessing it is resolve.conf [19:29] guessing further that is a chroot problem [19:36] Found it - /var/spool/postfix/etc [19:38] I installed ubuntu server from a flash drive and during the installation it installed grub to the mbr of the flash drive. I have booted into the install and done "sudo grub-install /dev/sda" (positive sda is the right disk) but its not actually letting me boot from the disk after reboot [19:38] is there something im missing? [19:39] also tried live cd and doing it specifiying the root-directory= stuff and still no go [19:49] hm... tar czf file.tar.gz -C /some/base/path/to directory/* .... should make file.tar.gz with directory/{files...} - right? [20:06] anyone know how i might initialize an rtsp video stream to a specific port without using vlc? [20:38] Hi I'm a redhat customer, and i'm trying to address concerns that redhat is "old" by looking at Ubuntu [20:39] I'm concerned that Ubuntu server may not have utilties and programs i've depended on redhat to bring me, like Kickstart and SystemTap [20:39] and Redhat Network channels [20:40] is that something Ubuntu has corresponding features for? [20:41] sparc: ubuntu can use kickstart and preseed [20:41] sparc: what is red hat network channels? === a1 is now known as al [20:41] it's like a package repository, that a set of computers can pull from [20:43] they have a web interface that lets you place groups of computers in different channels, and schedule installs from those channels [20:43] but i guess a reprepro? would work [20:46] sparc, so kickstart works fairly well, to the degree we've supported it with our installer [20:46] sparc, I use it on fairly regular basis [20:46] that's good [20:47] i guess i should try it out, to know all the details [20:47] sparc: you can use Landscape [20:47] sparc, systemtap works fine too, our debug symbol story has changed a little bit which makes it just a tad more difficult to obtain symbols [20:47] hah, that's neat. i didn't expect that [20:47] sparc, but once you get them, it works fine, I use stap on daily basis for kernel triage [20:48] sparc, LS actually has a ton of features, only a small portion of them are drummed up by the marketing [20:48] very cool [20:49] i'll check out the links in the topic and give it a try [20:49] pmatulis, ppetraki: thanks you all [20:49] sparc, http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu [20:49] sparc, you're welcome [20:51] if i grep --color=auto | less, i don't see colors. they work without the | less. how can i get colors in less? [20:53] consumerism: try with less -r [20:53] guntbert: doesn't work [20:54] neither does -R [20:55] consumerism: I see, then I don't know, sorry [20:55] QUESTION: is it ok to chown -R $USER /etc/openvpn/, because while configuring client when trying to copy ta.cert i get permission denied. [20:56] ubuntu: better use sudo cp ... [20:56] ahh ok ill try that instead [20:57] guntbert: works if i use color=always rather than color=auto [20:57] and less -r or -R [20:57] thanks [20:58] consumerism: ah, that makes sense because grep with auto sends colors only when sending to an interactive session (or so....) [21:04] guntbert, how would i using ssh from the client tell it to sudo cp to the client? [21:05] ubuntu: use scp (secure copy - uses the ssh protocol) [21:05] ok [21:07] guntbert, using scp how do i still tell it to sudo since i will log in as user through scp [21:08] ubuntu: make it a two step process: scp it to your account, then sudo cp it to its destination [21:13] is there a shortcut to this: cp /long/path/file.c /path/that/does/not/exist/ [21:13] (fails, then) mkdir ESC-. [21:13] up arrow twice, enter [21:13] i do this a lot unfortunately [21:13] can cp create directories somehow... [21:13] ? === mconigliaro_ is now known as mconigliaro [21:37] for some reason GD just stopped working [21:59] how do I select the kernel for a thin client on 10.04 LTSP ? [21:59] I have more than one kernel installed and I would like to use an earlier one === tenach_ is now known as tenach [22:10] QUESTION: I cant seem to find my usb flash drive under /media/ after I plug it in. Does the server automount as desktop does? [22:14] jasonmchristos: server doesn't automount [22:14] jasonmchristos: check your dmesg and mount the device [22:17] ok thanks [22:17] * jasonmchristos wipes sweat off forhead [22:17] shew, openvpn is hard to setup [22:25] oh so worth it though. it works great. [22:48] hey i want to lock a file (its a config file which is updated and i want to lock it for writing and safe my configs) how do i do that via ssh? [22:49] Frenk_: set the file rights such that users can't update it? [22:51] I got annoying Perl errors from dpkg about locales. In Debian, I would fix it by generating locales with dpkg-reconfigure locales, but here I'm getting http://pastebin.com/p9QTX1ga [22:52] So how do you fix locales in Ubuntu? [22:53] RoyK how is my question [22:53] ^^ [22:53] Frenk_: Error: "^" is not a valid command. [22:56] hi [22:57] Frenk_: I guess you could change its permissions? [22:57] i want install mysql 5.5 on ubuntu how is remote to my system to install mysql ? [22:57] 555 doesnt work [22:57] the file got chnged -.-" [22:57] Frenk_: I mean, to read-only permissions. [22:57] oh ok [22:57] Oh, are you doing this as root? [22:58] i want install mysql 5.5 on ubuntu how is remote to my system to install mysql ? [22:58] jeus: apt-get install mysql-server ? [22:59] JordiGH, i want install mysql 5.5 [23:00] JordiGH, mysql 5.5 is too stable from 5.1 but not in repositorys [23:00] jeus: Oh, you want to compile it. [23:00] jeus: apt-get build-dep mysql should help you get the dependencies installed, and hope these dependencies work for 5.5 [23:00] JordiGH, http://dev.mysql.com/doc/refman/5.5/en/binary-installation.html [23:01] apt-get build-dep mysql-server [23:01] JordiGH, i do all command but i dont know what do know ? [23:02] JordiGH, i do all command but i dont know what do now ? [23:02] jeus: I'm sorry, I don't understand your question. I guess you speak Farsi? [23:02] Oh, you don't know what to do now. [23:02] yes :D [23:02] JordiGH 444 doesnt work = WTF [23:02] ? [23:02] Frenk_: Is root writing to that file? root can ignore permissions [23:03] jeus: well, is mysql installed? Do you have something in /usr/local/bin ? [23:03] JordiGH, yes i have in /usr/local/mysql/bin [23:04] jeus: Then just execute /usr/local/mysql/bin/mysql-server or something like that? [23:04] i don't know [23:04] Frenk_: root will always have the right to write to a file [23:05] Frenk_: if you're trying to stop root from writing to a file, you're doing something wrong - no process should run as wroot and write to files out of its own system unless you really know what you're doing [23:05] JordiGH, Username and password I still have not defined [23:07] jeus: Did you read 2.12? [23:07] * JordiGH wishes he could speak Farsi. [23:11] JordiGH, I have not read yet, but seems a bit difficult [23:12] JordiGH, شما می توانی فارسی صحبت کنی ؟ [23:12] jeus: I said I wish I could speak it, but I don't. [23:14] JordiGH, are you from IRAN ? [23:14] No, I'm from MEXICO. [23:15] How you know Farsi? [23:15] JordiGH, How you know Farsi [23:16] :-( [23:16] jeus: http://jordi.platinum.linux.pl/piccies/failure-to-communicate.jpg [23:17] JordiGH, :D [23:19] JordiGH, Do you love but can not speak Farsi [23:19] jeus: Yes! [23:24] JordiGH, Are you gonna teach you Persian [23:24] It's difficult to find teachers. [23:24] QUESTION: How can i specify my openVPN clients to use the same DNSproxy from my nat router that the server uses and also default route? [23:25] I'm teaching you [23:25] JordiGH, I'm teaching you [23:25] what would be the easiest way to have ubuntu-server be my domain server? [23:25] jeus: On the internet? [23:25] JordiGH, Yes [23:25] JordiGH, with Skype [23:26] jeus: :D [23:26] This actually sounds like a great idea. [23:26] I need to find time for it. [23:27] reading , Writing , gramer [23:28] for start الف = alef ب = be پ = pe ت = te [23:30] JordiGH, 4 persian alphabet [23:30] I'm reading wikipedia now. [23:30] JordiGH, Alef + Be == > آب ==> aab ==> water [23:32] JordiGH, One of our great poet Rumi [23:35] jeus: This chat is not the best place for Farsi lessons. :-) [23:36] JordiGH, Yes I know it [23:36] ; ) [23:37] my mail and chat is alkhandani@gmail.com , khat.farda@yahoo.com [23:37] We'll stay in touch. [23:37] I have to get back to work. [23:39] will somone please help me [23:39] I am trying to brows the web through my openvpn [23:40] im guessing i need to use push "route x.x.x.x x.x.x.x" [23:41] the server is behind a standard netgear nat router so the gateway is 192.168.1.1 [23:41] New bug: #691345 in tftp-hpa (universe) "buffer overflow" [Undecided,New] https://launchpad.net/bugs/691345