/srv/irclogs.ubuntu.com/2014/02/21/#ubuntu-server.txt

=== ajmitch_ is now known as ajmitch
BitwiseWhen I do an nslookup I get this: http://pastebin.com/UVXUf6az00:02
BitwiseI have a feeling the first two lines aren't how they should be.00:02
sarnoldBitwise: well, yes and no. it does show what a local caching proxy has discovered. But that's of no help to other machines on the internet. nslookup lets you query specific servers. Once you figure out why your registrar threw away your domain, you'll be able to figure out which DNS servers to query to make sure it is alive again00:04
Bitwisesarnold, Would it matter that I'm not accepting connections on port 80?00:11
sarnoldBitwise: no. what matters most is that your "whois example.org" queries show you don't exist.00:11
BitwiseI don't want anyone using the server unless they're on localhost.00:11
sarnoldwait, what?00:12
BitwiseI'm just trying to host an email server for my own use only.00:12
sarnoldoh, so you're surprised that your domain doesn't exist. this is an odd use case to say the least, I don't know how well most existing tools will handle this.00:16
sarnolds/you're surprised/you're not surprised/00:16
sarnoldBitwise: if you can tolerate pop you might want to consider a vastly different alternative: https://www.powerdns.com/powermail.html00:18
BitwiseWhat exactly is different? I didn't think having the server go down whenever my computer is off was very interesting.00:18
sarnoldBitwise: most people want their mail servers to community with the internet. :)00:19
BitwiseThe DNS entry won't propagate if my computer/server is off/down?00:19
sarnoldit can't; you don't have a domain.00:21
Bitwisesarnold, https://www.whatsmydns.net according to this website my site is on all but one and my mx record is on all00:23
sarnoldawesome site00:25
Bitwisesarnold, Shouldn't I be able to send/receive mail locally?00:27
sarnoldBitwise: hehe, at this point I'm so confused about what you're trying to achieve and how you're doing it that I'm out of ideas. I suspect if you want to keep using the tools you've chosen that you'll need to configure things to make them happy, but your setup seems so far from normal that I just don't know what to suggest next. sorry.00:29
BitwiseI'm just trying to turn my computer into a simple mail server that can send/receive to/from gmail. I like the RoundCube user interface so I suppose I'll use that but I'll gladly use something else if setup proves easier.00:31
sarnoldBitwise: okay, that makes some sense -- except for "receive from gmail" -- what do you mean by that?00:32
sarnoldBitwise: well, okay, I guess now that I think about it I'm also confused by "send to gmail" :) do you have a gmail account that you'd like send through? or ..00:33
Bitwisesarnold, A common user sending me emails from their gmail account.00:33
sarnoldBitwise: how will gmail's mail servers find your mail server if you intend it to be reachable only from localhost?00:35
Bitwisesarnold, I meant only I should be able to access the sending interface.00:36
BitwiseAs in, I will be the only person who can send an email from my server.00:37
sarnoldBitwise: ah. the 'sending interface' is going to be the /usr/sbin/sendmail binary...00:37
BitwiseYes, which I'm hoping can be simplified a bit by using RoundCube.00:40
sarnoldBitwise: sorry, I don't have the time today to properly confine an application not in the archive00:52
BitwiseAlright, no problem.00:53
=== tsimpson_ is now known as tsimpson
=== dumfries_ is now known as dumfries
=== Daviey_ is now known as Daviey
=== yokel_ is now known as yokel
=== hex20dec is now known as Guest61429
hallynok the problem appears to be the trust kernel.  qemu version don't really matter.  i'll try to verify that tomorrow with various host kernels01:08
lifelesshallyn: what bug?01:08
hallynlifeless: nested qemu, where bottom host is trusty kernel, cannot start a qcow2 image - grub can't load the kernel or something01:09
hallynlifeless: i've at least verified it on a precise and trusty userspace, both with trusty kernel01:09
hallynthe first level qemu guest is trusty01:10
hallyn(have not varied that yet)01:10
hallyntomorrow i'll see whether different firs tlevel guests help, and then i guess i'll have to bisect the host kernel01:10
hallynanyway i'm outta here.  can't set that test up now01:10
lifelessyuck!01:10
lifelessgnight01:11
hallyngnight01:11
=== gary_poster is now known as gary_poster|away
=== TheLordOfTime is now known as teward
=== 64MAAD7EP is now known as tgm4883_
=== th3joker-iPad is now known as th3joker
shreezbotHello!  I need a little help troubleshooting an issue I'm having with a server rebooting for no apparent reason...01:55
Patrickdkcheck your psu01:55
Patrickdkor did you want us to throw out other random things to check?01:55
shreezbotI've looked in the syslog and in almost all of the logs in /var, but none of them give me any clues as to why it could.01:56
Patrickdkthen it's likely not an os issue01:56
Patrickdktime to start looking at hardware01:56
shreezbotHmmm, is there a decent tool that might help me diagnose potential hardware issues?01:56
Patrickdkdmesg01:57
Patrickdkbut if nothing is there, well01:57
sheptardshreezbot: memtest8602:00
sheptardshreezbot: also check psu voltages02:00
shreezbotlm-sensors is showing that my voltages look good02:01
Patrickdkpsu voltages yes, but that isn't a reliable test though :(02:01
Patrickdkatleast for me, had 3 psu's die, but voltages where always good02:01
shreezbotIs there a better test other than breaking out a voltmeter?02:02
Patrickdkvoltmeter is a horrible test02:02
sarnoldshreezbot: I had a machine lock without warning when under load due to machine check exceptions; you could try installing mcelog and see if you get some that are fixed, which might help explain the ones that aren't fixed..02:02
Patrickdkyou need to stress test it, put a good load on it, and see if the voltage is still stable then02:02
PatrickdkI assume no ecc memory? and you check the bios log if you have one02:03
PatrickdkI had a system that was set to reboot on ecc memory errors02:03
shreezbotOne thing I did notice is that after the machine comes back up, the CPU seems to be hot as fuck.  The CPU fans spin up really high to cool it down...02:03
sarnoldshreezbot: that's common when booting, many systems do that; if that's the only symptom of hot cpu, it might not actually be hot..02:03
shreezbotWell, when I check lm-sensors, it is actually over 55 degrees.02:04
sarnoldever been around a mac pro dual g5 tower? damn thing sounds louder than most servers when it boots..02:04
sarnoldBIOS tends to be horrible code that draws surprising power, or so I've been lead to understand. 55 doesn't seem too horrible..02:05
shreezbotI'm just worried that I have a hardware issue with no real way to troubleshoot it...02:05
th3jokerCrikey ever had one of the Mac 2U servers, damn thing is louder than a jet engine02:05
shreezbotSince I don't have a ton of spare parts lying around...02:06
th3joker55 is ok, wouldn't worry about that02:06
shreezbotI'm guessing a bunch of "^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@" in the syslog means that's when it likely restarted, right?02:08
th3jokerCheck your ram that's usually the culprit for random reboots, if you have physical access to the server02:08
th3jokerDownload the memtest ISO and run it if there's a cd drive or dd it to a USB drive if not02:09
shreezbotHow long do those tests usually take to run?02:09
th3jokerAnything from a few minutes to a few hours02:10
shreezbotUnfortunately, this is a production system  :)02:10
th3jokerDepends how much ram you have for starters02:10
th3jokerOut of hours ;-)02:10
shreezbotThis particular machine is a physical box and it has 24 GB02:11
th3jokerI would pull the modules, clean them and then test, you can rule out bad connection and bad ram at the same time02:11
th3jokerSave you running the test twice at least02:12
shreezbotI may have to do that02:12
th3jokerYeah, ugly but gotta be done sometimes02:13
shreezbotWe don't have a lot of Linux in our shop, so I don't know much about it unfortunatley, but we have this ONE app that the vendor insists will only run on Ubuntu...02:13
th3jokerWait this is Ubuntu, there's a memtest built into grub... DOH02:14
th3jokerWhen you boot select the memtest option02:14
th3jokerLol02:14
shreezbotlol, I'll do that02:14
shreezbotI just hope it doesn't take too terribly long02:14
th3jokerYeah it can take a few minutes, not always though02:15
th3jokerLeave it overnight02:15
shreezbotOh, I can't do that02:15
th3joker24/7 access?02:15
shreezbotYup02:15
th3jokeris it hosting websites or db?02:16
shreezbotUnfortunately02:16
th3jokerEtc.02:16
shreezbotdb02:16
th3jokerPants02:16
shreezbotIt is some rules engine db02:16
th3jokerAny failover02:16
shreezbotOf course not!02:16
th3jokerLmao, I love those sort02:16
shreezbotIf they gave me money for failover I wouldn't be awake right now!  :D02:17
th3jokerThey'll be moaning when it dies and you have to wait for new modules02:17
shreezbotYea, and I'll have to worry if they're going to fire my ass when I was the one that insisted that we have failover02:17
shreezbotFor an Operating system that I warned them ahead of time that I don't know shit about...02:18
Patrickdkheh, time to virtualize it02:18
th3jokerEek02:18
shreezbotYea, I'm anxiously looking for an opportunity to get out of this mess...02:19
th3jokerContract it out02:19
Patrickdkthat is one thing I do love about virtualizeation, move the vm's, then take the host down for inspection02:19
shreezbotUnfortunately this is one of two Linux servers in the entire shop, and the other one is physical as well.02:20
shreezbotAnd our virtualization guys won't touch Linux...02:20
shreezbotWindows only...02:20
th3jokerYeah gotta love vm02:21
shreezbotSorry, Hyper-V only...02:21
shreezbot:)02:21
shreezbotHonestly, this experience has given me a newfound love for Linux.  I intend to expose myself to it as much as possible..02:22
shreezbotIt just runs so much better than Windows in the server world.  Windows servers have entirely too much overhead just for the OS02:22
th3jokerUbuntu server is pretty awesome, in fact Linux distros are all awesome02:22
shreezbotI'll agree02:23
shreezbotI've converted all of my machines at home to Ubuntu exept for my gaming laptop02:23
th3jokerSwitched to Linux servers years ago and never looked back02:23
th3jokerI quite like freenas too for home use02:23
th3jokerHave a look if you get the time02:23
PatrickdkI do a mixture of windows and linux servers02:23
th3jokerHas zfs built in which is nice02:23
shreezbotOh, that is cool102:24
Patrickdkubuntu has zfs too02:24
th3jokerYeah but it's not au-naturel in Ubuntu02:24
shaunoworth noting that hyper-v doesn't mean you can't host linux guests; msft list ubuntu 12.04 onwards as supported - http://technet.microsoft.com/library/cc794868(WS.10).aspx02:24
Patrickdkth3joker, why not?02:24
PatrickdkI wonder if the new freebsd release fixed up their zfs stuff02:25
shreezbotshauno, Yea, I know it is supported, and our virtualization guys know that as well, they just don't want to touch it because they don't know anything about it...02:25
Patrickdkcause zfs on freebsd was a lot of issues02:25
sarnoldllnl supports ZoL.. is there a similar Big User of zfs on freebsd?02:26
* Patrickdk is using illumos, pretty happy with it02:27
shreezbotMy primary job responsibility is a z/OS systems programmer and we use zfs for the UNIX system services02:27
dthormanHello I was wondering if anyone else was having issues installing packages in us-west-2 I am getting E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/libe/liberror-perl/liberror-perl_0.17-1_all.deb: 403  Forbidden02:27
shreezbotIt is amazing02:27
dthormanI was also getting that error for some other packages02:27
PatrickdkI was thinking about moving half my systems to illumos, but then though, dunno if I want to package all that software02:27
dthormanthe above 403 occurred while just attempting to install git, it doesn't look like all packages fail but I wasn't sure if anyone had a work around... maybe another package source I could point to02:31
shreezbotIt is weird stuff like this that makes me question my sanity.  I have a cronjob that runs fine when I manually, but when cron runs it, it starts and then just sits there...02:34
sarnolddthorman: thanks, being looked at02:34
dthormansarnold: Ok, thank you :)02:35
sarnolddthorman: us-west-1 ought to work, might be cheaper than jumping to us-east* or mirror.anl.gov ..02:35
dthormansarnold: Ok, I will use that for now02:36
dthormansarnold: is there an ETA on a fix or is there someone who might know?02:37
sarnolddthorman: our guy said it ought to fall back to the main servers within a few minutes, but a real fix will take longer02:39
shaunoshreezbot: that's a very typical problem.  when you run it manually, there's a lot of environment variables (especially the current path) set; when cron runs it, there isn't.  so you need to check your script for such assumptions02:40
BitwiseWill DNS even work if I have mydomain.no-ip.org rather than my very own domain.tld ?02:43
BitwiseAs in could I have to point to my computer and then have mail.mydomain.no-ip.org also point to my computer?02:44
shaunowhat are you actually trying to do?  this sounds a lot like you're trying to solve the wrong problem02:46
Bitwiseshauno, I'm trying to host my own basic mail server.02:51
dthormansarnold: Ok, thanks again!02:52
sarnolddthorman: thanks for the report! :)02:53
th3jokerBitwise: Never tried to run a mail server on a non static ip02:54
th3jokerInternally you would point your clients at the local ip02:54
th3jokerNo need to go external to come back in02:55
BitwiseMy IP is static.02:55
th3jokerWhich mail server are you planning on running02:57
Bitwisepostfix/courier02:57
th3jokerYeah postfix is nice and easy02:57
th3jokerDo you have a domain registered?02:58
th3jokerWith some form of external DNS setup02:58
shaunoI'm not sure I'd use the word 'easy'; trying to run a mailserver on a residential connection is harsh on the best of days02:58
th3jokerNah, I have 80MB fibre here would run a mail server easy peasy02:59
th3jokerNot sure what Bitwise has though02:59
sarnoldshauno,th3joker, I believe Bitwise intends to turn this machine off from time to time too; it'd be best to ask for details before solving problems ;) I got lost though...02:59
th3jokerLol02:59
th3jokerWell that's not really going to work then02:59
shaunoit's not so much the speed, it's that residential isps don't score to well in dns blacklists, since most the mail coming from them is from compromised windows boxes03:00
BitwiseI'm the only one who is going to be sending mail from it. I have a no-ip.org subdomain and I registered an mx record as mail.mydomain.no-ip.org doesn't seem to working as whois lookups fail, as sarnold said earlier.03:00
shaunodo you plan on receiving inbound mail at the same server?03:01
th3jokerWhy set up a mail server to simply send mail for one client, seems a bit like overkill03:01
th3jokerTry zoho and point your domain mx record at that03:02
th3jokerBit like google apps when it was free03:02
th3jokerFree mail server03:03
th3jokerNo need to reinvent the wheel for a single client03:03
BitwiseYes, shauno. th3joker I'm just doing this for the experience.03:03
th3jokerGotcha03:03
th3jokerWell then that's cool03:03
th3jokerYou want an old machine that's on 24/7 for starters03:04
th3jokerThen you can set up your own DNS, nameservers etc, might as well go the whole hog03:04
=== mwhudson is now known as zz_mwhudson
th3jokerWhat's your Internet connection like03:05
Bitwise4MBps down, 10 Mbps up03:07
shaunojust because I know the pitfalls that are coming, I'd step back and make sure you can get 25 in & out first, it's not unusual for isps to block those, which will sink your ship03:07
shaunothen worry about getting local delivery working first; you shouldn't need dns at that stage, as long as you're sending to/from domains listed in postfix as myhostname / mydestination03:09
BitwiseI'm going to be the only one sending mail from the server and I don't plan to receive much mail.03:09
shaunoonce you're happy it's actually functional, is when you need to start look at making it reachable from the outside03:10
shaunoif you worry about the outside before the inside, you'll end up as what I like to call "nigeria's best friend"03:11
BitwiseHahaha. I don't plan to even use this server more than once.03:11
dreweryBitwise are you gonna spam people ? :)03:13
sheptardprolly03:14
BitwiseNo. I'm just doing this for the experience. The one time I'll use it is the first time it works and that will just be a test email to my gmail account.03:14
BitwiseWell I guess I'll show it off a bit so I'll actually probably end up sending more emails.03:15
sarnoldshauno: haha, love that :)03:15
shaunoit'd be funnier if it wasn't true ;)  it seems to be the default configuration for "yay, it works" mailservers03:16
shaunoBitwise: https://help.ubuntu.com/community/PostfixBasicSetupHowto  actually works quite well.  the only change I'd make is that if you're using no-ip, just use your regular hostname as the MX name.  trying to create a 'mail' subdomain will be more trouble than it's worth03:20
shaunobut seriously, watch /var/log/mail.log and be amazed at how quickly the rest of the world wants to use your server too.  hopefully that'll scare you into making sure they can't03:23
BitwiseI'm just trying to get the basics down right now. :p03:25
shaunooh I realise that.  just sharing experience; I'm the only person that uses my mailserver.  a quick grep of my logs shows I've rejected 919 'Relay access denied' in the last 3 hours03:28
BitwiseOhmy..03:28
sheptardshauno: you don't run spamd or anything?03:32
shaunothat's before spamd; that's clients connecting and trying to use my host to send to other hosts.  spamd comes into play once postfix has already decided to accept & deliver03:34
shauno(which is a good thing.  "you're not in my subnet, go away" is a lot less computationally expensive than spamd)03:35
adam007Defered connection refused by 127.0.0.104:26
adam007what i must do ? i want setup sendmail04:27
adam007for php mailing..04:27
adam007any suggestion for this ?04:28
adam007need help :(04:28
Bitwiseadam007, I'm having the exact same problem.04:29
adam007Bitwise did you arleady get the solution ?04:30
BitwiseNot yet.04:30
BitwiseThe immediate problem I'm having right now is logging into postfixadmin04:30
Seven_Six_TwoI'm setting up apache with ssl for a diaspora node, and I see that ssh is listening on 443, blocking apache. Is there a "best practice" for using ssl in this case?04:50
Seven_Six_TwoI don't mind using 22 for ssh, as the port is not forwarded at router04:52
Bitwiseto=<me.mydomain@localhost>, orig_to=<me@mydomain>05:37
BitwiseIt then bounces because status=bounced (unknown user: "mydomain")05:38
BitwiseI remember reading about this. There is a setting for it. I can't remember what it was. :\05:39
Bitwise"yay, it works!!!!!!"05:59
Bitwise"what's a segfault?"05:59
=== j_f-f_ is now known as j_f-f
=== ivoks_ is now known as ivoks
=== geser_ is now known as geser
abzmodeelI'm trying to connect through to a ftpd and it won't work. I'll reinstall distro and always after restart the problem occurs.09:08
TJ-Do you mean the ftpd service on the server doesn't start automatically?09:13
=== thejoecarroll is now known as thejoecarroll_zz
=== thejoecarroll_zz is now known as thejoecarroll
=== Nigel_ is now known as G
=== lool- is now known as lool
=== thejoecarroll is now known as thejoecarroll_zz
=== thejoecarroll_zz is now known as thejoecarroll
=== thejoecarroll is now known as thejoecarroll_zz
=== thejoecarroll_zz is now known as thejoecarroll
=== thejoecarroll is now known as thejoecarroll_zz
=== thejoecarroll_zz is now known as thejoecarroll
=== thejoecarroll is now known as thejoecarroll_zz
=== thejoecarroll_zz is now known as thejoecarroll
=== Pici` is now known as Pici
=== arges_ is now known as arges
=== medberry is now known as Guest5611
=== Guest5611 is now known as med___
med___stgraber, congrats on the LXC 1.0 release. Nicely done.15:30
stgrabermed___: thanks!15:43
=== tgm4883_ is now known as tgm4883
wralehello world.. I'm seeing an issue on Ubuntu 12.04.4 LTS 64-bit, where SR-IOV virtual functions don't appear as expected in 'ip link show'... Instead of getting the VF(s) below the PF(s), I get what appears to be additional PF(s).  Trying to configure them via 'ip link set DEV vf 0 mac aa:bb:cc:dd:ee:ff'  (or anything similar, appears to not work)16:22
fishcookeris there any network manager for command line?16:46
wralefishcooker: there is the network service.. closet thing to what you're asking is probably editing /etc/network/interfaces.. or perhaps the 'ip' command16:48
wrale*closest16:48
fishcookerhow about network manager cli?16:48
fishcookeractually this is wireless network16:50
wralei know of none, but there may be something out ther16:50
rickbeldinsomeone wrote up using network manager with 'nmcli' :  http://arstechnica.com/civis/viewtopic.php?t=116302316:54
rickbeldinexample:  sudo nmcli dev status16:55
rickbeldinDEVICE     TYPE              STATE16:55
rickbeldinwlan0      802-11-wireless   connected16:55
rickbeldineth0       802-3-ethernet    unavailable16:55
fishcookeris it work when the box will functioning as AP, rickbeldin?17:00
rickbeldinNo idea.  I just tried for the first time on my laptop.  ;)17:00
rickbeldinI remembered having seen the command in the past, the result of hitting tab-tab too quickly.  ;)17:01
fishcookerLoL17:01
fishcookerbut thanks for the advice.. cool nmcli17:02
kantlive-hey all. im using 4TB WD drives with 4K advanced format. 512 logical, 4k physical. should i format starting on 2048 or 4096 sector with parted?17:02
bjfstgraber, is --dir not supported with lxc-create?17:08
stgraberbjf: I thought it was when combined with -B dir, but apparently it's not... hallyn ^17:12
hallynsource says "--dir is not yet supported"17:14
hallynYou can however put the whole container somewhere else using -P lxcpath...17:15
bjfhallyn, stgraber thanks17:15
hallynAnother thing tha twould be nice to have is specifiable block device for -B loop.  We actually used to have it...17:17
hallyn(but then what we have *today* is less fragile :)17:17
stgraberhallyn: source says that but the manpage doesn't ;)17:18
hallynHm.  it might be a very simple patch to make it work.17:19
bjfstgraber, $ sudo lxc-start -n test -d17:21
bjflxc-start: Executing '/sbin/init' with no configuration file may crash the host17:21
bjfstgraber, that's kind of disturbing17:21
stgraberbjf: if you used -P with create, you also need to pass -P to any of the commands after that17:22
bjfstgraber, ah!17:22
stgraberbjf: or you can set it locally once and for all in /etc/lxc/lxc.conf (lxc.lxcpath = /your/path)17:22
bjfstgraber, that makes obvious sense now that you pointed it out17:22
hazmatlxc 1.0 !! :-)17:38
hallyngrr.  so saucy kernel doesn't do nesting at all.17:47
hallynsmb: do you have a chart somewhere of your findings on supported qemu nesting combinations?17:47
rostamHi using ubuntu 12.04 server. For testing propose, I would like configure my system after power cycle run an script after finishing the script reboot the system. This should happen only once and during this time no login is allowed.  Is there anyway I can do this? thx19:18
=== TDog_ is now known as TDog
Davieyroaksoax: Hey!  I wanted to check if you intentionally used a different licence for iscpy's debian/* ?19:29
roaksoaxDaviey: hey man! I guess I'm just used to doing GPL+ hen i do packaging. I can change that19:31
DavieyYeah, unless it was intentional.. it can become a pain to differ.. especially if patches start being in debian/patches/19:32
Davieyroaksoax: the extended description does sound a bit sales pitchy... If it were me, i'f tone it down a little.. but just personal taste.19:33
hallynsmb: zul: bug 1283179 is calling for you :)19:34
zulhallyn:  the libxl one?19:34
hallynyeah19:34
roaksoaxDaviey: yeah the description is copy/paste from upstream19:34
zulyeah i know about it19:34
hallynlost our bot?19:34
hallyncool then i'll remove it from my inbox19:34
roaksoaxDaviey: ok I uploaded again! Thanks for reviewing this19:37
Davieyzul: Why are the tests failng in manilla?19:45
Davieyzul: not a blocker, but you have python-keystoneclient and python-eventlet declared twice as deps.  Not sure on the bundled upstream gz files.. but they seem to be windows only.19:46
Davieyzul: Presumably you are MIR'ing this, if so - remove the20:03
Davieyzul: Presumably you are MIR'ing this, if so - remove the || true for the tests, and the duplicate depends.  Accepted.20:03
GrueMasterrostam: oem-config does something like this (although all of the <alt> tty's are still available).20:03
GrueMasterShouldn't be too dificult to create an upstart job that runs before the tty jobs.20:05
hochmeistercan someone help me with this upstart conf: http://pastebin.com/hXS525Ed ?? It's acting strangely. When the logger command in the pre-start stanza is commented, upstart says "Job failed to start". When uncommented I get a classpath related error.20:07
sarnoldhochmeister: sorry, nothing really jumps out, except to notice that $DEFAULTFILE appears to be sourced twice; is that necessary?20:14
=== Guest21723 is now known as daveops
Bitwisehochmeister, CLASSPATH=$CLASSPATH this should be on a separate line.20:51
BitwiseJust kidding, I'm slow.20:54
Bitwisehochmeister, Does $OPTS contain $CLASSPATH?20:55
BitwiseIf not then line 35 should actually be java -classpath $CLASSPATH $OPTS com.nextuc.services.ZuoraOrderProcessor >> /var/log/teamup/services/zuora-order-processor.log 2>&120:56
webfoxHello folks!21:25
hochmeisterHey Bitwise. No, $OPTS doesn't contain $CLASSPATH. Just log4j configuration.21:25
webfoxI need a help in order to set a server DNS because I guess it is not working properly here. I am guetting this message when trying to get-apt update : http://pastebin.com/jWaPd75021:26
webfoxCould someone help me please?21:26
hochmeisteradding that --classpath option as you suggested doesn't have any affect.21:26
hochmeisterThe job still fails to start.21:26
Bitwisehochmeister, -classpath not --classpath21:27
hochmeisterno output to the upstart log, only "start: Job failed to start" to stdout.21:27
hochmeisterBitwise: that's what I meant.21:27
guntbertwebfox: what does   dig br.archive.ubuntu.com   say?21:27
hallynsmb: ok so certainly saucy kernel - on either precise or kernel userspace - cannot support nested kvm21:27
Bitwisehochmeister, Open terminal to the proper directory and run (obviously handling the variables accordingly): java -classpath $CLASSPATH $OPTS com.nextuc.services.ZuoraOrderProcessor21:28
hochmeisterBitwise: this works as expected with and without (CLASSPATH set in the environment) the classpath option.21:29
hochmeisterthe issue is that logger command on like 2521:30
hochmeisterwhen commented the job fails to start. When uncommented, I see the expected message in syslog.21:30
BitwiseWhat happens if it's uncommented? Does the Java program run?21:33
hochmeisterno because it's not picking up the variables sourced in the defauls file.21:33
webfoxguntbert: http://pastebin.com/xQz5eKDH21:35
hochmeisterBitwise: if I specify the classpath as so, it doesn't complain about not able to find the namespace but I need other values from the environment for the java service to run correctly.21:37
guntbertwebfox: really looks like misconfiguration - does  dig br.archive.ubuntu.com @8.8.8.8  work?21:37
webfoxguntbert: no, same thing21:38
=== med___ is now known as med_
Bitwisehochmeister, Try  reading the DFEAULTFILE between the logger and Java invocation. Another words it will be in there 3 times.21:38
guntbertwebfox: same thing?  try ping 8.8.8.821:38
GrueMasterwebfox: Is there a proxy that you are missing, or an external DNS server you are not connecting to?21:39
Bitwisehochmeister, I'll brb for a moment. I just have to reboot my machine.21:42
hochmeisterBitwise: ok21:43
hallynsmb: whereas a precise kernel works splendidly21:44
hallyn(on the same box with precise userspace)21:44
webfoxguntbert: ping: unknown host @8.8.8.821:44
guntbertwebfox: without @ :-)21:45
webfoxGrueMaster: not sure man.21:45
webfoxguntbert: From 192.168.1.100 icmp_seq=1 Destination Host Unreachable ... and ...21:45
GrueMasterTry a simple ping to google.com.  If it works, there are other issues.  If not, you aren't getting an external DNS connection.21:45
guntbertGrueMaster: no DNS seems to be available for webfox now21:46
webfoxyes, no DNS21:46
guntbertGrueMaster: not even ping21:46
guntbertwebfox: does your machine have a valid IP address?   ip ad    will tell you21:47
webfoxWhen the Ubuntu 13.10 (not server, the host) sleeps it stops the internet connection I guess and it is causing vBox to crash.21:47
webfoxguntbert: ip ad?21:48
guntbertwebfox: it was meant as a command to be typed - therefore  the spaces21:49
webfoxguntbert: -bash: ip: command not found21:49
hochmeisterBitwise: funny, with the pre-start stanza commented out it works as expected: http://pastebin.com/2gta6w3J21:50
guntbertwebfox: what version of ubuntu are you running? paste the output of    lsb_release -a21:50
Bitwisehochmeister, all the variables are also being exported manually.21:51
webfoxguntbert: http://pastebin.com/cbXhtNzB21:55
webfoxguntbert: sorry, was my mistake. I had lost the shh connection.21:55
guntbertwebfox: :)21:55
webfoxguntbert: \o/ what?21:56
webfox:)21:56
guntbertwebfox: please paste the output of    ip r   right into the channel (should not be more than 3 lines)21:57
webfoxguntbert: http://pastebin.com/921VAKkD21:58
guntbertwebfox: now try ping 192.168.1.254 (no need to paste the result, just tell me if it works)21:59
hochmeisterBitwise: what's funny is, if I uncomment the pre-start stanza and comment out the test on line 23 it works. If I uncomment that test it fails to start, even though the logger command on line 25 clearly shows that the value of $ENABLED is not zero-length.21:59
webfoxguntbert: it is also happening : "userver@Userver:~$ Write failed: Broken pipe" from time to time and when I try to reconnect it refuses.22:00
Bitwisehochmeister,  [ -z "$ENABLED" ] && { stop; exit 0; } Shouldn't that be an if block?22:01
BitwiseThe && doesn't short-circuit because ENABLED is true.22:01
guntbertwebfox: did you restart the guest already? what network mode did you select?22:02
webfoxguntbert: bridged22:02
BitwiseIs this true? https://discussion.dreamhost.com/thread-97931-post-98160.html#pid9816022:03
guntbertwebfox: and 192.168.1.254 is the real router (you use it with your host too?)22:03
BitwiseDoes that mean I MUST have my own domain name to have a mail server?22:03
hochmeisterBitwise: I just made it so and it works as expected. I adapted that solution from the upstart cookbook: http://upstart.ubuntu.com/cookbook/#pre-start-example-debian-and-ubuntu-specific22:04
webfoxguntbert: it is the router, but it is a wireless router plugged into a ADLS modem22:04
BitwiseRight now I'm trying to have my own basic little mail server from mydomain.no-ip.org22:04
guntbertwebfox: so your host is conneted only via wifi? did you bridge to the correct interface?22:05
guntbert*connected22:06
webfoxguntbert: from ping 192.168.1.254 : From 192.168.1.100 icmp_seq=13 Destination Host Unreachable22:06
guntbertwebfox: yes, you said that before (I assume this is from the guest)22:07
webfoxguntbert: no, this computer is connected via cable.22:07
webfoxguntbert: to the wifi router, because the computer has no wifi.22:08
Bitwisehochmeister, Tbh, I don't know. I'm not the best with this kind of scripting.22:08
hochmeisterit's cool. I got it working now. Thanks for the assist.22:08
webfoxguntbert: yes, the gest looses connection.22:10
guntbertwebfox:  I see - doesn't matter then - lets just confirm a few things: host:ubuntu, using eth0 with 192.168.1.(something) and guest ubuntu server, using eth0 with 192.168.1.100, bridged to eth0 on the host22:11
webfoxguntbert: exactly22:12
guntbertwebfox: looks a little more like a vbox problem after all - step 1) disable the virtual NIC, check if it is correctly bridged, reenable it  step 2) shut down the VM, start it again   step 3) shut down the VM, restart the host, start the VM again22:15
guntbertof course you need the further steps only if the previous don't help22:16
guntbert:-)22:16
webfoxwhat is the virtual NIC?22:16
guntbertwebfox: in the settings of the VM22:17
webfoxguntbert: couldn't find this NIC, but the Network setting seems alright (same I've used in previous versions of Ubuntu). The only consideration I never realized is the Adapter Type I should use, so I always used the default which is Intel PRO/1000 MT Desktop (82540EM).22:21
webfoxI will be restarting everything now..22:22
guntbertwebfox: looks sane22:22
webfoxok, everything is donne.22:23
webfoxguntbert: here is the Network setting image : http://imgur.com/dFRNWfi22:28
webfoxguntbert: is there anything I should do now?22:29
phunyguyhey folks, I am trying to follow https://help.ubuntu.com/lts/serverguide/postfix.html, and the portion under "Configuring SASL" mentions to look for "auth default" section in /etc/dovecot/dovecot.conf and change some stuff... problem is, the /etc/dovecot/dovecot.conf that it pulled in, has no such thing.  I am confused... :(22:30
guntbertwebfox: looks good - just test - from the guest   ping the host, ping the router, ping 8.8.8.8 (the latter only if the previous works)22:30
webfoxHOST : From 192.168.1.100 icmp_seq=1 Destination Host Unreachable, GUEST : 4 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.416 ms (OK!), 8.8.8.8 same as the host22:32
webfoxThe only working it the Guest22:33
webfoxNo, I am laying. Host it is IP is 192.168.1.102 (and is working from ping), the client is working as well (192.168.1.100) but nothing else works. The router 192.168.1.254 or 8.8.8.822:35
phunyguynevermind! :)  https://bugs.launchpad.net/serverguide/+bug/101854822:38
phunyguylooks like a bug I can actually fix myself22:38
webfoxSo, Host IP = 192.168.1.102 (and pinging), Client IP = 192.168.1.100 (pinging as well, itself), the wifi router (with cable et0) = 192.168.1.254 (unreachable) AND Google DNS 8.8.8.8 (unreachable as well).22:39
guntbertwebfox: if the host cannot reach the router the the VM can neither - sorry  I have to leave now, I was hoping to get you going22:41
webfoxFile /etc/resolv.conf is like "nameserver 192.168.1.254" (wifi router) and "search RTKAP"22:42
webfoxguntthe host CAN reach the router.22:43
webfoxguntbert: sorry, the host can reach the router.22:43
webfoxguntbert: ok, thank you very much man!22:43
webfoxPerhaps someone could follow helping me please?22:44
guntbertwebfox: was not really successful - as for the next steps: try to get ping working, DNS comes later22:44
guntbertg'night22:44
webfoxguntbert: g'night!22:46
webfoxGood point ther, how come ping is not working, even with real IP addresses. :P22:46
Bitwisepostfix: Recipient address rejected: User unknown in virtual mailbox table;23:05
BitwiseMy alias table clearly has a catchall (@mydomain.no-ip.org)23:06
=== keithzg__ is now known as keithzg
=== medberry is now known as med_
=== freeflying is now known as freeflying_away

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