[00:40] <qman__> question about rsnapshot: I've configured it with 7 daily and 2 weekly, what happens when I swap drives? does act like the gap never happened, or does it start over?
[02:39] <blendedbychris> any reason why after an apt-get purge and an apt-get install of the same package it recreates the config dirs but no files
[02:51] <krinaonkoder4> Hey testing connection
[02:51] <krinaonkoder4> Anyone on?
[04:46] <blendedbychris> no one lurking?
[04:46] <blendedbychris> trying to figure out how to configure stud
[04:48] <blendedbychris> well crap
[04:54] <qman__> !ask | blendedbychris
[04:55] <blendedbychris> eh
[04:55] <blendedbychris> i'm just ranting
[04:55] <blendedbychris> any stud users? heh… setting up stunnel because i am convinced there's no decent documentation on stud.
[04:57] <qman__> I don't use either, sorry I can't help
[04:57] <qman__> but details will usually get you better answers
[04:57] <blendedbychris> just trying to figure out how to get started with either one at this point ....
[07:22] <koolhead17> hi all
[08:40] <goddard> would it be bad if I added cron to my "nobody" group?
[08:52] <knils> hello
[08:54] <knils> ne one can tell setting up email server in ubuntu
[08:57] <StevenR_> knils: please be more precise about what you want
[08:57] <StevenR_> knils: or rather, what you're trying to achieve
[08:58] <knils> i want to send mail from one pc to other through LAN
[08:58] <knils> i just configured DNS server in one pc using usuntu server guide
[08:59] <knils> but the book is specific bout mail server setup
[09:02] <knils> Stevan:??
[09:05] <StevenR_> ok... why are you trying to do that? Are you just experimenting, or do you have a set of requirements for business/personal use?
[09:06] <StevenR_> (there is no wrong answer to that question, it just useful to understand why)
[09:06] <knils> personal use as my UG project
[09:08] <StevenR_> so you just want to setup something to take mail from one box and pass it across the lan to another box to a mailbox on that?
[09:09] <knils> yes
[09:09] <StevenR_> via SMTP?
[09:11] <StevenR_> knils: via SMTP?
[09:13] <goddard> anyone know how to delete all mail messages for a certain user
[09:13] <goddard> I have 162840 messages
[09:13] <knils> stevner:how to set up
[09:14] <StevenR_> knils: well, assuming you want to do this via SMTP, configure an approriate internal domain on your DNS server (with MX records, etc)
[09:15] <StevenR_> knils: then configure one host as a generic mail server, and the other as the mailbox/mail host for your internal domain
[09:15] <StevenR_> knils: tbh, the exim4 ubuntu package runs through the basics at install time
[09:15] <knils> stevenr : i have configure dns with MX records
[09:16] <StevenR_> knils: well that's step one complete then :)
[09:16] <knils> stevenr: now i hv installed sendmail
[09:17] <StevenR_> knils: ok. Any particular reason why you chose sendmail?
[09:17] <knils> on box with dns server installed
[09:18] <knils> going threw perl book where in found it
[09:18] <knils> can i hv your email id to send  . config files to know every thing is ight
[09:19] <StevenR_> use a pastebin
[09:19] <StevenR_> !paste
[09:22] <knils> ok
[09:22] <StevenR_> (that way, anyone else playing along at home can see it too)
[09:23] <knils> ok sir
[09:24] <knils> http://paste.ubuntu.com/929160/
[09:26] <knils> .local file>>>>http://paste.ubuntu.com/929163/
[09:29] <StevenR_> ok. using dig, can you resolve names of those and get the right answer?
[09:33] <StevenR_> knils: and can you resolve other addresses such as google.com through that nameserver (again, test with dig)
[09:34] <knils> no
[09:35] <StevenR_> please be more specific
[09:38] <knils> stevenr: when i disconnect from my internet then i have to give "nameserver 192.168.1.104" to resolve file then "dig tk5cn.info' gives server ip
[09:39] <StevenR_> why do you need to disconnect from the internet?
[09:39] <knils> after connecting to internet it updates the resolve file and gives different SERVER ip in dig google.com
[09:39] <StevenR_> ah. um. yeah, you'll need to force it to use your internal DNS server
[09:40] <StevenR_> unless you're happy to keep disconnecting/reconnecting
[09:40] <StevenR_> ?
[09:41] <knils> ahmmmmmmmmm i m happy to do any thing to make this work
[09:42] <knils> its a hunch but it do entice my crave of exitement if i fing a ubuntu server guide with step by step events and screenshots for beginners:):)
[09:45] <StevenR_> well, you probably want to make it work with internet connection then
[09:46] <StevenR_> so, test it with dig
[09:46] <knils> no without internet connection
[09:46] <StevenR_> (use dig @DNSserverIP
[09:46] <StevenR_> huh?
[09:49] <knils> http://paste.ubuntu.com/929191/>>>>dig dnsip while being connected to internet
[09:49] <knils> http://paste.ubuntu.com/929191/
[09:53] <StevenR_> that paste shows nothing of much use. Please specify your dig command more precisely (read the manpage for dig)
[09:57] <knils> dns is working fine i can ping both ip and addr......wats next
[09:58] <StevenR_> setup one box as the mail host for the domain, and the other as a generic mail relay
[09:59] <StevenR_> (the box you've specified as your MX host in DNS should be the mail host, and the other box the relay)
[10:00] <StevenR_> the mail relay box should only accept connections from localhost for relaying
[10:04] <knils> ok
[10:05] <knils> now i should install sendmail on both client and server
[10:05] <StevenR_> knils: you could look at exim4, postfix or sendmail to do this
[10:06] <StevenR_> yes, if that's what you want to use. You're probably going to want the sendmail-cf package with that (it's probably called that, but apt-cache search will probably help if it's not)
[10:08] <StevenR_> the generic relay will probably require no setup
[10:08] <knils> sendmail-cf is installed
[10:09] <StevenR_> ok (that makes it easy to build the config if you need to)
[10:09] <knils> but i m not able to ping mail.tk5cn.info
[10:10] <knils> with ip 192.168.1.106
[10:10] <StevenR_> then your DNS is NOT setup correctly.
[10:10] <StevenR_> (that's why I wanted you to verify it properly with dig. Sending mail relies too heavily on DNS)
[10:12] <knils> http://paste.ubuntu.com/929223/
[10:13] <knils> is my>>>. @            IN     MX 1    mail.tk5cn.info record is fine
[10:16] <StevenR_> knils: but you need to test it and verify it with dig to prove that it works.
[10:17] <StevenR_> knils: it looks right, but you need to make sure that your bind (assuming you're using bind) configuration is correct and working.
[10:17] <StevenR_> to do that, you need dig :)
[10:17] <knils> yes its restarting fine
[10:18] <StevenR_> huh?
[10:18] <StevenR_> what do you mean?
[10:18] <knils> i can dig tk5cn.info perfectl
[10:19] <knils> i m using bind9 and its restarting fine
[10:20] <StevenR_> ok... can each box ping the other one, by IP ?
[10:20] <knils> yes
[10:20] <StevenR_> (if bind9 restarts fine, that just means the config is syntactically correct, it doesn't mean it will actually do what you want)
[10:20] <StevenR_> but you said you can't ping mail.tk5cn.info ?
[10:21] <StevenR_> you cna ping via IP, but not by name?
[10:21] <RoyK^> host mail.tk5cn.info ip.of.dns.server
[10:22] <knils> no i cant ping mail.tk5cn.info not with ip either
[10:22] <knils> which is 192.168.1.106
[10:23] <StevenR_> then you have an underlying network issue that you need to resolve
[10:23] <knils> i can ping ns.tk5cn.info with ip 192.168.1.104
[10:24] <StevenR_> but you can't ping 192.168.1.106 ?
[10:24]  * RoyK wonders how on earth that can be relevant to dns
[10:24] <knils> no
[10:25] <StevenR_> knils: sounds like you need to check the connectivity on 192.168.1.106
[10:25] <StevenR_> whichever box that is
[10:26] <knils> Royk:  http://paste.ubuntu.com/929233/
[10:26] <RoyK> knils: so, your dns server answers correctly
[10:27] <knils> Royk: yes
[10:27]  * RoyK thought there was a dns problem
[10:28]  * RoyK is slightly confused
[10:28] <knils> Royk its not pinging 192.168.1.106 ip for mail.tk5cn.info which i gave manualy  in .zone file and in .local file with "PTR"
[10:29] <StevenR_> knils: can you ping by IP alone (forget DNS for the moment)
[10:29] <StevenR_> ?
[10:29] <RoyK> knils: negative dns caching on the client?
[10:29] <knils> Stevenr: no
[10:30] <knils> Royk i cant ping from the one i installed dns server
[10:30] <StevenR_> knils: then look into getting that working (check cables/IP config FIRST) FORGET DNS FOR THE MOMENT.
[10:31]  * RoyK hands StevenR_ a cookie
[10:31] <StevenR_> mmmmmm.... COOOOOKKKKIIIEEEEE
[10:31] <StevenR_> *nom* *nom* *nom*
[10:34] <knils> .local file>>>  http://paste.ubuntu.com/929163/
[10:34] <StevenR_> NOT RELEVENT
[10:35] <knils> .zone file>>>  http://paste.ubuntu.com/929223/
[10:35] <StevenR_> knils: have you fixed your connectivity problem yet?
[10:38] <knils> steven:  connectivity is fine
[10:39] <knils> i dont understand where is the problem
[10:39] <StevenR_> can you ping 192.168.1.106 ?
[10:39] <StevenR_> from 192.168.1.104 ? (and vice versa)
[10:40] <knils> no
[10:40] <knils> the book i followed says>>>    MX record: Used to define where email should be sent to. Must point to an A record, not a CNAME. IN  mail MX IN A 1 mail.example.com. 192.168.1.13
[10:40] <knils> Steenr
[10:40] <StevenR_> if you can't ping between hosts then there's no point in going further
[10:40] <StevenR_> you need to check and fix the connectivity problem that you appear to have
[10:41] <knils> i can ping 192.168.1.104
[10:41] <StevenR_> from where?
[10:41] <knils> from client and server
[10:41] <StevenR_> from where precisely?
[10:41] <StevenR_> I have no idea what your "client" and "server" are
[10:42] <knils> the one i installed dns is my server
[10:42] <StevenR_> which is?
[10:42] <StevenR_> (IP address?)
[10:42] <knils> and one connected to it with lan cable is client
[10:42]  * RoyK hands StevenR_ a beer for the effort
[10:42] <knils> server ip> 192.168.1.104
[10:43] <knils> client 192.168.1.2
[10:43] <StevenR_> so what is 192.168.1.106 ?
[10:44] <knils> 192.168.1.106  is the ip of mail.tk5cn.info "a new record that i gave manually in .zone file"
[10:44] <StevenR_> knils: can you ping 192.168.1.106 ?
[10:44] <StevenR_> from 192.168.1.2 or 192.168.1.104 ?
[10:44] <knils> Stevenr no i cant ping .106
[10:44] <knils> from any serv or clint
[10:45] <StevenR_> knils: so which device has the IP address 192.168.1.106?
[10:45] <StevenR_> knils: making up an IP address in a DNS zone file DOES NOT MAKE IT REAL
[10:45] <knils> "making up an IP address in a DNS zone file DOES NOT MAKE IT REAL"   yes yes
[10:45] <knils> tats wat i m thinking
[10:46] <StevenR_> what?
[10:46] <knils> the book i followed >> Ubuntu Server Guide :said to do so
[10:47] <StevenR_> so.. you've made up a mailserver IP address and expect to be able to set up mail on a server that DOES NOT ACTUALLY EXIST?
[10:48] <knils> yes tat dumb i m
[10:48] <knils> but i was just following the book
[10:49] <knils> and it is the prerequisite
[11:28] <knils> hello
[11:31] <knils> stevenr:?
[12:07] <MarKsaitis> Hey! is there a proper quick start guide on how to setup openldap on the latest ubuntu server? HELP
[14:58] <pythonirc101> My apt-get update gives me the following errors: http://paste.pocoo.org/show/581361/ -- any ideas how to fix it?
[15:00] <pangolin> hmm, read only file system does not sound like a good thing
[15:00] <pabelanger> well this stinks
[15:00] <pabelanger> E: Internal Error, No file name for libssl1.0.0
[15:00] <pythonirc101> pangolin:  how do I fix a read-only file system...and how did I get a read only file system in the first place -- suddenly?
[15:00] <pangolin> pythonirc101, did you have an unclean shutdown?
[15:01] <pangolin> assuming this is a server and reboots are not usually welcome, but a reboot should fix it.
[15:02] <pythonirc101> pangolin: trying reboot
[15:07] <qman__> pythonirc101, pangolin mount --remount o=rw
[15:07] <qman__> err, no
[15:07] <qman__> mount -o=remount,rw
[15:10] <qman__> but if it's mounted read only, it's probably for a reason
[15:11] <pythonirc101> reboot fixed
[15:12] <pangolin> pythonirc101, you did the /forcechk thing?
[15:12] <pangolin> also, don't cross post because it divides the helpers attention and is rude :)
[15:17] <pythonirc101> pangolin: nope. how can I do that?
[15:18] <pangolin> pythonirc101, exactly my point, you asked the same question in #ubuntu but missed the response. in any case the issue is resolved.
[15:19] <pangolin> granted the response was not directed at you.
[15:19] <pangolin> llutz> L3top: sudo touch /forcefsck && sudo reboot
[15:20] <qman__> probably want to do that anyway
[15:20] <qman__> but be aware that if you have a large filesystem it will take a long time
[15:20] <qman__> my 8.2T raid takes around three or four hours
[15:21] <pythonirc101> thanks
[15:22] <pythonirc101> pangolin: I don't have access to the boot screen
[15:23] <pythonirc101> If I do a forcefsck, does it need user input?
[15:23] <qman__> no, you just create that file in the root, and if it finds it, it will run an fsck
[15:23] <pythonirc101> otherwise I'll just get stuck -- since I don't have access to bios or boot time
[15:23] <pythonirc101> qman__: will fsck need user input by any chance?
[15:24] <qman__> only if there are errors
[15:24] <pangolin> that command is run in one line. it creates the file and then reboots the computer, if the file exists it will do a file system check
[15:24] <qman__> headless server?
[15:24] <pythonirc101> indeed
[15:24] <pythonirc101> pangolin: Its a VPS. If the boot needs IO, I'm dead
[15:24] <pythonirc101> It needs a clean boot
[15:25] <qman__> uh
[15:25] <pythonirc101> Since the only way I can access it is ssh
[15:25] <qman__> your VPS provider should have given you a shell to the local head
[15:26] <qman__> either through a web interface or an alternate port SSH or something
[15:26] <pythonirc101> I'll have to ask
[15:26] <pythonirc101> for now I only have ssh after the server is up
[15:27] <qman__> that's fine for normal use but they really should give you some kind of maintenance access
[15:27] <qman__> good providers do
[15:28] <qman__> or at least free assistance in doing those things
[15:29] <pythonirc101> I'll delay the fsck once I hear from vps provider.
[16:54] <koolhead17> hi all
[17:04] <AlfE_> hello
[17:04] <AlfE_> my apcupsd daemon does not start at boot up
[17:05] <AlfE_> it is configured, isconfigured is set to yes, and i can start it from a bash prompt without any problem
[17:05] <AlfE_> maybe there is some problem with a runlevel
[17:05] <AlfE_> system is 11.10
[17:24] <pabelanger> Does anybody know how the mini.iso, from http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/ is built?  EG: which package does it
[17:41] <jkyle> where can I find the default root pass for a node pxe'd via MaaS?
[17:45] <RoyK> are you sure it has one?
[17:48] <jkyle> doesn't there have to be some way to gain shell access?
[17:56] <Myrtti> well I don't know how different that usecase is, but usually ubuntu in general doesn't have a root password
[17:56] <Myrtti> so as RoyK asked, are you sure it has one? Perhaps it has a user with sudo access
[18:03] <jkyle> Myrtti: this would be a special cass. I'm using the MaaS system to pxe boot clients
[18:05] <RoyK> jkyle: it most probably does not have a root password, but it should have an account with sudo access
[18:05] <jkyle> either or, mostly looking for what that account and pass might be and were it's stored in the maas etc's
[18:07] <RoyK> jkyle: /etc/passwd ?
[18:07] <RoyK> ;)
[18:10] <jkyle> RoyK: hehe, it's not quite that straight forward: https://wiki.ubuntu.com/ServerTeam/MAAS
[18:14] <RoyK> saw it...
[18:14] <RoyK> looks cool, though
[18:15] <RoyK> perhaps useful for some number crunchers we have at work
[18:16] <jkyle> the documentation is in need of updating I think
[19:50] <koolhead17>  Daviey, i finally got it the suggestion pretec just commented on the bug
[19:50] <koolhead17> am sure adam_g uploaded with the changes he told me :)
[19:50] <koolhead17> for horizon with DEBUG = False
[19:53] <pretec> Hi
[19:53] <koolhead17> hola pretec
[19:53] <pretec> :)
[20:08] <pretec> is it possible to reassig a bug in Launchpad to another package? The bug 980787 is assigned to the old source package (openstack-dashboard) and i want to reassign it to the new one (horizon).
[20:08] <pretec> Huch
[20:14] <wmp> hello
[20:15] <wmp> how to check  mon_decimal_point (LC_MONETARY)?
[20:38] <RoyK> wmp: how to check what??
[20:39] <wmp> ok, i have php application
[20:39] <wmp> and this app use mon_decimal_point (from locale)
[20:39] <wmp> in 10.04 mon_decimal_point = ","
[20:39] <wmp> in 12.04 mon_decimal_point = ""
[20:39] <wmp> and i want check this
[20:40] <RoyK> how do you check that from the commandline?
[20:41] <wmp> i dont know how to check this
[20:41] <RoyK> wmp: a google for mon_decimal_point and php gave me this http://php.net/manual/en/function.localeconv.php
[20:42] <wmp> yes
[20:42] <wmp> print_R(localeconv()); give me empty on mon_decimal_point
[20:44] <RoyK> so... what more do you need? :)
[20:48] <wmp> emmm, i want to have in mon_decimal_point => ,
[20:48] <wmp> now i have empty
[20:48] <wmp> and this break my php app
[21:07] <RoyK> wmp: it's empty here too with my locale - if that breaks your php app, fix the app!
[21:07] <RoyK> wmp: and btw, I think this question fits better at ##php
[21:07] <wmp> RoyK: i run this same code on 10.04 - work good
[21:07] <wmp> and in 12.04 - dont work ;)
[21:10] <RoyK> on this 10.04 box
[21:10] <RoyK> echo '<?php $a = localeconv(); print "mon_thousands_sep is \"$a['mon_thousands_sep']\"\n"; ' | php
[21:10] <RoyK> mon_thousands_sep is ""
[21:10] <henkjan> kirkland: congratulations with your 12.04 kirkland release
[21:11] <henkjan> nice announcement http://blog.dustinkirkland.com/2012/04/kirkland-1204-lts-released-hello-world.html :)
[21:19] <guntbert> henkjan: thx for sharing - congrats to the kirkland team
[22:44] <lifeless> SpamapS: if you are around... https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955 has me a little wtfing;
[22:49] <SpamapS> I am around.. fighting with my printer :-P
[22:50] <lifeless> its fighting back ?
[22:50] <SpamapS> lifeless: I've never really tried to use lxc-execute, but that looks pretty cool. :)
[22:50] <SpamapS> well right now my dist-upgrade is preventing me from printing out the last form needed to get my son registered for summer camp.. :-P
[22:51]  * SpamapS hopes its just that cups is stopped while packages are configured
[22:54] <lifeless> SpamapS: yeah, so i've got a crazy idea with fuse mounted fs's to track file reads from compiles etc + distribution
[22:55] <lifeless> however it depends on well, lxc without a full fs
[23:18] <pythonirc101> pangolin: For some reason, my machine is back in read only mode...!
[23:41] <ChmEarl> pythonirc101, in 12.04 I had same trouble with a xen VM made with debootstrap. I had to add a symlink in /usr lib64->lib