/srv/irclogs.ubuntu.com/2014/05/22/#ubuntu-server.txt

=== Guest10602 is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
Azelphurhey folks, I'm playing with the skeleton init script (/etc/init.d/skeleton) in the stop function, it seems to call start_stop_daemon --stop twice, the second one seems to hang for me, why?00:43
=== danfinch1 is now known as danfinch
=== sz0 is now known as sz0`
=== Southron_ is now known as Southron
=== stephank_ is now known as stephank
=== Macer_ is now known as Macer
=== Asandari- is now known as Asandari
=== _bicranial is now known as bicranial
=== rahuldroy_ is now known as rahuldroy
HarryMuddi'm using 12.04 on a VPS and i am allocated 16 ipv6 addresses but even though they are all present in /etc/network/interfaces ipv6 doesn't work03:35
HarryMuddi try to ping6 ipv6.google.com for exaple and i get network unavailable03:36
HarryMuddthe gateway is also in /etc/network/interfaces03:36
HarryMuddipv4 is working just fine03:37
andolHarryMudd: Assuming you have the correct info in /etc/network/interfaces it sounds like something you will want to check with support@your-vps-provider.03:46
andolHarryMudd: Unless you feel like sharing your /etc/network/interfaces, letting us check for any obvious errors.03:46
andolHarryMudd: I guess a paste of "ip -6 addr show" as awell as "route -6" might be helpful too.03:48
=== sz0` is now known as sz0
=== sz0 is now known as sz0`
=== lordieva1er is now known as lordievader
=== justizin_ is now known as justizin
=== zz_swebb is now known as swebb
=== sarnold is now known as sarnold_
=== PaulePan1er is now known as PaulePanter
=== jdstrand_ is now known as jdstrand
=== maxb_ is now known as maxb
=== smb` is now known as smb
rbasakjamespage: do we need a mysql family blueprint?08:17
jamespagerbasak, gaughen already created one08:17
rbasakI don't see it08:18
jamespagerbasak, also I'm catching up with the percona guys tomorrow - are you around?08:18
rbasakYes08:18
jamespagerbasak, servercloud-u-database08:18
rbasakAh, thanks08:18
jamespagerbasak, also how is your curtin?08:18
jamespagerbasak, doing the serverstack redeploy today and want to configure a secondary block device during install for use later on08:19
rbasakI only know the high level architecture of curtin08:19
=== sz0` is now known as sz0
cariboujamespage: I'm looking at the unit tests for nova-cloud-controller following your MP comments08:43
cariboujamespage: I fixed part of it and in the process I'm seeing that part of my modifications are not covered by the current tests08:44
cariboujamespage: should I add more tests so they get covered or separate that into another bug ?08:44
grr911yo08:45
grr911i need to went08:45
grr911wtf is plymouth good for on a server ?08:45
grr911and how do i get intels framebuffer driver loaded in a nice way ?08:45
verdePif ya gotta get anywhere, the smooth way08:46
grr911my TOy server has intel igp and it goes completely apeshizzles without it it seems08:46
=== sz0 is now known as sz0`
grr911correction , what is plymouth good for on any linux box ?08:47
verdePidk08:47
=== deegee__ is now known as drussell
DarkStar1morning all. I am trying to set the local root for a particular user and followed this : http://unix.stackexchange.com/questions/177/how-do-i-set-the-default-ftp-root-folder-for-an-ubuntu-user-connecting-to-vsftpd . I restarted the daemon but when I login I still get directed to the user’s home i.e. /home/<username>09:55
DarkStar1so I set the user_config_dir to /srv/ftp and then in the /srv/ftp directory I created a file named after the user and put the local_root = /path/to/right_directory09:56
DarkStar1then changed the owership of both the file and directory to root:ftp09:57
pmatulis_morning10:38
DarkStar1morning10:41
cocoa117how do you make public_key authendication possible when you going through hoops of machines. E.g. server1 should only use firewall's public key to login, even when user connect it through hoops of firewall11:00
cocoa117at the moment, it seems the ssh always asking for local machine's private key to authedicates11:00
rbasakcocoa117: it's pretty common to have a bastion host setup, where all other machines use a ssh_config with "ProxyCommand=ssh -W other_host:22 foo@bastion" type arrangement.11:07
rbasakcocoa117: also, look into ssh agent forwarding, if that's what you want.11:07
pp20Hello all. Does anyone have experience with OpenFire? I havent used it in a few years and wondered if it had been superceded by something else before I start working on it again, i.e. dont want to waste my time with OF if there is an equivalant that is better or if OF isnt supported anymore.11:27
Catdaemonpp20: I'm currently using it for a project and all I know is it's absolutely awful11:58
Catdaemonthe BOSH implementation is anyway11:58
CatdaemonI'm migrating to ejabberd11:58
pp20Catdaemon: "absolutley awful"?... really? how so? The last setup I had was it installed on ubuntu server, managed via a browser and all clients on the network using Spark.12:01
Catdaemonthe BOSH implementation will randomly stop accepting connections12:02
pp20Catdaemon: seemed to run quick, nice OF interface when administering it, clients where Spark so looked ok I guess. could create groups as well which was good for different department.12:02
Catdaemononly thing I've changed is I've added a custom authentication query12:02
Catdaemonif you're just using the stock interface it's probably fine but the moment you customise it it becomes a nightmare12:03
=== chmurifree is now known as chmuri
pp20Catdaeomon: sorry, was is the BOSH implementation? is that a client like Spark?12:03
CatdaemonBOSH is how you talk to it via HTTP12:03
Catdaemonfor web-based clients12:04
pp20Catdaemon: Oh, ok.12:04
pp20Catdaemon: the only way i found out about OF is having watched this ages ago: https://www.youtube.com/watch?v=ytUB5qJm5HE12:05
pp20Catdaemon: dont know of that helps12:05
CatdaemonI chose it because it looked easiest to integrate, which is true, but it has stability issues12:05
Catdaemonejabberd looks like the only other real option12:06
PupenoIs there a way to specify resolv.conf domain when configuring it through resolvconf from /etc/network/interfaces?12:06
pp20Catdaemon: He uses CentOS. oh ok. will have a butchers at ejabberd see what its all about. thanks!12:07
Catdaemonif you're not comfortable editing really weird files run away now :p12:07
Macerdo people still use jabber?12:07
Macertoo bad it didn't pan out like it should have12:08
Macerone IM to rule them all12:08
CatdaemonI'm using it for web based IM, not really for its "true purpose"12:08
Macerlol12:08
Maceran integrated "groupware" chatting? heh12:08
* Macer remembers when zimbra had awesome potential until they started removing features12:09
=== psivaa is now known as psivaa-afk
pp20I guess most people just stick with Skype or whatever googles version is for IM then?12:09
Catdaemongoogle uses xmpp12:10
pp20I installed and used this in 2009 just for certain internal staff to use. thought it could have been fully rolled out but never got around to it and then skype seemed to take over the world, well, thats all our clients ever wanted to use.12:11
MacerCatdaemon: i figure they'll get rid of it soon once they get their whatsapp working12:12
Macerfacebook still uses xmpp too12:12
Maceri'm sorry. i meant that other thing google uses12:12
Macerfacebook is whatsapp12:12
Catdaemonwhatsapp also uses xmpp lel12:13
Macerbut they all look like they're trying to stray towards proprietary IM protocols12:13
Maceroh does it?12:13
Macerhonestly didn't know that. figured it was its own12:13
Catdaemonthe technology is very much alive but not for what it was originally supposed to do12:13
Maceri think google may have closed its s2s access tho12:14
pp20Mace: something else always seems to come along thats for sure. I recently create an appear.in account which so far is much better than skype or google with regards to video quality conferencing. I guess with any video though it depends on the weakest link12:14
Catdaemonthe video quality isn't due to technical constraints, it's due to cost12:14
Maceryeah well. the sad part is the whole world doesn't jump on the same boat ;)12:14
Macerand these companies don't want to share ecosystems12:14
Catdaemonthey only won't share because the market likes ecosystems12:14
Macerheh. yeah seems so. but i mean .. cmon. IM should be universal across the board ;)12:15
Macerthat was supposed to be the whole point of xmpp/jabber but of course it didn't pan out12:15
Maceri should try zimbra again inside a container12:16
Macerit's been a long while, maybe it has improved. last i remember they were just removing the features that didn't work instead of fixing them12:16
pp20Catdaemon: Macer: appriciate the feedback guys! gotta go, might be back later.12:24
DamienCassouhi13:05
DamienCassouwhen installing a package from a PPA, I get a dpkg error (code 1) and no further information13:06
* ogra_ is pretty sure you get more than just an error code13:15
DamienCassouhttp://pastebin.com/Z4LE1RyH13:16
DamienCassouogra_: this is what I manually copy/pasted from the virtual box VM13:17
ogra_so it failed during unpack ...13:19
DamienCassouogra_: what can I do?13:19
biebIs there a list somewhere of the differences between 14.04 lts desktop and server? or is it just the server has less "programs" and no gui by default install?13:30
pp20bieb: i think... no gui by default and additional options at setup to install LAMP etc13:32
biebpp20: Thanks.. that's what I thought13:34
biebpp20: but gui can be added during install? or need to apt-get after?13:34
Armadillosbieb: Usually you'll have to apt-get it after for a server install.13:38
Armadillosbieb: It also installs the "server" kernel, which is just a bit different then the desktop one.13:38
biebArmadillos: bit different ... how?13:39
Armadillosbieb: That... I'm not too sure off the top of my head... :P13:41
rberg_thats not true anymore https://help.ubuntu.com/community/ServerFaq#What.27s_the_difference_between_the_kernels_linux-image-server_and_linux-image-generic.3F_What_architecture_is_linux-image-server.3F_Which_one_should_I_use.3F13:42
biebArmadillos: no prob.. just figured I would ask13:42
Armadillosrberg_: Ahh, good to know.13:42
biebrberg_: thanks for that link13:42
rberg_np!13:43
=== psivaa-afk is now known as psivaa
brianblaze420anyone have any input they can help me with. I want to host a website. I would love to do it from home. Why would you or wouldn't you recommend doing this and what would u recoomend?14:34
Armadillosbrianblaze420: What do you plan on running on the site, and how much traffic do you think you'll get?14:35
brianblaze420its brand new so really none haha14:35
brianblaze420and that's the thing for now i know i can handle the traffic14:35
brianblaze420so that's why i am thinking about it14:36
brianblaze420plus it seems that for the 100 bucks a month it costs to get a dedicated server, if i spend an extra 100 on my ISP i can have more traffic14:37
brianblaze420i guess i am wondering if people host their sites from home as well?14:38
Armadillosbrianblaze420: Do keep in mind that a dedicated server is running in a data center that has redundant power, network, etc.  If you run it at home, and your internet connection goes down, so does your site.14:38
brianblaze420i know but like i said i am not expecting crazy traffic right but u r right14:38
Armadillosbrianblaze420: A lot of people do, but nothing that's "mission critical" or business.  If it's just for a personal site or something like that, then yeah, host it at home.14:38
brianblaze420it's the start of my business14:39
brianblaze420like in baby steps one of the first haha14:39
Armadillosbrianblaze420: Also keep in mind that some ISPs can block your site, as they may have something in their contract saying you can't host a server at your home.14:39
brianblaze420no for sure i would talk to my isp and get an enterprise contract instead of my residential14:39
Armadillosbrianblaze420: I would never recommend hosting a business site from the home.14:39
brianblaze420u r not the first to say so14:40
brianblaze420so i think i must do the right thing lol14:40
ArmadillosFind a company out there that will host your site, and run it from there.14:41
pp20brianblaze40: If you are just testing a site i.e. you want to figure out how to do such a thing, great, go ahead, but if you are having to ask this qauestion AND its for a business I wouldnt attempt it.14:41
brianblaze420when i say business it's like selling lemonade lol it's not big14:42
brianblaze420and so i hate even saying that14:43
brianblaze420but i want it to be one day14:43
pp20Im not the type of person to just say "if you dont know it, leave it alone" im just saying if this is for your business then it is highly recommended to have this hosted, for the reasons others have said, traffic, redundancy, hacking etc14:43
brianblaze420so i should start thinking about it now is what u r saying :)14:43
brianblaze420do u guys think it makes a difference if i go to a local data centre or just check for any online?14:44
pp20brianblaze: for testing, playing around, trying to understand how these things work, go ahead and try but there are too many technical reasons to not do this if you dont know what you are doing.14:45
=== qhartman_ is now known as qhartman
brianblaze420i am good to host a site and i am good with servers i am passed learning that stuff I am just really trying to figure out the downsides of hosting from home and when it comes down to it if i ever was hacked i don't want anyone on my home network14:46
brianblaze420but i could even stop that from happening14:46
brianblaze420but there are lots of good reasons to use a data centre14:46
brianblaze420and not many to do it from home14:46
brianblaze420so i am not going to fight it lol14:46
brianblaze420thanks a lot guys this topic has really got me thinking14:48
pp20if you know what you are doing im not sure why youve asked the question? (im not being rude by the way :) ) you need to check with your ISP for a start, too much traffic could result in them blocking your ip. is it really lemonade?14:48
brianblaze420i ask because this would be the first real site i would put from my house that could actually get visitors lol14:49
brianblaze420i wouldn't expect many but i wouldn't want it to suck for a visitor to come14:50
brianblaze420lol14:50
pp20brianblaze420: fair enough, either way, good luck! hope you do well but for this instance id go with hosted, it would be less of a headache (easier and faster too), good luck dude! :)14:51
brianblaze420thanks a lot14:51
brianblaze420i really appreciate it14:51
=== med_ is now known as Guest40373
=== sz0` is now known as sz0
=== Guest40373 is now known as medberry
=== sz0 is now known as sz0`
=== Lcawte|Away is now known as Lcawte
lordievaderGood evening.16:56
=== sz0` is now known as sz0
=== sz0 is now known as sz0`
pmatulis_evening17:04
lordievaderHey pmatulis_, how are you?17:04
pmatulis_not too bad lordievader , gonna rain here and then hockey tonight17:05
lordievaderIt just stopped raining here. Wish it would continue, then it would cool down a bit.17:06
morph-anyone know if there is a free alternative to linxacademy.com17:43
=== smoser` is now known as smoser
=== hxm- is now known as hxm
mdeslaurhallyn: thanks for testing the qemu-kvm package...seems we keep colliding :P19:14
hallynmdeslaur: yeah, i guess they worked around it in their own pkg so maybe don't care about the qemu fix, but then why mark it as affecting qemu...19:20
hallyn(they haven't responded to anything i've said)19:20
sudormrfhey guys.  I am looking to generate a key with dnssec-keygen that is going to be the primary dhcp and dns server on a lan.  I am looking at using hmac-md5, but it looks like I cannot use the ZONE flag for the name.  If I use the HOST flag, will there be issues?  I looked at the MAN pages and it doesn't really go in depth about the difference and/or why you cannot use ZONE with hmac-md5 (not strong enough?), just wondering if19:35
sudormrf HOST is ok.19:35
fivetwentysixMy server that hosts novafist.com can’t receive email externally :(19:38
fivetwentysixAre my mx records okay?19:38
sudormrfhttp://www.cyberciti.biz/faq/unix-linux-bind-named-configuring-tsig/19:40
sudormrfthat answered my question19:40
guntbertfivetwentysix: try yourself with   telnet 198.199.110.182 smtp      does it respond?  you can  terminate the session with    quit19:41
fivetwentysixguntbert well i use port 58719:41
fivetwentysixostfix responds19:41
fivetwentysixbut when i send emails to my domain from gmail for example19:41
fivetwentysixthe emails dont appear in my mailbox19:41
fivetwentysixbut when sent locally it works19:42
guntbertfivetwentysix: in that case try a full delivery - you need to talk smtp with postfix19:42
fivetwentysixguntbert: how?19:44
guntbertfivetwentysix: well ... thats easier for me to do than to tell you - if you want I can give it a test19:45
qman__fivetwentysix: gmail and other internet providers will connect to you on 25, not 58719:45
guntbertqman__: good point!19:46
sarnoldand your port 25 just stalls; it would be better to configure your firewall to REJECT those packets than DROP them19:46
qman__fivetwentysix: most non-business ISPs block incoming 25, with no recourse, to prevent spam19:46
fivetwentysixoh19:46
fivetwentysixshould i open 25 as well?19:46
=== luminous_ is now known as luminous
qman__You must to receive internet mail19:47
qman__You also need mx records pointing at your server19:47
sarnoldmx records look good19:47
guntbertfivetwentysix: on another line: do you have experience in configuring a mail server? if not you should not run one that is open to the internet19:47
fivetwentysixthat did the trick :)19:48
fivetwentysixthanks qman__19:48
qman__fivetwentysix: in order to avoid getting on spam lists, you need to make sure your configuration is secure, and I highly recomend a spam filter19:49
qman__I've had success with Scrollout F119:50
=== ossurayynot is now known as tonyyarusso
fivetwentysixqman__: how do i know if my configuration is secure?19:51
qman__fivetwentysix: that's where the experience comes in, internet email is a big deal19:51
sarnoldtime was there was a very nice mail testing tool, you'd telnet to it and it would test the machine you telnetted from :)19:52
guntbertfivetwentysix: why do you need a public mail server at all?19:52
fivetwentysixguntbert: not sure where else to host it19:52
fivetwentysixand i dont wanna pay for extra cloud services like gmail or whatever19:52
guntbertfivetwentysix: well I use zohomail19:53
qman__Well, some basics, make sure you only accept mail for your own domain, you don't allow unauthenticated relay, your passwords are secure, and set up spf19:54
qman__And a good bidirectional spam filter for insurance19:54
fivetwentysixqman__: smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination okay?19:55
qman__As long as mynetworks is set correctly (nothing on the internet)19:55
fivetwentysixmynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/12819:56
qman__That's good, you should be ok on the relay front19:56
fivetwentysixThanks for your help qman__20:07
ahmadgbgHi guys, what is the best and simplest solution for server backup?? NAS or should i build a computer? NAS are very expensive for like 8 slots. What do you recommend?20:21
qman__ahmadgbg: backups are a very complex subject, and you need to take into consideration what your specific needs are, related to cost, availability, speed, reliability, size, etc20:25
ahmadgbgqman_: i need atleast 16TB with raid 520:27
ahmadgbga qnap 8 bay is like $120020:28
qman__ahmadgbg: with standard quality drives, raid 5 offers no protection beyond about 8tb20:28
ahmadgbgqman_: you mean because of the rebuild time?20:29
qman__No, because of the unrecoverable error rate20:29
ahmadgbgqman_; okey.. so what should i run instead?20:29
qman__With a URE of 10^14, you are expected to run into one long before you hit 16tb20:30
qman__You would need drives with a URE of 10^15 or better, or use raid10, or raid620:30
qman__Be warned, raid6 is very slow20:30
ahmadgbgqman_: how can i use raid 10 with many drives, isnt it only for 2?20:32
qman__Based on personal experience with all three, I would use raid1020:32
qman__No20:33
qman__Raid10 is with any even number of disks20:33
ahmadgbgBut it wont work like raid 620:33
qman__50% capacity hit across the board, for the redundancy20:33
ahmadgbgright20:33
ahmadgbgI will have many differend raids for each pair?20:34
qman__No, it stripes across mirrored pairs20:34
ahmadgbgbut i lose more space than raid 620:36
qman__With 8 disks in raid 10, you will have 4 disks worth of capacity, you can lose any one disk, and up to 4 if you get lucky on which disks they are20:37
ahmadgbghmm.. i need space.. its a storage server20:38
qman__Raid 6 would give you 6 disks of capacity, but it would be very, very sloe, and only offer 1 disk of protection with standard URE 10^14 disks20:39
ahmadgbgmy plan was to have a 5x4tb in raid 5 for the server and 4x4tb in the nas20:39
qman__And your rebuild time would be like 3 weekss20:39
ahmadgbgIs the read and write speed slow or just the rebuild20:39
qman__all, read is fastest but still not that fast20:40
qman__Write is really slow20:40
ahmadgbgso im kinda screwed :P20:41
qman__I had a 11 disk raid 6 of 1tb sata disks, write speeds peaked around 35MB/s20:41
qman__Reads could hit 70 or 8020:41
ahmadgbgThe problem is that the hard drives are so expensive. Im going with Seagate Constellation ES 4TB which costs around $380... Should i go with WB red? they are like half the price20:42
qman__I replaced it with a 20-disk raid1020:43
qman__Those disks should be URE 10^15, so you could use raid 520:43
qman__But I would not put more than 4 disks per raid set20:44
qman__8 bay, 2 raid 5s20:44
qman__If you use red drives, stick with raid 1020:44
qman__I have had good results with red drives in raid 1020:45
ahmadgbgi have only 8 slots for the drives20:45
ahmadgbgwhat should i do D:20:45
ahmadgbg:D20:45
qman__Unfortunately 8 is a bad number for parity raid20:46
qman__I would do raid 1020:46
qman__If you had 9, you could do two raid 5s with one hot spare20:46
ahmadgbgshould i go 4x4tb on server with raid 5 and for the NAS 4x4tb raid 5?20:46
qman__As long as you use the good drives that should be ok20:47
ahmadgbgSeagate or WD?20:47
qman__And make sure you implement SMART monitoring20:47
qman__I personally do not buy seagates anymore, too many failures20:48
qman__The WD equivalent is the RE420:48
ahmadgbgeven the enterprise?20:48
ahmadgbgso going Seagate on the server and WD red on the nas, what do you think about that20:49
qman__That's a good strategy20:49
qman__But wd red is not 10^1520:49
qman__Only RE4s are20:49
qman__Or RE3, last gen20:50
ahmadgbgRE4 are actually cheaper than seagate20:51
ahmadgbgshould i go RE4 on all20:51
qman__I would, or if you want to spread your risk, 4 of each20:51
ahmadgbgi want to save money :D20:52
qman__Lots of people use seagates, I just have better luck with WD20:52
hallynjdstrand: gah.  i still have NOT reproduced your particular qcow2 corruption problem.  i suppose i should focus on the one i did get a few days ago, as that seemed easy to reproduce20:52
ahmadgbgqman_ how about WD SE20:54
qman__Not sure, I tried to open the spec sheet and my browser crashed20:56
qman__Check the unrecoverable read error rate, 10^15 or larger is ok for raid 5 at your sizes20:56
qman__10^14 is not good enough20:57
ahmadgbgqman_: its says: <10 in 10^1520:59
qman__Sure? Should be 1 in X21:00
qman__10 in 10^15 is the same as 1 in 10^1421:01
ahmadgbghttp://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771475.pdf21:01
ahmadgbgthe RE are: <10 in 10^1621:02
qman__That's a pretty underhanded advertising tactic21:04
ahmadgbgye :P21:04
qman__But yeah, the se would not be good enough21:04
qman__For raid 521:04
rberg_and honestly raid6 might be fast enough for backups depending on how many users and how much data21:06
ahmadgbgOkey! Thanks for the help Qman :D21:14
devslashwill Ubuntu Server work if  I install it on a PC and move the hard drive to a different server with different hardware22:04
Patrickdkdevslash, depends on your definition of work22:11
sarnolddevslash: "probably"22:32
=== Lcawte is now known as Lcawte|Away

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