[02:29] <pmp6nl> Hello, I am hosting multiple sites.  Right now if I go to my ip address it displays one of my sites and I cannot edit other sites via the ip address.  Is there a wrong setting in the default server or does something special need to be done for each virtual hosts?  I want to my able to edit sites via ipaddress/directory.  thanks
[02:34] <rbasak> pmp6nl: if you go to a website via IP address, and your web server serves multiple sites from the same IP address, then there's no way for the web server to know which site to send back. So it sends the default one. If you want to fix that then you either need to browse the sites by name, or you need to use multiple IP addresses.
[02:35] <pmp6nl> rbasak, how do I browse by name?  Isnt there a way to do this with virtual hosts?  I am using apache
[02:35] <echosystm> whats the best way to NAT all incomming packets from one server to another?
[02:37] <rbasak> Use virtual hosts, and set the names up to point to the same IP address. Then use those names in your browser.
[02:37] <echosystm> iptables -t nat -A PREROUTING -p tcp -m multiport -dport 80,443 -j DNAT ... ???
[02:37] <rbasak> It sounds like you could do with reading http://en.wikipedia.org/wiki/Virtual_hosting#Name-based
[02:37] <echosystm> thats not what i want
[02:37] <echosystm> this is a poor mans router
[02:37] <echosystm> it needs to work at the transport level
[02:37] <echosystm> not the application level
[02:38] <rbasak> echosystm: sorry, my message was intended for pmp6nl on a different question, not you.
[02:38] <echosystm> oh sorry
[02:39] <pmp6nl> ok rbasak I will read up on that as I am confused about virtual hosts. thanks
[02:39] <rbasak> echosystm: sounds like you need http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-6.html#ss6.2 :-)
[02:42] <rbasak> echosystm: there's also ufw, which is a higher level wrapper around iptables. Eg. http://manpages.ubuntu.com/manpages/precise/en/man8/ufw-framework.8.html
[02:42] <echosystm> will packets stop after the first rule that they match? or will they continue through the chain
[02:43] <rbasak> the first packet goes through the DNAT chain. Subsequent packets go through the FORWARD chain only, appearing as if they're already NATted and magically going to the right place. If that makes sense.
[02:43] <rbasak> Sorry, didn't read the question. DNAT is a chain terminating target, ie. no more rules are processed after hitting a DNAT target.
[02:44] <echosystm> ok so lets say i have rule 1. send all traffic from IP X to IP Y
[02:44] <echosystm> then i have rule 2. send all traffic to IP Z
[02:44] <echosystm> if a packet coems from X, will it go to Y and then stop?
[02:45] <rbasak> If rule 1 is using DNAT, rule 2 will never be processed if a packet matches rule 1.
[02:46] <echosystm> cool
[02:46] <echosystm> thanks for that
[02:51] <pmp6nl> rbasak, how does apache determine the default virtual host?
[02:51] <rbasak> Good question. Sorry, I don't remember the answer.
[02:51] <rbasak> It might even be the first one that's defined.
[02:53] <pmp6nl> rbasak, ok, thanks
[03:00] <pmp6nl> Should virtual hosts be listed in apache2.conf?
[03:01] <jmarsden> pmp6nl: rbasak is correct, it uses the first one listed, which I think means the alphabetically first one if you use the Ubuntu/Debian file structure and one file per vhost under /etc/apache2/sites-enabled/ .  This is why it is conventional to name that one 000-default, so it is "obvious" to humans looking at the directory, that it is first in the list and is the default.
[03:01] <jmarsden> pmp6nl: Indirectly.  See above.
[03:02] <rbasak> Thanks jmarsden. This sounds familiar now. It's been a while since I've done virtual hosting with apache!
[03:02] <jmarsden> See /usr/share/doc/apache2/README.Debian.gz for useful info on the file structure involved.
[03:02] <twb> jmarsden: the "default" site is the first one found in "the" config file.  The logical config file is built by including (by default) all the files in sites-enabled.  They're added lexicographically; I assume this is because root's locale has an LC_COLLATE of C.
[03:03] <twb> If you went into httpd.conf and added a vhost before the include, that would become the default
[03:03] <pmp6nl> ok thanks jmarsden and rbasak .... can I rename one of the files to 000-default to make it the default or do I need to do something different.
[03:03] <twb> The fact that the file is called "default" has no bearing on how apache treats it, although obviously the 000 means it usually sorts to the top
[03:04] <jmarsden> twb: Yes, but you are not supposed to manually put sites into httpd.conf in Debian/Ubuntu :)
[03:04] <pmp6nl> ok, I dont even have a I dont have a /etc/apache2/httpd.conf file
[03:04] <twb> jmarsden: that's a nice theory :-(
[03:05] <jmarsden> pmp6nl: You should have an empty one, if you did a conventional install of Apache on Ubuntu server.
[03:05] <pmp6nl> jmarsden, ok, perhaps its just empty.  I will look.  whats the best way to rename a site under /etc/apache2/sites-available?
[03:06] <jmarsden> pmp6nl: mv should work fine
[03:09] <pmp6nl> Thanks jmarsden
[03:09] <jmarsden> pmp6nl: You're welcome
[04:26] <Mischinka> Does installing the desktop cause the server to run slower?
[04:26] <twb> It depends.
[04:26] <Mischinka> its on a vps
[04:27] <twb> We discourage using GUIs on servers.
[04:27] <Mischinka> Im trying to figure out an easier way to setup APED server to start and stop when nginx starts and stops.
[04:27] <twb> APED?
[04:28] <Mischinka> http://www.ape-project.org/wiki/index.php/Setup
[04:29] <Mischinka> how do i kill a script using 443 port?
[04:29] <twb> Good heavens, the developers are excitable fellows.
[04:29] <twb> Mischinka: you use netstat -nlp to find out what's on that port, then stop its service or equivalent
[04:30] <qman__> I wrote a script to do exactly that at my old job, to reset stuck SSH tunnels
[04:30] <qman__> unfortunately I don't have it to give you but it only took me about ten minutes
[04:31] <twb> qman__: you can probably just get the pid direct from lsof or so
[04:31] <qman__> I used netstat and some cuts and seds
[04:32] <qman__> stored to a variable and fed to kill after some sanity checking
[04:32] <Mischinka> Got it! sweet.
[04:32] <Mischinka> Oh how do i have a script run in background?
[04:32] <Mischinka> because its making me have to keep the putty terminal up.
[04:32] <qman__> you want screen
[04:33] <jmarsden> Mischinka: nohup /path/to/script    # could also work
[04:33] <twb> Well, that or nohup or atd or cron or ...
[04:33] <qman__> technically, running in the background requires adding & to the end, but that is still a child of your SSH session
[04:33] <qman__> you need to do something else to make it independent, screen is one easy way
[04:33] <Mischinka> hmm
[04:34] <Mischinka> didnt work..
[04:34] <qman__> setting it up in cron is the right thing to do when you need it run all the time or at regular intervals
[04:35] <qman__> I was not aware of nohup or atd until now
[04:35] <Mischinka> *sigh.. im not sure of how to run it in cron.
[04:36] <twb> qman__: people like you come into #screen all the time and ask how to start their quake server in screen at boot time, from /etc/init.d/ :-/
[04:36] <twb> Or rtorrent, that's another common one, because it has a "GUI" they want to attach to later on
[04:37] <rbasak> Mischinka: you could write an upstart job. Lots of documentation at http://upstart.ubuntu.com/cookbook/
[04:37] <qman__> I wrote a kludge using sudo, su, and screen to get srcds running at boot
[04:37] <qman__> because it won't run non-interactively, and won't log
[04:37] <twb> qman__: "non-interactively" as in it needs stdio, or it needs a non-dumb terminal?
[04:38] <twb> The latter is harder, I grant you
[04:38] <qman__> non-dumb terminal
[04:38] <twb> Best would be to fix the damn daemon to not need it, of course...
[04:38] <qman__> it does not function if it doesn't have a shell
[04:38] <twb> qman__: I'd probably look into faking that with a pty
[04:38] <twb> Also btw you shouldn't ever need BOTH sudo and su
[04:39] <qman__> I tried to use just sudo but I couldn't make it happy with the options
[04:39] <qman__> the main problem is I want access to the screen, but I want the server to run as a dedicated user
[04:39] <qman__> so root runs the first script at boot, sudos to me, to run the other script which sus to the daemon user
[04:40] <qman__> it's a mess
[04:40] <qman__> but it works
[04:41] <rbasak> screen has access control options. The daemon user could start the screen with options to give you permission to reach it.
[04:42] <Mischinka> question i have css that seems to be running from some sort of server cache..
[04:42] <twb> rbasak: screen's access control is... suboptimal.  I wouldn't trust it.  Also it's disabled by default in Debian and Ubuntu
[04:42] <Mischinka> im inspecting the site and it says the css tag is coming from http://website.com/:171
[04:43] <Mischinka> what does that mean?
[04:43] <twb> Mischinka: insufficient data
[04:44] <Mischinka> twb: excuse me?
[04:48] <twb> Mischinka: you provided insufficient data to answer your question.
[04:55] <Mischinka> Oh, I have an nginx php5-fpm server, and for some reason the CSS tag on something on the page is being overridden by a tag located at http://website.com/:171 and the original tag is from custom.css what is this :# http://i.imgur.com/W9CdY.png
[04:55] <Mischinka> Im trying to figure out if its being cached by the server or something..
[04:57] <twb> It sounds like you have nginx rewriting message bodies, which IMO is dumb
[04:58] <twb> The downside is, if you don't do it, the root anchor needs to be the same regardless of the vhost.  So e.g. you cannot have default.example.net/foo.example.net/bar.html and foo.example.net/bar.html be the same
[04:59] <twb> Although you can have default.example.net/foo/bar.html and foo.example.net/foo/bar.html be the same, because the path part (/foo/bar.html) is the same
[04:59] <twb> ...I hope that made sense, it wasn't very well put.
[04:59] <Mischinka> umm not really.
[04:59] <Mischinka> twb there is a screenshot of my site config: http://i.imgur.com/W9CdY.png
[05:05] <twb> It is difficult for me to look at images, please pastebin text
[05:51] <brainysmurf> Trying to migrate posix users to ldap, there isn't any migrate_common.ph file. I created one and attempted the migration with extended schema on but no luck getting any emails. No errors. Kinda stuck...
[05:51] <brainysmurf> nano migrate_common.ph
[05:53] <brainysmurf> woops: http://pastebin.com/b4AvY5Mq
[05:56] <brainysmurf> found some problems already, updated: http://pastebin.com/mqJrkHe0
[05:59] <echosystm> im trying to set up DNAT for port 80 of my firewall server
[05:59] <echosystm> i have done this: http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-6.html#ss6.2
[06:00] <echosystm> iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to 5.6.7.8:8080
[06:00] <echosystm> then when i telnet my firewal on port 80 it just times out
[06:00] <echosystm> can anyone think of why this might be happening?
[09:02] <alex88> hello guys, after switching to ubuntu 12.04 so kernel 3.x i can't use multiple ip on single interface http://pastebin.com/0GFZZwTw
[09:03] <alex88> with that /etc/network/interfaces i can ping eth0:0 from local machine but from outside it doesn't respond
[09:15] <lynxman> morning o/
[09:23] <adac> I'm trying to get pam auth work with ldap, but /var/log/auth tells me the following: PAM (other) illegal module type: diese
[09:23] <adac> PAM pam_parse: expecting return value; [...Optionen]
[09:23] <adac> PAM (cron) illegal module type: diese....
[09:23] <adac> any ideas?
[09:33] <lynxman> adac: looks like a configuration file in pam that is incorrect
[09:33] <lynxman> adac: or pam config that is incorrect indeed
[09:33] <lynxman> where is the word "diese" in slapd.conf or in /etc/pam.d ?
[09:39] <adac> lynxman, yes it was a typo! thank you!
[09:39] <lynxman> adac: glad to be of help :)
[09:39] <adac> but the error message is strange
[09:39] <adac> hehe
[09:53] <vrturbo> anyone know how the maas server node dns names work with dnsmasq ?
[09:54] <vrturbo> built a maas server, everything working but the resolution of the dns names, this is breaking my juju deployments
[10:58] <KristianDK> On ubuntu 12.04 using the default LXC configuration, my containers does not get a DHCP ip address, although it seems that the default configuration sets up a 10.0.3.0 ip range for DHCP for containers. Does anyone know how to debug this? Syslog in container states "NO DHCPOFFERS received" and I was not able to find any errors on the LXC host
[11:14] <KristianDK> If I assign it a static ip in the DHCP subnet, it seems to work and I can communicate with the parent
[11:15] <KristianDK> also, it does not seem to have any routes available, e.g. i can ping the master, but nothing else
[11:42] <debuuuu> Hoi all. I'm going to install Ubuntu Server on a PC I have kicking about, mainly just to play around with. Just wondering, how do you install a GUI once the server's installed?
[11:43] <_ruben> you usualy just don't
[11:44] <_ruben> if you want a gui, install the desktop version instead
[11:44] <debuuuu> But then it's not a server is it?
[11:44] <debuuuu> I'm making a simple game server
[11:44] <_ruben> define "server"?
[11:44] <zul> good morning
[11:45] <debuuuu> I'll have a game server running on the machine that I can connect to with a client I'm writing
[11:45] <_ruben> the most notable difference between -server and -desktop is the presence/lack of a gui
[11:45] <debuuuu> Client's just a simple JS-based app running in the browser.
[11:45] <debuuuu> So like,
[11:46] <debuuuu> I don't really know a lot about what makes a server a server, as you might've guessed :) This is partly why I wanted to play around
[11:46] <debuuuu> Is it possible to do what I described with an installation of Ubuntu Desktop?
[11:48] <brainysmurf> debuuu: Install the desktop version, don't worry
[11:49] <_ruben> sure
[11:49] <debuuuu> Ah, ok
[11:49] <debuuuu> So .. not sure how to phrase the question really, but how do you go about making that box accessible as a 'server' to clients anywhere else on the web?
[11:50] <_ruben> by connecting it to the internet
[11:50] <debuuuu> Ha
[11:51] <debuuuu> There's nothing more fancy than that eh?
[11:51] <_ruben> not much
[11:51] <debuuuu> Alright, well sweet :)
[11:51] <debuuuu> Ask stupid questions, get simple, stupid-feeling inducing answers :)
[11:52] <debuuuu> Thanks though, I'll install the desktop version and have a play around.
[12:00] <hallyn> zul: your libvirt passed tests on p.  i'm about to build/run on q, but all is looking good
[12:00] <hallyn> (i haven't looked closely at the pkg source, i'm going to trust the qrt on this one :)
[12:21] <hallyn> zul: you said you started MIR on dwarves-dfsg?
[12:24] <zul> hallyn: not yet i had yesterday off
[12:42] <bioman_> Hi
[12:43] <bioman_> Running 11.10 server. I've installed a DRBL. Got some issues : sometimes the PC that I want to backup or restore have a black screen. Any ideas please ?
[12:45] <bioman_> It's 10.10 with 3.3.7 kernel or 3.2.18
[12:52] <bioman_> I have the DRBL screen that displays properly, then -I think- 320x240 and when it want to get a higher resolution : black screen and nothing happens
[12:55] <ikonia> bioman_: the DRBL package you are using is not an ubuntu package
[12:56] <ikonia> bioman_: talk to the people who make the package for help/issues
[12:57] <bioman_> ikonia: hello :) I know this you told me yesterday... Hoped that someone here would have had this issue and a fix ;)
[12:57] <ikonia> no, as the package is not made by the people who make the ubuntu packages
[12:58] <ikonia> bioman_: as you know I told you this yesterday, why do you keep asking for people to fix issues here
[12:58] <ikonia> you know where the package people are - you know where their bug logging/support system is, please try to use it, it's their package with their problems
[12:58] <bioman_> ikonia: just hoping that's all :(
[12:59] <ikonia> bioman_: yes, but you've been told 3 - 4 times
[13:02] <bioman_> ikonia: maybe 5 ;) I'll stop bothering you all, sorry...
[13:05] <zul> hallyn:  you know you are running the meeting today right?
[13:06] <hallyn> yeah.  i hope the slacker last time updated the agenda :)
[13:06] <zul> hallyn: funny that you say that :)
[13:08] <hallyn> zul: thanks.  I knew it was coming up this time, but always hate being caught off guard with that
[13:08] <zul> hallyn: everyone has
[13:33] <raubvogel>  For those of you running vms (say, kvm), how do you sync the clock on a vm that was been saved/paused for a while when it comes back? I tried putting 'tinker panic 0' on the top of the ntp.conf file but so far it has been ignored.
[13:45] <hallyn> zul: all tests pass, push it :)
[13:45] <hallyn> oh, except for hte dwarves issue
[13:45] <hallyn> guess you can't push it
[13:45] <zul> damn it..
[13:46] <zul> lemme do that right now
[13:46] <ogra_> just add some giants ... that will level out the dwarves
[13:49] <zul> hallyn: https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1002891 fyi
[13:49] <hallyn> zul: i dunno if you have any sort of scripts depending on libvirt's dumpxml output, if you do, note there are some changes (see the qa-regression-test changelog)
[13:49] <zul> linky?
[13:49] <hallyn> pfft.  i dunno
[13:50] <hallyn> https://code.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master
[13:51] <hallyn> in particular http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/changes/1692?start_revid=1692
[13:55] <Daviey> hallyn: i think you are up for chair btw.
[13:55] <hallyn> Daviey: thanks.  (read up ^ :)
[13:55] <hallyn> zul: just looking at debdiff for one last check, then i'm done with your libvirt
[13:56] <Daviey> hah
[13:56] <zul> hallyn: cool..once dwarves gets looked at then i think we are good
[13:56] <hallyn> hopefully my ap stays good for the duration of the meeting.  (new one arrives wed)
[14:10] <grendal-prime> oi
[14:10] <grendal-prime> ok so have a vm of 12.04 server
[14:12] <grendal-prime> i removed  /etc/udev/rules.d/70-persistant-net.rules file.  (because i use to have to do that to get the interfaces to enumerate properly after changing the switches that the box was connected to)
[14:12] <grendal-prime> aparently thats differnt.  Now i need to regenerate that file.
[14:12] <grendal-prime> the script that i thought i did that with is not working they way it is expected
[14:22] <_ruben> grendal-prime: file should be recreated at boot time
[14:23] <grendal-prime> ya that was not hapeing..now it is...werid
[14:24] <grendal-prime> actually...umm werid it did not get created...
[14:33] <ikonia> the rules files do not get generated at boot time
[14:33] <ikonia> the rules files are static files
[14:33] <ikonia> the devices they make are what get regenerated
[14:34] <_ruben> ikonia: when did that change? must say i havent *removed* the file in ages, but i did used to do so without problems
[14:34] <ikonia> I've never seen the rules files get regenerated
[14:34] <pedor> hi, could please someone recommend a webhost?
[14:34] <ikonia> they are normally static files,
[14:34] <ikonia> pedor: no
[14:35] <ikonia> _ruben: what do you think re-generates them ?
[14:35] <pedor> ikonia, which channel I can go?
[14:35] <ikonia> pedor: no idea
[14:36] <ikonia> _ruben: curious to if ubuntu has a different way of working with udev and actually has dynamic config files
[14:36] <_ruben> ikonia: some part of udev i'd expect, never really dug into the details, just used to blow away that file when mac addresses changed
[14:36] <ikonia> _ruben: I've never seen the mac addresses in the rules files
[14:37] <ikonia> ahhh I see
[14:37] <_ruben> # This file was automatically generated by the /lib/udev/write_net_rules
[14:37] <ikonia> the network one is generated
[14:37] <ikonia> but others are static
[14:37] <ikonia> yes, just looked properly
[14:37] <ikonia> same with the CD
[14:38] <_ruben> it being autogenerated makes for "new" interfaces to be added properly
[14:38] <_ruben> quite a simple yet nice feature
[14:39] <_ruben> unless your mac addres(ses) keep changing for some reason :)
[14:40] <jdstrand> hallyn: doesn't your KiB changes to test-libvirt.py need to be special cased for quantal? this script is run for SRUs and security updates
[14:40] <ikonia> yes, that makes sense
[14:41] <jdstrand> hallyn: oh, I didn't notice the '?'
[14:42] <grendal-prime> ok well...what should i do at this point then?
[14:42] <grendal-prime> is there a way to trigger the recreate?
[14:42] <grendal-prime> and the mac addresses do change in this environment...allot.
[14:47] <hallyn> jdstrand: right, if i didn't mess up for a change, it should just work.  though it's getting brittle
[14:47] <jdstrand> getting ;)
[14:47] <jdstrand> it started brittle
[14:47] <jdstrand> feel free to thank me for that :)
[14:48] <hallyn> hopefully they can hold off on more needless formatting changes for awhile
[14:48] <ikonia> grendal-prime: look at the script suggested that actually creates the file, try running it
[14:48] <jdstrand> what's the fun in that?
[14:48]  * jdstrand is a little jaded on useless changes
[14:48] <ikonia> grendal-prime: it may depend on a blank file being there in the first place so it can update it rather than create it, etc etc, look at what that trigger script does
[14:48] <hallyn> the fun of having time to work on other new stuff
[14:48] <jdstrand> heh
[14:48] <hallyn> jdstrand: +1 on that
[14:50] <grendal-prime> ya i was looking throught that. I didnt seen anything...ill try just creating the file..reboot and see what happens. if that doesnt work..i guess ill buld another machine copie it over.
[14:51] <grendal-prime> can you look into the file and see if there is anything besides the typical interface info?
[14:51] <grendal-prime> i thin i found something about whats nomcal in there
[14:52] <ikonia> grendal-prime: I wouldn't suggest that
[14:52] <ikonia> grendal-prime: I'd suggest actually reading the trigger script - seeing what it needs, fixing what it needs, then running the script
[14:52] <ikonia> grendal-prime: if there are any problems/output you should see it, where as rebooting you'll end up chasing your tail to chase problems
[14:52] <ikonia> (unless there is a dependency that this script can only be run at boot time - which I don't think it can)
[14:54] <silentpj> hello, i have problem with 12.04 server amd64 not installing grub (grub installation failed) on vmware ESXi 5, does anybody know how to install it properly?
[14:55] <zul> Daviey: ping (re: cloud-archive stuff)
[14:55] <ttx> Daviey: was talking to zul about the Ubuntu openstack QA PPAs that could replace the openstack PPAs
[14:55] <ttx> Looks like you would have:
[14:56] <ttx> - PPA for tip of stable/essex on Precise -> staging area for Essex/Precise cloud archive
[14:56] <patdk-wk> silentpj
[14:57] <patdk-wk> the issue is the grub bootloader in the mbr isn't updated
[14:57] <patdk-wk> just have grub update it
[14:57] <ttx> - PPA for tip of master on Precise -> general QA for Folsom/Precise cloud archive
[14:58] <zul> ttx:  for the openstack-qa yes ppa for tip stable/essex on precise
[14:58] <zul> stable/essex is the SRUable stuff so it goes into proposed
[14:58] <ttx> - PPA for milestone-proposed on Precise -> staging area for Folsom/Precise cloud archive
[14:59] <Daviey> ttx: hey
[14:59] <ttx> PPA for tip of master on Quantal -> staging area for Folsom/Quantal (main archive)
[14:59] <silentpj> patdk-wk: thanks, so it's bug...
[14:59] <Daviey> ttx: Can we continue this later, swapping tasks atm. :/
[14:59] <patdk-wk> yep
[14:59] <ttx> zul: well "stable/essex on Precise" covers two things
[14:59] <ttx> Daviey: sure
[15:00] <ttx> zul: covers Essex/precise cloud archive and Essex/Precise main archive SRU, now ?
[15:00] <ttx> s/now/no
[15:00] <patdk-wk> bug #978464
[15:00] <zul> ttx: no essex/precise was always going to go into main archvie sru
[15:01] <ttx> zul: oh, right.
[15:01] <zul> tip of master for folsom on precise -> cloud-archive
[15:01] <zul> tip of master for folsom on quantal -> main archvie
[15:01] <zul> doh...
[15:02] <zul> ttx: tip of master for folsom on precise -> openstack-qa
[15:02] <zul> ttx: milestone (and possblly release candidates as well) on precise -> cloud-archive
[15:02] <ttx> ack
[15:03] <ttx> zul, Daviey: I'll sum that up in an email that you can read and comment when you have time
[15:03] <grendal-prime> grrrr
[15:03] <zul> ttx: cool
[15:03] <grendal-prime> i cannot just get it to recreate the file.
[15:04] <grendal-prime> and ive tried creating the file empty so it can have somewhere to write data..that does not work. the trigger script if i try and run it askes for interface name..
[15:04] <ikonia> grendal-prime: ok, so give it an interface name
[15:04] <ikonia> you've got to work it through until you find the critera to make it work
[15:05] <ikonia> then - you'll understand why it's not being triggered at boot
[15:05] <zul> ttx: CVEs are handled normally in the security archvie as well :)
[15:06] <grendal-prime> yes but you see...there has to be a process somewhere that would start from scratch...
[15:06] <silentpj> patdk-wk: hmm, I'm doing clean install, not sure how to fix it from minimal env on the server cd
[15:06] <grendal-prime> when i run the write_net_rules script it just says missing $interface
[15:06] <patdk-wk> heh? clean install?
[15:07] <patdk-wk> there is no problems with clean installs
[15:07] <patdk-wk> I have done a few hundred precise installs onto esxi 5
[15:07] <silentpj> patdk-wk i have problem with clean install...
[15:07] <patdk-wk> well, I have no clue what your issue could be then
[15:10] <grendal-prime> that file is normally called by persistent-net-generator.rules
[15:11] <silentpj> patdk-wk: 64bit?
[15:11] <ikonia> grendal-prime: so pass it the interface argument
[15:12] <patdk-wk> both 64 and 32
[15:14] <grendal-prime> tried that as well didnt work.
[15:15] <ikonia> grendal-prime: in what way didn't work
[15:15] <silentpj> patdk-wk: wierd, any customisation? I did default install, next->next style...
[15:16] <patdk-wk> I do normal installs, and vm installs
[15:16] <patdk-wk> and also iscsi root installs
[15:17] <grendal-prime> well i run  the 75-persistent-net-generator.rules script i just get permission denied
[15:18] <ikonia> ok, so look at why
[15:18] <ikonia> do you have permission ?
[15:18] <grendal-prime> no execute on the file
[15:18] <ikonia> ok, so there you go
[15:18] <ikonia> work it through
[15:19] <grendal-prime> ran it with bash
[15:19] <grendal-prime> but um ..didnt put anything in the file
[15:21] <bioman> Hi
[15:22] <ikonia> grendal-prime: set -x , work it through
[15:22] <bioman> Trying to build DRBL package (backportpackage --build --workdir=/root/drbl) but it complains about non existing gpg key. I tried to generate one with gpg --gen-key with no luck...
[15:25] <bioman> Using 12.04
[15:27] <grendal-prime> i can get it to execute but it does not generate anything
[15:27] <grendal-prime> rrrrr
[15:27] <esuave> can anyone tell me how to connect to an FTPS server from command line?
[15:27] <esuave> im trying to connect to a certain IP on a certain port
[15:28] <nathwill> esuave: http://blogs.reliablepenguin.com/2009/08/11/ftps-with-lftp
[15:28] <nathwill> lftp is pretty nice
[15:29] <esuave> cool thanks!
[15:30] <ikonia> grendal-prime: walk it through step by step and see what the trigger for re-generating it
[15:30] <ikonia> grendal-prime: set -x
[15:33] <axisys> how do I setup automatic security update?
[15:35] <rbasak> axisys: https://help.ubuntu.com/community/AutomaticSecurityUpdates
[15:36] <axisys> rbasak: thanks
[15:43] <grendal-prime> where do you adjust dns?
[15:44] <streulma> esuave: do you mean sftp ?
[15:45] <esuave> ftps? is it the same thing?
[15:46] <streulma> sftp is over ssh scp
[15:46] <rbasak> ftps != sftp: http://en.wikipedia.org/wiki/Ftps
[15:46] <streulma> ok
[15:46] <streulma> I havn't heard of ftps
[15:47] <esuave> yeah i know.. me either.. im trying to connect to someones ftps server
[15:54] <bioman> nobody knows how to successfully build the quantal drbl package ?
[16:00] <smoser> hallyn, your presense is requested in #ubuntu-meeting
[16:00] <smoser> or presence even.
[16:04] <patdk-wk> ftps breaks ftp hopelessly :)
[16:08] <znf> Hello. What exactly happened to byobu and screen? I used to have "themes" (color for background and foreground of the byobu "frame"), but now in 12.04 I can't find this (this is an upgraded install)
[16:08] <znf> I've removed everything byobu and screen related from my profile, and it launched tmux, read about how to change it back to screen, but I still can't find the themes
[16:12] <rbasak> zul, SpamapS: FYI, merge is https://code.launchpad.net/~racb/ubuntu/quantal/apache2/988819 to fix bug 988919. I haven't managed to test it yet though.
[16:12] <rbasak> err, bug 988819
[16:12]  * znf hails the SpamapS 
[16:12] <zul> rbasak: cool
[16:21] <syria_> Hi, COuld you please help me with configuring openvpn on my VPS 10.04 lts please? so I can use it on my ipad??
[16:28] <grendal-prime> ya this is werid..i just built a brand new system and there is nothing in that /etc/udev/rules.d/70-persistant-net.rules file.
[16:30] <grendal-prime> where the hell is this information stored now
[16:32] <rbasak> grendal-prime: it's still there, AFAIK. But I think it might be skipped on certain VMs. Is yours a VM?
[16:33] <grendal-prime> yes
[16:33] <grendal-prime> but...why then is one machine where it was deleted giving me so much trouble then
[16:34] <grendal-prime> i need to be able to rebuild that information
[16:34] <rbasak> See /lib/udev/rules.d/75-persistent-net-generator.rules for details of how and what is skipped. You can override that file by copying it to /etc/udev/rules.d/
[16:35] <rbasak> Or you can just write your own rule to do what you need. The /lib/udev/write_net_rules script coudl help you with this
[16:35] <grendal-prime> rbasak, i tried that.
[16:36] <grendal-prime> the write_net rules script asks for $INTERFACE  but all the syntax i tried just errors
[16:38] <rbasak> Here's an example if you just want to write a rule yourself. I just took it from my laptop's rules.d: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:XX:XX:XX:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
[16:38] <grendal-prime> two machines nither one of them have anything in that file.....one comes up fine the other comes up but complains about limited network functionality
[16:40] <grendal-prime> and acts very strange...takes like 2 min to boot. werid.
[16:41] <grendal-prime> rbasak, you said i can override that file by copying the 75-persistent-net-generator.rules into the /etc/udev/rules.d/ folder?
[16:41] <grendal-prime> thats the first thing i tried and it did not work.
[16:41] <rbasak> You can override any file in /lib/udev/rules.d by copying it into /etc/udev/rules.d I think
[16:42] <rbasak> That's the net rules generator rules file.
[16:43] <rbasak> Where are you getting a message about limited network functionality from?
[16:45] <grendal-prime> on bootup
[16:45] <grendal-prime> and it takes 2 min to boot..
[16:47] <rbasak> Do you have network-manager installed?
[16:47] <grendal-prime> base install..server 1204
[16:47] <grendal-prime> is that thing installed by default now?
[16:49] <grendal-prime> also there is all this stuff about ignoring interfaces from certain vendors?
[16:49] <grendal-prime> like...vmware and kvm.
[16:49] <grendal-prime> how the hell is that suppsed to work
[16:49] <koolhead17> hi all
[16:50] <grendal-prime> and no network manager is not installed
[16:50] <rbasak> With virtual machines, you should just get eth* in the same order every time, so no need to rename interfaces. I assume that's the principle on which udev net generator rules rules skip them anyway
[16:51] <rbasak> If you need them renamed/reordered because of your existing configuration, I'd just add the rules manually and then leave them be.
[16:52] <grendal-prime> yaaaa thats gonna suck
[16:52] <rbasak> Use my example above and stick in into /etc/udev/rules.d/99-custom-interface-names or something
[16:52] <grendal-prime> there is nothing that will just look at whats there and build that file for me.
[16:53] <rbasak> I'm sure upstream will happily accept a patch that adds a script to help people write their own rules :-)
[16:54] <grendal-prime> ya i think ill just grab the one from 10.04 install and throw it in there.
[16:54] <grendal-prime> ya so on boot that box comes up with "waiting for network configuration"
[16:54] <grendal-prime> then after a min it says "waitng for 60 more seconds"
[16:55] <bioman> grendal-prime: beacause you're surely on DHCP and getting no address
[16:56] <grendal-prime> no thats not true
[16:56] <grendal-prime> i have to assign the address
[16:56] <grendal-prime> there is no dhcp on that network. The problem is we build it on one network, then we need to move it to a different network when we deploy
[16:56] <grendal-prime> its a router
[17:00] <bioman> Still with my secret key non available when I "backport --build --workdir=/root/drbl drbl". I have searched for a gpg key with "gpg --search-keys drbl" and found one. What should I do please ?
[17:01] <bioman> ls
[17:08] <grendal-prime> ya setting up that file myself does not work as well.
[17:08] <grendal-prime> still does the same thing on boot.
[17:08] <grendal-prime> this is very werid
[17:10] <silentpj> patdk-wk: i've tried again, still the same problem, accessed the logs, found "chroot: can't execute 'grub-probe': No such file or directory"
[17:10] <patdk-wk> like I said, I have no clue what your issue is on install, and no idea what grub-probe does
[17:10] <patdk-wk> normally use, grub-install /dev/sda
[17:10] <adam_g> can someone please nominate bug 998137 for oneiric?
[17:27] <bioman> I finally managed to create a drbl package. How do I install it please ?
[17:29] <SpamapS> bioman: dpkg -i file.deb
[17:31] <bioman> SpamapS: hey my friend :) Installed but missing dependencies :(
[17:32] <SpamapS> bioman: sudo apt-get -f install
[17:37] <bioman> SpamapS: thanks
[17:44] <bioman> SpamapS: disaster : drbl package installed in /usr but calling other files in /opt/drbl/...
[17:46] <bioman> SpamapS: and lots of files missing :(
[17:50] <bioman> cd
[18:00] <pingswept> What's the difference between the 12.04 AMI's that are from the original release on 2012-04-24 and the more recent daily builds? Security fixes?
[18:11] <SpamapS> pingswept: security+updates
[18:11] <SpamapS> pingswept: basically everything you'd have gotten from 'apt-get update && apt-get upgrade' will be included
[18:12] <pingswept> SpamapS: Thanks. Just what I wanted to know.
[18:58] <axisys> looks like hitting a bug
[18:58] <axisys> # ifdown eth3
[18:58] <axisys> ifdown: interface eth3 not configured
[18:59] <axisys> # ifup eth3
[18:59] <axisys> RTNETLINK answers: File exists
[18:59] <axisys> Failed to bring up eth3.
[18:59] <axisys> [   35.512732] ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready
[18:59] <axisys> what gives?
[19:01] <axisys> all routing works too..
[19:01] <axisys> so why these odd messages?
[19:01] <smoser> ifdown eth3; ifconfig eth3 down;
[19:02] <smoser> it wasn't down, but 'ifupdown' thought it was
[19:02] <smoser> or, you have actually 2 interfaces trying to write the same route
[19:02] <smoser> (rtnetlink file exist)
[19:03] <axisys> eth2 is public network.. eth3 is private network
[19:03] <stgraber> the -v flag of ifup will also show you exactly what returned the netlink error
[19:03] <axisys> not trying the same route
[19:04] <axisys> stgraber: http://paste.ubuntu.com/1001487/
[19:06] <axisys> let me add the down option for eth3..
[19:07] <axisys> since it is trying to add the route that is already there from initial ifup eth3 I think.. like smoser suspected
[19:08] <Guest17303> Guys I am following the ubuntu-server guide for DNS, I am currently here: https://help.ubuntu.com/8.04/serverguide/dns-configuration.html
[19:08] <stgraber> axisys: ifup is basically telling you that something already set the IP address of the interface (and makes it fail to set it again). Manually removing the IP (ifconfig eth3 0.0.0.0), then running ifup again should work
[19:08] <Guest17303> im a little confused at the part where it says : "Also, create an A record for ns.example.com. The name server in this example: "
[19:09] <axisys> stgraber: it sure did.. thanks
[19:09] <Guest17303> I assume it wants me to create another copy of db.local and make changes to it, but it doesnt give a name of the file if thats the case
[19:10] <Guest17303> Anyone able to offer some insight into this?
[19:49] <hallyn> jdstrand: so for the pc-0.12 problem, here is what i'm printing to /var/log/libvirt/libvirtd.log.  http://paste.ubuntu.com/1001608/
[19:49] <hallyn> It seems kind of underwhelming.  non-attention-etting
[19:49] <hallyn> getting
[19:49] <hallyn> OTOH at least it's a start, and something we can look for in bug reports...
[19:50] <hallyn> i wonder if there is a good way to pass a msg onto virsh to print out
[19:52] <fraterm> !pastebin
[19:55] <fraterm> If someone could help me with a good way to fix my system so that this: http://imagebin.org/213476 stops happening I'd appreciate it.
[19:55] <guntbert> !here | fraterm
[19:56] <fraterm> package-data-downloader crashes because something in my system may be corrupt, as you see the imagebin graphic:
[19:56] <fraterm> Title package-data-downloader crashed with KeyError in convert():'paquetes'
[19:56] <fraterm> paquetes is spanish for packages.
[19:57] <fraterm> guntbert, overview after pasting I guess.
[19:57] <guntbert> fraterm: :)
[19:58] <fraterm> system was a well running 11.10 i have 2 non ubuntu packages jenkins and vmware workstation.
[19:58] <guntbert> fraterm: hmmm - we are talking about "server" here?
[19:59] <fraterm> it is server.
[19:59] <fraterm> in that it is the server version of the OS.
[20:00] <guntbert> fraterm: try without the GUI   -     sudo apt-get update; sudo apt-get upgrade
[20:02] <fraterm> I'll have to pastebin this one.
[20:03] <guntbert> please do
[20:05] <fraterm> http://paste.ubuntu.com/1001659/
[20:09] <jdstrand> hallyn: message seems fine. getting it to virsh may be problematic. I always found libvirt's message handling fairly confusing because of how some messages override others, etc
[20:09] <guntbert> fraterm: that makes it much clearer - the problem seems to  lie with flashplugin-installer - I am not able to help with that and will probably not find anyone in this channel - ask in #ubuntu please
[20:10] <fraterm> Can do, guntbert thanks.
[20:14] <fraterm> guntbert, it's a madhouse in there, just sayin.
[20:15] <guntbert> fraterm: did you disable the display of joins and parts?
[20:18] <hallyn> jdstrand: or maybe I should be recommending 'pc', which I assume is always aliased tothe lastest machine type
[20:18] <hallyn> I'm still not comfortable with providing a script to automatically do it.  maybe i'm being a wuss...
[20:18] <jdstrand> that may be best, yes. I forgot about that. I'd check on your assumption, but it sounds right
[20:18] <jdstrand> hallyn: well, you could provide a script to help people do it
[20:19] <jdstrand> I'm guessing many people are not familiar with the xml and just use virt-manager
[20:19] <hallyn> Hmm
[20:19] <hallyn> How do we help them discover that tool?
[20:20] <jdstrand> it could be in the libvirtd message
[20:20] <jdstrand> but that isn't super discoverable
[20:20] <hallyn> (was thinking that as i hit return :)
[20:20] <hallyn> no, but probably the best match to those who need it
[20:23] <antihero> How do I view the output of programs started with upstart
[20:24] <guntbert> antihero: they are not meant to have output, they are just writing logs
[20:25] <hallyn> jdstrand: no, actually i think using type=pc might break migration for some people (as i'm doing some research)
[20:25] <antihero> guntbert: but with supervisord I can do supervisorctl tail -f JOBNAME
[20:25] <kantlivelong> anyone know of a CLI lightscribe app? I just need basic text printing...
[20:25] <antihero> ok
[20:26] <antihero> how can I re-scan all my conf/job files
[20:26] <antihero> once I change them
[20:27] <guntbert> antihero: no idea about supervisor...  - I may know less about upstart than you do :)
[20:28] <axisys> i manually upgrade apts using ``sudo aptitude full-upgrade'' .. should I rather run ``sudo aptitude safe-upgrade'' ?
[20:30] <guntbert> axisys: safe is better :-) but be careful with aptitude anyway
[20:30] <guntbert> !aptitude
[20:35] <axisys> gnuyoga: so use apt-get instead ?
[20:36] <axisys> gnuyoga: nm
[20:36] <axisys> guntbert: so use apt-get instead ?
[20:36] <guntbert> axisys: it looks that way - I do it
[20:37] <axisys> guntbert: what is aptitude safe-upgrade equivalent ?
[20:37] <axisys> with apt-get
[20:37] <axisys> sudo apt-get upgrade <-- is it safe or full ?
[20:38] <guntbert> axisys: there is no exact equivalent, I use upgrade on a regular base and if something gets stuck, dist-upgrade
[20:55] <KristianDK> Where would you get help for dnsmasq-dhcp?
[21:00] <peydude> hello
[21:01] <peydude> anyone using 12.04 LTS Maas ?
[21:01] <peydude> my 1st node says it can't find the specified version in the mirror but I can manually get to it
[21:02] <mwcampbell> I'm running amavisd-new with SpamAssassin as described in the Ubuntu 12.04 server guide. If I want to manually train SA's Bayesian filter, should I run sa-learn as the amavis user?
[21:07] <mgw> has anybody used openssh-lpk on precise?
[21:20] <Fleep> I'm running Ubuntu on an EC2 instance as a Postgres database server and in the past couple of days it's gone unavailable periodically forcing us to stop/start the instance and get new hardware. It's using an EBS volume as it's main drive so we still have all the logging. Where can I start looking for issues? I've checked in /var/log/dmesg and /var/log/syslog and haven't found anything notable when the outages began. Anywhere else I
[21:20] <Fleep> should be looking?
[21:28] <RoyK> Fleep: have you checked if it's running out of memory? shouldn't happen, but can block the system quite badly
[21:28] <Fleep> RoyK: We have seen OOM Killer stuff pop up from time to time. We don't have historical monitoring set up (getting Nagios set up now for that purpose)
[21:29] <Fleep> If there's no logged info, that seems like a pretty common culprit, yeah?
[21:29] <RoyK> dmsg
[21:29] <RoyK> desg
[21:29] <RoyK> argh!
[21:29] <RoyK> dmesg
[21:29] <RoyK> that's the kernel's log
[21:29] <RoyK> check /var/log/syslog
[21:30] <Fleep> See original message
[21:30] <Fleep> I checked both
[21:30] <RoyK> the oom killer steps in when everything else has been tried
[21:30] <Fleep> Hard to read dmesg, but I can't find anything in particular relating to running out of memory. It's not timestamped though, so it's hard to tell.
[21:31] <RoyK> syslog really should log that
[21:32] <Fleep> Yeah, nothing I an see about that really
[21:32] <Fleep> Except, hmm
[21:32] <RoyK> unless the oom killer killed syslogd/rsyslogd first
[21:32] <Fleep> Postgres is the most likely culprit, and dmesg occasionally logs: postgres (752): /proc/752/oom_adj is deprecated, please use /proc/752/oom_score_adj instead
[21:33] <RoyK> how much memory does this vm have?
[21:33] <Fleep> 3.75GB
[21:34] <Fleep> er
[21:34] <Fleep> Excuse me, 1.7GB
[21:34] <Fleep> EC2 c1.medium
[21:35] <RoyK> until you setup nagios or perhaps icinga (a nagios fork, a *wee* bit better imho), try to make a cron job that just does "ps axfv" to a file or an email address periodically
[21:37] <Fleep> Not a bad idea
[22:22] <Mischinka> How do I turn off/on output buffering? (my joomla installer is saying it needs to be off)
[22:28] <LordOfTime> Mischinka:  didnt i just say check the PHP documentation?
[22:28] <LordOfTime> in #nginx :/
[22:29] <JanC> sounds like a bug in the joomla installer anyway?
[22:30] <LordOfTime> well php might have output buffering in it
[22:30] <LordOfTime> on in it*
[22:30] <Mischinka> hmm.. maybe my configs are way off.
[22:52] <Mischinka> How do I completely remove nginx and reinstall it with all new config files?
[22:54] <LordOfTime> Mischinka:  apt-get purge nginx; apt-get install nginx ?
[22:55] <LordOfTime> you'll lose *ALL* confs though
[22:55] <LordOfTime> !crosspost | Mischinka
[22:56] <LordOfTime> and replace "Ubuntu channels" with "support channels" since you're cross posting here and in #ngignxd
[22:56] <LordOfTime> #nginx*
[22:58] <Mischinka> Actually those were different questions.
[23:36] <billybigrigger> hey all, just wondering if someone can help me with openvpn
[23:37] <billybigrigger> i can get my server up and running...but having problems connecting from a win7 client
[23:37] <billybigrigger> and the server logs don't seem to be helpful at all
[23:49] <Mischinka> How do i add an ftp user to: /var/www/website.com ?
[23:51] <helpme472> hello all
[23:51] <helpme472> how I can set sftp on my proftpd without shell access
[23:53] <helpme472> any one here
[23:55] <helpme472> how I can set sftp on my proftpd without shell access