[00:08] hi [00:14] !hi [00:16] so, what do you guys say, is `nohup /bin/foo_daemon &` an appropriate replacement for a real init script? :) [00:18] That all depends [00:18] You would probably do better to make an upstart job [00:19] http://paste.debian.net/106373/ <-- example [00:20] thx twb, i had been looking at start-stop-daemon earlier and just hadn't had the chance to write the init script yet. i'll check your paste [00:23] is there a currently working upgrade path from dapper to lucid ? [00:31] slicslak: you have upstart; don't bother [00:32] slicslak: if you REALLY want to use s-s-d and sysvinit, look into the metainit(8) package, which will turn something like that upstart.conf into a sysvinit script. === genii-around_ is now known as genii-around [02:07] twb, oh interesting [02:07] ya, upstart looks be good enough [02:07] Note that metainit is currently dead in the water, because init developers are insular, NIH-happy bozos [02:08] lol === genii-around_ is now known as genii-around === genii-around_ is now known as genii-around [05:28] any tips on how to boot 8.04 server cd under virtualbox without a kernel panic? [05:30] fluvvell: I think it needs the PAE extensions visible to it. [05:32] jmarsden, yeah thought I'd just turned them on - still panic [05:33] pae/nx extended features enabled. [05:33] Hmm, I have a Hardy server virtualbox VM here that works... I rememebr there was something I had to add to make it work, but it was created a while ago... [05:34] yes, I have another that works, created a while ago too. Its just I need a new one for a transfer task. :( [05:35] is there a vga= something setting to set in boot options ? [05:35] OK, let's see if I can create a new one here :) [05:36] I'm pretty sure I didn't have to do that... [05:38] fluvvell: Enable IO APIC :) [05:38] (I created one which crashed and read the traceback... which was about the APIC...) [05:39] Ah [05:39] wow, thats it. [05:41] Yes there was that in the traceback - of course! Thanks jmarsden! [05:41] fluvvell: You're welcome. [05:46] Well thats an 8.04 bare bones server install completed and logged in, 34Gb virtual hard disk space! [05:46] Was that 5Min??? [05:46] 6.34 mins. [05:46] since your last post. [05:47] Astounding. [06:04] LP570805 [06:04] LP #570805 [06:04] Launchpad bug 570805 in dpkg "[regression] dpkg's fsync causes massive regression in Ubuntu Server and Alternate installation times" [High,Fix released] https://launchpad.net/bugs/570805 [06:41] New bug: #712291 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/712291 [07:01] hey guys [07:02] im trying to setup openvpn to tunnel all traffic to my VPS, but I need to setup a bridge interface to do it [07:02] im having problems doing it though [07:03] twb: You asked yesterday (or the day before) why su forks instead of just execing. [07:03] soren: yes [07:03] twb: It's because it needs to know when the process finishes so that it can close the pam session. [07:04] twb: If you compile su with out pam support, it just execs. [07:04] Hum, OK. [07:04] But why is there a session when I'm not using "su -" ? [07:05] https://help.ubuntu.com/10.10/serverguide/C/network-configuration.html#bridging [07:05] twb: Million dollar question. [07:05] am i suppsoed to replace the original /etc/network/interfaces file with the one there? [07:09] twb: For security, I suppose. If I configure some sort of auditing in pam's session stack, I don't want people to be able to evade that by not passing - to su. [07:11] twb: It's a half-baked argument, though. At best. [07:11] Oh well; I'm fighting lucid-security's sync()-happy dpkg right now, which is way more important === robbiew is now known as robbiew_ [07:17] twb: Oh. It's the session handling that does stuff like mount the user's home directory and such. That sounds pretty useful :) [07:17] soren: Is that automount stuff? [07:18] KB1JWQ: Depends on your PAM configuration. For me, for instance, it's ecryptfs. [07:19] Ahhh. [07:19] Interesting, I haven't played with encrypted home directories on servers yet. [07:21] KB1JWQ: Well, this isn't really server specific. [07:21] soren: Right, but this channel somewhat is. :-) I tend to want servers available to serve data from various homedirs regardless of who's connected at any given point. [07:26] Is ecryptfs as shitty as pam_mount? [07:26] In terms of mounting, I mean -- irrespective of crypto-y-ness [07:37] I need some help pxe isnt working [07:38] trying to netboot lucid server from windows 7 using tftp and this http://www.liberiangeek.net/2010/05/how-to-install-ubuntu-10-04-lucid-lynx-without-cd-usb-via-the-internet/ [07:38] but it doesnt work [07:38] any ideas? [07:39] no more address or address previously allocated by another server [02/02 23:31:02.324] [07:39] Rcvd DHCP Discover Msg for IP 0.0.0.0, Mac [07:43] it connects to dhcp i think just says no boot file name received [07:54] Windows 6.1 ships with a TFTP server? [07:55] goddard: the DHCPACK needs to pass the filename option, setting it to a string denoting the path to pxelinux.0 within the TFTP tree [07:56] ahh ha [07:56] got it [09:21] im trying to install ubuntu to compact flash and it isnt auto detecting what driver do i need any ideas? [09:22] goddard: last time I did it, it just used the generic scsi driver -- the same as a SATA disk [09:24] Hi Guys [09:24] Anybody aware of a method to do a non-interactive execution of do-release-upgrade ? [09:25] pass DEBIAN_FRONTEND=noninteractive to it? [09:26] twb that seems like it almost works but complains about some size problem [09:26] im using the scsi_debug driver [09:26] DigitalFlux: note that if you're doing an actual upgrade from one release to another, you really really should read those messages. [09:26] twb: did that, didn't work [09:27] twb: I understand, i am just stuck with an old image template and need to automate it's upgrades [09:27] Nod [09:28] I don't support d-r-u because I don't like it, but if I tell you not to use it I'll get yelled at [09:28] *I don't like or use it [09:28] ive never manually configured my drive before [09:28] I guess 8.4 gb is to small to auto partition [09:29] goddard: I dunno. [09:29] goddard: just allocate a single huge root filesystem, and no swap [09:29] goddard: (I'm assuming this is a router or so, and you have more than enough ram.) [09:29] RoyK: I don't got that Samba server work last day, can you help me a bit more? [09:30] wont dance ? [09:34] twb i would although there isnt really an option for it i see raid lvm and iscsi [09:34] this isnt right [09:34] goddard: choose "manual partitioning", silly [09:36] twb i go detect disks and it only shows me an 8.4mb thing and not my 12gb compact flash [09:36] and since i picked a driver it wont let me go back [09:36] twb this is pointless [09:36] Oh 8.4 MEGAbytes [09:37] yeah but that isnt right [09:37] I thought it was successfully detecting an 8GiB CF card [09:37] Is the CF reader on the motherboard? [09:37] me to till i read mb haha [09:38] this is a little thin client [09:38] If I were you I'd roll an image using live-build and/or LTSP [09:38] Then just dd it on [09:42] twb well it was interesting more trouble than it is worth though [09:43] atleast i learned how to setup pxe haha === MTecknology is now known as ngx_mteck === ngx_mteck is now known as MTecknology [10:43] halvors: sure, but I didn't quite understand _what_ that was that didn't work, and then you left [11:34] hello there [11:34] how to install complete java package ? [11:36] hey I am running a Ubuntu Server 10.04 with LAMP+Sendmail+Webmin I need to config sendmail woth webmin any ideas [11:52] New bug: #712392 in qemu-kvm (main) "qemu-img convert blocks other tasks" [Undecided,New] https://launchpad.net/bugs/712392 [11:55] shadow42085: pretty sure webmin is not supported on ubuntu anymore [11:57] well what is recommened free Control Panel to use with LAMP+Sendmail or LAMP+Postfix [12:00] shadow42085, The nearest to being recommend is ebox (now called Zentyal)... but it's still NOT recommended. [12:00] This is an area of the server that isn't actively worked on as much as some would hope. [12:02] sheesh I am setting up a complete personal site except for domain with I use no-ip.com with DDNS [12:02] all I need is a control panel and a mail server [12:03] and the control panel sets it up I hate using command line and donlt want to use a GUI on the server [12:06] I could always use win server 03 but it's to old [12:08] shadow42085, why not try the command line? [12:08] well if I try to config something in command I might mess up a config with [12:09] file with it** [12:09] shadow42085, oh sure... but could you not do the same thing in a GUI? [12:09] shadow42085, sudo cp /etc/some-config /etc/some-config.bak ... then you have a backup. [12:10] if all else fails, purge the package and reinstall that package... :) [12:10] thats true but I want to be able to have access to all my server programs not other junk [12:10] I'd recommend etckeeper if you want to keep a trace of your chanegs [12:11] Daviey: looks like we won' tmeet i nBrussels [12:11] I need to go home, feeling worse [12:11] ttx, Oh no! [12:11] Tell James [12:11] ttx, Will do.. really sad to hear that... [12:11] I just shouldn't have come [12:11] That was a bad bad idea [12:11] ttx, I didn't know you were poorly. [12:12] well, soren is staying, so you'll be able to ask him about how I was in details [12:12] ttx, Hmm.. my main concern is who is going to buy the beer? [12:12] I have been looking at ehcp any ideas [12:12] ttx, Ah great.. Well yes, don't overdo it and feel better for next $event. [12:13] ack [12:14] hey guys i want to set up my own private server with ubuntu. does it matter what hardware i get? the plan is a "HP ProLiant N36L" [12:14] are there any ubuntu-recommended servers? [12:16] Sheepherd, you will probably be fine with anything... HP is pretty well supported... for more info on certified hardware: http://www.ubuntu.com/certification/ [12:18] Sheepherd linux in general is fine with almost anything [12:19] what about webcp? [12:20] I have to use free ones other wise I would get either zpanel for cpanel [12:20] or** [12:21] I have also found virtualmin [12:21] I am trying to setup Samba [12:22] My goal is to login using unix users [12:22] And get access to users /home directory. [12:22] But i can't get it, so can anyone her look at my conf file? [12:22] ok u can sftp most of the time [12:24] Here is my /etc/samba/smb.conf file: http://pastebin.com/jF7j4UxE [12:33] Can anyone help me? === oubiwann_ is now known as oubiwann [13:08] * \sh swears at upstart [13:11] <\sh> anyone awake who is running lucid with some portchannel bonds? [13:11] yes. no. [13:12] <\sh> Pici: yes, you are awake and no you don't have portchannel bonds? ;) [13:12] \sh: Correct ;) [13:12] <\sh> Pici: hehe...that's bad for me...I need some testers === mrmist is now known as Guest27647 === Mr_mist is now known as mrmist [13:27] portchannel bonds? [13:27] I have many types of bonds, but never heard of portchannel [13:29] mainly use active-backup, 802.3ad, etherchannel [13:29] i think this means just basic etherchannel/port-channel [13:29] so in linux, balance-xor :) === oubiwann is now known as oubiwann_ [13:39] <\sh> patdk-wk: etherchannel...(in cisco speak, on linux it's normally named portchannel, but anyways) [13:39] <\sh> patdk-wk: the problem is described here: http://www.shermann.name/2011/02/ubuntu-1004-lts-portchannel-bonds.html [13:40] <\sh> patdk-wk: on linux I'm running bond mode 4 (lacp + xmit_hash_policy layer3+4, to be cisco compatible) [13:40] you do know that mode 4 != etherchannel [13:41] mode 2 = etherchannel [13:42] \sh, I assume you have "start on (local-filesystems and net-device-up IFACE=eth0)" in your upstart job? [13:42] * patdk-wk gets annoyed with etherchannel though, normally use lacp or nothing at all [13:43] <\sh> patdk-wk: mode 4 == lacp [13:43] <\sh> patdk-wk: btw...I upadted the post with a picture of a bond setup which worked out of the box on Jaunty [13:44] \sh, If so, and that still doesn't work.. you might need to add some sleep magic... :(.... perhaps James Hunt knows.. [13:44] <\sh> Daviey: that's not possible actually, because when you have more then one interface you need to wait for all of them, then it's much better to tweak networking.conf to serve your needs, but there needs to be a default solution, because it worked in the past (without upstart), why not now (with upstart) [13:45] \sh, I imagine it's an ordering issue :-) [13:45] \sh, If you restart the upstart job; does it work? [13:46] <\sh> Daviey: yes..it's just not working after boot [13:46] \sh, You might need a loop, sleep, check stanza :( [13:49] hmm, I haven't layered any bonds yet on lucid [13:49] looks like that is the real issue [13:49] <\sh> patdk-wk: jaunty => perfect / lucid => fail...and it's not the bonding driver which fails [13:50] \sh, Something we do on Eucalyptus to stop something happening too fast is, http://pb.daviey.com/nkiN/ ... Not Ideal! [13:50] what if you do a postup to bond bond0/1 to bond2? [13:50] <\sh> patdk-wk: as said, after boot, bringing down all bond interfaces and bringing them up properly, the setup works [13:51] ya [13:52] I mean, kill the bond-slaves in bond2 [13:52] and have bond0 and bond1 add themselfs to bond2 [13:55] <\sh> patdk-wk: I tried, and the boot just stops [13:55] (kl. 13.21 +0100) halvors: I am trying to setup Samba [13:55] (kl. 13.22 +0100) halvors: My goal is to login using unix users [13:55] (kl. 13.22 +0100) halvors: And get access to users /home directory. [13:55] (kl. 13.22 +0100) halvors: But i can't get it, so can anyone her look at my conf file? [13:56] (kl. 13.24 +0100) halvors: Here is my /etc/samba/smb.conf file: http://pastebin.com/jF7j4UxE [13:56] halvors: afaik samba needs separate passwords for users, you cannot use linux-users directly [13:58] \sh I'll play with it sometime :) just don't have time till nextweek probably [13:58] gobbe: But i can't access homes [13:59] Does not samba ot libpam-smbpass [13:59] syncronize it? [14:07] morning all [14:07] RoAkSoAx, ! [14:07] How is it going? [14:08] Daviey: pretty good, how about yourself [14:09] Daviey: You're not Cisco. [14:12] New bug: #712479 in mysql-5.1 (main) "package mysql-client-5.1 5.1.54-1ubuntu3 failed to install/upgrade: trying to overwrite '/usr/bin/my_print_defaults', which is also in package mysql-server-core-5.1 5.1.49-1ubuntu9" [Undecided,New] https://launchpad.net/bugs/712479 [14:13] jpds, am i not? :o [14:13] RoAkSoAx, Good thanks. [14:16] my server has some nfs shares that are failing to mount on boot, is there any way to proceed booting anyway? it seems like it's just stuck [14:19] panfist: use _netdev in the mount options (after "default" in /etc/fstab). That will make sure they're ignored until the netfs service runs [14:20] s/default/defaults/ - sigh [14:21] thomas_s: i'm having trouble just getting a terminal prompt. it goes straight from the bios screen to the mount.nfs errors. i thought there was a key to press to go to the grub menu or something, but nothing is working [14:22] panfist: oic. you've got the grub timeout set to 0 probably. [14:22] But the failure to mount the fs' (unless it's the root you're nfs mounting?) should drop you to single user mode [14:23] You may need to bring out the ol' bootable cd [14:27] thomas_s, panfist: While the man page will tell you otherwise, _netdev will not help you. See bug 384347 [14:27] Launchpad bug 384347 in util-linux "_netdev not working" [Undecided,Confirmed] https://launchpad.net/bugs/384347 [14:27] sorry, i just crashed, i tried to send ctrl-alt-f3 to the server, it's running in a virtual machine, but the command was sent to the host machine instead and unfortunately trying to switch back to ctrl-alt-f7 causes my host's kernel to freeze [14:28] I have a few clients that don't mount their NFS shares automatically and I mount them after boot with mount -a -t nfs (or nfs4) [14:48] some upstreams should be dead [15:17] is there any way to configure my server so that it starts listening for ssh connections before it tries mounting nfs shares? [15:20] <\sh> patdk-wk: it's became more complicated ... I can see in syslog that the active bond slave changed from bond0 to bond1 but the mac address of bond1 is not taken by bond2 ;)...strange [15:26] SpamapS: ping did you test the mysql stuff first? [15:53] hola [15:53] anybody have experience with setting up freeradius on linux? [15:58] SpamapS: never mind i suck [16:14] I accidentally removed one files from nginx. I reinstalled it but I don't see that file even after reinstallation. Any idea why? [16:18] zul: I will have to disagree with you there. You stink a bit, but you don't suck. :) [16:18] sushi_: is it in /etc ? [16:19] SpamapS: I think I might need to apt-get purge. [16:19] Yeah the file was in /etc/nginx/sites-available/default [16:19] sushi_: no [16:19] well you can --purge.. [16:19] or dpkg -i file.deb --force-confmiss [16:21] Yeah I can see the file after clean reinstall. THis django deployment is just killing me. [16:21] sushi_: removing a conffile is considered the same as editting it.. dpkg preserves it [16:21] sushi_: so --force-confmiss will restore it [16:22] hello, why java not available on repository ? [16:22] SpamapS: Thanks. TIL moment. [16:22] i need to need to remote control 2 bladesystem [16:22] i got a serious problem with java [16:22] !confmiss [16:22] that might be a good thing to have in the bot [16:30] lo [16:30] any one there ? [16:33] plenty people here [16:36] do you see my question ? [16:41] New bug: #712585 in mysql-5.1 (main) "package mysql-client-5.1 5.1.49-1ubuntu9 failed to install/upgrade: trying to overwrite '/usr/bin/perror', which is also in package mysql-server-5.1 5.1.49-1ubuntu9" [Undecided,New] https://launchpad.net/bugs/712585 [16:46] ive got an opsview server setup to send email alerts, but now my sending SMTP acct is getting flooded with delivery failure messages -- ive uninstalled exim4 and still getting email failures, any way to stop the emails? [16:54] zul: have a sec? I'm trying to package fence-agents, and I keep getting this error, in both the debian package, and compiling the source... any ideaS? http://pastebin.ubuntu.com/562065/ [16:55] looking [16:55] RoAkSoAx: bad xml tag maybe? [16:55] zul: that's the thing, the file is empty [16:56] zul: i can't seem to figure it out, gonna have to try to compile it in maverick and see what happens [16:56] fence2man.xsl is empty? [16:57] zul: "python fence_alom" -> fence_alom is [17:00] zul: this command ends up with empty output "python fence_alom ../../../fence/agents/lib/fence2man.xsl -o metadata" [17:00] where fence_alom is created during build [17:00] but is also empty [17:01] maybe it is a bug in the makefile itself [17:02] probably [17:02] SpamapS: so the mysql source stuff [17:08] zul: yes? [17:08] SpamapS: so i dont like it but is a necessary evil so i uploaded it [17:12] SpamapS: so finish up the plugin and ill upload it as well [17:12] and review it [17:12] zul: COOL.. ok n/m you don't stink. ;) [17:13] SpamapS: heh [17:27] zul: seems to be something wrong with python case all other that are not python based, they build ok [17:29] if i only want to send outgoing mail from a server running ubuntu 10.04 what would be the best to install, exim ? [17:47] New bug: #326849 in linux (main) "KVM Kernel bugs in intrepid guests under jaunty host" [Low,New] https://launchpad.net/bugs/326849 [18:07] SpamapS: can you look at https://bugs.launchpad.net/ubuntu/+source/nis/+bug/569757 its upstartish :) [18:07] Launchpad bug 569757 in nis "NIS upstart dependancy broken for lucid" [Wishlist,Confirmed] [18:12] zul: no sorry we fixed all the bugs in upstart that is user error ;) [18:13] SpamapS: heh you just dont want to touch nis [18:14] DING DING DING [18:14] bingo [18:14] I used NIS successfully to deploy a roaming /home solution for a middle school computer lab once. [18:14] *never again* [18:17] SpamapS: yes those were the days [18:27] lol [19:07] 4 yorkshiremen go! [19:17] hi all [19:17] how to set the smtp server of my provider in my home's mailrc file i use mailutils 2.1 [19:17] i saw the manual but not enough clear [19:17] someone have a mailrc sample [19:30] gurkan_: what are u trying to do ? [19:30] more details please [19:32] i try to set the smtp server of my provider in my home's mailrc file , it's for sending mail [19:32] i try to send mail myself === NG_ is now known as ng_ [19:33] anybody here familiar with freeradius? I keep going in loops with the authentication process. [19:34] i want to implement the line smtp://mysmtp.server.stuff in mailrc , i messed up the config [19:43] I jsut installed ubuntu server, but I'm getting an error when starting the system: modprobe: FATAL: Could not local /lib/modules/2.6.35-22-server/modules.dep [19:44] Altought the modules.dep exists, I already tried running depmod and regenerationg initramfs. Any ideas? [19:46] *Could not load /lib... [20:02] New bug: #712707 in bind9 (main) "everything owned by bind" [Undecided,New] https://launchpad.net/bugs/712707 [20:17] Has anyone here experienced an Ubuntu 9.4 Apache web server freezing up when the sendmail minute cron runs? I've looked all over but haven't been able to find any other instances of the same thing happening on the forums. [20:33] LaRockus, being a server, any reason it hasn't been upgraded to 10.04 LTS? [20:37] compatibility issues with our latest software release hasn't been through the QA process completely on a 10.4. I wish it had though, would love to get it upgraded. [20:39] I have 15 servers with the exact same configuration, only this one is giving me issue. [20:40] SpamapS, what woudl you do with: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/711635 [20:40] Launchpad bug 711635 in mysql-dfsg-5.1 "mysql update fails waiting for input" [Low,Confirmed] [20:40] smoser: reading [20:40] LaRockus: anything in the logs...are the server patches up to date? [20:41] patches are up to date. Which logs specifically? [20:42] smoser: interesting.. I'd look at daemon.log .. is upstart trying to respawn mysqld? [20:42] well, the config probably tried to restart it [20:42] but its never going to start [20:42] LaRockus: usually freezes are kernel panics....have you been updating the kernels? [20:42] because it can't read /var/lib/mysql [20:42] :) [20:42] smoser: it shouldn't "never start" tho.. it should just error out [20:42] well, it is just hanging there. [20:43] Right, start mysql is waiting for something... [20:43] I have a question regarding ufw - I block outgoing connections but there are connections from port 80 to random higher ports (and random ips) that are blocked. apache should not doing this or? [20:43] smoser: /lib/init/apparmor-profile-load usr.sbin.mysqld [20:43] smoser: is that running? [20:44] anybody set up freeradius before? I'm having uathentication issues that I can't seem to track down [20:45] thesheff17, the install is less than a week old, unless there has been a huge kernel update in the last week should be good. the site actually stays up, and sendmail still sends when manually ran, its just extremely slow though, and does not run on through the cron [20:45] LaRockus: can you manually run the same command as the cron job runs? [20:46] SpamapS, http://paste.ubuntu.com/562208/ [20:46] yeah, it takes about 10 minutes for each message to process. [20:48] LaRockus: maybe a hardware issue or a networking issues....how long does it take on the other servers? is it instant? [20:49] smoser: ahh! [20:49] smoser: its spinning forever in the post-start [20:49] smoser: or rather, it should only be spinning for 30 seconds [20:50] SpamapS, i wouldnt think its in post-start [20:50] smoser: status mysql [20:50] as there is no mysql process (in that pastebin) [20:50] smoser: right, because it exitted [20:50] mysql respawn/post-start, (post-start) process 24511 [20:50] but post-start spins trying to ping the server [20:50] yep [20:50] should fail after 30 seconds [20:51] the transmission itself is almost instant, in and out through the mail queue in almost no time. [20:52] smoser: it should actually report the failure.. just that it will take 30 seconds :-P [20:52] LaRockus: sounds like a routing issue...I would check dns, network config, ping times, tracepath maybe even a different nic on the server. [20:53] * RoAkSoAx spent hours and hours trying to figure out what was wrong with the packaging/compilation of fence-agents to end up discovring that the cause of the failure was becuase of dash [20:53] with a routing issue would i experience any issues with the page displaying. [20:54] LaRockus: with apache? not sure I understand the question ...displaying [20:54] SpamapS, yeah, its not failing after 30 seconds. [20:54] smoser: hmm.. logic error maybe [20:56] smoser: can you strace that sh process? [20:56] You actually might not be able to.. not sure if upstart ptrace's its post-start shells [20:56] New bug: #712746 in mysql-5.1 (main) "package mysql-client-5.1 5.1.49-1ubuntu9 failed to install/upgrade: trying to overwrite '/usr/bin/perror', which is also in package mysql-server-5.1 5.1.49-1ubuntu9" [Undecided,New] https://launchpad.net/bugs/712746 [20:56] I think not tho [20:57] I would expect to see issues with the web page displaying if there were physical issues with my nic, or with the DNS routing, or is my thinking wrong. [20:58] LaRockus: I admit I haven't used 9.04 much but when I did I saw it terribly slow on ssh for some reason even though apache worked fine....another thing you can do is just try 10.04 and see if you see the same problem and then you know it is software based. [20:59] SpamapS, upstart is re-execing that [20:59] I might have to try 10.04, I'm just reluctant with it being on a live customer. Thanks for the tips, im looking into those now. [20:59] i added a sh -x and redirected the post-start output to a file and i can watch it get called again after counting to 30 [20:59] smoser: HMM [21:00] smoser: I wonder if that has to do with the respawning [21:00] respawn [21:00] yeah [21:00] it makes sense. [21:00] the job failed [21:00] upstarts trying to restart it [21:00] smoser: so maybe we need a respawn limit [21:00] LaRockus: there is just allot of factors from hardware, to networking config, to software...and only slowing eliminating them will help you find the problem. [21:00] I think the normal limit is like, 3 times in 5 seconds [21:00] But if we're delaying it by 30 seconds.... [21:01] hm... can you exit from a pre-start in a way that says "don't bother" [21:01] actually we should probably change the goal back to stop [21:01] yes, stop ; exit 0 [21:01] why not stop exit 1 [21:01] oh either is ok [21:02] 1 will report the problem to the user so yeah thats better [21:02] 0 is for if its been disabled [21:05] smoser: ultimately, we don't want to keep respawning over and over. [21:05] smoser: so I think the fix is respawn limit 3 95 .. which would mean it respawns 3 times in a row waiting 30 seconds between (and give it 5 seconds for churn) [21:06] smoser: will post in the bug.. [21:06] i dont know. [21:06] you migh tconsistently miss the 3 restarts in 95 seconds [21:06] due to load [21:06] and still hang there [21:07] I don't see a way to know before starting mysqld, that mysqld is going to fail.. but we can probably confirm that its not starting correctly if it fails 3 times in a row. [21:07] the exec is instantaneous.. [21:07] i think if the post-start doesn't ever ping after 30 seconds, i think 'stop; exit 1;' is proper [21:07] the mysqladmin is a unix socket only.. [21:07] nothing is instantaneous [21:07] so the thing would have to be *destroyed* with load [21:08] its also running http://pastebin.com/ZgPrG9AQ [21:08] on a respawn, the exec will wait for almost nothing [21:08] the binary is already cached.. [21:09] http://pastebin.com/PSCz4HpN is /usr/share/mysql/debian-start.inc.sh [21:09] forks left and right in that script. [21:09] * SpamapS just loves waiting 30 seconds for pastebin's ads [21:10] all sorts of things could make this take longer than 1.033 seconds to run a full post-start [21:10] anyway... [21:10] if the thing never pings inside 30 seconds, the idea is its dead. [21:10] respawning is pointless. [21:10] smoser: debian-start is after everything is ok [21:10] true. [21:11] 120 may be in order though. [21:11] so, i dont know. but why would you bother. [21:11] just .. because why not? [21:11] it is seriously not going to come up [21:11] the whole point of the pre-start is to do this delay and wait for you [21:11] I'm more worried that we're only waiting 30 seconds [21:11] what value is there in doing it 4 times. [21:11] Have had mysql servers wait *hours* [21:12] innodb recovery is a bitch [21:12] hm.. [21:12] i dlon t knwo. [21:13] if post-start exits false, then upstart respawns ? [21:13] so you're thinking only try and respawn once? [21:13] no [21:13] does it ? [21:13] upstart respawns if the main process exits != 0 [21:13] so the loop is caused by mysql actually dying [21:13] yeah. [21:14] if the process is up, but the post-start exits 1 .. I think its just going to fail the start event [21:14] but the state won't be changed [21:14] * SpamapS tests this thory [21:14] theory too [21:16] actually exit 1 in post-start does nothing [21:17] Feb 3 13:16:07 lucid init: test-pstart post-start process (1279) terminated with status 1 [21:17] thats about all you get [21:18] So really all you're doing is delaying or cancelling the started event [21:19] (running stop in post-start will kill the main process and there won't be a started event) [21:20] hi there [21:20] is there anyone here [21:20] azertyu: yes! [21:21] well i got a vps server [21:21] i forgot to backup data [21:21] now someone hack my server [21:22] root password gone [21:22] uh oh [21:22] my question is : is it possible to sync vps data to my home pc ? [21:22] azertyu: I'm sure you can get a massage and some tylenol... [21:23] azertyu: sure. just rsync the data. [21:23] i got2T Þ of HDD at home [21:24] azertyu, you can certainly sync anything your user can get to, assuming you can get to the vps system. [21:25] rsync is it a virtual raid ? [21:26] azertyu: no it just copies things very quickly [21:26] azertyu: if you want the data copied in real time that will be much harder [21:28] what do you mean by quickly copies ? [21:28] is that copies just the data [21:28] ? === ogra_ac_ is now known as ogra [21:29] first i want to know virtual raid is that existing ? [21:32] smoser: fyi the default is not to stop respawning unless it tries *10 times* in 5 seconds [21:32] smoser: doh [21:32] i suspect that someone just added exim4 to the list of packages supervised by ubuntu-server [21:32] http://ubuntu-server-new-bugs.notlong.com/ [21:33] well, what i want to kow is : i want to synceverything on my home pc from the vps in case if i change my vps i need every to reconstruct [21:33] is it possible ? [21:33] rebuild [21:33] azertyu: you should look into etckeeper too.. [21:34] azertyu, you could very likely do something like a 'ssh root@VPS dd /dev/sda > my.disk.img' [21:34] but that is going to take quite a while [21:35] hah.. and may not be usable on a different disk. [21:35] you're would be much better off just getting the filesystem contents, and posibly the partition table and MBR or something. [21:36] rsync -avz root@VPS:/ ./my-vps-backup [21:36] yeah, ssh root@VPS tar -czf - > backup.tar.gz also works [21:36] or you could do what I do.. tar my boxes up and push the tarball into S3 [21:36] the rsync would be interupptable would be the big reason to use that. [21:36] if you connection died it would resume well. [21:36] is the dd output conform to the .img format (if there even is one?) [21:37] there is no ".img" format really. [21:37] ah [21:37] but basically, it would work with kvm as a "raw" disk file [21:37] (qemu-img create -f raw my-disk.img) [21:37] raw [21:37] i see [21:40] there is no result for etchkeeper [21:40] ! [21:40] azertyu: etckeeper [21:40] yes [21:41] ok [21:41] find it === ng_ is now known as NG_ [21:41] cfengine is for what ? [21:42] anyone know that package ? [21:42] cfengine is more for managing multiple machines [21:43] be explicit [21:43] cfengine more for managing multiple machines, $#@! [21:44] what kind of tasks ? [21:44] managing what kind of tasks ? [21:47] smoser: the plot thickens .. I think the default respawn policy may cause something weird. *ANY* respawn limit clause seems to fix this problem. [21:47] smoser: including 'respawn limit unlimited' [21:48] heh.. which is an undocumented feature.. fun [21:49] really. [21:49] thats interesting. [21:50] yeah I'm trying some crazy limits and it works as I'd expect.. failed to start job [21:50] so the pre-start isn't counted in the respawn i guess ? [21:51] post-start.. [21:51] not sure [21:53] smoser: so there's something that gets inexplicably changed just by having a limit mentioned.. [21:53] smoser: the code defines the defaults as a limit of 10, interval 5 seconds [21:53] smoser: but if I say respawn limit 10 5 ... the job fails as I'd expect [21:54] smoser: likewise a limit of 1 100 .. or 100000 10000000 [21:54] I think this one has to go upstream [22:07] were is the link to the hypervisor for zen bearmetal [22:21] smoser: commented. The workaround/fix for mysql seems simple.. I'm betting the fix in upstart is not. [22:26] New bug: #712787 in samba (main) "DBus error when connecting to shared folders in Nautilus" [Undecided,New] https://launchpad.net/bugs/712787 [22:37] zul: when can we kick nis out of main? ;) [22:50] What do I need to have a file and print server? [22:51] Apache and CUPS? [22:51] samba and cups? [22:58] MsBetty, that depends on your clients [22:59] qman__, two laptops on a home network [22:59] CUPS is needed if the printers are directly attached to the server regardless [22:59] if you have windows clients, you need samba [22:59] if you have linux clients, you have options [23:00] qman__, 1 laptop dual boots windows 7/#! and one is Linux Mint 10. An old desktop is getting reused for ubuntu server. [23:01] linux clients can connect directly to CUPS [23:01] but that's only for the printers [23:01] you'd still need a file server [23:01] linux clients can connect to samba file servers, so in a mixed network, samba is the most convenient [23:02] so I really just need to configure samba and cups properly. and make sure the clients have the appropriate packages? [23:02] that would work [23:04] qman__, thank you for the input. I'll go read the manuals and hopefully everything will go well. [23:04] no problem, good luck [23:09] yo, i see that bug too when i connect to samba shares in nautilus [23:10] !bug 712787 [23:10] Launchpad bug 712787 in samba "DBus error when connecting to shared folders in Nautilus" [Undecided,New] https://launchpad.net/bugs/712787