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

=== MeltedLux is now known as MeltedDed
=== martins-afk is now known as martinst
=== superspring_ is now known as superspring
=== zz_DenBeiren is now known as DenBeiren
=== martinst is now known as martins-afk
=== Metacity is now known as MetassiD
=== MetassiD is now known as Metacity
=== Metacity is now known as frenocity
=== frenocity is now known as whydoIalwaysdie
=== whydoIalwaysdie is now known as Metacity
=== markthomas is now known as markthomas|away
=== Metacity is now known as blahfoobar
=== blahfoobar is now known as Metacity
=== zz_DenBeiren is now known as DenBeiren
xibalbahey folks, i need some assistance in getting my virtualbox virtual machine to startup03:10
xibalbai get the following error when trying to start the VM: VBoxManage: error: The virtual machine 'zcs' has terminated unexpectedly during startup with exit code 1 (0x1)03:11
xibalbaVBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Machine, interface IMachine03:11
xibalbaUbuntu 1403:11
LarsNIs anyone who has first hand experience with the Ubuntu Orange Box handy?04:57
Patrickdk!ask04:58
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience04:58
LarsNI have an orange box.  http://www.ubuntu.com/cloud/jumpstart-training,  I'm wondering how I can power off one of the nodes that appears to auto-boot on AC restore, and simultaniously isn't responding to the Intel AMT.05:00
LarsNSecond, I am wondering If I want to reset the orange box 100% to a "default" state, is it as simple as adding the orange box PPA, juju PPA, and installing 14.04 on the node, then apt-get installing the orange-box package?05:00
LarsNfinally, is there any published documentation on how to actually use and set this thing up besides having Canonical come out for Jumpstart training?05:01
Patrickdkah, heh05:01
LarsNPatrickdk: see why I asked first?05:02
sarnold:)05:02
LarsNit's not a "normal" ubuntu-server question.05:02
Patrickdkwell, now I know what an orange box is05:02
sarnoldthis may be the first time when it makes a certain amount of sense, hehe :)05:02
Patrickdkbut ya, not sure that is an irc thing :(05:02
LarsNwhere can I find a list of #ubuntu-* channels?05:02
sarnoldLarsN: is there a maas gui running on a port on localhost? it might have easy buttons for turning machines off and on05:02
Patrickdkit's a very canonical thing :)05:03
LarsNsarnold: there is a MAAS url, or there was prior to my running the: orange-box-purge-all command.05:03
sarnoldLarsN: oh :) haha05:03
LarsNthere will be again once the apt-get install completes.05:03
LarsNPatrickdk: this is true.  One of the designers of this thing lives in my home town05:03
LarsNI may just have to call him tomorrow.05:03
sarnoldkirkland: any chance you're around to answer some orangebox questions for LarsN?05:04
LarsNor, I don't suppose you're in Austin this week?  <-- kirkland :)05:05
LarsNsarnold, Patrickdk: either way, thanks :)05:05
sarnoldLarsN: good luck and have fun :)05:06
LarsNnot the most cost effective way to build a micro-cloud.  but a convenient way to build a cloud in a box, for prototying some SaaS products :)05:06
LarsNthe fun bit is, I only found out about the "orange-box-*" commands because of the "history" command on the default ubuntu user.05:07
Patrickdk:)05:07
sarnoldLarsN: yeah, for a demo unit it's pretty fantastic. for an actual deployment, perhaps less so.05:07
* Patrickdk forgets what he is doing05:07
LarsNsarnold: Tranquil PC is working on a unit with 8x "server grade" xeon systems, and enterpris like switches.05:08
Patrickdkoh ya, scheduled production breakage05:08
sarnoldPatrickdk: you're about to break all your customer's production systems05:08
LarsNstill not sure that's what I want to deploy for a customer,  But more interesting.05:08
sarnoldLarsN: ooh. yeah, interesting.05:08
LarsNmore likely we'll go with something like SuperMicro "MicroCloud" or "FatTwin" chassis.05:08
sarnoldthose fattwin look pretty slick05:08
LarsNI have two of those ordered as well05:08
sarnoldhaven't looked at the microcloud things yet05:08
sarnold:D05:08
LarsNmicro cloud is 3u, by 12 nodes.05:09
sarnoldoooo05:09
LarsNsingle socket each.05:09
sarnoldyeah I suspect those will be better performance for your dollar than an orange box, and something you'd be happy to run in production too05:09
LarsNalready have 3 of those as compute nodes in an openstack cloud.05:09
LarsNwell stink.  It's hanging up at the same place it did yesterday.05:24
LarsNhttp://pastie.org/978755205:24
LarsNI take it back, it might not actually be hung.05:27
sarnoldLarsN: how long have you waited? it might a bit..05:27
LarsNopened virt-manager, and actually see it bootstrapping with MaaS05:28
sarnoldsome of those maas operations have step 1 go download 200 megabytes or something similar05:28
l2ksolkovDoes Ubuntu server 14.04 have any cronjobs on a default install?06:10
LarsNl2ksolkov: it may.  especially if during the defauilt install you told it to do the security updates.06:10
LarsNin which case you, at a minimum, have a midnight(ish) apt-get update/upgrade for security packages.06:11
LarsNl2ksolkov: it's easy to check.  look at /etc/cron.*06:11
l2ksolkovLarsN: the reason i'm asking is because at 6:30 every morning something runs and the fan on the computer goes up to full speed, waking me up.06:12
LarsNl2ksolkov: cat /etc/crontab06:13
l2ksolkovLarsN: yup there's a few in cron.daily06:13
LarsNl2ksolkov: re-schedule those for say 9am?06:14
l2ksolkovLarsN: done, i'm not sure why it ran at 6:30 though06:14
LarsNl2ksolkov: 6:30 is before "many" systems folks hit the office.06:15
LarsNnice to have the daily tasks done before then :)06:16
l2ksolkovLarsN: thanks, now what little peaceful sleep i get will no longer be interupted by a NASA rocket at 6:30 in the morning.06:17
LarsNSleep is for the weak.06:18
* LarsN kids :)06:18
l2ksolkovWell :P06:18
RajviHello Folks, I don't know what I am doing wrong . i copied my web application to /var/www/html. I get error messages.  I get of error messages stating folders aren't writable. Please help08:11
jadesoturiwebserver? what application is it?08:16
jadesoturihttps://answers.launchpad.net/ubuntu/+source/apache2/+question/251991 check this maybe?08:16
RajviMany Thanks! I knew it!08:20
jadesoturino worries:)08:21
RajviU guys rock!08:21
=== Lcawte|Away is now known as Lcawte
rajviHello Guys, I get write access errors for my web app09:29
rajviI am the owner of the /html directory09:30
jamespagetinoco, morning - working through the pacemaker fixes now10:19
jamespagetinoco, the matched library versions problem I've fixed in a different way by matching exactly the pacemaker library versions in d/control10:20
=== MeltedDed is now known as MeltedLux
jamespagetinoco, https://launchpad.net/ubuntu/+source/pacemaker/1.1.11-1ubuntu110:56
jamespagevivid almost done10:56
tinocojamespage: tks james, really appreciate ;)11:22
jamespagetinoco, utopic and trusty sru's also uploaded for review11:50
jamespagecommented on both bugs; the binary version match bug could do with a test case11:51
=== markthomz is now known as markthomas
RonnieI have some unknown load/cpu issues on server. See screenshot: http://imgur.com/QURGdNt. The amount of CPU0-CPU3 is a lot higher than alle the CPU used by the processes listed. Anyone knows where this ghost CPU comes from?12:58
garnusb)13:13
pmatuliswhoah, dnsmasq is not in 'main'13:52
=== Lcawte is now known as Lcawte|Away
=== bilde2910|away is now known as bilde2910
BaNzoune1Hey, If I've nothing under State when doing a netstart what does that mean? https://gist.github.com/AlexGaspar/0e67c25405e9db853a5f14:21
patdk-wkit means *nothing*14:23
patdk-wkdid you expect a meaning?14:23
BaNzoune1I don't know what I should expect, I've setup fluentd (if by anychance you know it), it supposes to listen on 24224 tcp to recieve 'message' and 24224 udp for heartbeats but only the tcp seems to go throught, I'm trying to figure out what's going on :/14:25
patdk-wkyou failed to understand what UDP is14:29
patdk-wkUDP has no state, it shouldn't ever display a state14:29
BaNzoune1Okay, I didn't know that, thank you :)14:30
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
=== martins-afk is now known as martinst
kirklandLarsN: sarnold: howdy, I'm around for a few minutes, what's up?15:34
matyyHey, I activated the root login on a server. I want to mount it's filesystem with sshfs with root priviliges. I don't find a way to sudo with sshfs. I also tried to work it out with groups, but than all newly created files have the group of the creator... which is bad, because I have to chown them constantly. This is all in an LAN, the only connection to the internet is via a reverse proxy, so direct connection to the internet at a15:39
matyy*no15:39
matyyis there any security concern but people hacking into my LAN? I only leave it activated while I am doing some work, than I deactivate it again anyway... Still, just curious, didn't get no replies on the ubuntu forums15:39
leo_siftI'm experiencing a very weird issue on a new server install. "if" does not recognize eth0, "ifconfig" does. eth0 does not seem to be handled in initial boot, but does get mounted. dns-nameservers on eth0 are not added to resolv.conf  http://paste.ubuntu.com/9561166/15:43
dasjoekirkland: Hi, quick question about Snappy and Core. Will there be a way to turn a standard Core installation on real hardware into Snappy?15:46
kirklanddasjoe: unfortunately, no, there's no path from traditional->snappy or snappy->traditional15:49
kirklanddasjoe: I've heard some talk, perhaps, by people who might like to "snapshot" a traditional ubuntu install, and turn that into a base image for a snappy install15:50
kirklanddasjoe: that's probably (stress, probably) doable, with some work with the tooling15:50
dasjoekirkland: too bad. I'm playing around with Core and ZFS a bit, so turning one of my PoC NUCs into Snappy would've been nice15:51
kirklanddasjoe: heh, well, keep us posted on the list, if you do something interesting there ;-)15:51
dasjoekirkland: sure, which list would that be? I'm using eCryptfs, too ;)15:53
kirklanddasjoe: snappy-devel15:55
dasjoekirkland: Thanks, subscribed16:00
MagicMystichello all...got my first mail server up and running. so far so good!16:23
MagicMysticI'm running postfix/dovecot/spamassasin/camav etc..16:23
MagicMysticusing about 60% of ram. is this acceptable?16:24
MagicMysticcurrently 1gb of ram on server16:24
MagicMysticthe mail server will be used for only a couple of accounts16:24
lordievaderMagicMystic: With or without buffers and caches?16:25
MagicMysticlordievader: sorry...not sure where I would use buffers and caches...16:25
MagicMysticrunning on a vps16:25
lordievaderMagicMystic: http://www.linuxatemyram.com/16:25
MagicMysticlordievader: tnx for the link brb16:27
MagicMysticgoing to run free -m and will report back16:27
MagicMysticlordievader: just checked free -m shows I have 359 mb remaining16:34
lordievaderMagicMystic: And how much cache?16:34
MagicMysticlordievader: 12716:35
lordievaderSo you still have around 460Mb free. That's sounds about right.16:36
MagicMysticlordievader: enough loaf to do the job?16:36
lordievaderMagicMystic: Do you have swap?16:37
MagicMysticlordievader: yes. 1gb of swap - currently only using 7mb of swap16:38
MagicMysticserver is running an ssd as well16:38
lordievaderMagicMystic: Then there is no need to worry about the out-of-memory killer.16:39
MagicMysticlordievader: thanks! first time running an essential service like mail...and a bit paranoid16:40
MagicMysticthe webview of the vps shows high cpu usage - however according to top it is barely using any cpu. should I be looking anywhere else to confirm this?16:40
lordievaderMagicMystic: Check atop, it might simply be the periodic timer.16:42
MagicMysticlordievader: got it. many thanks for your suggestions and help. good karma to you my friend.16:43
lordievaderMagicMystic: No problem, have fun ;)16:43
linuxgeek_hi, in the top command 1 will show all the cpu cores and M will sort process by memory usage16:46
linuxgeek_i use nohup top -b > test_top.txt &. can the 1 and M options be passed so the test_top.txt is written with these options?16:47
pmatulisthis channel should have a karma bot16:49
patdk-wkpmatulis--16:50
pmatulisouch16:50
=== Lcawte|Away is now known as Lcawte
=== TREllis_ is now known as TREllis
lucidguyI have a Linux server with a large local xfs filesystem.  I need my Windows clients (authenticate via Windows AD) and my Linux clients  (authenticate via different ldap server) to access this same filesystem.  The server will export the fs to the Linux clients via NFS and Windows clients via Samba/smb.  How can one accomplish this?17:57
=== BaNzoune1 is now known as BaNzounet
K4kDo you have to do anything special to "activate" new files in /etc/cron.d?18:22
K4kI've created a new job file with two jobs in it, the scripts the jobs are running work fine when run manually but they are not running during their prescribed times and I'm not sure why18:23
pmatulisK4k: maybe have a read of 'man cron'.  you may have missed something18:25
=== matsubara is now known as matsubara-afk
=== Lcawte is now known as Lcawte|Away
=== martinst is now known as martins-afk
=== matsubara-afk is now known as matsubara
rajviHello folks, Could anyone tell me what's wrong with user configuration  file for Tomcat7. https://paste.ee/p/6ejW319:44
K4kpmatulis: After re-assessing things I'm still lost. I've read man(8) and according to it, the only specific things to consider with cron.d is the permissions should not be group or world writable and it must be owned by root.19:46
K4kI have another line just below the two that aren't working now that is * * * * * root /usr/local/bin/touch-test.sh that just puts the date in a log file19:46
K4kthat works fine19:46
K4kthe two lines above are doing the same thing but not working.19:47
K4kthough there was a note in man(8) about using cron.d being a bad idea... no explaination to why was given, however.19:48
K4kHA! It must be time to go home... I just solved the cron.d mystery... permissions were wrong on the destinarion directory that the script was trying to put files in... I guess I should put a catch-all in there for other errors to email me if it happens again :)20:05
pmatulisK4k: nicely done!20:20
=== markthomas is now known as markthomas|away
=== MeltedDed is now known as MeltedLux
Naphatulwould someone mind checking my raid 1 setup20:51
Naphatulhttps://bpaste.net/show/e0e0611c4153  https://bpaste.net/show/27dea3f6cd67  https://bpaste.net/show/64bb56df413420:51
Naphatulrelevant info, just want to make sure it's configured right20:51
Naphatulalso i can write while they're resyncing right?20:53
Naphatulalso any tips on increasing build time would be helpfull20:59
=== markthomas|away is now known as markthomas
Naphatulalso curious why is it only doing 20MB/s21:09
IPPhoneGuycheck /proc/sys/dev/raid/speed_limit21:11
IPPhoneGuy=)21:11
IPPhoneGuymax is probably set it 2021:11
=== bilde2910 is now known as bilde2910|away
NaphatulIPPhoneGuy: max is set to 200,00021:49
Naphatulthat would be 200MB/s no?21:50
=== Lcawte|Away is now known as Lcawte
acovrigwhat could cause an iptables -v -t nat -L to take a long time? Usually I've seen it return in seconds, but with a specific system, it seems to always take ~2-6min23:35
acovrighttp://pastebin.com/HTHp7p3D is the output of time iptables, why almost 3min!?23:39
Patrickdkacovrig, anything on your system can cause it to be slow23:44
acovrigif I flush my iptables (iptables -t nat -F && iptables -F) to test something, will the rules come back if I reboot?23:44
PryMar56acovrig, do the bridges exist ? virb0 and lxcbr0?23:55
acovrigPryMar56, yes, but I don't know what either of them are or where they came from (lxcbr0 => docker?) how/can I remove the virbr0?23:59
PryMar56acovrig, man virsh23:59

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