/srv/irclogs.ubuntu.com/2011/02/03/#ubuntu-server.txt

wotwothi00:08
KB1JWQ!hi00:14
slicslakso, what do you guys say, is `nohup /bin/foo_daemon &` an appropriate replacement for a real init script?  :)00:16
twbThat all depends00:18
twbYou would probably do better to make an upstart job00:18
twbhttp://paste.debian.net/106373/ <-- example00:19
slicslakthx 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 paste00:20
wotwotis there a currently working upgrade path from dapper to lucid ?00:23
twbslicslak: you have upstart; don't bother00:31
twbslicslak: 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.00:32
=== genii-around_ is now known as genii-around
slicslaktwb, oh interesting02:07
slicslakya, upstart looks be good enough02:07
twbNote that metainit is currently dead in the water, because init developers are insular, NIH-happy bozos02:07
slicslaklol02:08
=== genii-around_ is now known as genii-around
=== genii-around_ is now known as genii-around
fluvvellany tips on how to boot 8.04 server cd under virtualbox without a kernel panic?05:28
jmarsdenfluvvell: I think it needs the PAE extensions visible to it.05:30
fluvvelljmarsden, yeah thought I'd just turned them on - still panic05:32
fluvvellpae/nx extended features enabled.05:33
jmarsdenHmm, 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:33
fluvvellyes, I have another that works, created a while ago too. Its just I need a new one for a transfer task. :(05:34
fluvvellis there a vga=   something setting to set in boot options ?05:35
jmarsdenOK, let's see if I can create a new one here :)05:35
jmarsdenI'm pretty sure I didn't have to do that...05:36
jmarsdenfluvvell: Enable IO APIC :)05:38
jmarsden(I created one which crashed and read the traceback... which was about the APIC...)05:38
fluvvellAh05:39
fluvvellwow, thats it.05:39
fluvvellYes there was that in the traceback - of course! Thanks jmarsden!05:41
jmarsdenfluvvell: You're welcome.05:41
fluvvellWell thats an 8.04 bare bones server install completed and logged in, 34Gb virtual hard disk space!05:46
fluvvellWas that 5Min???05:46
EvilPhoenix6.34 mins.05:46
EvilPhoenixsince your last post.05:46
fluvvellAstounding.05:47
twbLP57080506:04
twbLP #57080506:04
uvirtbotLaunchpad 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/57080506:04
uvirtbotNew 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/71229106:41
chaunchhey guys07:01
chaunchim trying to setup openvpn to tunnel all traffic to my VPS, but I need to setup a bridge interface to do it07:02
chaunchim having problems doing it though07:02
sorentwb: You asked yesterday (or the day before) why su forks instead of just execing.07:03
twbsoren: yes07:03
sorentwb: It's because it needs to know when the process finishes so that it can close the pam session.07:03
sorentwb: If you compile su with out pam support, it just execs.07:04
twbHum, OK.07:04
twbBut why is there a session when I'm not using "su -" ?07:04
chaunchhttps://help.ubuntu.com/10.10/serverguide/C/network-configuration.html#bridging07:05
sorentwb: Million dollar question.07:05
chauncham i suppsoed to replace the original /etc/network/interfaces file with the one there?07:05
sorentwb: 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:09
sorentwb: It's a half-baked argument, though. At best.07:11
twbOh well; I'm fighting lucid-security's sync()-happy dpkg right now, which is way more important07:11
=== robbiew is now known as robbiew_
sorentwb: Oh. It's the session handling that does stuff like mount the user's home directory and such. That sounds pretty useful :)07:17
KB1JWQsoren: Is that automount stuff?07:17
sorenKB1JWQ: Depends on your PAM configuration. For me, for instance, it's ecryptfs.07:18
KB1JWQAhhh.07:19
KB1JWQInteresting, I haven't played with encrypted home directories on servers yet.07:19
sorenKB1JWQ: Well, this isn't really server specific.07:21
KB1JWQsoren: 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:21
twbIs ecryptfs as shitty as pam_mount?07:26
twbIn terms of mounting, I mean -- irrespective of crypto-y-ness07:26
goddardI need some help pxe isnt working07:37
goddardtrying 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
goddardbut it doesnt work07:38
goddardany ideas?07:38
goddardno more address or address previously allocated by another server [02/02 23:31:02.324]07:39
goddardRcvd DHCP Discover Msg for IP 0.0.0.0, Mac07:39
goddardit connects to dhcp i think just says no boot file name received07:43
twbWindows 6.1 ships with a TFTP server?07:54
twbgoddard: the DHCPACK needs to pass the filename option, setting it to a string denoting the path to pxelinux.0 within the TFTP tree07:55
goddardahh ha07:56
goddardgot it07:56
goddardim trying to install ubuntu to compact flash and it isnt auto detecting what driver do i need any ideas?09:21
twbgoddard: last time I did it, it just used the generic scsi driver -- the same as a SATA disk09:22
DigitalFluxHi Guys09:24
DigitalFluxAnybody aware of a method to do a non-interactive execution of do-release-upgrade ?09:24
twbpass DEBIAN_FRONTEND=noninteractive to it?09:25
goddardtwb that seems like it almost works but complains about some size problem09:26
goddardim using the scsi_debug driver09:26
twbDigitalFlux: note that if you're doing an actual upgrade from one release to another, you really really should read those messages.09:26
DigitalFluxtwb: did that, didn't work09:26
DigitalFluxtwb: I understand, i am just stuck with an old image template and need to automate it's upgrades09:27
twbNod09:27
twbI 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 at09:28
twb*I don't like or use it09:28
goddardive never manually configured my drive before09:28
goddardI guess 8.4 gb is to small to auto partition09:28
twbgoddard: I dunno.09:29
twbgoddard: just allocate a single huge root filesystem, and no swap09:29
twbgoddard: (I'm assuming this is a router or so, and you have more than enough ram.)09:29
halvorsRoyK: I don't got that Samba server work last day, can you help me a bit more?09:29
pit32wont dance ?09:30
goddardtwb i would although there isnt really an option for it i see raid lvm and iscsi09:34
goddardthis isnt right09:34
twbgoddard: choose "manual partitioning", silly09:34
goddardtwb i go detect disks and it only shows me an 8.4mb thing and not my 12gb compact flash09:36
goddardand since i picked a driver it wont let me go back09:36
goddardtwb this is pointless09:36
twbOh 8.4 MEGAbytes09:36
goddardyeah but that isnt right09:37
twbI thought it was successfully detecting an 8GiB CF card09:37
twbIs the CF reader on the motherboard?09:37
goddardme to till i read mb haha09:37
goddardthis is a little thin client09:38
twbIf I were you I'd roll an image using live-build and/or LTSP09:38
twbThen just dd it on09:38
goddardtwb well it was interesting more trouble than it is worth though09:42
goddardatleast i learned how to setup pxe haha09:43
=== MTecknology is now known as ngx_mteck
=== ngx_mteck is now known as MTecknology
RoyKhalvors: sure, but I didn't quite understand _what_ that was that didn't work, and then you left10:43
rtyuiohello there11:34
rtyuiohow to install complete java package ?11:34
shadow42085hey I am running a Ubuntu Server 10.04 with LAMP+Sendmail+Webmin I need to config sendmail woth webmin any ideas11:36
uvirtbotNew bug: #712392 in qemu-kvm (main) "qemu-img convert blocks other tasks" [Undecided,New] https://launchpad.net/bugs/71239211:52
airtonixshadow42085: pretty sure webmin is not supported on ubuntu anymore11:55
shadow42085well what is recommened free Control Panel to use with LAMP+Sendmail or LAMP+Postfix11:57
Davieyshadow42085, The nearest to being recommend is ebox (now called Zentyal)... but it's still NOT recommended.12:00
DavieyThis is an area of the server that isn't actively worked on as much as some would hope.12:00
shadow42085sheesh I am setting up a complete personal site except for domain with I use no-ip.com with DDNS12:02
shadow42085all I need is a control panel and a mail server12:02
shadow42085and the control panel sets it up I hate using command line and donlt want to use a GUI on the server12:03
shadow42085I could always use win server 03 but it's to old12:06
Davieyshadow42085, why not try the command line?12:08
shadow42085well if I try to config something in command I might mess up a config with12:08
shadow42085file with it**12:09
Davieyshadow42085, oh sure... but could you not do the same thing in a GUI?12:09
Davieyshadow42085, sudo cp /etc/some-config /etc/some-config.bak ... then you have a backup.12:09
Davieyif all else fails, purge the package and reinstall that package... :)12:10
shadow42085thats true but I want to be able to have access to all my server programs not other junk12:10
TeTeTI'd recommend etckeeper if you want to keep a trace of your chanegs12:10
ttxDaviey: looks like we won' tmeet i nBrussels12:11
ttxI need to go home, feeling worse12:11
Davieyttx, Oh no!12:11
ttxTell James12:11
Davieyttx, Will do.. really sad to hear that...12:11
ttxI just shouldn't have come12:11
ttxThat was a bad bad idea12:11
Davieyttx, I didn't know you were poorly.12:11
ttxwell, soren is staying, so you'll be able to ask him about how I was in details12:12
Davieyttx, Hmm.. my main concern is who is going to buy the beer?12:12
shadow42085I have been looking at ehcp any ideas12:12
Davieyttx, Ah great.. Well yes, don't overdo it and feel better for next $event.12:12
ttxack12:13
Sheepherdhey 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
Sheepherdare there any ubuntu-recommended servers?12:14
DavieySheepherd, you will probably be fine with anything... HP is pretty well supported... for more info on certified hardware: http://www.ubuntu.com/certification/12:16
shadow42085Sheepherd linux in general is fine with almost anything12:18
shadow42085what about webcp?12:19
shadow42085I have to use free ones other wise I would get either zpanel for cpanel12:20
shadow42085or**12:20
shadow42085I have also found virtualmin12:21
halvorsI am trying to setup Samba12:21
halvorsMy goal is to login using unix users12:22
halvorsAnd get access to users /home directory.12:22
halvorsBut i can't get it, so can anyone her look at my conf file?12:22
shadow42085ok u can sftp most of the time12:22
halvorsHere is my /etc/samba/smb.conf file: http://pastebin.com/jF7j4UxE12:24
halvorsCan anyone help me?12:33
=== oubiwann_ is now known as oubiwann
* \sh swears at upstart13:08
\shanyone awake who is running lucid with some portchannel bonds?13:11
Piciyes. no.13:11
\shPici: yes, you are awake and no you don't have portchannel bonds? ;)13:12
Pici\sh: Correct ;)13:12
\shPici: hehe...that's bad for me...I need some testers13:12
=== mrmist is now known as Guest27647
=== Mr_mist is now known as mrmist
patdk-wkportchannel bonds?13:27
patdk-wkI have many types of bonds, but never heard of portchannel13:27
patdk-wkmainly use active-backup, 802.3ad, etherchannel13:29
gobbei think this means just basic etherchannel/port-channel13:29
patdk-wkso in linux, balance-xor :)13:29
=== oubiwann is now known as oubiwann_
\shpatdk-wk: etherchannel...(in cisco speak, on linux it's normally named portchannel, but anyways)13:39
\shpatdk-wk: the problem is described here: http://www.shermann.name/2011/02/ubuntu-1004-lts-portchannel-bonds.html13:39
\shpatdk-wk: on linux I'm running bond mode 4 (lacp + xmit_hash_policy layer3+4, to be cisco compatible)13:40
patdk-wkyou do know that mode 4 != etherchannel13:40
patdk-wkmode 2 = etherchannel13:41
Daviey\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 all13:42
\shpatdk-wk: mode 4 == lacp13:43
\shpatdk-wk: btw...I upadted the post with a picture of a bond setup which worked out of the box on Jaunty13:43
Daviey\sh, If so, and that still doesn't work.. you might need to add some sleep magic... :(.... perhaps James Hunt knows..13:44
\shDaviey: 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:44
Daviey\sh, I imagine it's an ordering issue :-)13:45
Daviey\sh, If you restart the upstart job; does it work?13:45
\shDaviey: yes..it's just not working after boot13:46
Daviey\sh, You might need a loop, sleep, check stanza :(13:46
patdk-wkhmm, I haven't layered any bonds yet on lucid13:49
patdk-wklooks like that is the real issue13:49
\shpatdk-wk: jaunty => perfect / lucid => fail...and it's not the bonding driver which fails13:49
Daviey\sh, Something we do on Eucalyptus to stop something happening too fast is, http://pb.daviey.com/nkiN/ ... Not Ideal!13:50
patdk-wkwhat if you do a postup to bond bond0/1 to bond2?13:50
\shpatdk-wk: as said, after boot, bringing down all bond interfaces and bringing them up properly, the setup works13:50
patdk-wkya13:51
patdk-wkI mean, kill the bond-slaves in bond213:52
patdk-wkand have bond0 and bond1 add themselfs to bond213:52
\shpatdk-wk: I tried, and the boot just stops13:55
halvors(kl. 13.21 +0100) halvors: I am trying to setup Samba13:55
halvors(kl. 13.22 +0100) halvors: My goal is to login using unix users13:55
halvors(kl. 13.22 +0100) halvors: And get access to users /home directory.13:55
halvors(kl. 13.22 +0100) halvors: But i can't get it, so can anyone her look at my conf file?13:55
halvors(kl. 13.24 +0100) halvors: Here is my /etc/samba/smb.conf file: http://pastebin.com/jF7j4UxE13:56
gobbehalvors: afaik samba needs separate passwords for users, you cannot use linux-users directly13:56
patdk-wk\sh I'll play with it sometime :) just don't have time till nextweek probably13:58
halvorsgobbe: But i can't access homes13:58
halvorsDoes not samba ot libpam-smbpass13:59
halvorssyncronize it?13:59
RoAkSoAxmorning all14:07
DavieyRoAkSoAx, !14:07
DavieyHow is it going?14:07
RoAkSoAxDaviey: pretty good, how about yourself14:08
jpdsDaviey: You're not Cisco.14:09
uvirtbotNew 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/71247914:12
Davieyjpds, am i not? :o14:13
DavieyRoAkSoAx, Good thanks.14:13
panfistmy 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 stuck14:16
thomas_spanfist: use _netdev in the mount options (after "default" in /etc/fstab). That will make sure they're ignored until the netfs service runs14:19
thomas_ss/default/defaults/ - sigh14:20
panfistthomas_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 working14:21
thomas_spanfist: oic. you've got the grub timeout set to 0 probably.14:22
thomas_sBut the failure to mount the fs' (unless it's the root you're nfs mounting?) should drop you to single user mode14:22
thomas_sYou may need to bring out the ol' bootable cd14:23
alvinthomas_s, panfist: While the man page will tell you otherwise, _netdev will not help you. See bug 38434714:27
uvirtbotLaunchpad bug 384347 in util-linux "_netdev not working" [Undecided,Confirmed] https://launchpad.net/bugs/38434714:27
panfistsorry, 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 freeze14:27
alvinI 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:28
zulsome upstreams should be dead14:48
panfistis there any way to configure my server so that it starts listening for ssh connections before it tries mounting nfs shares?15:17
\shpatdk-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 ;)...strange15:20
zulSpamapS: ping did you test the mysql stuff first?15:26
Roastedhola15:53
Roastedanybody have experience with setting up freeradius on linux?15:53
zulSpamapS: never mind i suck15:58
sushi_I accidentally removed one files from nginx. I reinstalled it but I don't see that file even after reinstallation. Any idea why?16:14
SpamapSzul: I will have to disagree with you there. You stink a bit, but you don't suck. :)16:18
SpamapSsushi_: is it in /etc ?16:18
sushi_SpamapS: I think I might need to apt-get purge.16:19
sushi_Yeah the file was in /etc/nginx/sites-available/default16:19
SpamapSsushi_: no16:19
SpamapSwell you can --purge..16:19
SpamapSor dpkg -i file.deb --force-confmiss16:19
sushi_Yeah I can see the file after clean reinstall. THis django deployment is just killing me.16:21
SpamapSsushi_: removing a conffile is considered the same as editting it.. dpkg preserves it16:21
SpamapSsushi_: so --force-confmiss will restore it16:21
azertyuhello, why java not available on repository ?16:22
sushi_SpamapS: Thanks. TIL moment.16:22
azertyui need to need to remote control 2 bladesystem16:22
azertyui got a serious problem with java16:22
SpamapS!confmiss16:22
SpamapSthat might be a good thing to have in the bot16:22
azertyulo16:30
azertyuany one there ?16:30
sushi_plenty people here16:33
azertyudo you see my question ?16:36
uvirtbotNew 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/71258516:41
Tophative 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:46
RoAkSoAxzul: 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:54
zullooking16:55
zulRoAkSoAx: bad xml tag maybe?16:55
RoAkSoAxzul: that's the thing, the file is empty16:55
RoAkSoAxzul: i can't seem to figure it out, gonna have to try to compile it in maverick and see what happens16:56
zulfence2man.xsl is empty?16:56
RoAkSoAxzul: "python fence_alom" -> fence_alom is16:57
RoAkSoAxzul: this command ends up with empty output "python fence_alom ../../../fence/agents/lib/fence2man.xsl -o metadata"17:00
RoAkSoAxwhere fence_alom is created during build17:00
RoAkSoAxbut is also empty17:00
RoAkSoAxmaybe it is a bug in the makefile itself17:01
zulprobably17:02
zulSpamapS: so the mysql source stuff17:02
SpamapSzul: yes?17:08
zulSpamapS: so i dont like it but is a necessary evil so i uploaded it17:08
zulSpamapS: so finish up the plugin and ill upload it as well17:12
zuland review it17:12
SpamapSzul: COOL.. ok n/m you don't stink. ;)17:12
zulSpamapS: heh17:13
RoAkSoAxzul: seems to be something wrong with python case all other that are not python based, they build ok17:27
geekbriif i only want to send outgoing mail from a server running ubuntu 10.04 what would be the best to install, exim ?17:29
uvirtbotNew bug: #326849 in linux (main) "KVM Kernel bugs in intrepid guests under jaunty host" [Low,New] https://launchpad.net/bugs/32684917:47
zulSpamapS: can you look at https://bugs.launchpad.net/ubuntu/+source/nis/+bug/569757 its upstartish :)18:07
uvirtbotLaunchpad bug 569757 in nis "NIS upstart dependancy broken for lucid" [Wishlist,Confirmed]18:07
SpamapSzul: no sorry we fixed all the bugs in upstart that is user error ;)18:12
zulSpamapS: heh you just dont want to touch nis18:13
SpamapSDING DING DING18:14
SpamapSbingo18:14
SpamapSI used NIS successfully to deploy a roaming /home solution for a middle school computer lab once.18:14
SpamapS*never again*18:14
zulSpamapS: yes those were the days18:17
RoAkSoAxlol18:27
airtonix4 yorkshiremen go!19:07
gurkan_hi all19:17
gurkan_ how to set the smtp server of my provider in my home's mailrc file i use mailutils 2.119:17
gurkan_i saw the manual but not enough clear19:17
gurkan_someone have a mailrc sample19:17
gnuyogagurkan_: what are u trying to do ?19:30
gnuyogamore details please19:30
gurkan_i try to set the smtp server of my provider in my home's mailrc file , it's for sending mail19:32
gurkan_i try to send mail myself19:32
=== NG_ is now known as ng_
Roastedanybody here familiar with freeradius? I keep going in loops with the authentication process.19:33
gurkan_i want to implement the line smtp://mysmtp.server.stuff in mailrc , i messed up the config19:34
SorinanI 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.dep19:43
SorinanAltought the modules.dep exists, I already tried running depmod and regenerationg initramfs. Any ideas?19:44
Sorinan*Could not load /lib...19:46
uvirtbotNew bug: #712707 in bind9 (main) "everything owned by bind" [Undecided,New] https://launchpad.net/bugs/71270720:02
LaRockusHas 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:17
fluvvellLaRockus, being a server, any reason it hasn't been upgraded to 10.04 LTS?20:33
LaRockuscompatibility 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:37
LaRockusI have 15 servers with the exact same configuration, only this one is giving me issue.20:39
smoserSpamapS, what woudl you do with: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/71163520:40
uvirtbotLaunchpad bug 711635 in mysql-dfsg-5.1 "mysql update fails waiting for input" [Low,Confirmed]20:40
SpamapSsmoser: reading20:40
thesheff17LaRockus: anything in the logs...are the server patches up to date?20:40
LaRockuspatches are up to date. Which logs specifically?20:41
SpamapSsmoser: interesting.. I'd look at daemon.log .. is upstart trying to respawn mysqld?20:42
smoserwell, the config probably tried to restart it20:42
smoserbut its never going to start20:42
thesheff17LaRockus: usually freezes are kernel panics....have you been updating the kernels?20:42
smoserbecause it can't read /var/lib/mysql20:42
smoser:)20:42
SpamapSsmoser: it shouldn't "never start" tho.. it should just error out20:42
smoserwell, it is just hanging there.20:42
SpamapSRight, start mysql is waiting for something...20:43
glycoknobI 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
SpamapSsmoser:     /lib/init/apparmor-profile-load usr.sbin.mysqld20:43
SpamapSsmoser: is that running?20:43
Roastedanybody set up freeradius before? I'm having uathentication issues that I can't seem to track down20:44
LaRockusthesheff17, 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 cron20:45
SpamapSLaRockus: can you manually run the same command as the cron job runs?20:45
smoserSpamapS, http://paste.ubuntu.com/562208/20:46
LaRockusyeah, it takes about 10 minutes for each message to process.20:46
thesheff17LaRockus: maybe a hardware issue or a networking issues....how long does it take on the other servers? is it instant?20:48
SpamapSsmoser: ahh!20:49
SpamapSsmoser: its spinning forever in the post-start20:49
SpamapSsmoser: or rather, it should only be spinning for 30 seconds20:49
smoserSpamapS, i wouldnt think its in post-start20:50
SpamapSsmoser: status mysql20:50
smoseras there is no mysql process (in that pastebin)20:50
SpamapSsmoser: right, because it exitted20:50
smosermysql respawn/post-start, (post-start) process 2451120:50
SpamapSbut post-start spins trying to ping the server20:50
SpamapSyep20:50
SpamapSshould fail after 30 seconds20:50
LaRockusthe transmission itself is almost instant, in and out through the mail queue in almost no time.20:51
SpamapSsmoser: it should actually report the failure.. just that it will take 30 seconds :-P20:52
thesheff17LaRockus: sounds like a routing issue...I would check dns, network config, ping times, tracepath maybe even a different nic on the server.20:52
* 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 dash20:53
LaRockuswith a routing issue would i experience any issues with the page displaying.20:53
thesheff17LaRockus: with apache?  not sure I understand the question ...displaying20:54
smoserSpamapS, yeah, its not failing after 30 seconds.20:54
SpamapSsmoser: hmm.. logic error maybe20:54
SpamapSsmoser: can you strace that sh process?20:56
SpamapSYou actually might not be able to.. not sure if upstart ptrace's its post-start shells20:56
uvirtbotNew 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/71274620:56
SpamapSI think not tho20:56
LaRockusI 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:57
thesheff17LaRockus: 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:58
smoserSpamapS, upstart is re-execing that20:59
LaRockusI 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
smoseri added a sh -x and redirected the post-start output to a file and i can watch it get called again after counting to 3020:59
SpamapSsmoser: HMM20:59
SpamapSsmoser: I wonder if that has to do with the respawning21:00
smoserrespawn21:00
smoseryeah21:00
smoserit makes sense.21:00
smoserthe job failed21:00
smoserupstarts trying to restart it21:00
SpamapSsmoser: so maybe we need a respawn limit21:00
thesheff17LaRockus: 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
SpamapSI think the normal limit is like, 3 times in 5 seconds21:00
SpamapSBut if we're delaying it by 30 seconds....21:00
smoserhm... can you exit from a pre-start in a way that says "don't bother"21:01
SpamapSactually we should probably change the goal back to stop21:01
SpamapSyes,   stop ; exit 021:01
smoserwhy not stop exit 121:01
SpamapSoh either is ok21:01
SpamapS1 will report the problem to the user so yeah thats better21:02
SpamapS0 is for if its been disabled21:02
SpamapSsmoser: ultimately, we don't want to keep respawning over and over.21:05
SpamapSsmoser: 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:05
SpamapSsmoser: will post in the bug..21:06
smoseri dont know.21:06
smoseryou migh tconsistently miss the 3 restarts in 95 seconds21:06
smoserdue to load21:06
smoserand still hang there21:06
SpamapSI 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
SpamapSthe exec is instantaneous..21:07
smoseri think if the post-start doesn't ever ping after 30 seconds, i think 'stop; exit 1;' is proper21:07
SpamapSthe mysqladmin is a unix socket only..21:07
smosernothing is instantaneous21:07
SpamapSso the thing would have to be *destroyed* with load21:07
smoserits also running http://pastebin.com/ZgPrG9AQ21:08
SpamapSon a respawn, the exec will wait for almost nothing21:08
SpamapSthe binary is already cached..21:08
smoserhttp://pastebin.com/PSCz4HpN is /usr/share/mysql/debian-start.inc.sh21:09
smoserforks left and right in that script.21:09
* SpamapS just loves waiting 30 seconds for pastebin's ads21:09
smoserall sorts of things could make this take longer than 1.033 seconds to run a full post-start21:10
smoseranyway...21:10
smoserif the thing never pings inside 30 seconds, the idea is its dead.21:10
smoserrespawning is pointless.21:10
SpamapSsmoser: debian-start is after everything is ok21:10
smosertrue.21:10
SpamapS120 may be in order though.21:11
smoserso, i dont know. but why would you bother.21:11
SpamapSjust .. because why not?21:11
smoserit is seriously not going to come up21:11
smoserthe whole point of the pre-start is to do this delay and wait for you21:11
SpamapSI'm more worried that we're only waiting 30 seconds21:11
smoserwhat value is there in doing it 4 times.21:11
SpamapSHave had mysql servers wait *hours*21:11
SpamapSinnodb recovery is a bitch21:12
smoserhm..21:12
smoseri dlon t knwo.21:12
smoserif post-start exits false, then upstart respawns ?21:13
SpamapSso you're thinking only try and respawn once?21:13
SpamapSno21:13
smoserdoes it ?21:13
SpamapSupstart respawns if the main process exits != 021:13
smoserso the loop is caused by mysql actually dying21:13
smoseryeah.21:13
SpamapSif the process is up, but the post-start exits 1 .. I think its just going to fail the start event21:14
SpamapSbut the state won't be changed21:14
* SpamapS tests this thory21:14
SpamapStheory too21:14
SpamapSactually exit 1 in post-start does nothing21:16
SpamapSFeb  3 13:16:07 lucid init: test-pstart post-start process (1279) terminated with status 121:17
SpamapSthats about all you get21:17
SpamapSSo really all you're doing is delaying or cancelling the started event21:18
SpamapS(running stop in post-start will kill the main process and there won't be a started event)21:19
azertyuhi there21:20
azertyuis there anyone here21:20
SpamapSazertyu: yes!21:20
azertyuwell i got a vps server21:21
azertyui forgot to backup data21:21
azertyunow someone hack my server21:21
azertyuroot password gone21:22
markpofuh oh21:22
azertyumy question is : is it possible to sync vps data to my home pc ?21:22
SpamapSazertyu: I'm sure you can get a massage and some tylenol...21:22
SpamapSazertyu: sure. just rsync the data.21:23
azertyui got2T Þ of HDD at home21:23
smoserazertyu, you can certainly sync anything your user can get to, assuming you can get to the vps system.21:24
azertyursync is it a virtual raid ?21:25
SpamapSazertyu: no it just copies things very quickly21:26
SpamapSazertyu: if you want the data copied in real time that will be much harder21:26
azertyuwhat do you mean by quickly copies ?21:28
azertyuis that copies just the data21:28
azertyu?21:28
=== ogra_ac_ is now known as ogra
azertyufirst i want to know virtual raid is that existing ?21:29
SpamapSsmoser: fyi the default is not to stop respawning unless it tries *10 times* in 5 seconds21:32
SpamapSsmoser: doh21:32
smoseri suspect that someone just added exim4 to the list of packages supervised by ubuntu-server21:32
smoserhttp://ubuntu-server-new-bugs.notlong.com/21:32
azertyuwell, 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 reconstruct21:33
azertyuis it possible ?21:33
azertyurebuild21:33
SpamapSazertyu: you should look into etckeeper too..21:33
smoserazertyu, you could very likely do something like a 'ssh root@VPS dd /dev/sda > my.disk.img'21:34
smoserbut that is going to take quite a while21:34
SpamapShah.. and may not be usable on a different disk.21:35
smoseryou're would be much better off just getting the filesystem contents, and posibly the partition table and MBR or something.21:35
smoserrsync -avz root@VPS:/ ./my-vps-backup21:36
SpamapSyeah,   ssh root@VPS tar -czf - > backup.tar.gz also works21:36
SpamapSor you could do what I do.. tar my boxes up and push the tarball into S321:36
smoserthe rsync would be interupptable would be the big reason to use that.21:36
smoserif you connection died it would resume well.21:36
markpofis the dd output conform to the .img format (if there even is one?)21:36
smoserthere is no ".img" format really.21:37
markpofah21:37
smoserbut basically, it would work with kvm as a "raw" disk file21:37
smoser(qemu-img create -f raw my-disk.img)21:37
markpofraw21:37
markpofi see21:37
azertyuthere is no result for etchkeeper21:40
azertyu!21:40
SpamapSazertyu: etckeeper21:40
azertyuyes21:40
azertyuok21:41
azertyufind it21:41
=== ng_ is now known as NG_
azertyucfengine is for what ?21:41
azertyuanyone know that package ?21:42
SpamapScfengine is  more for managing multiple machines21:42
azertyube explicit21:43
SpamapScfengine more for managing multiple machines, $#@!21:43
azertyuwhat kind of tasks ?21:44
azertyumanaging what kind of tasks ?21:44
SpamapSsmoser: the plot thickens .. I think the default respawn policy may cause something weird. *ANY* respawn limit clause seems to fix this problem.21:47
SpamapSsmoser: including 'respawn limit unlimited'21:47
SpamapSheh.. which is an undocumented feature.. fun21:48
smoserreally.21:49
smoserthats interesting.21:49
SpamapSyeah I'm trying some crazy limits and it works as I'd expect.. failed to start job21:50
smoserso the pre-start isn't counted in the respawn i guess ?21:50
SpamapSpost-start..21:51
SpamapSnot sure21:51
SpamapSsmoser: so there's something that gets inexplicably changed just by having a limit mentioned..21:53
SpamapSsmoser: the code defines the defaults as a limit of 10, interval 5 seconds21:53
SpamapSsmoser: but if I say   respawn limit 10 5 ... the job fails as I'd expect21:53
SpamapSsmoser: likewise a limit of 1 100 .. or 100000 1000000021:54
SpamapSI think this one has to go upstream21:54
mrothhhwere is the link to the hypervisor for zen bearmetal22:07
SpamapSsmoser: commented. The workaround/fix for mysql seems simple.. I'm betting the fix in upstart is not.22:21
uvirtbotNew bug: #712787 in samba (main) "DBus error when connecting to shared folders in Nautilus" [Undecided,New] https://launchpad.net/bugs/71278722:26
SpamapSzul: when can we kick nis out of main? ;)22:37
MsBettyWhat do I need to have a file and print server?22:50
MsBettyApache and CUPS?22:51
MsBettysamba and cups?22:51
qman__MsBetty, that depends on your clients22:58
MsBettyqman__, two laptops on a home network22:59
qman__CUPS is needed if the printers are directly attached to the server regardless22:59
qman__if you have windows clients, you need samba22:59
qman__if you have linux clients, you have options22:59
MsBettyqman__, 1 laptop dual boots windows 7/#! and one is Linux Mint 10. An old desktop is getting reused for ubuntu server.23:00
qman__linux clients can connect directly to CUPS23:01
qman__but that's only for the printers23:01
qman__you'd still need a file server23:01
qman__linux clients can connect to samba file servers, so in a mixed network, samba is the most convenient23:01
MsBettyso I really just need to configure samba and cups properly. and make sure the clients have the appropriate packages?23:02
qman__that would work23:02
MsBettyqman__, thank you for the input. I'll go read the manuals and hopefully everything will go well.23:04
qman__no problem, good luck23:04
airtonixyo, i see that bug too when i connect to samba shares in nautilus23:09
airtonix!bug 71278723:10
uvirtbotLaunchpad bug 712787 in samba "DBus error when connecting to shared folders in Nautilus" [Undecided,New] https://launchpad.net/bugs/71278723:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!