/srv/irclogs.ubuntu.com/2013/09/21/#ubuntu-server.txt

gholmsI'm still trying to figure out why a router would *ever* have a problem forwarding traffic bound to its public interface from either side.  :-\00:00
hamnstarjust to make sure i'm not leading you astray, you should google for your routers manual/etc and see if it makes any mention of loopback NAT00:00
arthur789hamnstar: i have, but will go over it again00:01
arthur789gholms: just to be clear,from outside through ddns it forwards fine. at home, using local ip, it forwards fine00:02
hamnstararthur789... you could just use a seperate name in your hosts file for a super easy fix00:02
hamnstar/etc/hosts: 192.168.x.x server_home       for example00:03
jrwrengholms: a router following IP should drop packets it receives destined to a network it knows of on the wrong interface.00:03
hamnstararthur789: then you would access it at home by connecting to 'server_home' instead of 'sever.dyndns.org' or w/e00:03
hamnstarnot perfect, but easy00:03
gholmsjrwren: A host sends traffic to IP A port X on the router, and the router forwards it to IP B port Y off some other interface.  Why would the interface it receives the traffic from matter at all?00:04
gholmss/it/the router/00:04
jrwrengholms: good point00:04
arthur789hamnstar: im following youc thanks for the help00:04
jrwreni can't remember now00:04
gholmsUnless the router is configured to block traffic from the "LAN" side to its public address I'm not sure why things would be breaking.  :-\00:05
hamnstargholms: im certain that would be the case, to prevent whacky cyclic situations maybe00:05
gholmsCould be.  I just can't think of what that might be.00:06
* gholms shrugs00:06
hamnstarotherwise at IP level your right, it really should not care00:06
hamnstars/evel/ayer00:06
hamnstarused this forum post as a sanity check that i wasnt making shit up http://forums.dlink.com/index.php?topic=37323.0 :P00:10
gholmsThat's good to know.00:10
gholmsMaybe it's a limitation of its IP stack or something.00:11
arthur789must be what i got. went from 4 port wbr2310 to dir63200:11
jrwreni think the problem is that it is acting as both a host and a router00:15
jrwrenas a multihomed host it sees packet to IP A arive at interface B instead of interface A and says, WTF?!?00:16
gholmsI guess if it doesn't have forwarding on that might cause problems.00:17
arthur789gholms: port forwarding on the router?00:19
gholmsOn the multihomed box00:20
gholmsAnd IP forwarding, not port forwarding00:20
gholmsUnfortunately my knowledge of networking on linux is rather limited.  :(00:21
jrwrenmine is pretty extensive, I just forget a lot of details00:44
arthur789im still positive i edited a file or two when i had the old router. and from what i can tell it didnt support the loopback either. dd wrt should be able to handle loopback, correct?00:53
jrwrenyes, it can. I think it does by default00:57
arthur789super, seems my router may be able to handle ww drt01:00
=== Gasseus is now known as Rallias
logic5anyone know how to regenerate a sources.list I think i screwed my up01:22
Patrickdklogic5, heh? you should never edit that file, ever01:40
Patrickdkthat is what sources.list.d is for01:40
logic5patrickdk ya seems to be so01:40
logic5patrickdk i didn't think i saved :/01:41
logic5t01:41
logic5but i must have because its not working01:41
jrwrenlogic5: what version?02:03
logic5Ubuntu precise (12.04.3 LTS)02:04
logic5dcmorton_ im not 100% sure i even altered the source.list02:05
logic5ooops i ment jrwren02:06
logic5addressed to wrong person02:06
pmatulison my 12.10 server i have installed virt-host^ . dnsmasq-base gets installed and dnsmasq is running.  i don't see any way to restart it other than using the binary directly.  dnsmasq package brings in /etc/init.d/dnsmasq but not the -base package02:16
ubuntutisdo any of you know what would be a couple of good programming languages used for a chat panel02:18
pmatulishm, maybe restarting libvirtd?02:19
logic5so my repository isn't updating but at the same time i can ping google.com but yet Im remotly connected via SSH so i know i have a internet connection. Any ideas of what this might be02:29
Codex_hello02:30
logic5hi02:30
Codex_I need to set up raid in ubuntu02:30
Codex_I have two disks in raid 0 and I need to get data off them02:31
logic5I don't know how I'm new to linux servers02:31
Codex_ok02:32
jrwrenlogic5: does apt-get update run without error?02:43
jrwrenubuntutis: language matters not. :)02:43
ubuntutisso if you were in my shoes what would you pick02:44
jrwrenpython02:44
ubuntutiswhy02:44
jrwrenbecause i know it, it is fast, i can use cython to make it faster, it has great lib support for nearly anything out there.02:45
jrwrenbut I don't know your shoes, maybe if i knew your shoes better, i'd choose differently02:47
ubuntutisjrwren python doesnt seem that bad for me02:56
=== kenneth is now known as Guest63583
ancasterhey all. What's the best practice around having a localadmin user that's able to login when NIS goes down? just adding a local user to my box doesn't work... logins still hang for a good several minutes.03:23
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
Geeky_VinHi, thr I need some help setting up a home sever in my old laptop for deploy a java web app, can anyone help me. pls.04:08
Guest63583Geeky_Vin what do you need help wit ?04:11
Geeky_VinI want to know how to deploy me java application developed in my other laptop to be upladed to my server and run it.04:13
arthur789just an update for anyone who was helping with my issue of connecting to a local ip, through dyndns, inside the network. I am usuing dlink router dir-632 and got what i wanted after flashing ww-drt. all is well, and thanks to everyone who chimmed in,ikonia, hamnstar, gholms, jrwren, and the others. I learned alot and headache over. Thanks.04:15
Geeky_Vin@Guest63583 : I want to know how to deploy my java application developed in my other laptop to be uploaded and run in my ubuntu-server.04:18
logic5thanks jrwren but i figured out it was because I didn't assign dns server when making my ip static :/04:20
anoneehello, instead of wlan0 I used eth0, do I have to inverse or fix that?04:31
anoneesudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE04:31
Geeky_VinHi there, I would like to know how to deploy my web application my ubuntu-server from my laptop. can anyone help me, pls.05:29
=== kenneth is now known as Guest93679
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
chmurifreehi there09:30
=== rory is now known as Rory
TTL112Hi. Anyone followed this https://help.ubuntu.com/12.04/serverguide/openldap-server.html ? On "ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif" it asks me for a password, I enter the one I did entered during installation, it says ldap_bind: Invalid credentials (49)12:15
DNStherHI12:39
ikoniahello12:39
DNStherI have a little question about ubuntu. I'm using a vps and can connect to it with my browser via IP:Port. I need to set a hostname, and I want to connect my real subdomain mail.mydomain.com to it. How to set my subdomain?12:39
ikoniaDNSther: you need to configure the DNS servers that are the SOA for your domain to point a subdomain at your server IP12:39
DNStherok in my domain config I'm able to set A-Record, AAAA-Record, cname. etc.12:41
ikoniathat set it12:41
ikoniathen set it12:41
DNStherHow to put the port in there, or must that set server-side?12:41
ikoniayou don't put a port in DNS12:42
patdk-lapunless your doing srv12:42
ikoniasrv ?12:42
patdk-lapyou have never done srv dns entries?12:42
DNStherservice ressource record12:42
patdk-lapbut not many things use it12:42
ikoniapatdk-lap: never had need to12:42
patdk-lapbut for browsers, they don't use srv12:43
DNStherok the a-record is filled out with server ip12:44
DNStherdo I have to do other things server-side?12:44
ikoniadepends what you are connecting to12:44
DNStherI'd set up a mail-server-package (Kerio Connect Trial)12:45
ikoniathat wasn't what I was askin12:46
ikoniaasking12:46
DNSther*weird*12:46
ikoniawhat's weird12:46
DNStherwhen I put subdomain in my browser, it connects to homepage on server, what is wrong... this has own subdomain.12:48
ikoniawhat are you trying to connect to12:48
Diegonatguys? I need to have an esxi-like server with KVM. What do you suggest me? Ovirt, opennebula, eucalyptus, proxmox etcc? ?12:49
ikoniaDiegonat: what's wrong with using libvirt ?12:49
patdk-lapthe lack of statement of the problem :)12:49
DNStherI'm trying to connect to mailadmin, wich uses port 404012:50
ikoniaDNSther: is that a standalone application, or a service within apache12:50
DNStherikonia: it is standalone12:51
ikoniaDNSther: ok, so how that responds to tcp headers will be down to it'self then12:51
DNStherseems it has nothing to do with apache12:51
DNStherthx 4 help with that svr clue13:17
DNStherfound useful hints in kerio forum, now it works perfect!13:18
DNStherbye13:18
=== marlinc_ is now known as Marlinc
=== Malediction_ is now known as Malediction
=== freeflying is now known as freeflying_away
werdna][hi all, Iv'e several issues with dovecot & postfix15:33
werdna][anyone able to assist?15:34
patdk-lapnot really, no idea what your *problems* are15:34
werdna][Hi Patdk, well, simply, i'm not able to send mail from my domain to itself, mail is grey listed, and outgoing mail to other domains is rejected by my server saying that the recipient domain doesn't exist15:59
patdk-lapthat really doesn't help at all16:02
patdk-laplogs would help16:02
werdna][PM ok?16:02
patdk-lapno16:02
werdna][ok, gathering logs...16:05
patdk-lapshould only be like a few lines16:05
patdk-lapno *gathering* needed16:05
werdna][Sep 22 02:04:34 webserver postfix/smtpd[4117]: connect from xxx.xxx.xx.x[xxx.xxx.xx.x]16:08
werdna][Sep 22 02:05:44 webserver postgrey[1032]: action=pass, reason=triplet found, client_name=xxx.xxx.xx.x, client_address=xxx.xxx.xx.x, sender=sales@123.com, recipient=andrew@456.com16:08
werdna][Sep 22 02:05:44 webserver postfix/smtpd[4117]: NOQUEUE: reject: RCPT from xxx.xxx.xx.x[xxx.xxx.xx.x]: 450 4.1.8 <sales@123.com>: Sender address rejected: Domain not found; from=<sales@123.com> to=<andrew@456.com> proto=ESMTP helo=<[yyy.yy.y.y]>16:08
werdna][Sep 22 02:05:52 webserver postfix/smtpd[4117]: disconnect from xxx.xxx.xx.x[xxx.xxx.xx.x]16:08
patdk-lap!pastebin16:08
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.16:08
werdna][yeah, a few lines..16:08
patdk-lapthat log makes no sense16:09
patdk-lapdomain 456.com exists and is working fine16:09
patdk-lapyour dns server is foobar?16:09
werdna][both domains (on the same server) are pingable from external16:10
patdk-lapI'll take a wild guess16:10
patdk-lap456.com is NOT owned by you16:10
werdna][thats what i thought.. performoing a 'host 123.com' resolves to the server address16:10
werdna][they are not the real domains..16:11
patdk-lapnot real?16:11
werdna][the real domains are owned by me, resolvable, and pingable16:11
patdk-laphow do you expect it to work if they aren't real16:11
patdk-lapoh, so you expect me to guess what those logs mean? since you hid all *relevent* infomation16:11
werdna][i don't really want to paste the real domain name and ip addresses16:11
patdk-lapwell, without it the problem can't be solved16:12
patdk-lapand you shouldn't STEAL other peoples domains for your *examples*16:12
patdk-lapit's extreemly rude16:12
werdna][ok, one moment then..16:12
patdk-lapSender address rejected: Domain not found is very clear16:13
patdk-lapyou have a dns problem16:13
patdk-lapwithout knowing your domain, I can't help you16:13
patdk-lapI don't get why people are so paranoid16:13
patdk-lapit's not like your domain and ip aren't public knowledge16:13
patdk-lapand posted all over the internet16:13
werdna][postgrey[1032]: action=pass, reason=triplet found, client_name=182-173-240-7.guam.net, client_address=182.173.240.7, sender=sales@austglobal.com, recipient=andrew@androidsnetwork.com16:13
werdna][Sep 22 02:05:44 webserver postfix/smtpd[4117]: NOQUEUE: reject: RCPT from 182-173-240-7.guam.net[182.173.240.7]: 450 4.1.8 <sales@austglobal.com>: Sender address rejected: Domain not found; from=<sales@austglobal.com> to=<andrew@androidsnetwork.com> proto=ESMTP helo=<[172.20.1.245]>16:14
werdna][I'm still paranoid..16:14
patdk-lapok, the domain exists16:15
patdk-lapbut there is no dns for it16:15
patdk-lapyou need a working domain16:15
werdna][oh?16:15
patdk-lapyou have no A AAAA or MX entries16:15
patdk-laptherefor, sending email using said domain is invalid16:15
patdk-laptherefor postfix rejects it16:15
werdna][the MX record in the zone file reads:16:17
patdk-lapit doesn't matter what is in a zone file16:18
patdk-lapif no one can talk to the dns server, the CORRECT dns server, and if it's not running16:18
patdk-lapyou have dns issues16:18
patdk-lapyou need to correct your dns issues16:18
werdna][All tied up in bind, or have I missed something?16:19
werdna][is this more a domain registrar issue?16:19
patdk-lapName Server: NS1.GRIFFLER.CO.NZ16:20
patdk-lapName Server: NS2.GRIFFLER.CO.NZ16:20
patdk-lapare those the correct servers?16:20
werdna][they were changed to ns1 & ns2.androidsnetwork.com earlier today16:21
patdk-lapcause neither of them work16:21
patdk-lapwell, it can take 24-48hours for those to change16:21
werdna][Ah, I see the error of my ways....16:26
patdk-laphmm, odd though16:28
patdk-lapwhois normally updates within 5min though16:28
patdk-lapbut it's not updated there16:29
patdk-lapmaybe you should doublecheck it16:29
werdna][I will, thanks for your help!!16:37
jkitchenanyone have issues with 'rename3' network interfaces showing up with 13.04?17:10
jkitchenahh. seems like 'nameif' can be used to get rename the interface properly17:23
=== duser is now known as vmusr
GarrettKajmowiczGreetings! Is there somebody here who can help me debug a 12.04 LTS boot failure? I'm being dumped to the busybox shell without any idea of what the problem is.20:09
GarrettKajmowiczThis occurred while immediately after my upgrade from 10.04. I'm using software raid1. The device mounts manually without complaints.20:11
GarrettKajmowiczThe old kernel image still boots correctly. New kernels do not.20:11
GarrettKajmowiczHow do I go about diagnosing this issue?20:14
NeoNiettengo un problema con el virtualhost de apache21:04
NeoNietlo configuro para un dominio pero sirve a todos21:04
NeoNieti configure one virtualhost but serves all domains21:05
nikki452i cannot use alsamixer or mocp without being root or giving the sudo command. i added my user to the audio group but no luck. what else to do?21:35

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