[00:52] <riz0n> Hello. I have an Ubuntu 12.04.1 server running, and I am getting cron emails daily /etc/cron.daily/spamassassin: http: GET http://sa-update.dnswl.org/1423347.tar.gz request failed: 500 Can't connect to sa-update.dnswl.org:80 (Bad hostname): Can't connect to sa-update.dnswl.org:80 (Bad hostname) LWP::Protocol::http::Socket: Bad hostname 'sa-update.dnswl.org' at /usr/share/perl5/LWP/Prot
[00:52] <riz0n> ocol/http.pm line 51.  What has happened, and what do I need to change to fix this? Thanks.
[00:53] <TheLordOfTime> sa-update.dnswl.org:80 (Bad hostname)  <--- is that a valid hostname?
[00:53] <riz0n> I would hope so, its part of Spam Assassin.
[00:53] <TheLordOfTime> i think your system's not resolving its hostname right
[00:54] <sarnold> can you ping it? or connect with wget, w3m, lynx, curl, etc?
[00:54] <TheLordOfTime> from your server, that is.
[00:54]  * TheLordOfTime confirmed its up from his system here
[00:54] <sarnold> me, I get NXDOMAIN. So. :)
[00:54] <riz0n> Yes I can ping it from the server.
[00:55] <riz0n> Trying to do wget now
[00:55] <ablyss> accidentally installed the debian package "javascript-common".  If your javascripts stop working all of a sudden, more than likely you installed this horrible, vile, inate idea of crap too.
[00:56] <riz0n> I was able to wget http://sa-update.dnswl.org/1423347.tar.gz from the server as well.
[01:00] <sarnold> try sticking the wget command you just used into a file in cron.hourly or something -- at the next hour, (darn, just missed the lsat one), you'll be able to see if running via cron influences the ability to do name lookups
[01:02] <riz0n> I'll give it a shot.
[04:58] <TaylorJohnson> Hi guys. I'm having trouble with oubount HTTP connections (apt-get/wget/etc) with my IPTABLES configuration. This is my configuration file: http://pastebin.com/LYwp5YHf Is there anything obvious that sticks out as being incorrect? DNS resolves perfectly fine and inbound originated HTTP works fine too.
[05:18] <lickalott> all, my server has been randomly going "offline".  3x in the last two days.  I've checked the syslog but didn't see anything that jumped out at me.   I rebooted it this morning and it was fine, at about 4:00 i was unable to reach it (across the network).  When I hit a button on the keyboard nothing happens (the monitor shows an empty black screen.  I hit the reset button on the case and
[05:18] <lickalott> it acts like it's going to reboot but nothing happens.  The only way it comes back is if I cold boot it.
[05:18] <lickalott> Where else would I look to find out whats happening?
[06:47] <thejoecarroll> hi! could someone please help me with figuring out why chroot-jailed scp works but sftp doesn't after following these instructions: http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html
[06:48] <vezq> TaylorJohnson: looked okay to me, personally I don't usually filter OUTPUT much as it causes easily weird problems
[06:49] <vezq> lickalott: sounds like a hardware issue, can you test with some LiveCD?
[07:48] <qman__> thejoecarroll, that method is outdated as of openssh 4.8p1
[07:48] <qman__> it now has a MUCH easier built-in chroot function
[07:48] <qman__> http://www.debian-administration.org/articles/590
[07:53] <thejoecarroll> thanks for that link, qman__
[07:53] <thejoecarroll> i'll give that a go
[11:39] <ariel> i wanna know how to setup a server and configure it
[11:45] <RoyK> ariel: it all starts with a CD and a machine, or perhaps setup a VM ... it's not learned in an hour, or a week, or a year, but little by little, you'll understand more and more...
[11:48] <ariel> i know the learning curb is at a slow pace a just wanted to get to know the little details
[11:48] <ariel> i*
[11:50] <RoyK> !ask
[11:55] <ariel> i wanna know if its good to install ubuntu server via vm or full install
[12:06] <RoyK> ariel: that obviously depends what you need
[12:08] <ariel> i have a computer with a 200gb hard drive is this enough
[12:12] <RoyK> ariel: yes, you need far less for a base install
[12:13] <RoyK> ~1-2GB should do
[13:10] <tboat> hey all, im running a 12.04 server and the recent kernel update broke samba
[13:10] <tboat> ive tried uninstalling with --purge then reinstalling
[13:11] <tboat> it gives this error: /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied
[13:11] <tboat> dpkg: error processing samba4 (--configure):
[13:11] <tboat>  subprocess installed post-installation script returned error exit status 126
[13:11] <tboat> Errors were encountered while processing:
[13:11] <tboat>  samba4
[13:11] <tboat> E: Sub-process /usr/bin/dpkg returned an error code (1)
[13:12] <tboat> anyone around>
[13:15] <tboat> crickets
[13:15] <tboat> so 371 people all just lurking?
[13:15] <freesbie> offcourse :)
[13:16] <tboat> well that is so very helpful
[13:16] <freesbie> sorry, might be that the .pl file is missing the execute bit for the package scripts to run properly
[13:17] <tboat> Need help with 12.04 server, samba is broken. http://paste.ubuntu.com/1452244/
[13:17] <tboat> so is that something i can find, or is it broken in the repo?
[13:17] <freesbie> havent touched samba on ubuntu, but that looks like a basic error
[13:18] <tboat> well...what i dont get is all i did was update kernel and packages, samba wasnt even listed, now it is broken
[13:19] <freesbie> start by checking if /usr/share/samba/setoption.pl is executable and run the apt-get purge again
[13:20] <tboat> so apparently perl isnt installed?
[13:21] <tboat> maybe my server got hit, because i didnt remove perl, and i dont see why updates would have removed it
[13:21] <ewook> tboat: what do you get by running 'perl -v'
[13:22] <Pici> bug 988509 seems to be related
[13:22] <ewook> Pici: nice catch.
[13:22] <tboat> @ewook perl version 5 r 14
[13:22] <ewook> tboat: there ya go. perl is intact.
[13:23] <tboat> yes thank you, i found similar bug pages but none pertaining to the .pl file
[13:23] <ewook> tboat: try looking at the launchpad bug, perhaps there's a easy fix like chmod +x on the setoption.pl
[13:27] <tboat> hmm it appears the samba4 package is broken in the ubuntu repo, so i guess i have to build samba3 from source?
[13:29] <ewook> tboat: samba4, isn't that still experimental?
[13:30] <ewook> !samba4
[13:30] <Pici> tboat: the 'samba' package is samba3.
[13:30] <ewook> there we go.
[13:30] <Pici> ewook: #ubuntu-server and #ubuntu have the same factoids, no need to ask ubottu in both channels.
[13:33] <ewook> Pici: Doh..
[13:33] <ewook> thanks ;)
[13:36] <samba35> RoyK: hi
[13:40] <tboat> @ewook @Pici samba4 is experimental, but anytime I try to do "apt-get install samba" it says i need to do "samba4"
[13:41] <tboat> hmm but after removing samba4, it seems to have gone back to samba3 now
[13:43] <tboat> ok so just installed samba3, however when i do "samba -v" it says samba is not installed
[13:43] <tboat> but proccess smdb and nmdb are running
[14:01] <tboat> still cant access my server locally with samba, anyone else have broken samba?
[14:11] <patdk-lap> nope
[14:18] <RoyK> samba35: hi
[14:19] <samba35> sorry i could not come back to you on iscsi
[14:21] <RoyK> well, did you manage to make it work?
[14:22] <samba35> no it was issuse with vmware
[14:23] <samba35> do you have idea on dhcp/dns
[14:24] <samba35> I have configure ubuntu as a dhcp client from dhcp server (dhcp server from another utm box ) but i want to configure FQDN on ubuntu
[14:25] <RoyK> iirc that's set by the dhcp client
[14:25] <RoyK> but not sure
[14:26] <samba35> ok
[15:05] <tboat> can someone explained why this bug is "resolved" when I still get that error? https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/988509
[16:07] <tboat> anyone have a fix for this: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/988509
[16:11] <tboat> 384 lurkers, someone has to know something
[16:16] <tboat> so i guess no one here knows nothing about samba and samba4?
[16:37] <RoyK> tboat: what do you want to know?
[16:40] <tboat> @RoyK im on ubuntu server 12.04, samba broke after latest kernel update.  "samba" in terminal returns: "samba is not installed, use apt-get install samba4 to get it", but samba4 is what broke in the first place (https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/988509).  when i do "apt-get install samba", it says samba is already installed.  I can not view my server on Windows share
[16:52] <RoyK> tboat: erm
[16:53] <RoyK> well, shoot
[16:54] <xixek> join #bmw
[17:23] <tboat> im on ubuntu server 12.04, samba broke after latest kernel update.  "samba" in terminal returns: "samba is not installed, use apt-get install samba4 to get it", but samba4 is what broke in the first place (https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/988509).  when i do "apt-get install samba", it says samba is already installed.  I can not view my server on Windows share
[17:42] <sarnold> tboat: perhaps you meant "smbclient" ?
[17:44] <tboat> sarnold: smbclient would be client side not server side no?
[17:46] <sarnold> tboat: ah, I misread "can not view my server on Windows share" as "cannot view windows shares". Sorry. :)
[17:47] <tboat> no worries, yeah this server is just a media share server, but its one function, be shared on my LAN, isnt working haha.  and no one seems to be able to help me
[18:41] <claude2_> anyone here good with qos?
[18:46] <rcaskey> claude2_, #networking may be better
[18:46] <claude2_> thanks
[19:04] <hallyn> stgraber: I'm changing the qemu-kvm upstart job (which is only there to load and configure the kernel modules) to not run in a container at all.  You presumably have no objection to that?
[19:11] <stgraber> hallyn: sounds good
[19:28] <zul> hallyn: ill get libvirt 1.0.1 packaged after i get back
[19:31] <hallyn> zul: ok
[20:29] <LuizAngioletti> I've just installed and configured an apt-cacher. My client machines are all collecting their updates from my server.
[20:30] <LuizAngioletti> When I run 'apt-get upgrade' on my server, apt downloads all the packages again, although they are already available from the cacher.
[20:30] <LuizAngioletti> Is it healthy to set the 01proxy file under /etc/apt/apt.conf.d/ on the server?
[20:30] <LuizAngioletti> pointing to himself?
[20:31] <sarnold> LuizAngioletti: I've done that on my worksation and fleet of VMs I run on the laptop...
[20:32] <LuizAngioletti> sarnold: I thought it could go into a loop. Who is my cacher? Me. Who has the most up-to-date files? Me. Who should I ask for more up-to-date files? Me.
[20:33] <sarnold> LuizAngioletti: hehe :)
[20:33] <LuizAngioletti> sarnold: I doesn't then?
[20:33] <sarnold> I think mine even caches the stuff I serve out of /var/www/debs/ for testing .. it's not ideal :) but it doesn't seem to cause any problems.
[20:34] <LuizAngioletti> sarnold: I keep an eye on it, just in case. =)
[20:34] <sarnold> :)
[20:35] <LuizAngioletti> damn, my english is horrible today. =P My fingers are dumb, I apologize for taht.
[20:35] <LuizAngioletti> =P
[20:35] <LuizAngioletti> Thank you for your help.
[20:39] <sarnold> LuizAngioletti: it's IRC :) mistakes and non-native are expected. :)
[23:38] <zurich> hi: i have a 3 disk raid 5 software array. today we had some serious power issues and one of the disks failed. nowthe array won't come up (not even as degraded). I have tried mdadm -A and --autodetect but still won't come up... any suggestions?