/srv/irclogs.ubuntu.com/2014/06/04/#ubuntu-server.txt

bannaapiebut at least he keeps the windows users away from my office00:01
=== Sachiru is now known as Guest9558
=== Sachiru_ is now known as Sachiru
=== thesheff17_ is now known as thesheff17
=== broder_ is now known as broder
=== brian is now known as Guest6283
=== n2deep_ is now known as n2deep
sudormrfhey guys!  anyone around to help out with a BIND and/or DHCP setup?  I have been working on it quite a bit and things don't seem to be working quite right.03:02
Armadillossudormrf: What's the issue?03:15
sudormrfArmadillos, thanks.03:15
sudormrfI am working on setting up a new server at home.  I am starting off by setting things up in VMs to test things out before pulling the trigger.  Most of the other things should go fine, but I seem to be having issues with dhcp/bind (not sure which is causing the problem).  I have a server and client VM setup, both using host only for their network.  The server is providing ip addresses to the client via DHCP and the client is getting and u03:15
sudormrfsing that address, however the info in the resolv.conf for the client is not populating correctly.  It is not receiving the nameserver or search domain from the server.  Looking in syslog I am seeing an error that says "forwardmap from servertest.mydomain.local to 172.16.30.128 FAILED:  Has an address record but no DHCID, not mine."  sort of flummoxed at this point03:15
ArmadillosHmm...03:16
sudormrfArmadillos, the strange thing is the client has occassionally gotten the correct info.03:18
sudormrfthen I shut the server down and shut the client down03:18
sudormrfstart the server back up03:18
sudormrfthen the client03:18
sudormrfand it stops getting the right info03:18
ArmadillosO.o03:18
sudormrfyeah.  it's strange03:19
ArmadillosCan you paste your dhcp config file so I can take a look?03:19
sudormrfArmadillos, sure.  give me a sec.  the vm doesn't let me copy and paste to and from it to the host, so it will take a sec.03:20
ArmadillosNP.  Make sure you use a paste website, and not drop it all into IRC. :)03:20
sudormrfheh.  of course :D.  sec.03:21
sudormrfArmadillos, can you think of any other configs you may want to look at while I am at it?03:25
ArmadillosLet's go off of that right now.03:26
sudormrfok  I grabbed everything else for now.  I will PB them all and just save the links :D03:30
ArmadillosK03:32
sudormrfjust saw a different error in the syslog on the server: unable to add forward map from servertest.mydomain.local to 172.16.30.128: SERVFAIL03:32
sudormrfhere is the dhcpd.conf http://paste.ubuntu.com/7584708/03:34
ArmadillosOn your client VM, is it running like a server (no GUI), or do you have a full GUI in place?03:39
sudormrfthe client is ubuntu desktop :)03:40
ArmadillosAre the network settings being controlled by Network Manager?03:40
sudormrfthey are indeed03:40
sudormrfno changes have been made to NM03:40
ArmadillosBecause network manager will set resolv.conf to 127.0.0.1 normally, and it will use a DNS Masq to use a "local" DNS server03:41
sudormrfwell, one.  I commented out the dnsmasq line so I could verify if it was receiving the nameserver03:41
ArmadillosYour /etc/resolv.conf, is it pointing to 127.0.0.1?03:41
ArmadillosAhh,, Okay.03:41
sudormrfcommented that out :D03:41
sudormrfyeah03:41
ArmadillosWhat is in your /etc/resolv.conf file?03:41
sudormrfnow?03:42
ArmadillosWhen the machine boots up and gets it's DHCP address.03:42
sudormrfah.  in that case nameserver 172.16.30.1, search localdomain.  what I am expecting to see (and have seen a couple times) is nameserver 172.16.30.128, search mydomain.local03:43
ArmadillosAnd you have bind running on that IP?03:43
sudormrfon 128? yes03:45
sudormrfjust checked the status and it says it is running03:45
* Armadillos scratches head03:46
sudormrfyeah it is a head scratcher :S03:47
ArmadillosI wonder if it's because you have the same IP address listed twice in the "option Domain-name-servers" area.  Have you tried it with just one?03:51
axisyswhat's equivalent to this command to check only the installed pkgs03:51
axisysapt-cache rdepends libgnutls26 | grep -v lib03:51
Armadillosaxisys: The #ubuntu channel would probably be able to answer that better, as more active people are there.03:51
sudormrfArmadillos, I have tried it with just one.  didn't resolve the problem :(03:52
sudormrfI can try it again if you think it would help03:52
ArmadillosTry it and see... I think you're right on this, but it's a "hunch" at this point...03:53
sudormrfok03:58
sudormrfjust did a TCPdump (haven't commented it out yet)03:58
sudormrfperhaps this will be helpful?03:58
ArmadillosIt's possible.04:01
sudormrfhttp://paste.ubuntu.com/7584864/04:11
sudormrfthere it is04:11
ArmadillosHmm...04:18
ArmadillosI'm baffled at this one...04:18
sudormrfArmadillos, interesting.  so I tried this: http://pastebin.com/GdEsyECZ and the client picked things up just fine04:24
sudormrfuncommented out those lines and it broke again04:24
sudormrfprobably something with the ddns updates04:24
ArmadillosPossibly.04:25
sudormrftrying something else now.04:27
sudormrf:D04:27
sudormrfjust did this: http://pastebin.com/EbCvHJgN04:27
sudormrfand it worked again04:27
sudormrfhmm04:27
sudormrfmaybe it's bootp04:27
sudormrflooks like the booting and bootp lines may be the culprits04:34
ArmadillosInteresting.  Bootp isn't really used anymore04:41
sudormrfannddddddddd that wasn't it04:44
sudormrfsomething is really strange here04:44
sudormrfI have to go.  be back later04:52
explodesI have a server blade with an /etc/network/interfaces configured for eth0 to have a static ip address, but it was meant for a different network, and now i need to "undo" that.  If I have "auto eth0" and "iface eth0 inet dhcp" shouldn't it be back to a normal configuration?05:20
explodeseth0 has no ip after a reboot, so its clearly messing up some where.05:20
explodesnever seen NO ip address what-so-ever show up in ifconfig..05:24
PryMar5670 persistent network rules05:31
PryMar56udev05:31
explodesI plugged the ethernet wire into the wrong port.05:31
PryMar56that should job memories05:31
explodesWow05:31
=== tsimpson_ is now known as tsimpson
=== smb` is now known as smb
arcskyhow do i disable this services ? tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      2202/107:38
jpdsarcsky: Find out which PID it belongs to.07:53
arcskyyeahpla: its 2202 aas u can see there08:00
arcskybut i want it permant close it08:00
jpdsarcsky: Right, so you have to do: ps aux | grep 220208:03
arcskyjpds: sure08:06
arcskyarcsky      2202  0.0  0.0 105632  2084 ?        S    09:18   0:00 sshd: arcsky@pts/108:08
xperiaHi All. I just installed MAAS on my ubuntu Server. I want to use Maas with several Diskless Server Nodes to increase my Proccessing Power. My question is how can i turn On the Diskless Server over PXE with MAAS?08:11
jpdsxperia: IPMI?08:14
xperiajpds: thanks a lot for the answer. will look into it.08:15
=== Tm_Tr is now known as Guest17709
=== Guest17709 is now known as Tm_Tr
PupenoAny ideas why chmod would not find a sub-directory when running recursively? http://serverfault.com/questions/601709/why-would-chmod-give-no-such-file-or-directory-when-running-recursively10:16
=== Lcawte|Away is now known as Lcawte
=== NCommand` is now known as NCommander
=== NCommander is now known as Guest10479
cloudmanHi, can I do away with php 5.5 and use an earlier version without too much hassle11:21
cloudmanWHMCS are not up to speed11:21
cloudman14.0411:22
rbasakjamespage: bug 1068756 just appeared in our triage list. I think all the arguments are exhaustively discussed in the bug. How do you feel about a UOS session to just make a decision?11:58
uvirtbotLaunchpad bug 1068756 in procps "IPv6 Privacy Extensions enabled on Ubuntu Server by default" [Undecided,Confirmed] https://launchpad.net/bugs/106875611:58
=== psivaa is now known as psivaa-lunch
=== Guest10479 is now known as NCommander
=== NCommander is now known as Guest44676
=== Guest44676 is now known as ncommander
=== ncommander is now known as NCommander
Teduardois there an ubuntu specific openstack channel?12:24
rbasakTeduardo: I don't think so. This is the best channel for Ubuntu Server + Openstack discussion.12:25
Teduardoah, okay. I had a very strange issue with LVM yesterday brought on by cinder doing multiple lvcreates and it turns out it's related to the custom udev rules that ubuntu uses.12:26
Teduardois there any way to avoid that sort of thing?12:26
cfhowlett!stackk|Teduardo12:28
cfhowlett!stack|Teduardo12:28
cfhowlett!openstack|Teduardo12:28
Teduardouhh, sure12:29
cfhowlettTeduardo sorry, I tried.12:30
Teduardocfhowlett: what did you try?12:35
cfhowlettTeduardo looked for the openstack channel.  not found.  sorry12:37
Teduardoohhhh12:37
Teduardookay, yeah i guess it's not really an openstack issue i think it's more about lvm and udev in ubuntu12:37
=== psivaa-lunch is now known as psivaa
shreddinghow can i remove everything from the screen in terminal?13:41
Cyberspiritclear13:42
Cyberspiritor cls13:42
xperiaHi. What for Software/Solution can be used on a Ubuntu Server to melt the CPU's of several Disk less Computer with one Ubuntu Server Computer.13:42
xperiaIdeal would be if the CPU System Information would then show 1 Processor with X available Cores as one Computer instead  X Processors with 1 Core on X Different Computers.13:42
shreddingCyberspirit: I mean that it’s no longer scrollable13:42
shreddingAnd more important: Searchable.13:42
Cyberspirityou would want to look at your logs and clear the logs for bash13:42
Cyberspirithttp://askubuntu.com/questions/191999/how-to-clear-bash-history-completely13:43
shreddingI don’t mean searchable with ctrl-r13:44
shreddingMy terminal has endless scrolling.13:44
Cyberspiritmight want to ask someone else here13:44
Cyberspiriti'm curious myself :)13:44
shreddingOkay.13:46
shreddingThe problem occured when i wanted to recursively grep all log files.13:46
shreddingMaybe you know a solution for that:13:46
shreddingI have different folders (nginx, app etc.)13:46
shreddingThey have various files and older files are gzipped.13:47
shreddingI want to cat all files recursively excluding gz.13:47
shreddingto grep for a specific word.13:47
rberg_shredding: how about something like "find /var/log ! -iname "*.gz" | xargs grep 'some term'"13:54
shreddingI ended up with find . ! -name '*.gz' -exec grep 'preview' {} \+13:54
shreddingWhat’s the difference between iname and name?13:55
shreddingI google it.13:55
rberg_may I suggest man :)13:55
yossarianukhi - does mdraid support discard (for SSD RAID) in ubuntu 12.04?13:56
yossarianuk I can use fstrim with md raid'd ssd  - just want to know if discard works with mdraid?13:56
TJ-shredding: If you pass the results of 'find' as arguments to grep, grep will report the filename too, as in "grep 'preview' $(find ......)"13:57
TJ-shredding: specifically "grep 'preview' $(find /var/log/ ! -iname '*.gz')"13:58
shreddingTJ-: That’s awesome13:59
shreddingbecause, then i can pipe the outcoume to another grep.13:59
rberg_yossarianuk: trim support was added to md in linux 3.714:01
yossarianukrberg_: thanks - I know trim is added14:02
yossarianuki.e I can use fstrim on a cron job.14:02
yossarianukjust wondering is 'discard' should work - i.e auto trimming...14:03
yossarianukor if I still need to setup a cron job.14:03
=== alexisb_out is now known as alexisb
tych0hi smoser, is there any reason filters for the simplestreams glance mirror aren't configurable?15:06
smoseri suspect bcause it was written before there were filters15:06
smoserso no.15:07
smoserand patches most definitely welcome.15:07
tych0ok, sounds good15:07
nashantHey. I've just installed server 14.04 and it gets part way through booting and then the console hangs (init: plymouth-upstart-bridge main process ended, respawning). But SSH still works. I've tried adding noplymouth to grub defaults but no joy. Any ideas?15:10
Teduardohmm, running this command: add-apt-repository cloud-archive:icehouse gives me: Error: 'cloud-archive:icehouse' invalid is there any way around that?15:40
tych0smoser: so there is some question about how exactly this should work15:41
tych0do you want to integrate GlanceMirror with ObjectStoreMirror (i.e. require an object store) so that you get all the reference countign stuff and such?15:42
tych0or should i just implement the filters in GlanceMirror and leave it to be its own beast15:42
smoseri think probably just do filters15:44
tych0ok15:45
nashantHey guys. I don't suppose anyone has got xbmc working on 14.04 server have they?16:20
fridaynextwhat's the command to get in my email inbox using mutt? the accounts are all in /home/vmail/domain/user/Maildir16:56
fridaynexti've read man mutt and i can't figure it out16:56
smss1995Hi everybody,17:35
smss1995I couldn't ssh localhost in the server ...17:35
smss1995Can anybody help me?17:35
smss1995Note that, I get "leaking memory" at changing root password ...17:36
smoserhey. random query...17:46
smosermynetwork has been a bit less than reliable lately.17:47
smoseri want to run something that logs the status of my connection, ideally only showing state changes. but basically showing if a.) i can ping a host or series of hosts b.) i can hit a web site.17:47
smoseri can write something, but i'd rather not if i dont have to.17:48
smoseranything available that i can run ?17:48
MonotokoI can't seem to figure out how to get bind on my 14.04 server, I've tried to the usual "apt-get install bind9" but it's saying there's no installation candidate17:59
Monotokoeven the installation guide suggests what I've already done: https://help.ubuntu.com/14.04/serverguide/dns-installation.html18:00
Monotokohere's what I have in my sources.list: http://pastebin.com/x0J0KZ5t and here's what I get when I try to install it: http://pastebin.com/vbKkvFQW18:18
sarnoldMonotoko: have you run an 'apt-get update' with that apt sources.list yet?18:20
* Monotoko facepalms18:21
Monotokothank you sarnold18:21
MonotokoI've been working with CentOS for too long18:21
sarnoldhehehe :)18:22
sudormrfArmadillos, you around?20:30
sudormrfArmadillos, interesting turn of eventsw20:35
shinobi_oneanyone know if it's possible to use nfs4 without exporting /export with fsid=0, like i just want a subdir in /export/subdir exported to a specific host22:26
bekksshinobi_one: So export /export/subdir witg fsid=0 or use NFSv3.22:32
shinobi_onebekks: let's say i have /export/subdir1 and /export/subdir2, both i want to go to unique separate servers, should i set fsid=0 on both of those? or will that simply not work22:33
bekksshinobi_one: That wont work, afaik.22:33
shinobi_onei don't want to use nfsv3 because nfsv4 is more reliable, and this is stuff that will be mounted basically 24/7 and be used for backups and such22:33
bekksnfsv4 more reliable? In which manner?22:33
shinobi_onestate22:33
bekks?22:33
shinobi_onei'm not looking to get stale nfs every week22:33
bekksYou can get stale nfs locks with nfsv4 too.22:34
shinobi_oneit's less common though22:34
shinobi_oneas far as i've read22:34
bekksMount the share, and just poweroff, not shutdown the exporting server, and you will have your lock. :)22:35
shinobi_onei mean, i suppose it may be possible to export the /export root to both of the 2 servers separately right?22:35
shinobi_onei'll try that22:35
bekksIt depends on the share and mount options, not on th v3 / v4.22:35
polo_25I, can someone help me?, I need to print in raw mode in an EPSON FX2190, trying with "lp -d EPSON_PRINTER -o raw Archivo.prt" I can print, but I don't now how to onfigure the printer to print in raw mode automatically so I can Print the files generated from my DOS emulated app in DOSBox from ane text editor like Geany or gedit.22:36
shinobi_onebtw bekks: it totally works to export the /export root dir to 2 servers specifically, then add the exports for the subdirs uniquely as well22:40
nashantsuddenly having issues. Getting 'plymouth-upstart-bridge main process ended, respawning' and then the screen blinks about every 20 seconds22:43
nashantbut goes no further in the boot process22:43
nashantcorrection22:47
nashantboot just takes ages22:47
sarnoldheh22:48
Phibsanyone know why when I run debmirror, it isn't picking up the installer ?22:48
Phibsheh is right ;)22:49
nashantignore me. I'd ballsed up my network bridges22:50
sarnoldPhibs: crazy; my timestamps show you joining 29 seconds after I said 'heh'.22:51
Phibsyou muts be a bit lagged :)22:52
sarnoldPhibs: I was thinking much the same about you :)22:53
shinobi_onewith nfsv4 are you supposed to be able to mount the root dir say /export and see all of the subdirs?22:55

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