[03:13] <aarcane> How to provision a perfect vm from vmbuilder on oneiric ?
[04:10] <BuenGenio> which incremental backup solution would people recommend here
[07:16] <SHOVELL> i have a apache server setup but how to share the files so they are acessable online?
[07:17] <SHOVELL> is it that i have to have a "site" or can i just tell it to use a folder and display the content
[07:17] <SHOVELL> http://80.86.81.136/repo/
[07:17] <SHOVELL> like this site^^
[07:41] <RoyK> SHOVELL: that's just setup using dir_index, nothing magick, but that won't allow you to update the files. I'd use ftp or ftp-over-ssh or perhaps samba or nfs or even afp
[07:43] <SHOVELL> i have a way to update the files that is not the problem dir_index?
[07:43] <SHOVELL> ...nvm
[07:44] <SHOVELL> ok yeah dir_index???
[07:46] <SHOVELL> never mind i think i got it figured out
[08:04] <Canadian1296> Apache question: Is it possible, in digest authentication, to add an account that is valid for all realms?
[09:51] <sirdeiu> SHOVELL:  if you have your apache server already set up all you need to do is to do a symbolic link to the folder where you keep the files you want to access. For example:  ln -s  /filestosharefolder /var/www . Then your files would be accesible by the following url: http://your.ip/filestosharefolder
[09:51] <sirdeiu> that is the quick way.
[09:52] <SHOVELL> thank you
[11:40] <Neikius> hello someone who knows about grub has a few seconds?
[11:40] <Neikius> I've got a possibly broken grub install after updating, not sure how to check: the story: apparently I have LVM devices that are broken, grub tried probing them during update
[11:40] <Neikius> and ofc it hanged
[11:41] <Neikius> now can I exclude that? I dont have the devices.map file... grub is 1.98
[11:41] <Neikius> on ubuntu 10.4
[12:15] <Neikius> so what can I do with grub that fails to create device map?
[12:20] <nibalizer> Neikius: so do you boot as far as the emergency root shell thing? or does your box fail at grub?
[12:21] <woutervddn> exit
[12:21] <Neikius> we will see
[12:21] <Neikius> I just rebootet
[12:21] <Neikius> *rebooted... after fixing this thing I think
[12:21] <Neikius> I had faulting multipathed devices freezing grub-probe and hence it never updated sucessfully
[12:22] <Neikius> I guessed it won't boot, but I could not be sure. Also I am sitting at the remote pc with servers locked away so now I can pray
[12:24] <ubuntu> 2
[12:26] <ubuntu> act 1
[12:26] <ubuntu> help
[12:26] <nibalizer> Neikius: you have boot outside lvm ya?
[12:26] <ubuntu> srr thought something was wrong
[12:27] <Neikius> yep
[12:27] <Neikius> duno why it even checks that damn lvm
[12:28] <Neikius> why does it do config from scratch every time...
[12:28] <Neikius> so much potential for fail
[12:28] <Neikius> I am lucky, forgot kvm password ... machine is up
[12:29] <Neikius> though this leaves a bad aftertaste... I had to kill processes manually, I had to intervene on several levels to get the update finish; the cause is in multipath though
[12:31] <epifanio> hi ALl
[12:31] <epifanio> i'm tring to set-up a web app on a ubuntu server (lucid) , but i'm having some problems ...
[12:32] <epifanio> i tried to set up a trac instance, it seems to work .. but when i load it i see it fails to load the css style and all the links are broken
[12:32] <Neikius> funny thing is, when one disk in iscsi box crashes it rebuilds the array which is ok, but it gives a ton of I/O errors that cause devices to pull down, after that there is no way to get em back up - only restart helps
[12:32] <epifanio> then i switched to redmine ... i was thinking of a trac issue .. but the same .. no css loded and broken link
[12:33] <epifanio> the machine is :  http://aquarius.tw.rpi.edu/projects/ecoop/epy   http://aquarius.tw.rpi.edu/projects/ecoop/redmine
[12:33] <epifanio> you can see the bad behavioure :(
[12:34] <epifanio> i'm clueless, i just received the login permision on that machine .. it is running on a Vserver .. and i need vpn to access it trough ssh
[12:35] <epifanio> i'm used to setup trac on debian without any problem, i guess it should be the same on ubuntu. or maybe something worng on the virtual server ?
[12:35] <epifanio> plese, many many thanks for any help!
[12:36] <Neikius> seems like web site root is wrong?
[12:36] <Neikius> it tries to load resources from  http://aquarius.tw.rpi.edu/redmine
[12:36] <epifanio> every page i need to add /projects/ecoop/  to got the page loaded (without css)
[12:37] <epifanio> yes! :( how to fix the web/root ?
[12:37] <Neikius> dont have no knowlege regarding trac
[12:37] <Neikius> but it is usually somewhere in settings
[12:37] <epifanio> i guess it is an apache iisse
[12:38] <Neikius> or website config issue
[12:38] <Neikius> i have one trac somewhere let me check a bit, but still I am no expert on this
[12:39] <Neikius> on the other hand, I have problems waking up  2 kvm machines after update... guess they BROKE CONFIG with update
[12:39] <Neikius> and that is on LTS ubuntu!  a disgrace
[12:39] <Neikius> safe-upgrade should not break stuff
[12:39] <Neikius> now I am disinclined to update ever again
[12:41] <Neikius> maybe the config TracUriRoot?
[12:44] <epifanio> Neikius: so you are using mod python
[12:44] <epifanio> i was using cgi
[12:44] <epifanio> let me try if it helps
[12:46] <Neikius> meh
[12:46] <Neikius> probably not its just random guessing
[12:46] <Neikius> but you definetely got some mappings wrong somewhere
[15:10] <philpem> I'm trying to set up a Preseed file to set up a LAMP server. I've added 'tasksel tasksel/first multiselect server, openssh-server, lamp-server' to the preseed, but can't see any obvious way to set (or at least retrieve) the MySQL root password.
[15:11] <philpem> Now I find myself installing phpmyadmin... and MySQL is rejecting the root password. So how do I specify the MySQL root p/w in the preseed?
[18:06] <uvirtbot`> New bug: #941547 in postfix (main) "package postfix 2.7.0-1ubuntu0.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/941547
[18:54] <yann_> hello! I'm trying to install vagrant on ubuntu lucid, but it complains about an older version of rubygems... actually after some investigation I found this: yann@mandragor:~$ /usr/bin/gem1.8 -v        1.3.5  < is this normal behaviour?
[18:57] <qman___> yann_, while I don't know about rubygems in particular, remember that lucid is almost two years old and will have major software versions of the same age
[18:58] <yann_> agreed, but as there is a package rubygems-1.8, I thought it would be rubygems 1.3? is there maybe a package I can install, to then update "alternatives" ?
[18:59] <yann_> it's really unlucky, it asks for >=1.3.6 and I have 1.3.5 :(
[19:02] <qman___> unfortunately I don't know enough about that software to answer that, but you may be able to update by enabling the backports repository, or there may be a PPA you can use
[19:04] <yann_> it seems I'm being lucky using Morgan Mackenzie's backport :)
[19:04] <qman___> http://packages.ubuntu.com/lucid/rubygems
[19:04] <qman___> doesn't look like it's in the backports repository
[19:04] <koolhead17> yann_: i thought ruby has something like easy_install
[19:04] <yann_> https://launchpad.net/~maco.m/+archive/ruby
[19:05] <koolhead17> you can try that as well
[19:05] <yann_> koolhead17, might be...
[19:05] <yann_> but I think it it just worked :) thanks
[19:05] <koolhead17> cool
[19:10] <yann_> pfiou there are gems missing everywhere and massive PATH problems everywhere, I'm not done yet :(
[20:37] <hex20dec> Hi everyone, I'm having a problem with my mail, when I send messages, the return-path header is set to "Return-Path: <www-data@example.com>". How do I change the 'www-data' to 'admin'?  I even added the return-path header to my php script but seems it isn't the problem. Anyone know what the problem is?
[20:38] <RoyK> hex20dec: that's set by whatever generates the email message
[20:39] <hex20dec> RoyK, so how would I change that?
[20:41] <RoyK> change the script or app or whatever doing the emailing
[20:41] <hex20dec> I use postfix
[20:42] <hex20dec> RoyK, I'm really new to Linux. You mind please elaborating a bit more on how to do it?
[20:43] <RoyK> hex20dec: what is it that generates that email?
[20:44] <hex20dec> I use PHP as my scripting and postfix as mailing.
[20:45] <RoyK> then just set the from field in php
[20:46] <RoyK> there are docs about that all over the net
[20:47] <hex20dec> That is the problem.
[20:47] <hex20dec> I did it in php, and nothing happens.
[20:47] <hex20dec> It seems to not be the PHP.
[20:47] <RoyK> you need to create the envelope correctly in php
[20:47] <hex20dec> I've done it before with php and everything was working fine, with my shared hosting, but now that I have a VPS, it's not working.
[20:48] <RoyK> it's no difference
[20:48] <hex20dec> Envelope?
[20:48] <RoyK> email envelope
[20:48] <RoyK> it's called that
[20:48] <RoyK> and btw, it's not a server question - try on ##php ;)
[20:48] <hex20dec> Okay, thank you.
[20:48] <hex20dec> Okay, I'll look that up, because I saw somewhere envelope as well, and I didn't think it's that, and now that you mention it, I guess it is.
[20:49] <hex20dec> So, thanks.
[21:02] <RoyK> erm... when I chose "no" to automatic updates during install, how can I enable this later?
[21:07] <guntbert> RoyK: I'd say enable the corresponding lines in /etc/apt/sources.list  -- but I didn't look if they are there already
[21:12] <caution> if a standard system program is deleted or missing from /usr/bin, how should I get it back?
[21:13] <guntbert> caution: what is missing and how did you manage that?
[21:14] <yann_> soren, bumped into this, thought you might have interest :) https://github.com/jedi4ever/veewee/blob/master/doc/vagrant.md
[21:15] <caution> hmm, I think I can fix it by installing coreutils
[21:17] <caution> can I repair instead of apt-get remove?
[21:17] <guntbert> caution: reinstall?
[21:20] <caution> Invalid operation reinstall
[21:20] <guntbert> caution: I see - that only works with aptitude
[21:21] <guntbert> caution: does .. install work?
[21:21] <caution> no
[21:22] <guntbert> caution: definitely don't remove   the core-utils!!
[21:22] <caution> yeah, doesn't sound like a good idea
[21:23] <guntbert> caution: sudo aptitude update; sudo aptitude reinstall should be ok
[21:24] <guntbert> alhtough aptitude has difficulties with the multi-arch feature
[21:26] <caution> I don't have aptitude
[21:27] <caution> if I install aptitude is it going to play nicely with apt and all the other existing stuff?
[21:29] <guntbert> caution: I found it:    sudo apt-get install --reinstall ....
[21:30] <caution> oh cool
[21:33] <caution> works
[21:33] <guntbert> nice :)
[21:34] <guntbert> caution: how in the world did you manage to lose that? (if you don't mind)
[21:34] <caution> I was just curious about how to repair
[21:35] <caution> I read that some malware modifies or delete them
[21:35] <caution> I know it's important to completely reinstall if compromised though
[21:36] <caution> before someone tells me :D
[21:36] <guntbert> ah - you did not really lose them - but otoh if they are compromised what makes you believe that apt-get is still ok?
[21:37] <caution> it might not be ok but it's worth a try
[21:38] <guntbert> caution: no, it might pull in completely different things
[21:38] <caution> haha
[22:51] <philpem> Is there any way I can get a Preseeded installation to run something (say, a small script which calls apt-get install) on the first boot, then never again?
[22:51] <philpem> I'm trying to install phpMyAdmin and it obviously won't work in the installer because it wants to set up the MySQL database... bit tricky when mysqld isn't running.
[22:53] <kklimonda> philpem: add it to /etc/rc.local
[22:54] <kklimonda> (then in the script make it remove itself from rc.local when no longer needed)
[22:54] <philpem> kklimonda, as a late-command? hm. fair enough.
[22:54] <philpem> just wondering if there was a better way
[22:57] <kklimonda> philpem: create a package that removes itself? ;)
[22:57] <ruben23> hi guys
[22:57] <kklimonda> but that wouldn't really be much easier
[22:57]  * kklimonda is surprised that dbconfig-common doesn't handle that
[22:59] <ruben23> guys please help me, on my hosted server - i got a modified kernel whihc i cant install the kernel source_ how do i revet it back to dafeult kernel of ubuntu server..
[22:59] <ruben23> please help me gusy
[22:59] <kklimonda> ruben23: what do you mean by a "hosted server"?
[23:00] <philpem> kklimonda, dbconfig handles most things... it just can't deal with situations where mysqld isn't running, and you're installing an app which needs it :-/
[23:00] <ruben23>  kklimonda: the server is hosted on a datacenter- now the issue is i cant install linux-source coz the kernel is modified not the default i want to revet it back to ubuntu server default kernel.
[23:01] <ruben23> kklimonda: the server is hosted on a datacenter- now the issue is i cant install linux-source coz the kernel is modified not the default i want to revet it back to ubuntu server default kernel.
[23:01] <kklimonda> ruben23: it really depends on how this stuff is handled by the datacenter you have it installed in, and by what do you mean by server - is it a dedicated machine? if so have you tried installing a distro-provided kernel?
[23:02] <kklimonda> ruben23: maybe they provide source and headers for their kernel?
[23:02] <kklimonda> if it's a VPS - what kind of VPS is it? you can use stock kernel with xen and kvm VMs as long as you are provided with a way to change boot settings
[23:03] <kklimonda> philpem: well, I wouldn't call it "handling" then
[23:03] <ruben23> kklimonda:i just want to remove the existing kernel and replaced it with default kernel of ubuntu server..how..?  http://pastebin.com/r51zWhD3
[23:03] <ruben23> its dedicated im sure
[23:04] <philpem> kklimonda, :)
[23:04] <philpem> kklimonda, thing is, I want to be able to bring up a LAMP server using PXE, using a custom repo, and install everything I need to run a web app. turn-key, basically.
[23:04] <kklimonda> ruben23: have you tried installing a stock kernel and updating grub entries?
[23:04] <kklimonda> philpem: yeah, I get you
[23:05] <kklimonda> I wonder if it's some upstart issue
[23:06] <kklimonda> (i.e. if mysql is running during installation on Debian)
[23:06] <ruben23>  kklimonda:i havent yet started at all, im wating for your instruction before i start now
[23:10] <kklimonda> ruben23: I can't really help you with your problem - I don't know if Kimsufi (which is OVH reseller afair?) supports running stock distribution kernels, or if they provide source and headers for their custom kernels (they should). I can tell you the generic description (install a correct linux-image package, make sure that grub entries are updated) but it may as well break your server setup if the box is depending on some custom kernel
[23:10] <kklimonda> code
[23:11] <philpem> kklimonda, mysql *isn't* running during install
[23:11] <kklimonda> (you should just try to do it and see what happens - of course assuming it's testing server)
[23:11] <kklimonda> philpem: yes - but I wonder if that's an issue under Debian too
[23:11] <philpem> kklimonda, that's the problem -- phpmyadmin wants to create its database (to track DB relations and settings) but can't because MySQL isn't running :-/
[23:11] <philpem> ah.
[23:13] <kklimonda> I'm just often curious about weird stuff like that
[23:13] <kklimonda> "did we break it in Ubuntu? Or why is it this way? What can be preseeding used for in this case? configuring phpmyadmin for a remote DB? But what about..."
[23:14] <philpem> indeed...
[23:17] <philpem> just need to figure out how to create a virtual machine 'template' for libvirt now.
[23:18] <philpem> something I can copy, give a unique MAC address to and kick off a Cobbler / Orchestra auto install
[23:21] <kklimonda> would not setting any mac make it generate a new one?
[23:23] <kklimonda> (it does that when you create network using xml files)