/srv/irclogs.ubuntu.com/2009/06/24/#ubuntu-server.txt

luckyonehello all, does a default server install not load modules needed to playback sound?00:23
luckyoneI built a NAS out of an MSI wind pc, now I want to also be able to use the onboard sound card to play music from it00:23
MatBoyI need to check when or @ what time a process in the ps falls away... how can I do this /00:24
luckyoneI installed cmus via apt-get, but when I try to play a track it says "error: opening audio device: No such file or directory"00:24
diffraluckyone: http://ubuntuforums.org/showthread.php?t=205449 that should get you where you need to go!00:30
diffracheck out moc if you want to access it via ssh... or if you want a web based solution, jinzora is great.  you can use the web interface, hit play, and it plays on your server box.00:32
luckyonediffra: I am using cmus right now - pretty slick, I will check out moc00:33
luckyonecmus may have to load the entire directory structure every time (which isn't good)00:34
luckyonediffra: I was missing linux-sound-base, that is probably a pretty important package00:35
dinger1986hello, has anyone ever had a problem on ubunttu server 8.04.2 when it cant ping hosts, it is resolving dns00:50
bcto whitelist a sender domain (using this set up: https://help.ubuntu.com/9.04/serverguide/C/mail-filtering.html), do I use the DKIM whitelist or an amavisd whitelist?01:02
bc(I don't fully understand DKIM yet)01:02
diffradepends on what you're wanting to whitelist.01:03
diffrabasically, short answer is both.01:03
bcdiffra: to clarify, I just want to prevent several addresses from being marked as spam, ever.01:04
bcfor amavis, 1) is the read_hash for the whitelist file valid syntax, and 2) where do I put that directive since there is no /etc/amavis.conf in ubuntu? -> http://flakshack.com/anti-spam/wiki/index.php?page=Installing+and+configuring+Amavisd-new01:06
diffrathen, yeah, both.  the page says that it's passing to dkim/spf seperately from amavis, so they'll each need to be whitelisted01:06
diffraFTA: "Amavisd-new can be configured to automatically Whitelist  addresses from domains with valid Domain Keys. There are some pre-configured domains in the /etc/amavis/conf.d/40-policy_banks"01:07
diffranot sure about dkim.. never used it.01:07
bcdiffra: thanks, looking01:07
bcdiffra: the author_to_policy_bank_maps made me unsure; thanks, I'll give this a try01:09
diffraSure.  Check the sectino in the guide you linked... it gives several examples how to whitelist in amavisd.01:10
diffrasection even.01:10
bcdiffra: I did notice that section, but the DKIM heading made me think it was tied solely to DKIM, while being unsure if DKIM and amavis are not the same thing, or closely connected, etc etc.. :D confusing01:12
bcjeebus crisp, 125 processes with only 4 ports open. I guess this is teh new internets.01:23
bcerr, 13101:23
diffrabc: yeah, i'm not really a fan of big configs like that.01:35
diffraI rock lighttpd, postfix/dovecot with RBLs, and run spamassassin client side.01:35
bcdiffra: I run spamassassin client side as well, but the other users were screaming halp before I put in a new server.01:37
bcdiffra: the server is about the size of a hard back book. I guess in about 5 years they'll be the size of a RJ45 plug or something.01:38
diffrabc: those exist you know.  one second.01:38
bcdiffra: see, i'm already behind the curve01:39
diffrahttp://www.digi.com/products/embeddedsolutions/digiconnectme9210.jsp01:41
bcdiffra: sheesh, that's insane01:42
diffrasure, it's not x86 or anything,  but you could probably make a passable static http server out of it.01:43
ScottKdiffra: Did you get your policy_banks question sorted out?02:20
VinchenzOH ALL02:40
VinchenzOесть кто русский02:41
VinchenzO?02:41
foxbuntuVinchenzO, english in here02:41
=== mobi-sheep__ is now known as mobi-sheep_
diffraScottK: that was bc with the question, i was just trying to help03:56
bcScottK: thanks; yes, problem solved04:16
ar_Anyone can tell me how to make the server download vcards?04:29
ar_right not its just displaying in page04:30
=== mobi-sheep_ is now known as kinja-sheep
ar_right now Im linking to vcard but it opens in html file04:36
diffraare you using .vcf?04:37
diffraor .vcard?04:37
ar_I'm using .vcf04:37
ar_should I use vcard?04:37
diffraeither way, this should work in your apache config: http://dpaste.com/59037/plain/04:38
ar_Thank you diffra!04:39
diffrayou could also do this in php/perl if you were so inclined, but i think this is the prettiest way to go about it.04:39
diffranp.  i just googled something like "apache force download by file extension", found a page about doing the same thing for .pdf files, and changed the regex to match your .vcard files :)04:40
ar_diffra should I add this to the directory the vcards are held in?04:40
ar_in a .htaccess file?04:40
diffrathat would work.04:41
diffraor under a <directory> tag in apache2.conf04:41
ar_man Ive been trying to do this for 3 days now :)04:41
ar_thank you!04:41
diffranp.  let me know if it doesn't work...04:41
ar_will do :)04:41
=== s_markow_ is now known as s_markow
ar_You rock dude, it worked!04:43
ar_thank you diffra!04:43
diffrasa-weet04:43
ar_lol04:43
MrPocketsquiet in here 'eh?04:58
MrPocketsDoes Ubuntu Server have a GUI Installer?05:01
diffraMrPockets: no.  It's CLI only.  The installer has a text-based 'gui' of sorts: http://images.howtoforge.com/images/samba_setup_ubuntu_5.10/img_22.gif05:06
MrPocketsmhmm05:06
MrPocketsI'm just having issues with this machine, and would like to revert back to a GUI noob-friendly install to try and sort out some issues. Might just put 8.10 Desktop version on and run as a server05:07
diffraMrPockets: there's really nothing too wrong with that.  You lose some RAM to the gui, and there's the security risks entailed with all the extra software.05:09
twbneologistically speaking, d-i is a "TUI", which basically means a GUI on a charcell display.05:09
MrPocketsright. I'm only looking to use this box as somewhat of a security-camara server that i can term=service into and creep on whats going on in the data center via webcam05:09
MrPocketsand download torrents05:09
qman__a desktop version with a firewall should be exactly what you want05:10
MrPocketsJesus. you are the nicest linux guys i've ever seen.05:12
MrPocketsAll of the linux guys (usually myself included) are all, BAH! you don't need a GUI on a server! HUmbug!05:12
twbMrPockets: that's because most of the channel is newbie like you ;-P05:13
diffraunder most circumstances, sure, you don't need it.  but it's not like if you apt-get install ubuntu-desktop Canonical kills a kitten.05:13
MrPocketsWouldn't say I'm a noob. Just tired and wanna get this at least on the network so i can leave this god forsaken dungon and go home :-(05:13
twbThat's why I keep a sleeping bag and a pillow in the office...05:14
MrPocketsLOL05:14
MrPockets...no joke?05:14
twbOnce I was up all night fixing a server for deployment, then I spent the whole next day out at the prison deploying the damn thing05:15
twbThough that's a pathological case.05:15
MrPocketsWTF. I get a BusyBox v1.1.3 Built-in Shell  enter Help for a list of commands05:16
twbNow that I have a bicycle, I tend not to sleep in the office anymore -- back when I took public transport, I'd have to wait until 6am for the trains to start again anyway.05:16
twbMrPockets: you have messed up bootstrapping somehow05:16
twbMrPockets: busybox is part of the ramdisk; you get dumped there if it can't find your root partition.05:16
MrPocketsI just reformatted both drives05:16
MrPocketsbut i just booted live to the Ubuntu CD..05:16
diffratwb: been there.  Spent the night in a not-really-cold-enough room triaging a win2k machine that got pwned.05:17
diffraone of those boxes that's always been around, deployed before my time, i had no idea half the shit that was on there.05:18
twbBleh, at least I don't have to touch Windows05:18
MrPocketshah05:18
MrPocketsall but two of the servers we administrate are windows05:18
MrPocketsadminister?05:18
twbMrPockets: "admin" vt.05:18
MrPocketsAny of you have experience imaging machines with Acronis?05:19
LiraNunaHi, I can't seem to be able to remove the package doc-base05:20
LiraNunaI keep getting circular dependencies and errors about removal05:20
LiraNunaseems like the post removal script wants to use install-docs and that file was just removed05:22
LiraNunahttp://pastie.org/52252005:27
MrPocketsThis isn't fun any more.05:29
MrPocketsI wanna go home.05:29
diffraLiraNuna: this is a hack, but maybe just drop a bash script in /usr/local/bin/install-docs that returns true and exits to satisfy apt?05:31
diffrai'm sure that install-docs is supposed to do something, but if it's already being removed, i don't see that it could be that important.05:32
LiraNunadiffra, that was my last resort05:32
LiraNunagoogle doesn't come up with anything too05:32
LiraNunaI guess it's bug filing time05:33
oh_noesWhen a 8.04 server boots, what happens between "Starting" and "Loading, please wait"?05:50
oh_noeson one box I have it on, I've found if I dont have the VGA monitor cable plugged in, it stops at "Starting" and doesnt continue05:55
oh_noesEven adding debug to kernal doesnt help .. because it hasnt loaded it yet05:55
tech404I am building a network for a class that needs to be a secure as possible and still provide a few basic services (http,smtp,imap,dns). I have only one computer that can be used to provide these services. I want to seperate them into VM's but while the computer has ok hw it doesn't have any intel-VT. I was thinking about using xen but I wanted to see what others thought.06:24
tech404A little more info. Right now it is running 2k3 with dns and virtual server on the host and 2k3 with http, smtp, and imap in a guest. I don't need to keep the same os's I just need to provide the same services on the same "public" ip's.06:26
nick125Xen would probably work for what you need.06:27
nick125But as far as security goes, avoid running any kind of services on the dom0/host.06:28
nick125I mean, I'd probably only go as far as running SSH with password logins disabled06:28
tech404nick125, I was planning on leaving the host as empty as possible. I would really like to be running something baremetal but I think that xenserver is the only baremetal hyperviser that will support linux guests without hvm. I don't have any previous experiance with that product.06:34
nick125I know ESXi will support without HVM (I believe), but it's missing a lot of features compared to Xen.06:34
tech404nick125, yes but ESXi is VERY picky about what hw it runs on. Will ubuntu's current set of tools for KVM host jeos without hvm?06:38
nick125yeah, true...not to mention the lack of swraid, which is why I ultimately decided against ESXi.06:38
nick125I'm not too familiar with JeOS.06:39
nick125It appears that JeOS's vmbuilder supports Xen without issues06:41
LiraNunahow do I configure postfix's root redirection?07:23
LiraNuna^ ignore that please, I should've google07:24
uvirtbotLiraNuna: Error: "ignore" is not a valid command.07:24
twbIs there any point in trying to do SMARTd on a SATA disk?07:24
twbThey seem to hate one another (smart and sata)07:24
=== maxb_ is now known as maxb
uvirtbotNew bug: #391540 in mysql-dfsg-5.0 (main) "mysql client at x86_64 cannot find /etc/mysql/my.cnf" [Undecided,New] https://launchpad.net/bugs/39154012:22
uvirtbotNew bug: #391551 in openssh (main) "package openssh-server 1:5.1p1-5ubuntu1 failed to install: sub process post-installation script returned error code 1" [Undecided,New] https://launchpad.net/bugs/39155112:41
heath|workAnyone using KVM?13:44
sommerheath|work: yes13:46
heath|worksommer, I am torn between going xen or kvm. It looks like Ubuntu choose kvm over xen?13:46
sommerheath|work: yep, kvm is great13:46
heath|worksommer, do you use opennebula ?13:47
sommerheath|work: I've done some testing with it, and worked on some documentation, but I've never used it in production13:47
sommerheath|work: mostly because I don't currently have a shared storage solution... if I did I'd probably use opennebula13:48
heath|workWe have a NFS ready to go, it looks like KVM encourages nfs use which is attractive. So far I like everything I have seen. Our biggest fear is choosing something that dies out, but if Conical is behind it, it makes for an easier decision.13:50
andolheath|work: Not to mention the fact that RHEL is behind it.13:50
heath|workThat sounds good as well. I see that Citrix is running with Xen, but there OS support is limited.13:51
sommerheath|work: ya, I don't think KVM is going to die out anytime soon13:52
sommerheath|work: but really the hypervisor isn't as important as being able to access the VM image, as long as future virt technology can migrate, read, etc the VM is the important thing13:52
sommerleast in my view ;-)13:53
heath|workIt also looks like OpenNebula can control KVM, Xen, and Amazon servers. What I want to know is if it is possible to migrate between the different hosts.13:53
heath|workThat would be total freedom and rid any fear of support dieing out for one.13:53
sommerI wouldn't think so... at least not automatically13:53
sommerand at this time... maybe in the future13:54
heath|workThanks for the input... We really didn't want to stray away from Ubuntu and I think we are going to try the KVM route.13:55
heath|workVMware pricing is crazy and I am didn't like having to search for fixes for Ubuntu and xen every 10 minutes13:56
sommernp, I've been very happy with KVM... well KVM+libvirt and friends14:00
heath|workUbuntu has documented it very well. I will run through those and get my virts up!14:01
oakboxHi all I need some help with postfix and dynamic IPs, i get a DNS fwd/rev mismatch...14:06
=== genii_ is now known as genii
oakboxim trying to set up mail with a dynamic ip using no-ip.com but currently get a DNS mismatch can someone point me in the right direction please?14:17
giovani|workoakbox: sounds like a configuration problem? ask no-ip.com?14:31
Sam-I-Amoakbox: you're not going to be able to reverse something on no-ip because they don't control the reverse zones14:38
Sam-I-Amdynamic dns providers simply do A records14:38
oakboxgiovani, thanks for a reply14:38
oakboxSam-I-Am, Hi no-ip,com gives me MX records14:39
Sam-I-Amthey can do MX too14:39
Sam-I-Ambut not PTR14:39
oakbox:( sorry you will have to forgive me, im still new to this :) PTR?14:39
Sam-I-Amptr is the reverse record14:40
Sam-I-Ama.b.c.d -> name14:40
oakboxok, so does that mean that I will never be able to get a mail server with no-ip.com?  Im trying to set up a play by email server....14:41
Sam-I-Amwell, thats not what i mean14:41
oakbox:) well thats good news14:41
Sam-I-Amit sounds like something (perhaps postfix) notices that your A record points to your IP, but that IP doesnt point to the same PTR14:41
Sam-I-Amso it gripes14:41
Sam-I-Amyou just have to tell it to ignore that... or you can try putting your IP and no-ip hostname in /etc/hosts14:42
oakboxok let me give you some more details, I can connect to postfix through netcat localhost but when i try the same thing with my domain name i get the mismatch.14:43
Sam-I-Amwhere are you connecting from?14:45
Sam-I-Amand what host does postfix think its using?14:45
oakboxconnecting from the local machine on port 25 so im assuming it thinks its SMTP14:46
Sam-I-Amno...14:47
Sam-I-Amso you're connecting to localhost:25 and it works, but blah.no-ip.com:25 and it doesnt?14:48
oakboxcorrect14:48
Sam-I-Amwhat error does it return on the latter?14:48
oakboxDNS fwd/rev mismatch: blah.no-ip.com != 80-47-161-104.come_more_garbage.com14:49
Sam-I-Amand thats returned by postfix?14:50
oruworkhow can i enable IMAP support in php ?14:50
oakboxthats returned by netcat (the program im using to test if its working)14:50
Sam-I-Amoakbox: btw, you might want to use "swaks" to test your mail server... very useful utility over telnet/netcat14:50
Sam-I-Amwhat happens if you telnet to no-ip:25 ?14:50
oakboxi will try 1 sec14:51
oakboxTrying 80.47.xx.xx...14:52
oakboxand then just waits14:52
sgsaxit's possible your ISP is blocking the SMTP port14:53
oakboxhumm, not thought of that, suppose its possible.  let me see if i can dig up anything on their site.  I will get back to you in a bit if you dont mind???14:54
sgsaxsomeone will be here :)14:55
Sam-I-Amheh14:56
Sam-I-Ammost isps block 25 incoming14:56
Sam-I-Amand often outgoing to !their smtp servers14:56
sorenScottK: Do you happen to know if the "Local only" config option in postfix lets you send mail *out*?14:59
sorenScottK: I.e. does the "local only" part only refer to its not listening for outside connections?15:00
ScottKsoren: I do not.  I've never used it.15:00
lamontsoren: a little, mayber15:00
lamontdepends on the release15:00
sorenlamont: Jaunty?15:01
oakboxhumm looks like port 25 is blocked, damn, so no way i can set myself up a play be email server then...15:01
lamontshould set default_transport=error15:01
sorenlamont: So not delivery to the outside world?15:02
lamontoakbox: most ISPs block port 25 outbound these days15:02
lamontsoren: right.15:02
lamontat least until you tweak the config at all15:02
sorenlamont: Sure, sure.15:02
sorenlamont: This used to be different?15:02
lamontsoren: fixed in 2.5.1~rc1-115:03
lamont  * postinst: also set relay_transport=error on Local Only systems15:03
sorenSo since Hardy?15:03
soren   postfix | 2.5.1-2ubuntu1 |         hardy | source, amd64, i38615:03
lamontyep15:03
sorenLovely. thanks.15:04
=== TeLLuS_ is now known as TeLLuS
oruworkhow can i enable IMAP support in php ?15:12
Sam-I-Amwhat kind of imap support?15:12
Sam-I-Amtheres some libraries for accessing imap, or you can install something like horde/imp to serve as a php-based webmail client15:13
sgsaxoakbox: you can use a different port, you just need to have your client use that port instead of the standard one15:14
oakboxsgsax, cool :) but will i need to change something on my MX record for that?15:15
Sam-I-Amno15:15
sgsaxno, DNS is for Ips only, not ports15:16
oakboxfantastic15:16
Sam-I-Amand you probably dont need an MX record either since your no-ip thing just points to a single host15:16
Sam-I-Amif you had a domain thats another story15:16
oakbox:)15:16
oakbox1 story is enough for now15:17
oakboxso I think I have found out how I can use my ISP's smarthost to send mail, (or is there a way for people to recieve mail from another port no (i think not))15:18
Sam-I-Amoakbox: that'll work for sending mail from your box... but not receiving... it'll need to go to your isps mail server.15:19
Sam-I-Amat that point theres really no reason to run your own :/15:19
sgsaxI pay for hosting for that15:19
oakboxhumm, my budget doesn't know what 'pay for' is hehehe15:20
sgsax$5/mo aint bad15:21
Sam-I-Amhosting has become quite cheap15:21
sgsaxor is it $8, I forget, it's on autopay for theyear15:22
sandstromI have problems with ufw not allowing outbound traffic (I have tried ufw allow from 127.0.0.1 to any)15:31
jdstrandsandstrom: ufw does not support egress filtering via the cli15:31
jdstrand(it is planned)15:32
jdstrandsandstrom: is this for routing or host-based firewall?15:32
sandstromfirewall for webserver15:32
jdstrandsandstrom: by default, it will allow all outgoing connections with connection tracking15:33
sandstromufw, iptables or ubuntu?15:33
jdstrandsandstrom: did you change /etc/default/ufw?15:33
jdstrandsandstrom: uf15:33
jdstrandufw15:33
sandstromno, but my vps provider may have15:33
jdstrandsandstrom: verify /etc/default/ufw has DEFAULT_OUTPUT_POLICY="ACCEPT"15:34
oakboxok, very embarrassed now....  I didn't have port 25 pointing to my server in my router.....   I can receive email from the outsite world at last!  I'm 1/3 of the way there15:34
sandstromjdstrand: it has15:34
sgsaxoakbox: good find15:35
jdstrandsandstrom: if you do 'sudo ufw disable' are you able to connect to what you want to?15:35
sandstromyes15:35
jdstrandsandstrom: what are you trying to connect to?15:36
sandstromsmtp-servers, the apt-get servers15:36
jdstrandso port 25 and 8015:36
sandstromyes15:36
sandstromthis is my iptables (setup using ufw):15:37
sandstromACCEPT     tcp  --  localhost            anywhere            tcp dpt:smtp15:37
sandstromACCEPT     tcp  --  localhost            anywhere            tcp dpt:www15:37
sandstromACCEPT     all  --  localhost            anywhere15:37
sandstrom(Chain ufw-user-input (1 references))15:37
sandstrom(well, it's some of it)15:37
jdstrandsandstrom: you don't need allow rules for the localhost by default15:38
jdstrandsandstrom: did you modify /etc/ufw/before.rules?15:38
aptmirrorhi , i've setup my own mirror on a http server and signed the Release file with my own public gpg key15:38
sandstromjdstrand: no, but my vps host may have15:39
aptmirrorbut if I install over the net it can't find my public key...15:39
jdstrandsandstrom: diff /usr/share/ufw/before.rules /etc/ufw/before.rules15:39
jdstrandsandstrom: if it comes back to the prompt, it wasn't changed15:39
aptmirrorand to download my key with preseed does not work15:39
sandstromits changed15:39
jdstrandsandstrom: those changes may have introduced the issue15:40
aptmirroranybody setup a local mirror with preseed?15:40
sandstromjdstrand should I reset things to the defaults?15:41
jdstrandsandstrom: that would be by far the easiest thing to do15:41
sandstromI guess I copy from usr/share to /etc/ufw and make a backup. then start/stop the firewall, right?15:42
jdstrandsandstrom: yes, that should work fine. make sure that before*.rules and after*.rules go to /etc/ufw and user*.rules go to /var/lib/ufw. that will completely reset your rulesets15:43
sandstromwill do, thanks alot for your time and help!15:44
jdstrandnp, and good luck!15:44
sandstromDidn't work unfortunately. apt-get update still doesn't work.15:49
sgsaxwhile we're talking about email today, can somebody point me in the direction of some good recipes for having postfix bounce spam-tagged messages?15:52
sgsaxwe had something working with sendmail, but since we switched to postfix, that solution doesn't seem to work15:52
ScottKsgsax: You mean as in bounce back to the sender?15:54
sgsaxyes15:54
ScottKsgsax: Please don't do that.  Virtually all spam has a forged mail from so you're sending it back to the wrong place.15:55
ScottKAccept then bounce is a bad strategy.15:56
sgsaxnormally, I would agree, but this is for my RT server15:56
sgsaxso if I just discard fals positives, it's possible an actual important request would get dropped15:57
sgsaxand we have been getting literally hundreds of spam message daily15:57
SuperRoachHello. Where can I find the string to add to my sources.list for the karmic repo server?15:59
jmedinagood morning16:02
oruworkhi16:03
oruworkhow can i enable IMAP support in php ?16:03
jmedinaaptitude install php5-imap16:03
oruworkjmedina-> done, anything i should do to enable it ?16:06
sgsaxoruwork: just write code that uses the libs16:06
oakboxis there any reason why I would not receive and email from postfix (relay) to an outside email address, my logs say the status = sent16:06
rags45does vbox support 64 bit emulation?16:06
rags45I just downlaoded ubuntu amd64 version but when I load it in  vbox it gives an error16:07
jmedinarags45: did you install virtualbox for 64bits?16:07
rags45hmmm..there are separate vbox for 64bit??..oh..I guess I got the 32 bit then16:08
rags45jmedina: thx ..I'll get the 64 bit one16:08
sandstromjdstrand: I tried to move in the new files. Doesn't work unfortunately. apt-get still fails16:11
oruworkjmedina-> apt-getin install php5-imap, is that imap2 or imap4 protocol ?16:11
ScottKsgsax: My advice would be to deliver them to a spam box and then have some search for a legit request.16:12
jmedinaoruwork: I eally dont know16:12
jdstrandsandstrom: it should work with a default install of ufw and simply doing 'ufw enable'16:17
sandstromand running iptables -L will show all firewall rules in effect?16:17
jdstrandsandstrom: perhaps some other files changed. perhaps 'dpkg --purge --force-depends ufw ; apt-get install ufw'16:18
jdstrandsandstrom: yes16:18
sgsaxRT already generates an automatic reply to these addresses16:19
sandstromjdstrand: just did. still don't work16:22
sandstromjdstrand http://pastie.org/52300216:22
jdstrandERROR: problem running init script16:22
sandstromDid throw a few “shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory” during installation too.16:22
sandstromthat (or the ERROR: problem…) is the cause perhaps?16:23
jdstrandsandstrom: what does ufw --version show you?16:23
sandstromjdstrand ufw 0.16.2.416:23
jdstrandsandstrom: and this is on a non-Ubuntu kernel?16:24
sandstromsorry, I don't know16:24
jdstrandsandstrom: uname -a16:24
sandstromLinux k226741 2.6.18-028stab053.17 #1 SMP Mon Jun 9 20:42:43 MSD 2008 x86_64 GNU/Linux16:24
jdstrandso that would be a yes16:25
jdstrandsandstrom: I have a feeling you are hitting bug #28990616:26
uvirtbotLaunchpad bug 289906 in ufw "ufw fails when connection tracking is not available" [Medium,Fix released] https://launchpad.net/bugs/28990616:26
sandstromyes, nf_conntrack is not present16:27
jdstrandsandstrom: in /etc/ufw/before.rules, adjust this:16:27
jdstrand-A ufw-before-input -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT16:27
jdstrandto be:16:28
jdstrand-A ufw-before-input -m state --state RELATED,ESTABLISHED -j ACCEPT16:28
jdstrandthen adjust -A ufw-before-input -m conntrack --ctstate INVALID -j DROP16:28
jdstrandto be:16:28
jdstrand-A ufw-before-input -m state --state INVALID -j DROP16:28
jdstrandand finally:16:29
jdstrand-A ufw-before-input -m conntrack --ctstate INVALID -j LOG --log-prefix "[UFW BLOCK INVALID]: "16:29
jdstrandto be:16:29
jdstrand-A ufw-before-input -m state --state INVALID -j LOG --log-prefix "[UFW BLOCK INVALID]: "16:29
sandstromerror running init script still shows, after that edit running stop/start16:31
sandstrombut I think that regarding this error running init script we have already checked through something on my system, you told me a bunch of commands that I ran, which helped you  to file a bug. This was probably 3-4 months ago.16:32
sandstromSo if that is what causes the outbound connections to fail it's the same problem.16:32
jdstrandsandstrom: what is the bug #?16:32
sandstromdon't remember16:32
sandstromif you have irc history, search yours and my name back in time16:33
sandstromI thought that the outbound connections not working may be something else, which it still may be.16:33
jdstrandsandstrom: can you paste the output of '/etc/init.d/ufw stop' and '/etc/init.d/ufw start'?16:34
sandstromjdstrand: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory16:35
sandstrom * Stopping firewall: ufw...16:35
sandstrom   ...done.16:35
jdstrandsandstrom: feel free to 'cd /'16:35
sandstromjdstrand http://pastie.org/52300216:37
jdstrandsandstrom: can you also paste /etc/ufw/before.rules and /etc/ufw/after.rules?16:38
jdstrandsandstrom: incidentally, this is all due to running on a non-Ubuntu kernel. later versions of ufw handle this situation better16:39
sandstromjdstrand http://pastie.org/52300216:40
jdstrandsandstrom: adjust /etc/default/ufw to have:16:44
jdstrandIPT_SYSCTL=16:44
jdstrandIPT_MODULES=16:45
jdstrandsandstrom: then paste the output of '/etc/init.d/ufw stop ; /etc/init.d/ufw start'16:45
sandstromjdstrand: http://pastie.org/52300216:48
sandstromsry, wrong16:48
oakboxhi all, why am I getting Relay access denied when trying to send an email from postfix?16:49
sandstromjdstrand this is it: http://pastie.org/52300216:49
jdstrandsandstrom: I found our irc conversation16:51
jdstrand(from the past)16:51
jdstrandyou dropped out and I never heard back16:51
jdstrandsandstrom: just recapping for irc logs-- your kernel doesn't support 'state' either17:09
jdstrandsandstrom: so you are reduced to stateless packet filtering. You'll need to adjust before.rules and after.rules accordingly or just write your own iptables script17:10
jdstrandI'd talk to your vps because stateless filtering is not nearly as useful (or secure) as stateful17:10
MrPocketshey guys.17:14
MrPocketsSo i attempted two Ubuntu-server installs last night on a poweredge 245017:20
oakboxI got a relay access denied when trying to email out from postfix, can anyone help?17:21
ScottKoakbox: Possibly.  If you can provide the output of postconf -n and a log snipped for /var/log/mail.log showing when you attempted to send in a pastebin, I can probably help.17:23
oakboxlovely thanks i will get on it :)17:23
oakboxScottK, postconf -n  -->  http://paste.ubuntu.com/202988/  & log --->  http://paste.ubuntu.com/202990/17:31
* ScottK looks17:31
eolo999hi, i'm trying to connect with virt-manager to a remote xen domain with xen+ssh. I always get a libvirt error: 'server closed connection' and even if i try from the command line i get 'failed to connect to the hypervisor'. Any hints?17:32
eolo999i have no problems when connecting to kvm servers.17:32
MrPocketsdamn. ADD. So i attempted this install three times, actually. Once with manually partitioning the drive in Ubuntu's Setup.  Seccond time with the guided partitioning, and thirdly I booted to gParted to partition it, and used the pre-existing partition layout to install upon17:36
MrPocketsall three times, it comes up to a busybox shell17:36
oakboxScottK, typo  at end of line 12 of postfix config should be mydomain.org not myftp.org17:37
MrPocketsJust wondering if someone can help me understand what this shell is, and why I may be continually coming into it17:37
Sam-I-AmMrPockets: does this machine have virtual devices?  as in... ones connected to a management device like an ILO or DRAC?17:38
Sam-I-AmMrPockets: the shell is what comes up when the kernel can't find your root partition... its an initrd thing.17:39
ScottKoakbox: You either need to add your IP address (range) to mynetworks if it's a IP address you control or connect with smtp auth.17:39
ScottKDid you set up smtp auth?17:39
MrPocketsSam, it doesn't. It does, however have two SCSI drives connected with a SCSI controller17:40
Sam-I-AmMrPockets: so you see it boot the kernel, then it says can't find root partition?  or some other error before dropping you to the shell?17:41
oakboxScottK, yes i have17:41
MrPocketsSam-I-Am, yes. IIRC.17:41
Sam-I-Amdoes it give an error or is that it?17:42
oakboxScottK, I can log in with user and passwd fine (using swaks -a)17:42
Sam-I-Ammmm swaks17:42
ScottKoakbox: OK.  If postfix was trying to use smtp auth there would be evidence in the log.17:42
MrPocketsthats it17:42
a1fagrrrr17:42
a1fa27mb/s through I/O17:42
oakboxSam-I-Am, thanks for the tip on that app17:42
a1fawhat a bologne17:43
Sam-I-AmMrPockets: how big are the drives? and how are you partitioning them?17:43
ScottKoakbox: How about pastebin the relevant smtpd entry from master.cf in a pastebin?17:43
a1fawhat would cause a scsi drive to read at 28mbs17:43
MrPocketsSam-I-Am, 9.8 gig a piece17:43
oakboxScottK, 1 sec17:43
a1fa Timing buffered disk reads:   90 MB in  3.27 seconds =  27.56 MB/sec17:43
a1fa10K RPM SCSI drive capable of doing 320mb/s17:44
a1faits only doing 27 mb/s17:44
MrPocketsI partitioned drive 0 with a 8.9 gig / partition and ~1gig swap.  Left the seccond drive alone, but its formatted at EXT317:44
Sam-I-AmMrPockets: so no raid?17:44
a1fasame hard-drive thats non mounted and no filesystem runs at17:44
a1fa Timing buffered disk reads:  186 MB in  3.01 seconds =  61.84 MB/sec17:44
MrPocketsno raid17:44
Sam-I-Amso whats the device it sees on install? sda? sdb?17:45
MrPocketssda17:45
Sam-I-Amand it also sees sdb? (the other drive)17:45
MrPocketsi tried pulling the drives out and swapping them around, thinking maybe its setting ubuntu up on one drive, and booting to the other,  but it gets a "non system disk"17:45
MrPocketsbut yes, it sees both sda and sdb17:46
Sam-I-Amhmm17:46
Sam-I-Amand you installed grub to the MBR of sda right?17:46
MrPocketsDoes the install not do that?17:47
oakboxScottK, is this what you mean? http://paste.ubuntu.com/203002/17:47
MrPocketsor rather, does that need to be done seperatly from the install?17:47
* ScottK looks17:47
a1faanybody know what could be hindering performance17:48
a1faof SCSI disks?17:48
a1famaybe single scsi raid controller?17:48
a1fadamn IBM x34517:48
Sam-I-AmMrPockets: the install asks you before its done17:48
ScottKoakbox: No.  Like http://paste.ubuntu.com:80/203003/ (look in master.cf, not main.cf)17:49
Sam-I-AmMrPockets: after it installs all the software17:49
oakboxoops sorry 1 sec17:49
Hecatea1fa, hw- or sw-raid?17:50
a1fahw raid17:50
a1faraid 1 i think17:50
a1faPrimary, Secondary, and Hot Swap17:50
MrPocketsSam-I-Am, to my reocllection, it simply said "the install is complete, its time to reboot to your new OS, remove all media and reboot the machine"17:51
oakboxScottK, I have this but its all commented :s  http://paste.ubuntu.com/203005/17:51
Hecatea1fa, anything suspicious in the kernel log? maybe one of the drives is semi-defunct. that would explain the stall, since iirc hw raids stall easily when the io-ops are out of sync.17:51
a1faHecate : nothing that stands out17:52
a1fahect: [   12.376284] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA17:52
a1faonly one suspicious thing17:52
Sam-I-AmMrPockets: hmm... well, for some reason what grub is seeing is not where your root partition really is17:54
Sam-I-AmMrPockets: does it say what partition its trying to use for root?17:54
ScottKoakbox: The general recommendation is to submit mail via the submission port (587).  If you uncomment the lines associated with submission, postfix stop, postfix start (reload won't pick up new services) and then connect to port 587, it ought to work.17:54
a1faHecate : resycns is in progress.. but why are other drives getting 60mb/s17:55
Sam-I-Ama1fa: is the cable bent? that tends to slow down the 1's17:55
Hecateresync is a serious performance bitch17:55
oakboxScottK, thanks I will give it a go.17:56
ScottKoakbox: OK.  Let me know if there are still problems and we'll keep working on it.17:56
oakboxScottK, thanks very much for your help :)17:56
ScottKNo problem.17:56
Hecatea1fa, if you're still getting the bad performance when the resync's done, disabling the raid and checking on the drives (e.g. read speed) individually might be worth a shot.17:57
a1faHecate : its IBM's raid.. you cant disable it17:58
a1faHecate : i guess i can take the drives out17:58
Hecatewell, i got veeeeery little experience with hw-raids, so i can only recomment, not to offend your raid-controller ;)17:58
a1fa[    9.458637] scsi target2:0:3: FAST-160 WIDE SCSI 320.0 MB/s DT IU QAS HMCS (6.25 ns, offset 127)17:59
a1fa320mb/s hard drives down to 60mb/s ;(17:59
Sam-I-Amif all of the drives are on a single bus it'll divide up the speed quite a bit when building the raid17:59
a1fai am about to go to bios and start disabling crap17:59
Hecatea1fa, ehm ... the 320 MB/s denotes the bus-speed, not the drive speed17:59
Sam-I-Amnot to mention raid building is inherently slow anyway18:00
Hecatea1fa, but wait until the resync's over. as i said resyncs tend to be a huge performance killer.18:00
heath|workso can KVM run paravirtualized or is it strictly HVM ?18:01
MrPocketsSam-I-Am, I'm not sure. And unfortionatly I don't have the machien in front of me18:02
Sam-I-AmMrPockets: that makes troubleshooting a bit hard18:02
Sam-I-AmMrPockets: i have a meeting to hit anyway...18:02
MrPocketsoh right, but at least now i'm awair of what is happening and know what to look at when i go there tonight18:02
a1faok18:02
Sam-I-Amsure18:02
a1fathanks hectate18:02
Hecateyoure welcome18:03
a1fahow long does it take to syncup 32GB?18:03
a1faand is there anyway to check raid status though OS?18:03
Hecatecan't tell. actually your crontroller should give you some hints on that.18:03
Hecatebut i really can't tell due to my lack of experience with hw-raids.18:04
a1fa:P18:04
a1faioc0 vol_id 0 type IM, 2 phy, 33 GB, state DEGRADED, flags ENABLED RESYNC_IN_PROGRESS18:06
a1fai wonder if you can force raid sync18:07
oakboxScottK, humm I dont think that has helped :)18:08
a1fascsi_id:0 20%18:09
a1fascsi_id:1 20%18:09
a1faok18:09
a1faat least i know what i sit on18:09
a1fa:)18:09
a1fathanks Hecate18:09
oakboxScottK, I now get a message "*** No acceptable authentication types available18:09
ScottKoakbox: OK.  You need to look at your smtp auth configuration.18:10
oakboxok18:11
ScottKoakbox: Are you using dovecot or cyrus?18:11
oakboxScottK, saslauthd ?18:12
oakboxScottK, from this page https://help.ubuntu.com/community/Postfix18:13
ScottKThat's cyrus18:13
thirstehIf I set an RSS limit for a process/user in /etc/security/limits.conf, will that make that user/process completely unable to use more than e.g. 20MB of RAM, or would swap beyond 20MB still be possible?18:14
ScottKoakbox: Please pastebin /etc/postfix/sasl/smtpd.conf18:14
oakboxhttp://paste.ubuntu.com/203019/18:15
ScottKoakbox: How about edit /etc/default/saslauthd18:16
ScottKIgnore the word edit there.18:17
oakboxScottK, 1 sec18:17
ScottKPaste error18:17
oakboxScottK, http://paste.ubuntu.com/203022/18:18
* jmedina has experience with saslauthd18:18
ScottKjmedina: If you could take over then, that would be great.  I use auxprop.18:18
jmedinaScottK and what is the problem to solve?18:19
oakboxScottK, thank you for your help18:19
ScottKjmedina: His smtp auth isn't working.  "No suitable mechanisms found" or something similar18:19
oakboxjmarsden, I am having trouble sending emails out from postfix18:19
ScottKoakbox: My guess would be uncommenting line 48 and restart saslauthd18:20
jmedinaoakbox: where do you get that message?18:20
jmedinathe one fro no suitable mechanisms?18:20
jmedinado you have libsasl2-modules installed?18:20
oakboxfrom swaks and yes i do18:21
jmedinafrom swaks?18:23
jmedinaoakbox: are you using system users?18:23
jmedinafrom /etc/passwd?18:23
oakboxyes18:23
oakbox       swaks - SMTP transaction tester18:24
jmedinayesterday I configure a system like yours18:24
jmedinaI use MECHANISMS="pam"18:24
jmedinanot shadow18:24
jmedinadid you create /var/spool/postfix/var/run/saslauthd?18:25
oakboxwhat is the difference?18:25
jmedinawell is the default ubuntu authentication/authorization method18:25
jmedinaI only use shadow for systems that dont support pam like slacwkare or openbsd :)18:25
oakboxoh should i use that instead?18:26
jmedinawell I know that works18:26
oakboxre did you create...  there are files there so im assuming so18:26
jmedinaI use18:27
jmedinadpkg-statoverride --add root sasl 710 /var/spool/postfix/var/run/saslauthd18:27
oakboxok im now using pam18:28
jmedinaand then restart saslauthd and the init script will create the directory automatically18:28
oakboxi used dpkg-statoverride --force --update --add root sasl 755 /var/spool/postfix/var/run/saslauthd18:28
jmedinait is ok18:28
jmedinacould you show output from ps aux | grep saslauthd?18:29
jmedinajust to be sure18:29
oakbox:) http://paste.ubuntu.com/203029/18:29
jmedinagood18:31
jmedinanow what about?18:31
jmedinacat /etc/postfix/sasl/smtpd.conf18:31
jmedinaI use18:31
jmedinapwcheck_method: saslauthd18:31
jmedinamech_list: PLAIN LOGIN18:31
oakboxyep exactly what i have here18:32
jmedinaok18:33
jmedinanow postfix18:33
jmedinamain.cf18:33
jmedinayou should use at least somthing like this18:34
jmedinahttp://paste.ubuntu.com/203031/18:34
oakboxhttp://paste.ubuntu.com/203032/18:36
jmedinaok18:38
jmedinathats all18:38
jmedina:)18:38
jmedinarestart postfix and try18:38
jmedinayou could test with18:38
jmedinatelnet localhost 2518:38
jmedinaand see if AUTH is announced18:38
oakboxyep auth is announced18:39
jmedinanow18:40
jmedinatry to send a mail and keep one eye in your logs18:40
jmedinaoakbox: just a tip: when you post your postfix configs use: postconf -n18:40
jmedinawhat will show only new configs18:41
jmedinawe all can get the defaults using postconf -d18:41
uvirtbotNew bug: #389722 in mysql-dfsg-5.0 (main) "skip-name-resolve is not included in default my.cnf" [Wishlist,Triaged] https://launchpad.net/bugs/38972218:41
oakboxjmarsden, cool thanks for explaining :)18:41
jmedinaoakbox: I do this everyday, I know the procedure from memory :)18:42
jmedinaoakbox: jmarsden thanks for helping oakbox :)18:43
ivoksyay for postfix18:43
oakboxok I have tried sending an email and my logs say status=sent.....   which is better than i had, but it didnt ask for a user and password and i have not got my test email :'(18:43
jmedinashh, dont tell ivoks I help you configuring saslauthd, he is anti cyrus and pro dovecot18:43
ivokshehe18:43
ivoksi'm not anti-anything :)18:43
ivoksdovecot is just way easier :)18:44
jmedinaoakbox: show the logs!!!18:44
ivoksyou see, dovecot as sasl would already work :)18:44
oakboxhttp://paste.ubuntu.com/203038/18:45
ivoksmore logs18:45
jmedinammm18:45
oakbox:s what more do you want18:45
jmedinayeap18:45
ivokssetting up connection18:46
jmedinaat leas 10 lines before18:46
jmedinayes starting from setting up connection :)18:46
ivoksoakbox: all lines containing '2C8ED48341'18:46
uvirtbotNew bug: #391410 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1" [Undecided,Incomplete] https://launchpad.net/bugs/39141018:46
jmedinathe lines from postfix/smtpd18:46
oakboxthey are the only lines that contain '2C8ED48341'18:47
jmedinaoakbox: one question? where are you sending mail from?18:47
jmedinaa cliente? from command line?18:47
jmedina*client18:47
oakboxcommand line, same machine18:47
oakboxto the outside world18:47
jmedinammm18:48
jmedinaok show the logs18:48
oakboxok heres the last so much of my log file http://paste.ubuntu.com/203040/18:50
ivoksso, you see18:51
ivoksthose weren't all the lines with 2C8ED4834118:51
oakboxbut i did a grep :)18:51
oakboxah sorry 1 line18:52
oakboxmissing :)18:52
ivokswell, you didn't authenticate18:53
ivokswhich ubuntu is that?18:53
oakboxlatest18:53
ivoksyou do know that installing dovecot-postfix would set up everything for you? :)18:53
ivoksimap, pop, smtp, smtp-auth18:53
oakboxI dont actually need imap or pop, its going to be a play by mail server....  (hopefully)18:56
oakboxhow do i get it to do authentication?18:57
oakboxsorry brb need to check on dinner....  i smell burnt sausages.....18:57
oakboxbk19:02
slestakhey guys.  im using likewise-identity 4 to auth my ubuntu machines to win2k AD domain.  everything workes well, except I am trying to set a local root pawword on a worksation, and it is not lettin gme.19:09
slestakarrgh.  root is an AD user.19:09
slestakcrap19:09
slestakor, more specific, I have an AD user named root19:10
kirklandslestak: sorry, i don't know about AD, perhaps ask mathiaz ?19:14
slestakkirkland: ok, tyvm19:15
sgsaxI use krb5 for AD auth19:16
slestaksgsax: likewise open uses krb5 as well.  it just has a little gtk front end and some other reporting capability.  i found out my problem, I have an AD user named "root".19:17
sgsaxI saw that19:18
sgsaxwe do too19:18
sgsaxonly set up the local root password on initial setup19:18
sgsaxbut if your AD is unreachable, if you setup pam right, auth should fall back on to local19:18
slestaksgsax: well, ad is reachable, but I would like to have the ability to use the local root user when needed.19:23
oakboxthanks all see you later19:24
slestaki setup my vmware admin to be root, and I havent set a password for it yet.19:24
sgsaxthis for the free vmware server?19:25
slestakyes19:26
sgsaxgotcha19:26
sgsaxlast time I set that up, I created a local user account just for that purpose19:26
slestakok, i'll follow suit19:27
sgsaxseemed easier that way, esp if you have multiple admins19:27
slestakid is showing ad user root has uid 0, so its mapping to local user root19:27
sgsaxcould be, and then the password is getting clobbered by AD19:27
sgsaxunless your AD root user is also gid 019:28
sgsaxunix properties are not revealed by default in Windows19:28
sgsaxthere are add-ins to do it, or you can roll your own code19:28
slestaki didnt set the user up, so i dont know what server or service needs it.19:28
slestaki'll prob end up broking BackupExec or something19:29
sgsaxdon't want that :)19:29
slestakactually, i wouldnt mind, its a big pita19:29
slestakgo office space on it.  wtf, pc load letter, bang19:30
sgsaxI'm planning on moving my backup to amanda19:31
sgsaxdon't have any windows hosts to backup, thankfully19:31
sgsaxcurrently using rdiff-backup, makes me want to cry sometimes19:32
slestakso to reset the admin user, I have to run the whole vmware-config script again19:32
sgsaxdon't think so19:32
sgsaxthe remote console only needs a valid user to login19:33
slestakyeah, i used rdiff-bnackup for some personal stuff.  great idea, but ddnt work to well for me19:33
sgsaxand the dirs that the vm disks live in need to be writable by your vmadmin user19:33
slestakthe web interface on 8222 is not letting any local or ad users auth19:33
sgsaxmy biggest problem with rdiff-backup is a nearly complete lack of recovery from errors19:33
sgsaxI only used the remote console, never the web interface19:34
sgsaxbut I would think they would use the same auth mechanism19:34
slestaki know its not really sufficeint, but i am moving to kind of a SaaS idea at work, and one majot app per vm, and just getting /var, /etc, sql dump and any app config out nightly.  I can get the os reinstalled faster than I can restore.19:34
rsrhello19:34
rsrHow do I extract the contents of a zip file?19:35
sgsaxrsr: besides unzip?19:35
rsrok19:35
rsrsorry for being such a newbie19:35
sgsaxslestak: same here, I don't have bare-metal backups, and all configs are pushed out via cfengine19:35
sgsaxrsr: no problem, gotta start somewhere :)19:36
rsryes19:36
rsrbut unzip isnt a command19:36
sgsaxunzip or gunzip19:36
slestakyou can do sudo aptitude install unzip to get unzip19:36
rsrok19:36
slestakis it a literal zip file, or a tar.gz?19:37
sgsaxgzip/gunzip should be able to handle standard zip files19:37
slestaksgsax: im having a heck of a time with the admin user.  i dont know that i want my vm admin to be an ad user, but it makes sense.  i'd basically like anyone who can sudo to be able to admin the vm's19:53
uvirtbotNew bug: #318679 in net-snmp (main) "snmpd error" [Undecided,Won't fix] https://launchpad.net/bugs/31867919:56
slestakhmm.  2.6.28 kernel is gettign a build error for vsock.o19:56
slestakfound some relevant google hits19:59
hikenboothello anyone know any gui alternatives to system-config-lvm that are currently maintained ..it does work but it lacks features20:04
sgsaxslestak: seems to me I had trouble using AD accounts/groups and that it had to be a local account20:06
sgsaxand I also had to create a special pam.d profile for vmware-authd20:07
slestaksgsax: tyvm20:26
sgsaxslestak: np, my new vmware server is ESXi and I plan on moving my previous free server to ESXi later this summer20:28
sgsaxso it's a different set of problems, but at least I don't have to deal with this one :)20:28
a1fa Timing buffered disk reads:  192 MB in  3.03 seconds =  63.33 MB/sec20:50
a1fadamn bullshit20:50
slestaksgsax: is using lvm inside of vmware a good idea?  is thre a best pracice that will allow flexibilty later?21:05
heath|workis there a decent web gui for bind?21:09
a1fatlol21:11
a1fabind is so simple21:11
sgsaxslestak: don't think I've heard specific reports, but I think I'd stay away from it, myself21:12
heath|workIt is, but to edit 4 files every time I need a new zone is madness21:12
sgsaxbind takes some getting used to21:13
sgsaxheath|work: how often do you find yourself having to add zones?21:13
sgsaxor are you just editing existing zones?21:13
heath|workWithing the next month or so, hopefully a couple every day21:14
sgsaxstarting up a hosting service?21:14
heath|workthe thing is, I may not be the only one adding them21:14
heath|workyeah21:14
heath|workwell sorta21:15
heath|workI'm a web dev and built a system for some around town businesses and I would like to control there DNS from inhouse21:16
sgsaxso to add a new zone, you need to edit /etc/bind/bind.conf21:17
sgsaxand then add forward and reverse zone files21:17
heath|workI have run through the ubuntu server guide and got the concept, I was just wondering if any of youz guyz were using a web tool or just hacking it out21:18
sgsaxwebmin may have plugins for managing dns, but if I were you, I get a copy of the O'Reilly DNS & Bind book and get cozy with it21:18
heath|workI also read through the AppArmor stuff21:19
sgsaxapparmor is firewall and acl type stuff21:19
heath|workYeah, but it is time I understand it more.21:19
sgsaxonce you do it a couple-dozen times, it's not so hard :)21:19
heath|workAll the tutorials I have run across for bind recommend disabling AppArmor and I would rather become familiar with what it is doing and embrace it21:20
sgsaxif you read the O'Reilly book from cover to cover (and can comprehend it), you'll know everything there is to know about how bind works21:20
sgsaxI found that apparmor gets in my way, and I usually disable it anyway21:21
heath|worksgsax, do you run bind chroot?21:21
sgsaxnope21:21
sgsaxbut I do make sure all my packages are up-to-date and patched21:21
ScottKsgsax: We'd really rather you'd file bugs about problems in apparmor profiles than just turn it off.21:21
jdstrandwhy would you disable apparmor for bind?21:21
jdstrandjust fix the profile and file a bug if it is a problem in the default configuration21:22
sgsaxiirc, it got in the way of my AD auth21:22
ScottKheath|work: The Ubuntu packages shouldn't require it to be turned off.21:22
sgsaxthe AD boxes were unable to query it for some reason21:22
heath|workScottK, That's what I figured, there are several complaints about it from Googling. I have read that most of them are people using the wrong dir for cache21:23
heath|worksgsax, ^^21:23
ScottKIf there are problems, we'd really rather fix the profiles.21:23
jdstrandsgsax: file a bug following https://wiki.ubuntu.com/DebuggingApparmor and we can get it fixed if it is a problem in the default profile21:23
sgsaxI need a way to test that doesn't break my production systems21:23
jdstrandheath|work: if there is a non-default but common directory for cache directories, file a bug and we can get it fixed21:24
jdstrandsgsax: complain mode21:24
jdstrandsudo aa-complain /usr/sbin/named should do it (assuming apparmor is still running on your system)21:25
heath|workKudos to the ubuntu server guide. It is looking very strong.21:25
ScottKsommer: ^^^21:25
sgsaxjdstrand: If I run aa-complain, do I need to start the aa service?21:27
glen1hey21:28
glen1anyone ever set up a vpn21:28
sommerheath|work: thanks\21:29
sommerScottK: hey I'm about to expire from the clamav team21:29
jdstrandsgsax: apparmor needs to be running, yes. if apparmor profiles are keeping you from doing your work, disable the profile but not all of apparmor21:29
jdstrandsgsax: see https://help.ubuntu.com/8.04/serverguide/C/apparmor.html for details21:29
heath|worksommer, you are responsible for the guide?21:29
jdstrandsgsax: the short answer is 'yes' it needs to be started21:29
sommerheath|work: I've been working on it for the past few releases21:30
heath|workwow...21:30
sommerheath|work: along with help/input from others21:30
ScottKsommer: Fixed.21:30
sommerScottK: cool, thanks :)21:30
heath|workthat's impressive21:31
work|danai'm having trouble getting my mediawiki install configured. i'm trying to replace the alias with a virtualhost, but the virtual host doesn't seem to work.21:31
sommerwork|dana: do you have a seperate vhost file in /etc/apache2/sites-available?  and if so did you enable the vhost with a symlink to /etc/apache2/sites-enabled, or with a2ensite?21:33
work|danasommer, no i just edited my mediawiki.conf21:33
work|danahttp://pastebin.com/d7605a60c21:33
jmedinayou can check loaded vhosts with apache2ctl -D DUMP_VHOSTS21:33
work|danahttp://pastebin.com/d17ad4f9d21:35
work|danavhost seems to be loaded21:35
heath|workwork|dana, do you get an error when apache is reloaded?21:35
work|danaheath|work: no21:37
heath|workYou guys are kinding when you say JeOS is stripped down21:44
work|danaheath|work: i use jeOS almost exclusively, it can be annoying depending on what you're doing21:46
heath|workNow that I realize not even nano is installed I will be ok21:46
heath|workJust started on KVM today, so far so good21:47
heath|workWhere is bind's error logs?21:47
sgsaxgrep named /var/log/syslog21:51
sgsaxor /var/log/messages, depening on your setup21:51
heath|workthanks sgsax .  Looks like typo city21:54
sgsaxheath|work: once you get your basic zone layout figured out, I'd strongly recommend creating templates21:56
sgsaxso when you add a new zone, just copy your templates over with the basic info, and edit as necessary21:56
heath|workI will, I'm thinking about scripting it out with some reads already21:56
=== asac__ is now known as asac
=== mcasadevall is now known as NCommander
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== asac_ is now known as asac
=== tain is now known as tainspam
=== tainspam is now known as io

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