=== fenris is now known as Guest25535 === Guest25535 is now known as ejat === dendro-afk is now known as dendrobates [02:29] 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] 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] rbasak, how do I browse by name? Isnt there a way to do this with virtual hosts? I am using apache [02:35] whats the best way to NAT all incomming packets from one server to another? [02:37] Use virtual hosts, and set the names up to point to the same IP address. Then use those names in your browser. [02:37] iptables -t nat -A PREROUTING -p tcp -m multiport -dport 80,443 -j DNAT ... ??? [02:37] It sounds like you could do with reading http://en.wikipedia.org/wiki/Virtual_hosting#Name-based [02:37] thats not what i want [02:37] this is a poor mans router [02:37] it needs to work at the transport level [02:37] not the application level [02:38] echosystm: sorry, my message was intended for pmp6nl on a different question, not you. [02:38] oh sorry [02:39] ok rbasak I will read up on that as I am confused about virtual hosts. thanks [02:39] echosystm: sounds like you need http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-6.html#ss6.2 :-) [02:42] 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] will packets stop after the first rule that they match? or will they continue through the chain [02:43] 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] 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] ok so lets say i have rule 1. send all traffic from IP X to IP Y [02:44] then i have rule 2. send all traffic to IP Z [02:44] if a packet coems from X, will it go to Y and then stop? [02:45] If rule 1 is using DNAT, rule 2 will never be processed if a packet matches rule 1. [02:46] cool [02:46] thanks for that [02:51] rbasak, how does apache determine the default virtual host? [02:51] Good question. Sorry, I don't remember the answer. [02:51] It might even be the first one that's defined. [02:53] rbasak, ok, thanks [03:00] Should virtual hosts be listed in apache2.conf? [03:01] 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] pmp6nl: Indirectly. See above. [03:02] Thanks jmarsden. This sounds familiar now. It's been a while since I've done virtual hosting with apache! [03:02] See /usr/share/doc/apache2/README.Debian.gz for useful info on the file structure involved. [03:02] 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] If you went into httpd.conf and added a vhost before the include, that would become the default [03:03] 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] 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] twb: Yes, but you are not supposed to manually put sites into httpd.conf in Debian/Ubuntu :) [03:04] ok, I dont even have a I dont have a /etc/apache2/httpd.conf file [03:04] jmarsden: that's a nice theory :-( [03:05] pmp6nl: You should have an empty one, if you did a conventional install of Apache on Ubuntu server. [03:05] jmarsden, ok, perhaps its just empty. I will look. whats the best way to rename a site under /etc/apache2/sites-available? [03:06] pmp6nl: mv should work fine [03:09] Thanks jmarsden [03:09] pmp6nl: You're welcome [04:26] Does installing the desktop cause the server to run slower? [04:26] It depends. [04:26] its on a vps [04:27] We discourage using GUIs on servers. [04:27] Im trying to figure out an easier way to setup APED server to start and stop when nginx starts and stops. [04:27] APED? [04:28] http://www.ape-project.org/wiki/index.php/Setup [04:29] how do i kill a script using 443 port? [04:29] Good heavens, the developers are excitable fellows. [04:29] Mischinka: you use netstat -nlp to find out what's on that port, then stop its service or equivalent [04:30] I wrote a script to do exactly that at my old job, to reset stuck SSH tunnels [04:30] unfortunately I don't have it to give you but it only took me about ten minutes [04:31] qman__: you can probably just get the pid direct from lsof or so [04:31] I used netstat and some cuts and seds [04:32] stored to a variable and fed to kill after some sanity checking [04:32] Got it! sweet. [04:32] Oh how do i have a script run in background? [04:32] because its making me have to keep the putty terminal up. [04:32] you want screen [04:33] Mischinka: nohup /path/to/script # could also work [04:33] Well, that or nohup or atd or cron or ... [04:33] technically, running in the background requires adding & to the end, but that is still a child of your SSH session [04:33] you need to do something else to make it independent, screen is one easy way [04:33] hmm [04:34] didnt work.. [04:34] 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] I was not aware of nohup or atd until now [04:35] *sigh.. im not sure of how to run it in cron. [04:36] 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] Or rtorrent, that's another common one, because it has a "GUI" they want to attach to later on [04:37] Mischinka: you could write an upstart job. Lots of documentation at http://upstart.ubuntu.com/cookbook/ [04:37] I wrote a kludge using sudo, su, and screen to get srcds running at boot [04:37] because it won't run non-interactively, and won't log [04:37] qman__: "non-interactively" as in it needs stdio, or it needs a non-dumb terminal? [04:38] The latter is harder, I grant you [04:38] non-dumb terminal [04:38] Best would be to fix the damn daemon to not need it, of course... [04:38] it does not function if it doesn't have a shell [04:38] qman__: I'd probably look into faking that with a pty [04:38] Also btw you shouldn't ever need BOTH sudo and su [04:39] I tried to use just sudo but I couldn't make it happy with the options [04:39] the main problem is I want access to the screen, but I want the server to run as a dedicated user [04:39] so root runs the first script at boot, sudos to me, to run the other script which sus to the daemon user [04:40] it's a mess [04:40] but it works [04:41] screen has access control options. The daemon user could start the screen with options to give you permission to reach it. [04:42] question i have css that seems to be running from some sort of server cache.. [04:42] rbasak: screen's access control is... suboptimal. I wouldn't trust it. Also it's disabled by default in Debian and Ubuntu [04:42] im inspecting the site and it says the css tag is coming from http://website.com/:171 [04:43] what does that mean? [04:43] Mischinka: insufficient data [04:44] twb: excuse me? [04:48] Mischinka: you provided insufficient data to answer your question. [04:55] 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] Im trying to figure out if its being cached by the server or something.. [04:57] It sounds like you have nginx rewriting message bodies, which IMO is dumb [04:58] 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] 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] ...I hope that made sense, it wasn't very well put. [04:59] umm not really. [04:59] twb there is a screenshot of my site config: http://i.imgur.com/W9CdY.png [05:05] It is difficult for me to look at images, please pastebin text [05:51] 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] nano migrate_common.ph [05:53] woops: http://pastebin.com/b4AvY5Mq [05:56] found some problems already, updated: http://pastebin.com/mqJrkHe0 [05:59] im trying to set up DNAT for port 80 of my firewall server [05:59] i have done this: http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-6.html#ss6.2 [06:00] iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to 5.6.7.8:8080 [06:00] then when i telnet my firewal on port 80 it just times out [06:00] can anyone think of why this might be happening? === smb` is now known as smb [09:02] 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] with that /etc/network/interfaces i can ping eth0:0 from local machine but from outside it doesn't respond [09:15] morning o/ [09:23] 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] PAM pam_parse: expecting return value; [...Optionen] [09:23] PAM (cron) illegal module type: diese.... [09:23] any ideas? [09:33] adac: looks like a configuration file in pam that is incorrect [09:33] adac: or pam config that is incorrect indeed [09:33] where is the word "diese" in slapd.conf or in /etc/pam.d ? [09:39] lynxman, yes it was a typo! thank you! [09:39] adac: glad to be of help :) [09:39] but the error message is strange [09:39] hehe [09:53] anyone know how the maas server node dns names work with dnsmasq ? [09:54] built a maas server, everything working but the resolution of the dns names, this is breaking my juju deployments [10:58] 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] If I assign it a static ip in the DHCP subnet, it seems to work and I can communicate with the parent [11:15] also, it does not seem to have any routes available, e.g. i can ping the master, but nothing else [11:42] 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] But then it's not a server is it? [11:44] I'm making a simple game server [11:44] <_ruben> define "server"? [11:44] good morning [11:45] 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] Client's just a simple JS-based app running in the browser. [11:45] So like, [11:46] 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] Is it possible to do what I described with an installation of Ubuntu Desktop? [11:48] debuuu: Install the desktop version, don't worry [11:49] <_ruben> sure [11:49] Ah, ok [11:49] 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] Ha [11:51] There's nothing more fancy than that eh? [11:51] <_ruben> not much [11:51] Alright, well sweet :) [11:51] Ask stupid questions, get simple, stupid-feeling inducing answers :) [11:52] Thanks though, I'll install the desktop version and have a play around. [12:00] zul: your libvirt passed tests on p. i'm about to build/run on q, but all is looking good [12:00] (i haven't looked closely at the pkg source, i'm going to trust the qrt on this one :) [12:21] zul: you said you started MIR on dwarves-dfsg? [12:24] hallyn: not yet i had yesterday off [12:42] Hi [12:43] 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] It's 10.10 with 3.3.7 kernel or 3.2.18 === dendrobates is now known as dendro-afk [12:52] 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] bioman_: the DRBL package you are using is not an ubuntu package [12:56] bioman_: talk to the people who make the package for help/issues [12:57] ikonia: hello :) I know this you told me yesterday... Hoped that someone here would have had this issue and a fix ;) [12:57] no, as the package is not made by the people who make the ubuntu packages [12:58] bioman_: as you know I told you this yesterday, why do you keep asking for people to fix issues here [12:58] 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] ikonia: just hoping that's all :( [12:59] bioman_: yes, but you've been told 3 - 4 times [13:02] ikonia: maybe 5 ;) I'll stop bothering you all, sorry... [13:05] hallyn: you know you are running the meeting today right? [13:06] yeah. i hope the slacker last time updated the agenda :) [13:06] hallyn: funny that you say that :) [13:08] zul: thanks. I knew it was coming up this time, but always hate being caught off guard with that [13:08] hallyn: everyone has [13:33] 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. === sentinal_ is now known as sentinal8473 [13:45] zul: all tests pass, push it :) [13:45] oh, except for hte dwarves issue [13:45] guess you can't push it [13:45] damn it.. [13:46] lemme do that right now [13:46] just add some giants ... that will level out the dwarves [13:49] hallyn: https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1002891 fyi [13:49] Launchpad bug 1002891 in dwarves-dfsg "[MIR] dwarves" [High,New] [13:49] 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] linky? [13:49] pfft. i dunno [13:50] https://code.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master [13:51] in particular http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/changes/1692?start_revid=1692 === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [13:55] hallyn: i think you are up for chair btw. [13:55] Daviey: thanks. (read up ^ :) [13:55] zul: just looking at debdiff for one last check, then i'm done with your libvirt [13:56] hah [13:56] hallyn: cool..once dwarves gets looked at then i think we are good [13:56] hopefully my ap stays good for the duration of the meeting. (new one arrives wed) [14:10] oi [14:10] ok so have a vm of 12.04 server [14:12] 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] aparently thats differnt. Now i need to regenerate that file. [14:12] 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] ya that was not hapeing..now it is...werid [14:24] actually...umm werid it did not get created... [14:33] the rules files do not get generated at boot time [14:33] the rules files are static files [14:33] 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] I've never seen the rules files get regenerated [14:34] hi, could please someone recommend a webhost? [14:34] they are normally static files, [14:34] pedor: no [14:35] _ruben: what do you think re-generates them ? === dendrobates is now known as dendro-afk [14:35] ikonia, which channel I can go? [14:35] pedor: no idea [14:36] _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] _ruben: I've never seen the mac addresses in the rules files [14:37] ahhh I see [14:37] <_ruben> # This file was automatically generated by the /lib/udev/write_net_rules [14:37] the network one is generated [14:37] but others are static [14:37] yes, just looked properly [14:37] 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] 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] yes, that makes sense [14:41] hallyn: oh, I didn't notice the '?' [14:42] ok well...what should i do at this point then? [14:42] is there a way to trigger the recreate? [14:42] and the mac addresses do change in this environment...allot. [14:47] jdstrand: right, if i didn't mess up for a change, it should just work. though it's getting brittle [14:47] getting ;) [14:47] it started brittle [14:47] feel free to thank me for that :) [14:48] hopefully they can hold off on more needless formatting changes for awhile [14:48] grendal-prime: look at the script suggested that actually creates the file, try running it [14:48] what's the fun in that? [14:48] * jdstrand is a little jaded on useless changes [14:48] 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] the fun of having time to work on other new stuff [14:48] heh [14:48] jdstrand: +1 on that [14:50] 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] can you look into the file and see if there is anything besides the typical interface info? [14:51] i thin i found something about whats nomcal in there [14:52] grendal-prime: I wouldn't suggest that [14:52] grendal-prime: I'd suggest actually reading the trigger script - seeing what it needs, fixing what it needs, then running the script [14:52] 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] (unless there is a dependency that this script can only be run at boot time - which I don't think it can) [14:54] 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] Daviey: ping (re: cloud-archive stuff) [14:55] Daviey: was talking to zul about the Ubuntu openstack QA PPAs that could replace the openstack PPAs [14:55] Looks like you would have: [14:56] - PPA for tip of stable/essex on Precise -> staging area for Essex/Precise cloud archive [14:56] silentpj [14:57] the issue is the grub bootloader in the mbr isn't updated [14:57] just have grub update it [14:57] - PPA for tip of master on Precise -> general QA for Folsom/Precise cloud archive [14:58] ttx: for the openstack-qa yes ppa for tip stable/essex on precise [14:58] stable/essex is the SRUable stuff so it goes into proposed [14:58] - PPA for milestone-proposed on Precise -> staging area for Folsom/Precise cloud archive [14:59] ttx: hey [14:59] PPA for tip of master on Quantal -> staging area for Folsom/Quantal (main archive) [14:59] patdk-wk: thanks, so it's bug... [14:59] ttx: Can we continue this later, swapping tasks atm. :/ [14:59] yep === dendro-afk is now known as dendrobates [14:59] zul: well "stable/essex on Precise" covers two things [14:59] Daviey: sure [15:00] zul: covers Essex/precise cloud archive and Essex/Precise main archive SRU, now ? [15:00] s/now/no [15:00] bug #978464 [15:00] Launchpad bug 978464 in grub2 "After LTS->LTS (lucid2precise) upgrade, upon reboot drops into grub recovery shell" [Critical,Fix committed] https://launchpad.net/bugs/978464 [15:00] ttx: no essex/precise was always going to go into main archvie sru [15:01] zul: oh, right. [15:01] tip of master for folsom on precise -> cloud-archive [15:01] tip of master for folsom on quantal -> main archvie [15:01] doh... [15:02] ttx: tip of master for folsom on precise -> openstack-qa [15:02] ttx: milestone (and possblly release candidates as well) on precise -> cloud-archive [15:02] ack [15:03] zul, Daviey: I'll sum that up in an email that you can read and comment when you have time [15:03] grrrr [15:03] ttx: cool [15:03] i cannot just get it to recreate the file. [15:04] 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] grendal-prime: ok, so give it an interface name [15:04] you've got to work it through until you find the critera to make it work [15:05] then - you'll understand why it's not being triggered at boot [15:05] ttx: CVEs are handled normally in the security archvie as well :) [15:06] yes but you see...there has to be a process somewhere that would start from scratch... [15:06] patdk-wk: hmm, I'm doing clean install, not sure how to fix it from minimal env on the server cd [15:06] when i run the write_net_rules script it just says missing $interface [15:06] heh? clean install? [15:07] there is no problems with clean installs [15:07] I have done a few hundred precise installs onto esxi 5 [15:07] patdk-wk i have problem with clean install... [15:07] well, I have no clue what your issue could be then [15:10] that file is normally called by persistent-net-generator.rules [15:11] patdk-wk: 64bit? [15:11] grendal-prime: so pass it the interface argument [15:12] both 64 and 32 [15:14] tried that as well didnt work. [15:15] grendal-prime: in what way didn't work [15:15] patdk-wk: wierd, any customisation? I did default install, next->next style... [15:16] I do normal installs, and vm installs [15:16] and also iscsi root installs [15:17] well i run the 75-persistent-net-generator.rules script i just get permission denied [15:18] ok, so look at why [15:18] do you have permission ? [15:18] no execute on the file [15:18] ok, so there you go [15:18] work it through [15:19] ran it with bash [15:19] but um ..didnt put anything in the file [15:21] Hi [15:22] grendal-prime: set -x , work it through [15:22] 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] Using 12.04 [15:27] i can get it to execute but it does not generate anything [15:27] rrrrr [15:27] can anyone tell me how to connect to an FTPS server from command line? [15:27] im trying to connect to a certain IP on a certain port [15:28] esuave: http://blogs.reliablepenguin.com/2009/08/11/ftps-with-lftp [15:28] lftp is pretty nice [15:29] cool thanks! [15:30] grendal-prime: walk it through step by step and see what the trigger for re-generating it [15:30] grendal-prime: set -x [15:33] how do I setup automatic security update? [15:35] axisys: https://help.ubuntu.com/community/AutomaticSecurityUpdates [15:36] rbasak: thanks [15:43] where do you adjust dns? [15:44] esuave: do you mean sftp ? [15:45] ftps? is it the same thing? [15:46] sftp is over ssh scp [15:46] ftps != sftp: http://en.wikipedia.org/wiki/Ftps [15:46] ok [15:46] I havn't heard of ftps [15:47] yeah i know.. me either.. im trying to connect to someones ftps server === nhandler_ is now known as nhandler [15:54] nobody knows how to successfully build the quantal drbl package ? [16:00] hallyn, your presense is requested in #ubuntu-meeting [16:00] or presence even. [16:04] ftps breaks ftp hopelessly :) [16:08] 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] 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] 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] Launchpad bug 988919 in helioviewer.org "Improved JP2 file acquisition" [High,In progress] https://launchpad.net/bugs/988919 [16:12] err, bug 988819 [16:12] Launchpad bug 988819 in apache2 "wrong path to libxml2.so.2 in mod_security" [Unknown,Fix released] https://launchpad.net/bugs/988819 [16:12] * znf hails the SpamapS [16:12] rbasak: cool [16:21] 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] 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] where the hell is this information stored now [16:32] grendal-prime: it's still there, AFAIK. But I think it might be skipped on certain VMs. Is yours a VM? [16:33] yes [16:33] but...why then is one machine where it was deleted giving me so much trouble then [16:34] i need to be able to rebuild that information [16:34] 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] 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] rbasak, i tried that. [16:36] the write_net rules script asks for $INTERFACE but all the syntax i tried just errors [16:38] 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] 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] and acts very strange...takes like 2 min to boot. werid. [16:41] 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] thats the first thing i tried and it did not work. [16:41] You can override any file in /lib/udev/rules.d by copying it into /etc/udev/rules.d I think [16:42] That's the net rules generator rules file. [16:43] Where are you getting a message about limited network functionality from? [16:45] on bootup [16:45] and it takes 2 min to boot.. [16:47] Do you have network-manager installed? [16:47] base install..server 1204 [16:47] is that thing installed by default now? [16:49] also there is all this stuff about ignoring interfaces from certain vendors? [16:49] like...vmware and kvm. [16:49] how the hell is that suppsed to work [16:49] hi all [16:50] and no network manager is not installed [16:50] 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] 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] yaaaa thats gonna suck [16:52] Use my example above and stick in into /etc/udev/rules.d/99-custom-interface-names or something [16:52] there is nothing that will just look at whats there and build that file for me. [16:53] I'm sure upstream will happily accept a patch that adds a script to help people write their own rules :-) [16:54] ya i think ill just grab the one from 10.04 install and throw it in there. [16:54] ya so on boot that box comes up with "waiting for network configuration" [16:54] then after a min it says "waitng for 60 more seconds" [16:55] grendal-prime: beacause you're surely on DHCP and getting no address [16:56] no thats not true [16:56] i have to assign the address [16:56] 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] its a router [17:00] 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] ls === dendrobates is now known as dendro-afk [17:08] ya setting up that file myself does not work as well. [17:08] still does the same thing on boot. [17:08] this is very werid [17:10] 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" === Lcawte|Away is now known as Lcawte [17:10] like I said, I have no clue what your issue is on install, and no idea what grub-probe does [17:10] normally use, grub-install /dev/sda [17:10] can someone please nominate bug 998137 for oneiric? [17:10] Launchpad bug 998137 in keystone "Keystone user tenant membership not always removed" [Undecided,Confirmed] https://launchpad.net/bugs/998137 [17:27] I finally managed to create a drbl package. How do I install it please ? [17:29] bioman: dpkg -i file.deb [17:31] SpamapS: hey my friend :) Installed but missing dependencies :( [17:32] bioman: sudo apt-get -f install [17:37] SpamapS: thanks [17:44] SpamapS: disaster : drbl package installed in /usr but calling other files in /opt/drbl/... [17:46] SpamapS: and lots of files missing :( [17:50] cd [18:00] 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? === matsubara is now known as matsubara-lunch [18:11] pingswept: security+updates [18:11] pingswept: basically everything you'd have gotten from 'apt-get update && apt-get upgrade' will be included [18:12] SpamapS: Thanks. Just what I wanted to know. === matsubara-lunch is now known as matsubara === wolferz__ is now known as wolferz [18:58] looks like hitting a bug [18:58] # ifdown eth3 [18:58] ifdown: interface eth3 not configured [18:59] # ifup eth3 [18:59] RTNETLINK answers: File exists [18:59] Failed to bring up eth3. [18:59] [ 35.512732] ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready [18:59] what gives? [19:01] all routing works too.. [19:01] so why these odd messages? [19:01] ifdown eth3; ifconfig eth3 down; [19:02] it wasn't down, but 'ifupdown' thought it was [19:02] or, you have actually 2 interfaces trying to write the same route [19:02] (rtnetlink file exist) [19:03] eth2 is public network.. eth3 is private network [19:03] the -v flag of ifup will also show you exactly what returned the netlink error [19:03] not trying the same route [19:04] stgraber: http://paste.ubuntu.com/1001487/ [19:06] let me add the down option for eth3.. [19:07] since it is trying to add the route that is already there from initial ifup eth3 I think.. like smoser suspected [19:08] 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] 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] 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] stgraber: it sure did.. thanks [19:09] 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] Anyone able to offer some insight into this? === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [19:49] 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] It seems kind of underwhelming. non-attention-etting [19:49] getting [19:49] OTOH at least it's a start, and something we can look for in bug reports... [19:50] i wonder if there is a good way to pass a msg onto virsh to print out [19:52] !pastebin [19:52] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. === Nafallo_ is now known as Nafallo [19:55] 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] !here | fraterm [19:55] fraterm: Please give at least an overview of your problem *here* (all in one line) - you will get a much greater audience. If you have to use more than 3 lines, please use http://paste.ubuntu.com [19:56] package-data-downloader crashes because something in my system may be corrupt, as you see the imagebin graphic: [19:56] Title package-data-downloader crashed with KeyError in convert():'paquetes' [19:56] paquetes is spanish for packages. [19:57] guntbert, overview after pasting I guess. [19:57] fraterm: :) [19:58] system was a well running 11.10 i have 2 non ubuntu packages jenkins and vmware workstation. [19:58] fraterm: hmmm - we are talking about "server" here? [19:59] it is server. [19:59] in that it is the server version of the OS. [20:00] fraterm: try without the GUI - sudo apt-get update; sudo apt-get upgrade [20:02] I'll have to pastebin this one. [20:03] please do [20:05] http://paste.ubuntu.com/1001659/ [20:09] 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] 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] Can do, guntbert thanks. [20:14] guntbert, it's a madhouse in there, just sayin. [20:15] fraterm: did you disable the display of joins and parts? [20:18] jdstrand: or maybe I should be recommending 'pc', which I assume is always aliased tothe lastest machine type [20:18] I'm still not comfortable with providing a script to automatically do it. maybe i'm being a wuss... [20:18] that may be best, yes. I forgot about that. I'd check on your assumption, but it sounds right [20:18] hallyn: well, you could provide a script to help people do it [20:19] I'm guessing many people are not familiar with the xml and just use virt-manager [20:19] Hmm [20:19] How do we help them discover that tool? [20:20] it could be in the libvirtd message [20:20] but that isn't super discoverable [20:20] (was thinking that as i hit return :) [20:20] no, but probably the best match to those who need it [20:23] How do I view the output of programs started with upstart [20:24] antihero: they are not meant to have output, they are just writing logs [20:25] jdstrand: no, actually i think using type=pc might break migration for some people (as i'm doing some research) [20:25] guntbert: but with supervisord I can do supervisorctl tail -f JOBNAME [20:25] anyone know of a CLI lightscribe app? I just need basic text printing... [20:25] ok [20:26] how can I re-scan all my conf/job files [20:26] once I change them [20:27] antihero: no idea about supervisor... - I may know less about upstart than you do :) [20:28] i manually upgrade apts using ``sudo aptitude full-upgrade'' .. should I rather run ``sudo aptitude safe-upgrade'' ? [20:30] axisys: safe is better :-) but be careful with aptitude anyway [20:30] !aptitude [20:30] aptitude is another terminal-based front-end to APT. You may encounter problems on multiarch installs (11.10 and higher) as aptitude cannot currently handle the same package with different architectures being installed at the same time. See http://pad.lv/831768 for more information. [20:35] gnuyoga: so use apt-get instead ? [20:36] gnuyoga: nm [20:36] guntbert: so use apt-get instead ? [20:36] axisys: it looks that way - I do it [20:37] guntbert: what is aptitude safe-upgrade equivalent ? [20:37] with apt-get [20:37] sudo apt-get upgrade <-- is it safe or full ? [20:38] axisys: there is no exact equivalent, I use upgrade on a regular base and if something gets stuck, dist-upgrade === aarcane_ is now known as aarcane [20:55] Where would you get help for dnsmasq-dhcp? [21:00] hello [21:01] anyone using 12.04 LTS Maas ? [21:01] my 1st node says it can't find the specified version in the mirror but I can manually get to it [21:02] 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] has anybody used openssh-lpk on precise? [21:20] 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] should be looking? [21:28] Fleep: have you checked if it's running out of memory? shouldn't happen, but can block the system quite badly [21:28] 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] If there's no logged info, that seems like a pretty common culprit, yeah? [21:29] dmsg [21:29] desg [21:29] argh! [21:29] dmesg [21:29] that's the kernel's log [21:29] check /var/log/syslog [21:30] See original message [21:30] I checked both [21:30] the oom killer steps in when everything else has been tried [21:30] 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] syslog really should log that [21:32] Yeah, nothing I an see about that really [21:32] Except, hmm [21:32] unless the oom killer killed syslogd/rsyslogd first [21:32] 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] how much memory does this vm have? [21:33] 3.75GB [21:34] er [21:34] Excuse me, 1.7GB [21:34] EC2 c1.medium [21:35] 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] Not a bad idea === dendro-afk is now known as dendrobates [22:22] How do I turn off/on output buffering? (my joomla installer is saying it needs to be off) [22:28] Mischinka: didnt i just say check the PHP documentation? [22:28] in #nginx :/ [22:29] sounds like a bug in the joomla installer anyway? [22:30] well php might have output buffering in it [22:30] on in it* [22:30] hmm.. maybe my configs are way off. [22:52] How do I completely remove nginx and reinstall it with all new config files? [22:54] Mischinka: apt-get purge nginx; apt-get install nginx ? [22:55] you'll lose *ALL* confs though [22:55] !crosspost | Mischinka [22:55] Mischinka: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [22:56] and replace "Ubuntu channels" with "support channels" since you're cross posting here and in #ngignxd [22:56] #nginx* [22:58] Actually those were different questions. [23:36] hey all, just wondering if someone can help me with openvpn [23:37] i can get my server up and running...but having problems connecting from a win7 client [23:37] and the server logs don't seem to be helpful at all === bastidra1or is now known as bastidrazor === Lcawte is now known as Lcawte|Away [23:49] How do i add an ftp user to: /var/www/website.com ? [23:51] hello all [23:51] how I can set sftp on my proftpd without shell access [23:53] any one here [23:55] how I can set sftp on my proftpd without shell access