/srv/irclogs.ubuntu.com/2012/04/14/#ubuntu-server.txt

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?00:40
blendedbychrisany reason why after an apt-get purge and an apt-get install of the same package it recreates the config dirs but no files02:39
krinaonkoder4Hey testing connection02:51
krinaonkoder4Anyone on?02:51
blendedbychrisno one lurking?04:46
blendedbychristrying to figure out how to configure stud04:46
blendedbychriswell crap04:48
qman__!ask | blendedbychris04:54
ubottublendedbychris: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience04:54
blendedbychriseh04:55
blendedbychrisi'm just ranting04:55
blendedbychrisany stud users? heh… setting up stunnel because i am convinced there's no decent documentation on stud.04:55
qman__I don't use either, sorry I can't help04:57
qman__but details will usually get you better answers04:57
blendedbychrisjust trying to figure out how to get started with either one at this point ....04:57
=== robbiew1 is now known as robbiew
koolhead17hi all07:22
goddardwould it be bad if I added cron to my "nobody" group?08:40
=== tsimpson_ is now known as tsimpson
knilshello08:52
knilsne one can tell setting up email server in ubuntu08:54
StevenR_knils: please be more precise about what you want08:57
StevenR_knils: or rather, what you're trying to achieve08:57
knilsi want to send mail from one pc to other through LAN08:58
knilsi just configured DNS server in one pc using usuntu server guide08:58
knilsbut the book is specific bout mail server setup08:59
knilsStevan:??09:02
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:05
StevenR_(there is no wrong answer to that question, it just useful to understand why)09:06
knilspersonal use as my UG project09:06
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:08
knilsyes09:09
StevenR_via SMTP?09:09
StevenR_knils: via SMTP?09:11
goddardanyone know how to delete all mail messages for a certain user09:13
goddardI have 162840 messages09:13
knilsstevner:how to set up09:13
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:14
StevenR_knils: then configure one host as a generic mail server, and the other as the mailbox/mail host for your internal domain09:15
StevenR_knils: tbh, the exim4 ubuntu package runs through the basics at install time09:15
knilsstevenr : i have configure dns with MX records09:15
StevenR_knils: well that's step one complete then :)09:16
knilsstevenr: now i hv installed sendmail09:16
StevenR_knils: ok. Any particular reason why you chose sendmail?09:17
knilson box with dns server installed09:17
knilsgoing threw perl book where in found it09:18
knilscan i hv your email id to send  . config files to know every thing is ight09:18
StevenR_use a pastebin09:19
StevenR_!paste09:19
ubottuFor 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.09:19
knilsok09:22
StevenR_(that way, anyone else playing along at home can see it too)09:22
knilsok sir09:23
knilshttp://paste.ubuntu.com/929160/09:24
knils.local file>>>>http://paste.ubuntu.com/929163/09:26
StevenR_ok. using dig, can you resolve names of those and get the right answer?09:29
StevenR_knils: and can you resolve other addresses such as google.com through that nameserver (again, test with dig)09:33
knilsno09:34
StevenR_please be more specific09:35
knilsstevenr: 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 ip09:38
StevenR_why do you need to disconnect from the internet?09:39
knilsafter connecting to internet it updates the resolve file and gives different SERVER ip in dig google.com09:39
StevenR_ah. um. yeah, you'll need to force it to use your internal DNS server09:39
StevenR_unless you're happy to keep disconnecting/reconnecting09:40
StevenR_?09:40
knilsahmmmmmmmmm i m happy to do any thing to make this work09:41
knilsits 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:42
StevenR_well, you probably want to make it work with internet connection then09:45
StevenR_so, test it with dig09:46
knilsno without internet connection09:46
StevenR_(use dig @DNSserverIP09:46
StevenR_huh?09:46
knilshttp://paste.ubuntu.com/929191/>>>>dig dnsip while being connected to internet09:49
knilshttp://paste.ubuntu.com/929191/09:49
StevenR_that paste shows nothing of much use. Please specify your dig command more precisely (read the manpage for dig)09:53
knilsdns is working fine i can ping both ip and addr......wats next09:57
StevenR_setup one box as the mail host for the domain, and the other as a generic mail relay09:58
StevenR_(the box you've specified as your MX host in DNS should be the mail host, and the other box the relay)09:59
StevenR_the mail relay box should only accept connections from localhost for relaying10:00
knilsok10:04
knilsnow i should install sendmail on both client and server10:05
StevenR_knils: you could look at exim4, postfix or sendmail to do this10:05
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:06
StevenR_the generic relay will probably require no setup10:08
knilssendmail-cf is installed10:08
StevenR_ok (that makes it easy to build the config if you need to)10:09
knilsbut i m not able to ping mail.tk5cn.info10:09
knilswith ip 192.168.1.10610: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:10
knilshttp://paste.ubuntu.com/929223/10:12
knilsis my>>>. @            IN     MX 1    mail.tk5cn.info record is fine10:13
StevenR_knils: but you need to test it and verify it with dig to prove that it works.10:16
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
knilsyes its restarting fine10:17
StevenR_huh?10:18
StevenR_what do you mean?10:18
knilsi can dig tk5cn.info perfectl10:18
knilsi m using bind9 and its restarting fine10:19
StevenR_ok... can each box ping the other one, by IP ?10:20
knilsyes10: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:20
StevenR_you cna ping via IP, but not by name?10:21
RoyK^host mail.tk5cn.info ip.of.dns.server10:21
knilsno i cant ping mail.tk5cn.info not with ip either10:22
=== RoyK^ is now known as RoyK
knilswhich is 192.168.1.10610:22
StevenR_then you have an underlying network issue that you need to resolve10:23
knilsi can ping ns.tk5cn.info with ip 192.168.1.10410:23
StevenR_but you can't ping 192.168.1.106 ?10:24
* RoyK wonders how on earth that can be relevant to dns10:24
knilsno10:24
StevenR_knils: sounds like you need to check the connectivity on 192.168.1.10610:25
StevenR_whichever box that is10:25
knilsRoyk:  http://paste.ubuntu.com/929233/10:26
RoyKknils: so, your dns server answers correctly10:26
knilsRoyk: yes10:27
* RoyK thought there was a dns problem10:27
* RoyK is slightly confused10:28
knilsRoyk 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:28
StevenR_knils: can you ping by IP alone (forget DNS for the moment)10:29
StevenR_?10:29
RoyKknils: negative dns caching on the client?10:29
knilsStevenr: no10:29
knilsRoyk i cant ping from the one i installed dns server10:30
StevenR_knils: then look into getting that working (check cables/IP config FIRST) FORGET DNS FOR THE MOMENT.10:30
* RoyK hands StevenR_ a cookie10:31
StevenR_mmmmmm.... COOOOOKKKKIIIEEEEE10:31
StevenR_*nom* *nom* *nom*10:31
knils.local file>>>  http://paste.ubuntu.com/929163/10:34
StevenR_NOT RELEVENT10:34
knils.zone file>>>  http://paste.ubuntu.com/929223/10:35
StevenR_knils: have you fixed your connectivity problem yet?10:35
knilssteven:  connectivity is fine10:38
knilsi dont understand where is the problem10:39
StevenR_can you ping 192.168.1.106 ?10:39
StevenR_from 192.168.1.104 ? (and vice versa)10:39
knilsno10:40
knilsthe 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.1310:40
knilsSteenr10:40
StevenR_if you can't ping between hosts then there's no point in going further10:40
StevenR_you need to check and fix the connectivity problem that you appear to have10:40
knilsi can ping 192.168.1.10410:41
StevenR_from where?10:41
knilsfrom client and server10:41
StevenR_from where precisely?10:41
StevenR_I have no idea what your "client" and "server" are10:41
knilsthe one i installed dns is my server10:42
StevenR_which is?10:42
StevenR_(IP address?)10:42
knilsand one connected to it with lan cable is client10:42
* RoyK hands StevenR_ a beer for the effort10:42
knilsserver ip> 192.168.1.10410:42
knilsclient 192.168.1.210:43
StevenR_so what is 192.168.1.106 ?10:43
knils192.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
knilsStevenr no i cant ping .10610:44
knilsfrom any serv or clint10:44
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 REAL10:45
knils"making up an IP address in a DNS zone file DOES NOT MAKE IT REAL"   yes yes10:45
knilstats wat i m thinking10:45
StevenR_what?10:46
knilsthe book i followed >> Ubuntu Server Guide :said to do so10:46
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:47
knilsyes tat dumb i m10:48
knilsbut i was just following the book10:48
knilsand it is the prerequisite10:49
knilshello11:28
knilsstevenr:?11:31
MarKsaitisHey! is there a proper quick start guide on how to setup openldap on the latest ubuntu server? HELP12:07
=== orangead1 is now known as orangeade
=== nijaba_ is now known as nijaba
uvirtbotNew bug: #981637 in samba (main) "package samba 2:3.6.3-2ubuntu2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1" [Undecided,New] https://launchpad.net/bugs/98163714:41
uvirtbotNew bug: #981647 in apache2 (main) "package apache2.2-common 2.2.22-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 255" [Undecided,New] https://launchpad.net/bugs/98164714:55
pythonirc101My apt-get update gives me the following errors: http://paste.pocoo.org/show/581361/ -- any ideas how to fix it?14:58
pangolinhmm, read only file system does not sound like a good thing15:00
pabelangerwell this stinks15:00
pabelangerE: Internal Error, No file name for libssl1.0.015:00
pythonirc101pangolin:  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
pangolinpythonirc101, did you have an unclean shutdown?15:00
pangolinassuming this is a server and reboots are not usually welcome, but a reboot should fix it.15:01
pythonirc101pangolin: trying reboot15:02
qman__pythonirc101, pangolin mount --remount o=rw15:07
qman__err, no15:07
qman__mount -o=remount,rw15:07
qman__but if it's mounted read only, it's probably for a reason15:10
pythonirc101reboot fixed15:11
pangolinpythonirc101, you did the /forcechk thing?15:12
pangolinalso, don't cross post because it divides the helpers attention and is rude :)15:12
pythonirc101pangolin: nope. how can I do that?15:17
pangolinpythonirc101, exactly my point, you asked the same question in #ubuntu but missed the response. in any case the issue is resolved.15:18
pangolingranted the response was not directed at you.15:19
pangolinllutz> L3top: sudo touch /forcefsck && sudo reboot15:19
qman__probably want to do that anyway15:20
qman__but be aware that if you have a large filesystem it will take a long time15:20
qman__my 8.2T raid takes around three or four hours15:20
pythonirc101thanks15:21
pythonirc101pangolin: I don't have access to the boot screen15:22
pythonirc101If 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 fsck15:23
pythonirc101otherwise I'll just get stuck -- since I don't have access to bios or boot time15:23
pythonirc101qman__: will fsck need user input by any chance?15:23
qman__only if there are errors15:24
pangolinthat 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 check15:24
qman__headless server?15:24
pythonirc101indeed15:24
pythonirc101pangolin: Its a VPS. If the boot needs IO, I'm dead15:24
pythonirc101It needs a clean boot15:24
qman__uh15:25
pythonirc101Since the only way I can access it is ssh15:25
qman__your VPS provider should have given you a shell to the local head15:25
qman__either through a web interface or an alternate port SSH or something15:26
pythonirc101I'll have to ask15:26
pythonirc101for now I only have ssh after the server is up15:26
qman__that's fine for normal use but they really should give you some kind of maintenance access15:27
qman__good providers do15:27
qman__or at least free assistance in doing those things15:28
pythonirc101I'll delay the fsck once I hear from vps provider.15:29
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
koolhead17hi all16:54
AlfE_hello17:04
AlfE_my apcupsd daemon does not start at boot up17:04
AlfE_it is configured, isconfigured is set to yes, and i can start it from a bash prompt without any problem17:05
AlfE_maybe there is some problem with a runlevel17:05
AlfE_system is 11.1017:05
pabelangerDoes 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 it17:24
jkylewhere can I find the default root pass for a node pxe'd via MaaS?17:41
RoyKare you sure it has one?17:45
jkyledoesn't there have to be some way to gain shell access?17:48
Myrttiwell I don't know how different that usecase is, but usually ubuntu in general doesn't have a root password17:56
Myrttiso as RoyK asked, are you sure it has one? Perhaps it has a user with sudo access17:56
=== dendro-afk is now known as dendrobates
jkyleMyrtti: this would be a special cass. I'm using the MaaS system to pxe boot clients18:03
RoyKjkyle: it most probably does not have a root password, but it should have an account with sudo access18:05
jkyleeither or, mostly looking for what that account and pass might be and were it's stored in the maas etc's18:05
RoyKjkyle: /etc/passwd ?18:07
RoyK;)18:07
jkyleRoyK: hehe, it's not quite that straight forward: https://wiki.ubuntu.com/ServerTeam/MAAS18:10
RoyKsaw it...18:14
RoyKlooks cool, though18:14
RoyKperhaps useful for some number crunchers we have at work18:15
=== dendrobates is now known as dendro-afk
jkylethe documentation is in need of updating I think18:16
=== alazare619_ is now known as alazare619
koolhead17 Daviey, i finally got it the suggestion pretec just commented on the bug19:50
koolhead17am sure adam_g uploaded with the changes he told me :)19:50
koolhead17for horizon with DEBUG = False19:50
pretecHi19:53
koolhead17hola pretec19:53
pretec:)19:53
pretecis 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
uvirtbotLaunchpad bug 980787 in openstack-dashboard "openstack-dashboard breaks with option DEBUG =False in config file" [Undecided,Confirmed] https://launchpad.net/bugs/98078720:08
pretecHuch20:08
wmphello20:14
wmphow to check  mon_decimal_point (LC_MONETARY)?20:15
uvirtbotNew bug: #980787 in horizon "openstack-dashboard breaks with option DEBUG =False in config file" [Undecided,Confirmed] https://launchpad.net/bugs/98078720:17
RoyKwmp: how to check what??20:38
wmpok, i have php application20:39
wmpand this app use mon_decimal_point (from locale)20:39
wmpin 10.04 mon_decimal_point = ","20:39
wmpin 12.04 mon_decimal_point = ""20:39
wmpand i want check this20:39
RoyKhow do you check that from the commandline?20:40
wmpi dont know how to check this20:41
RoyKwmp: a google for mon_decimal_point and php gave me this http://php.net/manual/en/function.localeconv.php20:41
wmpyes20:42
wmpprint_R(localeconv()); give me empty on mon_decimal_point20:42
RoyKso... what more do you need? :)20:44
wmpemmm, i want to have in mon_decimal_point => ,20:48
wmpnow i have empty20:48
wmpand this break my php app20:48
RoyKwmp: it's empty here too with my locale - if that breaks your php app, fix the app!21:07
RoyKwmp: and btw, I think this question fits better at ##php21:07
wmpRoyK: i run this same code on 10.04 - work good21:07
wmpand in 12.04 - dont work ;)21:07
RoyKon this 10.04 box21:10
RoyKecho '<?php $a = localeconv(); print "mon_thousands_sep is \"$a['mon_thousands_sep']\"\n"; ' | php21:10
RoyKmon_thousands_sep is ""21:10
henkjankirkland: congratulations with your 12.04 kirkland release21:10
henkjannice announcement http://blog.dustinkirkland.com/2012/04/kirkland-1204-lts-released-hello-world.html :)21:11
guntberthenkjan: thx for sharing - congrats to the kirkland team21:19
=== zz_FridgeBoX is now known as FridgeBoX
=== alaing is now known as Funkymonk
lifelessSpamapS: if you are around... https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955 has me a little wtfing;22:44
uvirtbotLaunchpad bug 981955 in lxc "lxc-execute does not seem to work in precise" [Undecided,New]22:44
=== dendro-afk is now known as dendrobates
SpamapSI am around.. fighting with my printer :-P22:49
lifelessits fighting back ?22:50
SpamapSlifeless: I've never really tried to use lxc-execute, but that looks pretty cool. :)22:50
SpamapSwell right now my dist-upgrade is preventing me from printing out the last form needed to get my son registered for summer camp.. :-P22:50
* SpamapS hopes its just that cups is stopped while packages are configured22:51
uvirtbotNew bug: #981955 in lxc (universe) "lxc-execute does not seem to work in precise" [Undecided,New] https://launchpad.net/bugs/98195522:51
lifelessSpamapS: yeah, so i've got a crazy idea with fuse mounted fs's to track file reads from compiles etc + distribution22:54
lifelesshowever it depends on well, lxc without a full fs22:55
=== FridgeBoX is now known as zz_FridgeBoX
pythonirc101pangolin: For some reason, my machine is back in read only mode...!23:18
=== dendrobates is now known as dendro-afk
ChmEarlpythonirc101, in 12.04 I had same trouble with a xen VM made with debootstrap. I had to add a symlink in /usr lib64->lib23:41
uvirtbotNew bug: #981974 in openvpn (main) "package openvpn 2.2.1-8ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127" [Undecided,New] https://launchpad.net/bugs/98197423:41

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