/srv/irclogs.ubuntu.com/2014/07/12/#ubuntu-server.txt

SuperHello. I am having trouble with upstart. I don't know how to find the PID of a program Upstart started.01:13
sarnoldSuper: see e.g. "sudo status atd"01:17
SuperThanks.01:18
SuperThe program I need to restart/start/stop starts using upstart but it is not in sync with /etc/init.d/program but the pid of /etc/init.d/program is correct. it points to /var/run/program/01:19
SuperWhat I want is to sync Upstart and Init.01:19
SuperFor this specific program.01:20
SuperSomehow the PID aren't in sync between Upstart and Init.01:22
=== Super is now known as SuperHeroINTJ
atpa8ahmm02:52
atpa8awhat's the correct way to configure both untagged vlan and tagged vlan on an interface?..02:52
atpa8ahmm02:54
atpa8aboth eth0 and eth0.1 get ip config?...02:54
dustinspringmanso... i'm trying to finish up my VPN aggregation server... and I've got all my routers that connect to the 14.04 server up and running... the only snag I've hit is getting my 12.04 server to route to all my routers via the 14.04 server.. anyone got some time to help me pinpoint my issue? Tunnel from 12.04 server to 14.04 server is UP.. Route shows UP.. Can ping from 12.04 to 14.04 and vice versa... just can't reach 103:00
TrudkoGuys I have ubuntu server in production and I would like to copy it easily to my testing environment any tool to do it?05:42
=== Kurzweil_ is now known as Kurzweil
lordievaderGood morning.08:02
ashdHave an issue with 14.x LTS hanging after/on “random: nonblocking pool is initialized done.” during boot,  File systems are clean. trying various routes I have re-formatted swap, configured grub into console mode - It is a ESXi container which had an accidental hard shutdown, but that might not be the issue as i had not rebooted since the last update. What would be the next event after "random: nonblocking pool is initialized”10:22
ashdit looks like this…  http://screencast.com/t/GaIaYBMh710:27
=== RoyK^ is now known as RoyK
vedicI am looking to use 12.04 LTS 64bit server for production use. This production environment will have 16 core process, 16 gb ram, 300 gb raid 1 hdd and panel to create virtual machines on it. As i read this link, it makes me feel like Ubuntu server is wrong choice: http://www.reddit.com/r/linuxadmin/comments/15lmqi/alright_whats_really_wrong_with_using_ubuntu/10:46
histovedic: what panel?10:47
vedichisto: virtualization via VMWare10:47
histovedic: is there a question there?10:49
vedichisto: Why ubuntu is not a good choice? Is it biased towards other OSes or its really true10:49
histovedic: Is what biased?10:49
vedichisto: http://www.reddit.com/r/linuxadmin/comments/15lmqi/alright_whats_really_wrong_with_using_ubuntu/10:50
cfhowlettvedic I'm not an admin, but after scanning the article, couldn't the same be said of - well - ANY distro?10:50
N0DE`vedic ...depends on what you wanna do ...10:51
vedicNODE`: like what10:51
N0DE`my company had to switch from Ubuntu to Centos ...because we prefer stability, predictability over edge / updates10:52
N0DE`we deal with dozens of cassandra servers, some virtualized in xen ...currently moving into cloudstack too10:52
N0DE`Ubuntu is still one of my fav OS to play around with things... because of its large packages and stuff.10:53
histoN0DE`: what kind of release cycle does centos have?10:53
histoN0DE`: that offers more stability that its10:53
histos/its/is?/10:53
N0DE`Centos do not update libraries too frequently ... thats why their repos are way behind and most of the time you have to do self compilation on trying out new things.10:55
N0DE`i still remember centos 6.5 still being on python 2.6 libraries for example10:55
histoN0DE`: lts versions of ubuntu are supported for 5 years10:57
N0DE`nonetheless ... seasoned admins ... should be well aware before applying updates and know what they are updating... the convenience of apt-get dist-upgrade as such created alot of complacent admins ...not really understanding what they are updating and then complains.10:57
histotrue10:57
N0DE`:P11:00
N0DE`i have a fair share of nightmares running centos as well .... so i would just say, go with what you a comfortable and familiar with.. and look through on the level of difficulty to achieve the setups / softwares you will be running11:01
N0DE`there is no one size fits all IMHO11:01
=== N0DE` is now known as CripperZ
MACscrhmm, got a server where the udev names dont seem to have been applied to my network interfaces after a reboot. Any suggestions?13:05
MACscrim running 14.0413:06
dustinspringmananyone around familiar with pptp routing?14:03
RoyKimho pptp should be shot in the neck and dumped on deep water, but that's another story :P14:07
fabskeHelo14:08
fabskeI have a big problem14:08
fabskewith our server14:09
=== PaulePanter is now known as google-panther
=== google-panther is now known as PaulePanter
fabskeI have installed ubuntu server 12.04 on a 250gb harddisk14:12
fabskeno i have a new harddisk, 3TB14:12
fabskeso i changed the harddisks and installed ubuntu server 14.04 64bit14:12
fabskebut i cannot go online with it :(14:12
fabskethe ethernet adapters are em1 and p4p114:13
fabskei copied the /etc/network/interfaces from the old harddisk to the new one14:13
fabskebut i cannot set up a network connection14:13
RoyKfabske: 14.04 uses bios names for the ethernet adapters by default14:15
RoyKfabske: guess your old interfaces file had names like eth[01]14:15
fabskeyes14:16
fabskeand i already tried to change them to p4p114:16
fabskeeven following does NOT work:14:16
fabskeauto p4p114:16
RoyKifc  14:16
fabskeiface p4p1 inet dhcp14:16
fabskeit does not get an connection..14:17
fabskeifc?14:17
fabskeRoyK, what can I do?14:19
RoyKpastebin ifconfig -a14:21
RoyK!pastebin | fabske14:21
ubottufabske: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:21
RoyKthat may be a little hard without a network connection, though :P14:22
fabskei can just copy the text manually..14:24
RoyKfabske: two NICs? is that for routing/firewalling?14:24
RoyKand if so, are you sure which is which?14:25
fabskei am sure!14:25
fabskeand now it works!!!14:26
fabskei can ping my laptop!14:26
RoyK:)14:26
RoyKwhat was wrong?14:26
fabskebut i cannot ping web.de14:26
fabskei am sure it changed eth1 to p4p1 last week and tried..14:26
fabskethis time i did again and now it works..14:26
RoyKnot all websites allow ICMP ECHO14:26
RoyKI can't ping web.de eitheer14:26
RoyKoh14:27
RoyKI can14:27
fabskenow i need to add nameservers14:27
fabskehow can i add the nameservers?14:27
RoyKfabske: normally 'dns-nameservers' in the interface block in interfaces14:28
RoyKand dns-search for listing search domains14:29
fabskei have a bridge br014:29
fabskein my interfaces14:29
fabskeit is ok to add it there?14:29
fabskeuntil now it wasnt there14:29
RoyKdo you need a bridge?14:38
RoyKif not, why is it there? ;)14:38
fabskei need a bridge14:43
fabskebecause i have virtual servers their14:43
fabskeok, it works! :)14:43
fabskebut i cannot connect by ssh :(14:43
RoyKfabske: pastebin output of ifconfig14:53
xopHello. I am hosting a website behind a nat router and i tried port fowarding port 80 to the hosting server but all http request from all devices from my network ended up going to the server (all 404ed). How can I get around with this?15:12
TJ-xop: The router should only port-forward port 80 TCP arriving on the public interface, not on the private interface(s)15:19
xopsorry for sounding like a noob but i cannot see that option on web-based router config15:20
xopwhat category might tha comes under15:20
TJ-xop: Sorry, can't help you there, best to read the manual15:21
dustinspringmanalright fellas, I'm stumped on a pptp routing problem...15:32
dustinspringmanIve got 14.04 pptp server.... I have 12.04 connected to it... I also have about a dozen routers connected to it... 14.04 can ping all the remote LANS... 12.04 cannot reach remote lans... LAN's can't reach eachother..15:34
dustinspringmanwhen I do a tcpdump -i ppp0 icmp and run a ping from 12.04 to XYZ Lan, I see the traffic coming into the 14.04.. buuuut.... what appears to be the issue is that locally on the 14.04 routing is working, but the forwarding (although its enabled) is not.. its trying to forward packets out the eth0 instead of the appropriate pppX of the LAN it is destined for..15:36
dustinspringmani thought about POSTROUTING MASQ rules, but I don't want to masq traffic between LANs, I need it to be purely routed..15:37
CripperZi definitely will be banned, but for those who dont understand what is happening Israel / Palestine, watch this summarize animated video. Ignore it and you be as good as killers. Imagine China conquers islands of PH, Malaysia, Japan and u go thru the same exact war - https://www.facebook.com/photo.php?v=339032919583669  ...remember nothing is impossible, just like Russian annexed Crimea.15:37
TJ-dustinspringman: Have you scrutinised the routing tables of the 14.04 server to ensure all subnets are unique?15:41
dustinspringmanTJ-: yes, numerous times.. from the 14.04 I can reach all remote LANs.. its something with the LAN-14.04-LAN forwarding or firewall or something... I see the packets from LAN1 destined for LAN2 in the 14.04 on a TCPdump, just dies out on th 14.04 as if its blocked or has no route..15:42
TJ-dustinspringman: the 12.04 host is a PPTP client connecting to a 14.04 PPP interface?15:43
dustinspringmancorrect15:44
dustinspringmanand I can ping from 12.04 to 14.04 on the vpn subnet15:44
TJ-dustinspringman: have you done a tcpdump on the target host to see if the packets arrive there? I've seen this many times where the remote host doesn't have a route for the return path and thus no replies arrive. You're sure the packets are going astray on the PPTP server before being sent out?15:44
TJ-dustinspringman: can you pastebin "ip addr && ip route ls table all" ?15:45
dustinspringmanTJ-: from which host?15:46
TJ-dustinspringman: sorry, on the PPTP server15:46
dustinspringmanyeap15:46
dustinspringmanTJ-: one sec15:46
dustinspringmanhttp://pastebin.com/MqHkWWzp | checking on the remote LAN interfaces to see if packets are arriving now..15:48
TJ-dustinspringman: which subnet is the 12.04 host in?15:48
dustinspringmanTJ-: Only the PPTP assigned subnet of 172.31.254.0/24.. specifically .19915:49
TJ-dustinspringman: so, ppp4 ?15:50
dustinspringmanthat server has no LAN hosts, so I have nothing to route back to it aside from snmp and icmp traffic.. so the 12.04 effectively connects to the 14.04 to look at the remote LANs for monitoring... (just a looking glass, not a participant in any lan functions)15:50
dustinspringmanTJ-: correct, ppp4 as of now (those are assigned dynamically in the config FTR)15:50
dustinspringmanTJ-: waaaaaaaaiiiiittttttt a minute...... WTH... i've not changed anything and it's working now..... what in that actual f#ck.!15:52
dustinspringmani'm reaching 172.16.199.0/24 subnet from the 12.04 now without issue....15:52
dustinspringmanTJ-: Ah ha! You were right sir!! It was the return route issue!! the others don't have the return route yet, only the x.x.199.0/24 does! that appears to be the common denominator!15:53
TJ-aha! seen that so many times I've learned to check that first :)15:53
dustinspringmanTJ-: ya know.. i should have known that.. .I've run into that before.... I just completely spaced it!! Been working on this for hours!15:55
TJ-Yup, that's happened to me... the 'clues' from the server are deceiving15:55
dustinspringmanTJ-: I gues sometimes you just need a fresh pair of eyes! Thanks for the help man!15:55
TJ-I generally tcpdump the outgoing interface to ensure packets are heading to the target, and if nothing comes back, I'm pretty sure its a routing issue at the far end15:56
dustinspringmanTJ-: indeed! very deceiving because it acts like a firewall issue.. doesn't give you crap.. it would be nice if there was some sort of "no route to host" message spat back at you like "no return route from host".. I guess there's probably issues with doing that or the ITF would have done it by now...15:56
dustinspringmanTJ-: that's right were I was in my debug when I jumped on here... You just sped me up quite a bit15:57
TJ-dustinspringman: I assume the target was routing the replies out on its default interface ... as it ought to ... and therefore the next-hop router would be the one saying "no route to host"15:59
dustinspringmanTJ-: true true.. or on some ISP's, where they use 172's for management, I could have been sending packets to a device or network that exists but is firewalled... I've done that before too.. Worst is when the devices on their network respond to icmp but have no discernable services open that can tell you what the damn thing is! That's always fun trying to figure out "is that mine? no, thats not mine, is it?"... had th16:01
TJ-:)16:02
dustinspringmanTJ-: Thanks again for the help man, I'm gonna take a break for a bit then finish adding the routes to the remote lans. Take it easy man16:22
=== CripperZ is now known as CripperZ-
=== DalekSec_ is now known as DalekSec
RoyKdamn dihydrogenmonooxide21:18
RoyKmakes us die21:18
bekksWe need to prohibit it, actually.21:20

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