=== sixstringsg|away is now known as sixstringsg
seicherlbobhi there! I'm running a lucid server and i'm trying to install sun-java6 packages. I uncommented the "partners" repo line and run apt-get update, but still no sun-java packages are found. what am i doint wrong?00:44
kklimondaseicherlbob: oracle no longer grants distributions a license to redistribute "sun" java packages. You'll have to download it from their site01:23
seicherlbobthanks, i just read the "news"01:23
=== sixstringsg is now known as sixstringsg|away
twbOr use an open alternative01:31
=== twb` is now known as twb
inkaHi, I wasn't sure what the best channel would be to ask this sort of question.02:16
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience02:17
inkaI'm currently investigating several different cloud-computing solutions02:17
inkaI plan to develop a social mobile app that utilitizes Facebook for authentication02:18
inkaI've been looking primarily between Amazon EC2, Google App Engine as solutions that would allow me to scale-out nicely02:19
inkaI like that Google App Engine essentially scales automatically but I hear a lot of talk about being "Locked In" but I haven't really found too much that elaborates on this issue02:20
inkaI saw some stackoverflow questions on this but much of them were dated back to 08-09 so I'm not sure how relevant they still are02:21
jknightI have a question03:37
jknightdoes anyone know why my cron job is not running if the user is not logged in?03:37
qman___jknight, do you have encrypted home directory enabled for that user?03:49
jknightyes I do04:02
jknightI think that's the reason why it's not working04:02
jknightbut why is it behaving this way?04:03
=== sixstringsg|away is now known as sixstringsg
=== sixstringsg is now known as sixstringsg|away
linociscohi all05:16
linociscoZentyal has failover feature with 2 ISP links . It is ubuntu based. why ubuntu server could not do like that?05:16
Q_ContinuumSo.  Landscape.  I can't afford it for my home machines, but need that capability to keep using it.  Are there any Free self-hosted alternatives, or do I go over to CentOS for my Linux non-Desktop use?05:26
twbQ_Continuum: landscape server side is not free software, and there is no compatible alternative.05:28
twbQ_Continuum: if you replace both server and client side, you could deploy puppet or chef or cfengine05:28
twbQ_Continuum: IMO these have enough grief that they aren't worth considering unless you have at least ten hosts on a LAN.05:28
Q_ContinuumSo Canonical/Ubuntu has no alternative for those unwilling to fork out $100-$300/seat, or for those wanting to learn the system :-/  I would've hoped they'd come up with an alternative to putting Enterprise features out of reach of everyone, something they promised NOT to ever do.05:31
Q_ContinuumGuess I'll switch, since I heard puppet is a PITA to learn - but once you know it it rocks.  Only recently heard of chef, haven't looked at it, and no idea on cfengine.05:31
Q_ContinuumPresently I have 2 Ubuntu Server VMs, but will be adding more.  Personal home server, for various tasks and learning more stuff.  Wanted to play with enterprise-level capabilities, like I can with Windows via AD, but guess I don't get to, unless I have 5+ and want a 60-day trial that then ends :-(05:33
Q_ContinuumCentOS it is, I guess.05:34
twbAFAICT chef has basically all the same faults as puppet05:36
andolQ_Continuum: While Puppet sure has its limitation I wouldn't call it as PITA to learn. At least basic usage of Puppet, which still can be a big gain, is fairly trivial.05:39
Q_ContinuumI like the concept of a web-interface though.  Easy to do from anywhere, without needing a terminal05:40
andoltwb: By the way, I am happy running (a masterless) Puppet just for my personal computers, which are well below ten.05:43
Q_ContinuumI run Windows mostly, but Linux for a few things (Minecraft server, irc shell, webserver stuffs)05:43
Q_Continuumbut am looking to expand, hence the want for some easy managability05:44
twbandol: I was unimpressed in particular by puppet because 1) the wire protocol isn't versioned, and the devs expect you to install the latest bleeding-edge version on all your hosts; 2) it requires ruby on the client side as well as the master; and 3) anything remotely complicated often ends up being done by poorly-tested Exec grep/sed lines, which IMO is no better than if you weren't using puppet in the first place.05:45
twbe.g. for (3) I ran into it in about ten minutes when I wanted to manage sysctl.conf05:46
twbAnd writing a parser for that, which should've been straightforward, was inhibited by my inexperience with Ruby and partly by there it not being having to first write puppet rules to distribute the new parser to all the puppet clients.05:47
twbBottom line is that the puppet people felt like fly-by-night cowboys rather than professionals05:47
koolhead17twb: what would you suggest other than puppet then :)05:48
Q_ContinuumYeah, I want stuff that is more polished and easy-to-use than that.05:48
andoltwb: Yepp, agree Puppet isn't the magical bullet, and it does have plenty of limitations. Still for me the gain for what I am using it is still a net gain.05:48
twbOh, I forgot to mention that the puppet file syntax is obtuse and unhelpful and silly05:48
twbkoolhead17: unfortunately there is no real competition except cfengine (which is differently bad) and chef, which AFAICT is not really any better05:49
koolhead17andol: use bash :)05:49
RoyKtwb: I attended puppet training a few months back, and that helped a lot ;)05:49
twbWhat I am actually doing in practice right now is to create a template container from a script, and then derive specific containers by copying the template and applying a second container-specific script.05:50
koolhead17twb: am still surviving on bash, but planning to learn puppet soon05:50
twbRoyK: I was working with Daniel Pittman, whom thingo Labs currently employs...05:50
RoyKkoolhead17: bash really isn't a replacement for puppet :þ05:50
koolhead17is there no python based config management05:50
twbRoyK: I'm still having trouble with it.  Oh, also I read the whole Apress book05:50
twbkoolhead17: AFAIK no05:50
koolhead17RoyK: :(05:51
twbIMO "not really any better" applies for python->ruby too05:51
* RoyK prepares to go to work and not sitting around on irc all day05:51
koolhead17twb: i wonder setting up a puppet server/config will be  a pain in itself05:51
twbI would be a LOT more confident about puppet if it had a plain C client side (so it can fit on embedded hosts), and it had a purely declarative SANE file syntax, and a versioned wire protocol that was clearly documented.05:52
twbI also seem to recall puppet's use of TLS was mainly self-signed certs, to avoid having to bootstrap the cert trust chain before you could run puppet05:53
twbkoolhead17: you can get up a trivial instance pretty quickly05:53
twbkoolhead17: being fancy takes more time05:53
koolhead17i just hope learning puppet won`t turn into a new expedition 4 me :)05:55
andoltwb: Of those things you listed, I would probably rank versioned wire protocol the highest.05:55
twbandol: 100% agree05:55
twbkoolhead17: IMO do it later05:55
koolhead17twb: but i have to play with it :P05:56
andoltwb: And as a side note, for recention version of Debian/Ubuntu I would rather put my own changes under /etc/sysctl.d/ rather than modify /etc/sysctl.conf. Not that the initial assumption necessarily applies to your case.06:00
koolhead17twb: so the who schema/way of writing changes every version of puppet?06:01
andolkoolhead17: It doesn't have to change, it is more that it can change.06:02
twbandol: that is a good point; this was for an older system (8.04 IIRC)06:03
andolkoolhead17: You might very well be able to run separate Puppet versions along side each other, as long as you verify that being the case, that your recipies works for both versions, etc.06:03
koolhead17andol: that is confusing :(06:04
andolkoolhead17: It is an imperfect world :)06:13
=== SHOVELL is now known as SHOVELL|AFK
koolhead17andol: :P07:06
=== Leseb_ is now known as Leseb
=== smb` is now known as smb
=== EMKO is now known as emko
randomDudehey so i have this ubuntu server, and postgress seems to be borked... : $ sudo service postgresql restart; Error: /var/lib/postgresql/9.1/main is not accessible or does not exist09:05
randomDudei can't sudo apt-get install postgres --reinstall either09:05
lynxmanmorning o/10:00
=== Leseb_ is now known as Leseb
M0nt7where is the rsync.conf file in ubuntu?11:48
M0nt7anybody on this channel?11:48
andolM0nt7: rsyncd will read /etc/rsyncd.conf by default, but you will have to create that file yourself.11:52
andolM0nt7: See also /usr/share/doc/rsync/examples/rsyncd.conf11:52
M0nt7andol:  what would be a basi configuration for rsyncd.conf?11:53
andolM0nt7: Well, base or not, you will still have to provide explit shares. The rsyncd.conf(5) does provide some good examples for different situations.11:54
M0nt7andol:  ryncd.conf (5) is the man page right?11:55
andolyepp, search for EXAMPLES11:56
M0nt7andol: I get no manual entry rsyncd.conf11:56
andol...and you have the rsync packages installed?11:57
M0nt7andol: yes indeed11:58
Amin0vhello all12:20
Amin0vhow can I create a repository in my svn server and then ask client to checkout from a subdirectory in this repository12:20
Amin0vlet's say the repository is in /home/user12:20
Amin0vand that people must check from /home/user/web12:20
Amin0v /s/check/checkout12:21
=== Leseb_ is now known as Leseb
jMCgwi Leseb12:33
LesebjMCg: ?12:34
jMCgLeseb: missed the /12:36
LesebjMCg: what do you mean?12:38
jMCgLeseb: /wi Leseb --> /whois Leseb12:39
LesebOh ok, and why do you whois me?^^12:40
dnivrahello. i just installed ubuntu-server 11.10 and installed selinux. After installation, I reboot and get "grub rescue>". what could I do to get grub back?12:57
dnivrai booted a live cd and selected "Reinstall grub boot loader" in rescue mode and tried installing grub to all partitions but no luck.12:58
memoryleakI've installed ubuntu server in a vm using paralells - but I can't mount CDROM drive. How I can list cdrom devices ?13:22
uvirtbot`New bug: #941905 in keystone (universe) "keystone user should not have a primary group of nogroup" [Undecided,New] https://launchpad.net/bugs/94190513:31
uvirtbot`New bug: #931893 in swift (main) "swift service scripts will not start unless /etc/swift/*-server/* exists" [Undecided,New] https://launchpad.net/bugs/93189313:32
zulgood morning13:38
rbasakDaviey: what are the different mechanisms for chain loading on Intel? pxelinux.cfg localboot, what's the other chain loader you mentioned? And kexec of course. Anything else?13:39
rbasakhey zul13:39
Davieyrbasak: chain.c3213:43
Daviey^^ post reliable and recommended soltuion on traditional arch13:43
uvirtbot`Daviey: Error: "^" is not a valid command.13:43
smbDaviey, Using do-release-upgrade is the preferred way to run an upgrade on server? If so, is there some preferred (and preferably simple) way to make it non-interactive. The wild world wisdom has some scary looking suggestions (including expect scripts)...13:54
Davieysmb: expect scripts?!14:04
Davieysmb: I don't think i'd recommend doing it completely hands off tbh.14:05
smbDaviey, Not sure any admin having to do a number higher that a few will agree. :) Hence those "work-arounds". Also it would be nice to have for an automated test. ;)14:07
Davieysmb: yeah.. there ARE automated tests.. i suspect they just sed -i 's/oneiric/precise/g' /etc/apt/sources.list14:08
smbDaviey, Right, and with that you can have some control over frontend and dpkg options when running apt-get dist-upgrade.14:09
smbJust thought about having the propagated way doing the same. But it does not offer much options (not even the frontend choices are really explained).14:10
Davieysmb: Yeah.. Sorry, not much assistance i can offer with that... Perhaps we need to discuss it at UDS. :)14:11
smbDaviey, We surely can and should. For precise it will be too late now anyway. So I guess people will go with dist-upgrade or expect scripts. ;)14:12
=== bladernr_afk is now known as bladernr_
Davieysmb: sad. :(14:14
Jeeves_plz click affects me: https://bugs.launchpad.net/ubuntu/+bug/93930014:16
uvirtbot`Launchpad bug 939300 in ubuntu "precise 12.04: consider adding Apache 2.4 ?" [Wishlist,Confirmed]14:16
uvirtbot`New bug: #941955 in cloud-init (main) "util.islxc() method is broken without is-lxc-container" [Undecided,New] https://launchpad.net/bugs/94195514:51
uvirtbot`New bug: #941968 in lxc (universe) "lockfile-create hangs inside lxc containers" [Undecided,New] https://launchpad.net/bugs/94196815:01
uvirtbot`New bug: #941983 in freeradius (main) "freeradius refuses to run on Ubuntu 11.10" [Undecided,New] https://launchpad.net/bugs/94198315:11
uvirtbot`New bug: #941993 in php5 (main) "package libapache2-mod-php5 5.3.10-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/94199315:36
Amin0vwhen I do an svn list like in this example :  http://pastebin.com/8Er4DNaT15:43
Amin0v I find my commited files15:43
Amin0vwhen I ckeck the svn project I don't find this files15:43
=== sixstringsg|away is now known as sixstringsg
uvirtbot`New bug: #942061 in cloud-init (main) "need support for maas" [Undecided,New] https://launchpad.net/bugs/94206116:31
=== sixstringsg is now known as sixstringsg|away
zulsmoser: http://paste.ubuntu.com/859404/ and the output http://paste.ubuntu.com/859407/16:57
smoserdo you need the console=ttyS0 ?17:00
mdeslaurSpamapS: FYI, I've uploaded my preliminary mysql updates here: https://launchpad.net/~ubuntu-security-proposed/+archive/ppa/+packages17:04
SpamapSmdeslaur: great. Will poke a few people to test17:06
mdeslaurSpamapS: awesome, thanks17:07
zulsmoser: yes otherwise it wont work17:16
smoserzul, what does it do wht that ?17:16
zulsmoser: i need to clean that patch up but it works17:16
smoserah, yeah, plymouth and upstart do some stuff baed on that on the kernel command line17:16
smoserbut... strange17:17
smoseri dont beleive you17:17
zulsmoser: fine try out the patch for yourself then17:17
smoserthe only place upstart would go looking for 'console=' parame would be in kernel cmdline17:17
smoseri would  not hav thought it would look on its own command line17:17
zulsmoser: right but libvirt-lxc starts without cmdline17:18
smoserzul, i'm confused.17:19
smoserlibvirt-lxc starts init without parameters17:19
smoserbut you added some parameter "console=ttyS0"17:19
smoserwhich i can only assume means that its going to append that to /sbin/init17:19
smoserwhich i dont think will do anything17:19
zulsmoser: and from my log file: http://paste.ubuntu.com/859436/17:21
smoserzul, so you're asserting that upstart reads that17:23
zulsmoser: it *does* work provided you have the console fix as well: http://libvirt.org/git/?p=libvirt.git;a=commit;h=9130396214975ba2251082f943c971728103905017:23
zulsmoser: yes17:23
zulsmoser: i have 5 instances running all with a working euca-get-console-output17:25
smoserhallyn, ^ stgraber ^ is that true17:25
smoser$ grep -r "LXC_COMMANDLINE" . || echo NOT HERE17:25
smoserNOT HERE17:25
smoseroh. and that is in a checkout of lp:ubuntu/upstart17:26
zulsmoser: LIBVIRT_LXC_CMDLINE is a libvirt thing17:27
hallynis what true17:27
smoseryes, but upstart is an upstart thing17:27
smoserand upstart is what determines where console output goes17:27
smoser(other than kernel messages)17:28
smoserzul, i'm asserting that your "console=ttyS0" is doing nothing but causing confusion.17:28
hallynpretty sure upstart listens to console= kernel cmdline17:28
smoserthe kernel command line it does, hallyn (or rather at least reads it and it and plymouth decided on some stuff together based on it)17:29
smoserbut zul is suggesting that his patch at http://paste.ubuntu.com/859404/17:29
hallyndude i'm just trying to get reboot to work in $*)(&%$* libvirt-lxc...17:29
smoserneeds the "cmdline" tag17:29
smoserbut i dont understand how that would do anything17:29
cwillu_at_worknot to jump in the middle of anything, but console= is interpreted by the kernel as well17:29
smosercwillu_at_work, right.17:29
hallynlxc doesn't run a kernel though :)17:29
smoseri'm just trying to figure out why adding 'cmdline' in that patch there would do anyting.17:30
cwillu_at_workah, I see17:30
hallynwhich patch17:31
* cwillu_at_work decides to remain happily oblivious17:31
jhobbs /wg 917:31
zulhallyn: http://paste.ubuntu.com/859404/17:32
zulsmoser: its all doug henningish17:34
zulsmoser: any more comments?17:49
zulhallyn: i have a libvirt-lxc patch for you after beta17:52
kirklandsmoser: hey, are you experiencing any unexpectedly high load in precise/byobu?  I just upgraded on Friday, and load seems way high17:53
kirklandbut I also started trying unity 3d for the first time in ~3 months, so that's probably it17:54
hallynzul: ok.  feel free to stash it in ubuntu:libvirt (preserving my delta), else i'll do it.17:55
zulhallyn: ack17:55
hallyni just can't get reboot to work.  only thing i can figure is sigchld must be killing the parent before i get a chance to catch it17:55
fixxxermetI'm using Oneiric and I am trying to determine if the orchestra package, which requires puppet, has any type of built-in integration18:14
fixxxermetDoes anyone know if there is any type of integration, or can they point me to any docs?18:15
sidneihallyn, hola, looks like lxc-create -t ubuntu -- -b <username> doesn't work anymore if <username> has uid/gid 1000, the ubuntu user created in the lxc has the same uid/gid18:29
hallynsidnei: gosh, good point.  could you open a bug on that?18:30
sidneihallyn, oki18:30
hallynstgraber: ^ i will make lxc not create the ubuntu user if -b is specified, and add the bound user to sudo/admin group instead.18:31
hallynstgraber: ^ lemme know if there's a reason that's a bad idea18:31
hallynjsidney: thanks18:31
hallynsidnei: thanks18:31
sidneihallyn, np18:31
stgraberhallyn: sounds good18:33
sidneibug #94214418:36
uvirtbot`Launchpad bug 942144 in lxc "Using bindhome option of ubuntu template conflicts with ubuntu user" [Undecided,New] https://launchpad.net/bugs/94214418:36
sidneihallyn, ^^18:36
hallynthanks, sidnei.  Note we're in a freeze, so mar 3 is when the fix can go in for this (iirc)18:36
sidneihallyn, ok.18:37
=== jjohansen is now known as creckets
=== creckets is now known as crickets
=== crickets is now known as jjohansen
uvirtbot`New bug: #942144 in lxc (universe) "Using bindhome option of ubuntu template conflicts with ubuntu user" [High,Confirmed] https://launchpad.net/bugs/94214418:45
smoserhallyn, ping19:03
zulsmoser: interesting http://paste.ubuntu.com/859574/19:06
hex20decBest free webmail client for my server?19:08
Picihex20dec: I've heard some good things about squirrelmail19:09
hex20decPici, I've used it a while back.19:09
hex20decI hate it.19:09
hex20decNo offense.19:09
smoserwhats interesting there zul?19:09
Picihex20dec: none taken. I don't use it myself.19:10
zulsmoser: it stripped out the "\" which i expected19:10
Myrttihex20dec: some places where I've used webmail in have usually had both squirrel and later on roundcube19:10
hex20decMyrtti, Yeah, I used them both on my old shared hosting.19:11
smoserzul,  your shell stripped out the '\' i suppose19:11
zulsmoser: perhaps19:12
smoser$ cat /tmp/my.sh19:12
smoserfor a in "$@"; do printf "%s\n" "$a"; done19:12
smoser$ /tmp/my.sh foo \xasdf19:12
hex20decWhat do you guys use for mail client?19:13
Picigmail <.<19:15
hex20decPici, you forward all your emails to Gmail?19:18
hallynsmoser: .19:18
Picihex20dec: Actually, yes. But you could always use Google apps for domains, although I don't think its complete free (as in beer) anymore.19:19
smoserhallyn, https://bugs.launchpad.net/cloud-init/+bug/94195519:21
uvirtbot`Launchpad bug 941955 in cloud-init "util.islxc() method is broken without is-lxc-container" [Medium,Triaged]19:21
smoserhttp://paste.ubuntu.com/859594/ is what my /proc/1/cgroup looks like19:22
smosergiven that there are 8 things in which i might be in the root group of, which should i look at for this19:22
jjohansenhallyn: ping19:23
hallynstgraber: ^ did you change the lxc-is-container logic at all?  (i'm fetching the pkg)19:23
stgraberhallyn: lxc-is-container no longer exists19:25
hallynsmoser: i can't find any code that gives a rip about /proc/1/cgroup involved19:25
stgraberhallyn: you need running-in-container19:25
hallynstgraber: yes, smoser says that still doesn't work19:25
stgraberhallyn: which uses the container-detect upstart job19:25
hallynjjohansen: (i'm here :)19:25
smoserstgraber, cloud-init code that you tol dme to write looks at that.19:26
smoserhold on19:26
smoserfor link19:26
jjohansenhallyn: okay, so apparmor clear FFe on friday, /me doesn't know when that means it will show up.  But I don't expect the kernel will have the patches in beta1, they hadn't been pulled in last I checked19:27
jjohansenhallyn: /me still has built kernels with the patches if you want19:28
hallynjjohansen: yes, i certainly hope i'l lhave time to experiment with the moutn rules before bet1 is released, so test kernels woudl be great, thanks19:29
smoserhallyn, http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/util.py19:30
jjohansenhallyn: http://people.canonical.com/~jj/linux-image-3.2.0-17-generic_3.2.0-17.26~aamount_amd64.deb19:30
smosersee islxc there.19:30
hallynsmoser: why not ditch taht first part?19:31
hallynthe running-in-container is now (i *think*) intended to be a definitive test19:31
stgrabersmoser: right, call running-in-container, if return value is 0 you're in a container (it's also going to tell you want kind of container on stdout)19:32
stgrabersmoser: that's assumin this python script is running after upstart is started though19:32
hallynelse yes, you'd have to do the equiv of 'head -1 /proc/1/cgroup | awk -F: '{ print $3}'' - as several lxc tools had to do19:32
stgraber(running-in-container depends on /run/container_type that's generated by the container-check upstart job (start on starting and mounted MOUNTPOINT=/run)19:33
hallynstgraber: i wonder if lxc should ship a symlink from is-lxc-contaienr to running_in_container, since is_lxc-container was shipped in lxcguest19:33
=== Ursinha_ is now known as Guest34384
stgraberhallyn: having it ship in lxc wouldn't really solve the problem as we don't install lxc where we used to have lxcguest19:34
hallynstgraber: true19:34
stgraberhallyn: and we should be able to catch and fix all cases by looking at lxcguest's rdepends (which AFAIK we did)19:34
hallynjjohansen: wget'ed that kernel.  if this laptop should die, i may end up having to ask you wehre it is again :)19:35
jjohansenhallyn: np, just ping me if you need anything, /me should be around most of the day (just have to run an errand at lunch)19:36
=== sixstringsg|away is now known as sixstringsg
smoserstgraber, well, i was calling lxc-is-container before, and i really tihnk that you should fix that to be backwards compatibile19:38
smoseri will change to (also) use running-in-container, but i need a path that works wen that command is not available also.19:39
stgrabersmoser: that command is part of upstart, so it should always be there19:39
stgrabersmoser: and it's in /bin so even with a separate /usr it's going to be available19:39
smoserstgraber, yes, it will always be there on ubuntu >= 12.0419:40
smoserbut thats not good enough19:40
hallynjjohansen: libvirt is bogging me down today (i blame smoser), so i won't be bugging you today.  thanks again.  ttyl19:40
stgrabersmoser: hmm, ok, then check for either is-lxc-container or running-in-container or copy/paste the logic from container-detect.conf19:41
smoserstgraber, well, copy and paste that wont work all the way19:44
smoseras cloud-init is not init and is not privey to init's environment variable19:44
smoserregarding LIBVIRT_LXC_UUID19:44
smoserbut i will use similar logic to that19:44
stgrabersmoser: you can grep /proc/1/environ though19:44
smoseryeah. i guess i could do that.19:45
stgraberor source init's environment but that's kind of ugly ;)19:45
pythonirc101Any ideas how to  boot into single user mode on this ubuntu box.  There does not seem like a kernel line in my grub 1.99 "edit" view.20:07
arosalesjcastro: m_3: Travel safely  and kill it in Strata!20:16
* jcastro isn't going to strata20:16
jcastrobut mims is!20:16
arosalesjcastro: Sorry, https://juju.ubuntu.com/Events had you listed20:18
* jcastro fixes20:18
=== sixstringsg is now known as sixstringsg|away
=== Leseb_ is now known as Leseb
arosalesjcastro: thanks :-)20:21
wondermancan someone help me diagnose server freezing please21:25
wondermani can reboot it remotely from my control panel with hosting provider21:26
wondermanit stays up for 5 min then goes down21:26
guntbertwonderman: what do the logs say?21:26
wondermani cant get in to see21:26
wondermanin the 5 min i had, i checked syslog21:26
wondermanand messages21:26
wondermanonly a few relating to NTPD21:26
guntbertwonderman: logs survive a reboot21:27
wondermanalso this <>  Feb 27 15:00:29 server1 kernel: [   36.173580] possible SYN flooding on port 80. Sending cookies.21:27
wondermanyes i know, but i got 5 min before maybe it happens again!21:27
wondermani will stop apache etc21:27
wondermanas soon as it connects21:27
wondermanok im back in, how can i find mate?21:28
wondermani did 'cat /var/log/syslog | less'21:28
guntbertwonderman: good, although less /var/log/syslog is better21:28
wondermanok, dates arent in order?21:28
wondermanlet me try your way21:29
guntbertwonderman: and tailf /var/log/syslog will keep you informed until it crashes21:29
wondermanyea i did that, but only had one window and changed !21:29
wondermanlemme grab another open21:29
wondermanFeb 27 15:30:28 server1 named[1181]: client query (cache) 'ns1.serv1mail.com/AAAA/IN' denied21:30
wondermandropping that21:30
wondermanguntbert: why would syslog msgs not be in the correct order?21:32
wondermanone minute its 11am, then 9pm, then 3pm21:32
guntbertwonderman: your time setting - do you use ntp?21:32
wondermanyes there are msgs relating to this21:32
wondermani dont remember installing it if its not default21:33
wondermanmaybe i did21:33
wondermanthis is it crashing?21:33
wondermanFeb 27 15:21:59 server1 kernel: [ 1321.502878] Pid: 2604, comm: processes Not tainted 2.6.32-38-generic #83-Ubuntu21:33
wondermanFeb 27 15:21:59 server1 kernel: [ 1321.502881] Call Trace:21:33
wondermanshall i pastebin?21:33
guntbertwonderman: try21:33
wondermantry pastebin? sorry i am impatient, panicing a bit :P21:34
guntbertwonderman: sorry, didn't want to upset you still more - I wanted to say: give it a try, maybe someone spots something21:40
adam_glifeless: ping21:47
=== sixstringsg|away is now known as sixstringsg
wondermanguntbert: what was you saying about NTP?21:53
wondermanshould/can i remove it?21:53
guntbertwonderman: no, it should be enabled, or else the system time would certainly drift away, but those big steps are weird, can you pastebin the syslog? use !pastebinit21:55
guntbert!pastebinit | wonderman21:55
ubottuwonderman: pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com21:55
wondermanok thanks man, sec21:55
wondermanits yet to crash, with apache off21:55
lifelessadam_g: hi21:56
wondermanguntbert: how can i copy from 'less' ? or cant ?21:57
wondermani cant scroll in terminal and copy at the same time21:57
guntbertwonderman: on the server:   apt-get install pastebinit       then      pastebinit  /var/log/syslog          it will tell you an URL21:58
wondermanok sorry21:58
adam_glifeless: hey, i was looking at Bug #924739, trying to come solution. wondering if you had any input, in terms of the features that are not yet ported to squid321:59
uvirtbot`Launchpad bug 924739 in squid3 "after upgrade from oneiric to precise, previous squid config unused, cannot be used when relocated" [Critical,Triaged] https://launchpad.net/bugs/92473921:59
guntbertand wonderman: please use my nick when talking to me - else I might overlook your response :)22:00
wondermanguntbert:  http://pastebin.com/686SyAzn22:00
wondermani had already started22:00
wondermanguntbert: i copied a section to where i think it 'crashed' just before i rebooted which you can see from the paste too, and the time is totally different... the reboot time is UTC22:01
guntbertwonderman: look at line 106: out of memory kills apache - some process hogs your memory and then the kernel decides to kill one (big) process22:03
wondermanit swapped?22:04
wondermanso this is a RAM causing the crash?22:05
wondermanlet me start apache again, and take a look22:06
guntbertwonderman: no, the system has definitely not enough memory (probably some process eating it up) - please read up on OOM  - its the first one I have seen yet22:06
wondermani have apache max clients set to 1024, but its been fine for many many days22:06
wondermani think maybe its 'awstats'22:06
wondermanas there is a CRON running quite close to the crash?22:07
wondermani will start apache and monitor it quickly?22:07
guntbertwonderman: OOM=out of memory22:09
wondermani am tailing syslog, and its trying to run a load of crons22:09
wondermanbecause it cannot run them, it keeps trying22:09
wondermanhow can i stop this? because upon reboot it will try to run all crons at once...22:10
wondermanthink thats why its crashing22:10
wondermanupon reboot, i cant see it using up 4GB of RAM in 5minutes22:10
guntbertwonderman: I don't think so - the RAM usage goes quickly up to nearly 100% - thats ok, please search for    linuxatemyram  - a very instructive article22:12
wondermani will monitor it, as it hasnt happened for days, i dont know why it would be now22:12
wondermanill see what happens when i turn apache on22:13
wondermanas atm its fine...22:13
guntbertwonderman: Good luck :-) I'm off to bed22:14
wondermanok pal thanks22:14
randomDudeI need some advice on how to purge a broken postgres install : http://dpaste.com/708653/22:32
SpamapSrandomDude: interesting, can you try editing /var/lib/dpkg/info/postgresql-9.1.prerm and add '-x' to the #!/bin/sh line at the top? Then re-run.. it will give details as to what failed22:35
randomDudeSpamapS, as a caveat, /var/lib/postgres-9.1/main doesn't actually exist.22:36
SpamapSrandomDude: that shouldn't preclude you from being able to remove.22:37
randomDudeSpamapS, http://dpaste.com/708655/22:37
wondermancan anyone tell me why syslogs have different 'timestamps', ie they are not in order22:38
randomDudeuh ok, it's not pasting everything22:38
SpamapSrandomDude: consider using pastebinit ;)22:39
SpamapSrandomDude: sudo apt-get remove postgresql-9.1 2>&1 | pastebinit22:39
randomDudeessentially it says : /var/lib/postgresql/9.1/main is not accessible or does not exist22:40
SpamapSrandomDude: that sounds like a bit of a bug in the prerm or init script, as it shouldn't care about that.. but anyway, perhaps to make things simpler.. just 'sudo mkdir -p /var/lib/postgresql/9.1/main ?22:42
randomDudeSpamapS, that may have fixed the issue22:43
randomDudeSpamapS, thank you22:44
SpamapSrandomDude: seems like its a worthwhile bug to report22:44
randomDudeyeah, one would assume that since that highly essential directory is missing that the server process is not actually running22:45
SpamapSrandomDude: I think the only bug is that it didn't explicitly tell you why it failed22:47
SpamapSrandomDude: because of the removal of an essential directory, things were in an inconsistent state.. I don't think it should ignore that, but I do think it should tell you.22:47
talntidGr. I'm getting my butt kicked by Apache2. I installed it, and it is looking for /etc/apache2/htdocs regardless of there being an entry in sites-enabled, pushing to /var/www23:06
jMCgtalntid: you're doing it wrong, then.23:17
jMCgWell, jMCg that wasn't really helpful.23:18
=== klaas_ is now known as klaas
jMCgtalntid: can you please pastebin your apache2.conf - and your vhost, also: apache2ctl -S23:18
=== sixstringsg is now known as sixstringsg|afk
talntidjMCg, actually right now, I'm trying to purge the very existance of apache2, but it's fighting me.23:36
talntidapache2.2-common : Depends: apache2-utils but it is not going to be installed23:36
talntidE: Broken packages23:36
jMCgtalntid: aptitude purge apache2.2-common apache2-utils etc..23:37
jMCgtalntid: just get rid of the whole she-bang.23:37
jMCgtalntid: also, sfritsch and daemonkeeper promised me the 2.4 version of httpd will not suck stinky donkey balls in hell.23:38
jMCg00:44:25 <+fajita> Please read http://wiki.apache.org/httpd/DebianDeb0rkification23:38
jMCgtalntid: ^ a wiki page we have over at #httpd  for people comming with Debuntu specific problems.23:39
jMCgmost of this is already fixed.23:39
jMCgI think.23:39
talntidmy issue is more...23:39
hallynstgraber: do you think we should hack lxc-start to, for every contaienr that is running, keep a file open called '$rootfs.lock' (so long as [ ! -b $rootfs])?23:40
hallynstgraber: to keep the container from remounting the fs readonly on shutdown23:40
hallynbc there won't be a kernel fix for that, at least for precise (maybe ever)23:41
stgraberhallyn: yeah, I guess we don't really have a choice23:44
hallyni guess i'll open a bug for it.  thx23:44
talntidI took the Windows way out, since I wasn't very invested in the install.23:54
talntidall who wish to throw rocks, go ahead.23:54
wondermanqman___: can i holla?23:55
uvirtbot`New bug: #942325 in lxc (universe) "keep container from marking shared rootfs readonly on shutdown" [Undecided,New] https://launchpad.net/bugs/94232523:56
=== Leseb_ is now known as Leseb

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