/srv/irclogs.ubuntu.com/2012/06/23/#ubuntu-server.txt

fredrik2Hi! I can't get Postfix with Dovecot SASL working correctly.00:34
fredrik2I followed the server guide, but with no sucess.00:34
fredrik2When i telnet host 25. I'm not seeing the AUTH option00:35
fredrik2I've restarted postfix, dovecot & sasauthd & even reinstalled everything00:35
fredrik2Started postfix in -v mode. Checked logs.00:35
fredrik2Don't know what do next. Anyone ?00:35
Davieyhallyn: thanks, now have a good weekend :)00:47
excalibrIs there a way to sync packages/configs across multiple servers?04:26
escott!clone | excalibr04:30
ubottuexcalibr: To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude  --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » (this currently may cause problems with multiarch) - See also !automate04:30
=== Lcawte|Away is now known as Lcawte
=== chu_ is now known as chu
=== Lcawte is now known as Lcawte|Away
trimetaDoes ubuntu-zfs install anything to help me perform a weekly scrub of the zpool? There seem to be mentions of cronjobs in the changelog, but I have nothing in /etc/cron.*.07:27
trimetaOddly enough, my version of zfsutils is 0.6.0.65-0ubuntu1~precise1, despite the latest version online being 8.3~svn226546-6...maybe this is related to the problem.07:56
trimetaOh, that's just for kfreebsd.07:57
halvorsMay somone help me with my iptables setup?12:23
halvorsiptables -P INPUT DROP12:23
halvorsiptables -P OUTPUT DROP12:23
halvorsiptables -P FORWARD DROP12:23
halvorsiptables -A INPUT -i lo -j ACCEPT12:23
halvors(13:42:34) halvors: iptables -A OUTPUT -o lo -j ACCEPT12:23
halvors(13:42:36) halvors: iptables -A INPUT -i eth0 -j ACCEPT12:23
halvors(13:42:36) halvors: iptables -A OUTPUT -o eth0 -j ACCEPT12:23
halvors(13:43:28) halvors: iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE12:23
halvors(13:42:34) halvors: iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT12:23
halvorsMy current config-12:23
Cromulentuse a pastebin...12:24
remix_tjhalvors: what's the problem?12:25
halvorsWell, my LAN hosts can't access the internet12:33
halvorsThe best way is to DROP anything and allow what i want, right?12:35
halvorsremix_tj: You there? :)12:37
remix_tjyes12:38
remix_tjuhm12:38
remix_tji think it's correct. Where are your lan devices connected?12:38
halvorson eth012:39
halvorsAnd eth1 is WAN :)12:40
halvorsremix_tj: Did you get that? I forgot to mention your nick :(12:44
remix_tjwith this config12:44
remix_tjyou can't go to the internet because incoming packets are dropped, so you're not able to open tcp connections12:45
remix_tjmaybe you should add something like12:45
remix_tjiptables -A FORWARD -p tcp -m state --state RELATED, ESTABLISHED -j ACCEPT12:45
remix_tjand12:46
remix_tjyou should insert something allowing icmp echo reply halvors12:47
remix_tjwithout that rule clients cannot get ping response12:47
halvorsclient can't get ping response from the Ubuntu Box or?12:48
remix_tjfrom host in the internet12:49
halvorsShouldn't i do something like: iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED, ESTABLISHED -j ACCEPT12:49
halvorsYou mean for remote hosts to be able to ping the Ubuntu box?12:49
remix_tjyou should explicitely specify -p tcp12:50
remix_tj(afaik)12:50
remix_tjfor icm reply i mean your LAN hosts cannot ping outside machines12:51
remix_tj*icmp12:51
halvorsWhy should i specify tcp?12:52
halvorsWith that i allow TCP, UDP and ICMP, right?12:53
halvorsiptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED, ESTABLISHED -j ACCEPT12:53
remix_tj-p tcp12:54
halvorsWhy?12:54
halvorsShouldn't i be able to use UDP and ICMP?12:55
remix_tjhalvors: maybe do not work, i no not remember if iptables has a conntrack method for icmp and udp12:55
remix_tj*do not12:55
halvorshmm.12:55
halvorsSo you mean that this command won't work?12:56
halvors148.122.169.2312:56
halvorsObs12:56
halvorsiptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED, ESTABLISHED -j ACCEPT12:56
halvorsThat should be routing tcp...12:56
remix_tjhalvors: try12:57
remix_tjif does not work you'll get an iptables error message12:57
halvorsOk.12:57
halvorsThanks you.12:57
halvorsMaybe i'll loose connectivity now when trying this out.12:58
halvorsremix_tj: When using the command "iptables -A FORWARD -p tcp -m state --state RELATED, ESTABLISHED -j ACCEPT" how gain udp and icmp too?13:07
remix_tjuhm13:07
remix_tjthis depends on conntrack of the operating sistem, i do not know if there is something for conntracking udp and icmp, since they are stateless13:08
RoyKhalvors: afaik there is no real conntrack for udp and icmp, since those are stateless protocols13:57
=== m_3_ is now known as m_3-backstage
=== PreciseOne is now known as IdleOne
jkyleanyone have a reference for installing juju on osx?15:57
jkylezookeeper keeps failing for me, figure others would have to solve that too15:58
halvorsI get an error with isc-dhcp-server, this is the error i'm getting:16:34
halvorsJun 23 18:32:50 skymia-server dhcpd: /etc/dhcp/dhcpd.conf line 129: subnet 192.168.50.1 netmask 255.255.255.0: bad subnet number/mask combination.16:34
halvorsJun 23 18:32:50 skymia-server dhcpd: subnet 192.168.50.1 netmask 255.255.255.016:34
halvorsJun 23 18:32:50 skymia-server dhcpd:                                         ^16:34
halvorsWhy?16:34
halvorsIsn't that right?16:34
halvorsWhen i does:16:38
halvors"service isc-dhcp-server restart" get the error message, "Unknown instance"...16:39
TheLordOfTimehave you heard of patience before?16:39
TheLordOfTime!Patience16:39
ubottuDon't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/16:39
TheLordOfTimesometimes it takes a bit to get an answer16:39
TheLordOfTimejust an FYI16:39
* TheLordOfTime thinks you've got more than one issue going on though16:40
halvorsSorry, but i'm in a bit if a hurry here.16:40
halvorsIs there any way to restore the startup script to default? Also the one from the dhcp3-server package.16:41
RoyKhalvors: I guess perhaps a bad character at the end16:42
RoyKor perhaps a missing semicolon16:43
=== Lcawte|Away is now known as Lcawte
jkylewow, that was quite the drive by question.16:47
jkyleoff hand, 192.168.50.1 isn't a subnet16:47
jkylehalvors: 192.168.50.1 isn't a subnet, pastebin your conf though16:49
halvors1Solved it, thanks for help :D17:02
RoyKhalvors1: network problems? ;)17:02
halvors1Yrah.17:04
halvors1Yeah.17:04
jkyleDaviey: ping17:43
=== erichammond1 is now known as erichammond
axisysa pci compliance require adding some awareness if someone delete a log file.. what is the least amount of work to acheive that with a security pkg may be?19:27
axisyswe are sending the log file to splunk and arcsight.. but there might be another way to achieve locally.. bsm audit looks not verbose and open-audit does seems only look at hardware19:28
axisyss/not verbose/too verbose/19:29
axisysdid not see much discussion in https://help.ubuntu.com/12.04/serverguide/security.html19:29
axisysAppArmor profile does not look to be least amount of work..19:30
Skaagtrying to rescue a crashed system, that had software raid19:58
SkaagI believe raid5 on /dev/sda2, /dev/sdb2 and /dev/sdc219:58
SkaagI'm now in "rescue mode" and I have no idea how to assemble them back19:59
=== LordOfTime is now known as TheLordOfTime
axisysSkaag: you could boot from a live cd and fix it that way as a easier route20:03
SkaagI'm already in the shell, trying to use mdadm...20:03
axisyscat /proc/mdstat ?20:03
axisysoops.. i have to run..20:04
Skaagit shows me md127 with sda2 and sdc2 but not sdb220:04
Skaagand md0 with sdc1 which is the /boot partition I believe20:04
Skaagis the order important?20:07
Skaagright now I have sdb2, sda2, sdc2 but i'm not sure that's the original order of physical devices in the array20:09
qman__the order is irrelevant20:15
qman__it can assemble in any order, the metadata says what's where20:15
Skaagok cool20:15
Skaagso /proc/mdstat now says it's rebuilding20:15
Skaagbut I'm failing to mount it20:16
Skaagdespite having an active raid5 device20:16
Skaagmaybe now there's lvm on top..?20:16
qman__possibly20:16
Skaagi'm lost.20:17
Skaaghow do I know what type of volume is on /dev/md127 … ?20:18
qman__you can fdisk -l20:18
qman__actually not20:19
qman__trying to remember what the right thing is20:19
Skaagall frisk says is about the physical devices, they are all Linux raid autodetect20:20
Skaagfdisk20:20
Skaagdamn autocorrect...20:20
D3liriousGood day, or evening .. how is everyone Im good my self lol21:14
TheLordOfTimeSpamapS:  i hope you're around21:15
D3liriouschatty group aint ya lol21:17
TheLordOfTimepatience21:22
TheLordOfTime:P21:22
qman__well, this is a support channel; if you have a question, !ask it21:23
Davieyjkyle: hey21:23
qman__if you're just looking to chat, I think it's #ubuntu-social21:23
TheLordOfTimeqman__:  isnt it -offtopic?21:23
qman__probably21:23
Davieyjkyle: How are you doing?21:24
=== Lcawte is now known as Lcawte|Away
iSIEMENSHello!23:42
Yankees52!ops23:54
ubottuHelp! Channel emergency! soren, lamont, mathiaz, Pici, Daviey, Tm_T or pmatulis23:54
Yankees52ban me23:54
IdleOneYankees52: why do you keep doing this?23:54
Yankees52i am drunk right now ban me!23:55
IdleOneso what was your excuse for this morning?23:55
Yankees52hangover23:55
IdleOneI wonder if there is something more productive you could do with your time23:56
Yankees52drink booze!23:56
IdleOneI mean you seem like a half intelligent person.23:56
Yankees52ban me!23:56
Yankees52vodka babty23:56
Yankees52baby23:56
qman__not to fuel a fire, but high intelligence tends to lead to substance abuse rather than away from it23:57
patdk-lapthought it leads to bordom23:57
patdk-lapand then various other bad activities, like virus making23:58
patdk-lapspam emails23:58
patdk-lap...23:58

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