[00:15] hey everyone. does anyone know of a program or website that will create a samba .conf file? [00:20] yes, vi [00:25] Patrickdk: ahaha. I prefer nano. Anyhow, it has been over a year since I touched samba. My old server nuked and I cant remember how I set up my samba before. My wife just had major surgery so Im taking care of her and cant really concentrate. I guess I was just hoping to tke a shortcut [00:25] don't know of any === lolcodeftw is now known as Faylite [00:35] cribbageSTARSHIP: back in the day, suse's yast did a good job creating those configs [00:35] cribbageSTARSHIP: and back in the day, samba distributed SWAT, which did a poor job creating those configs, but it did it, hehe [00:36] sarnold: so is there anything? [00:36] under no circumstance should SWAT be left enabled on a system that's publicly accessible but for a quick reconfigure... [00:36] cribbageSTARSHIP: suse's yast feels like your best bet. [00:37] .. you coul probably throw it in a VM and use it real quick like.. [00:37] .. and copy the configuration over, once it is generated. I'd bet it would mostly work. [00:37] but it might take longer than reading the docs and doing the config by hand [00:38] sarnold: ya probably. Thanks anyhow [00:43] is something screwy going on with apt right now? [00:43] hash mismatch [00:45] tsukasa_: a few thoughts, first, are you using apt-cacher-ng? I've had hash mismatches with it before .. [00:45] sarnold: it's the linode mirror, was just wondering if it's an upstream issue or not [00:46] tsukasa_: with the 15.04 release today, perhaps the mirror you were using was in the middle of an update and had out-of-sync data; if it doesn't go away in five or ten minutes, please do report in #ubuntu-mirrors [00:46] .. they can sometimes re-poke specific mirrors to resync [00:49] sarnold: sorry internet dropped. yeah i'll do that. it's been this way for the last 2.5 hours [00:50] tsukas___: ugh yeah that's too long; another option if it is under linode control is to ask in #linode on irc.oftc.net [00:51] i'll check that out === markthomas is now known as markthomas|away === zz_DenBeiren is now known as DenBeiren [03:05] Can someone please help me with my samba config file? I've created it and can see my shares, but for some reason cannot edit anything, create anything, or delete anything. http://pastebin.com/KAvTE3DL [03:07] cribbageSTARSHIP: do you have any errors in the log file? [03:08] cribbageSTARSHIP: can the user running samba write to the selected log file? [03:08] sarnold: nothing came up in testparm [03:08] cribbageSTARSHIP: the cranky old guy in me wonders about the space and ' characters in the share names.. [03:09] sarnold: ok ill stop the service change it and try again [03:11] sarnold: i changed them to [will] [amy] [guest]. no dice i still cannot create edit or delete [03:12] cribbageSTARSHIP: dang. [03:12] cribbageSTARSHIP: sorry, if there's nothing in the logs i'm out of ideas [03:12] sarnold: do i have to give samba permission itself? [03:12] cribbageSTARSHIP: I can't recall, it's been ages since I've touched it [03:15] sarnold: how much damage would I do if I "sudo chmod 0777 -R /home" and "sudo chmod 0777 -R /media"? [03:15] cribbageSTARSHIP: too much :) [03:16] cribbageSTARSHIP: sorry, gotta run, good luck [03:16] sarnold: thaks! === kickinz1|afk is now known as kickinz1 === Lcawte|Away is now known as Lcawte === kickinz1 is now known as kickinz1|afk [08:09] hi all. i am trying to compile bind9 dns server from sources. after downloading the sources using apt-get sources and instaaling the new bind9 package however i can not start it. can anybody tell me the needed steps to recreate bind9 on a ubuntu server? i could no where find any helpfull infos related to this on the internet. [08:11] xperia: 1) why you need to build it from sources? 2) what does it mean that it does not start? 3) how did you build it? [08:13] faust: after installing it i tried "sudo service bind9 start" but got the error message "bind9: unrecognized service" [08:13] i need to patch bind9 to have more functionality like GeoDNS and such stuff! [08:14] xperia: I guess that the file "/etc/init.d/bind9" does not exists [08:14] how did you built/installed it? [08:18] faust: well i did use the ubuntu provided way with "apt-get sources bind9" "apt-get build-dep bind9" "./configure" "make" "sudo checkinstall" "sudo dpkg -i *.deb" [08:18] as you wrote however this does not install the /etc/intit.d files realted to this package. asking me now how this can be achieved [08:20] ./configure+make is not "debian-way" really [08:21] Good morning. [08:22] xperia: you should use "fakeroot debian/rules binary" [08:23] I mena [08:23] faust: ahhh this does the magic then okey will try it. [08:23] xperia: Or you can use a modern dns-server like powerdns [08:23] apt-get source bind9; apt-get build-dep bind9; cd bind9-.../; fakeroot debian/rules binary; cd ../; dpkg -i ... [08:27] OpenTokix: Thanks a lot for the Tip. Will look into it additional now too. I do agree that the People developing Bind are a little stubborn in my Opinion. Asked them to add some new Feature for a much more reliable and optimized Web Hosting Service that are needed but they refuse to improve it. === Lcawte is now known as Lcawte|Away === kickinz1|afk is now known as kickinz1 [08:40] xperia: the thing is that bind is _very_ _very_ fast, and if you have very heavy dns-load, there isnt much of an option. - But if your load is less - you can do more in each request. [08:41] xperia: heavy dns-load is, requests in the 100k+/minute rates [08:43] or much less requests on small/cheap resources [08:44] OpenTokix: hmm okey i understand that Load handling is a issues for a DNS Server but in my Opinion with such a load you will need to have a total different Server Topic Architecture. Handling such Loads with only one DNS Server in one Location i will never do or recommend. [08:44] and exactly here actually bind9 fails. [08:47] xperia: If you are handling millions, 100k/s/server is not unresonable [08:48] s/s/m/ [08:48] unless you want to buy hundreds of servers just to use them as DNS...I cannot imagine how many server you will need to run apache [08:49] :P [08:49] I ran a shop with 12k/req/min/dns - Ran it on two old machines - handling it just fine with bind9 [08:49] That was for 3 billion requests/day [08:49] for the web-appliction [08:51] OpenTokix: wooow congrats on this stats. i just maked the experience that per recently you need to have several DNS Servers around the Globe Running. So having just one DNS Server in one Location is no Option for me even if it handle requests much more efficient. [08:52] xperia: There is a huge difference between what you read on stackoverflow and webscale node.js-idiots - and real actual experience. [08:53] xperia: that is just amazon trying to sell more servers [08:53] xperia: What are you building? DNS-servers for yoru site or are you actually buillding a multicast resolver, like googles 8.8.8.8/8.8.4.4 ? [08:53] or like opendns? [08:54] That is two different problems all together [08:54] inb4: I'm sysadmin of A-ROOT [08:54] :P [08:54] =) [08:55] (just to be clear: it was a joke) [08:55] What I am saying is, if you build it for yoru site - don't overcomplicate things. [08:55] hmmm not sure about this. look if you want customers from all around the world visiting your Server as a example from Asia while you are in Europe then having a dns server including web hosting running there is beneficiary [08:55] its just my experience [08:55] xperia: yes, but your clients will very seldom hit your dns-server [08:55] but their own isp-resolver that have your named cached [08:56] Like my site [08:56] ~3 billion requests/day - I had a 5 minute ttl (lowest alloweD) - and STILL I got only 24k/hits/minute [08:56] Thats 1/75th of the actual hits on my site [08:57] With a 5 minute ttl, - And I assume you will run a lot higher ttl than 5 minutes. [08:57] wooowww impresive. i do have also a 5TTL [08:57] So I would say again: Do not overcomplicate things [08:58] And if you are seeing the dns-resolvation of your site is the problem - Look into a DNS-provider, that has built it (They are expensive over one million/req/month) - but it is still cheaper than building your own global dns-infrastructure with multicast [08:58] xperia: I would start by increasing that to atleast 30 minutes [08:58] unless you use the DNS for primary/backup-site failover? [09:00] OpenTokix: well okey i see that one dns can do the job but at least you will want to have a second dns server at least for emergency and load balancing or not ? yes here it beginns also. with such a load i will get very nervous about primary/backup site Failover. even with 5TTL the dns will still serve the dead IP. I just dont like imperfect solutions architecture. [09:01] xperia: yes, you need two dns-servers [09:02] xperia: you do not load balance two servers behind a ip, you have one dns-server on one ip and another on a another ip - your clients handle the "load balancing" themselfs [09:02] ie. if server1 dont anawer, they will talk to server1 [09:02] ie. if server1 dont anawer, they will talk to server2 [09:05] OpenTokix: ahh yeah i also thinked about this solution but the problem here is that at the end you will have Visitors from Asia landing on Webservers located in Europe and Visitors in Europe landing on Webservers in Asia. My Actual Situation at the moment. Very Bad. [09:05] You will want to send the Visitors from Europe to WebServers in Europe and Asian Visitors to Asian Weservers all this Functionallity is missing in Bind9. No GeoDNS no FailOver ... Realy Bad. [09:06] xperia: yes, that is super easy to do in powerdns [09:06] xperia: and a hassle in bind9 =) [09:06] I did that in powerdns [09:06] How much traffic do you have? [09:09] OpenTokix: good that we agree :-) i will just patch now bind9 with geodns functionallity code from here http://www.caraytech.com/geodns/ with the howto steps from faust. it compiled fine actually. [09:09] good luck [09:09] that is not a really "clean" build [09:09] but it will work [09:09] you should probably update versions and dep [09:10] but if you are not going to redistribute it you may not worry [09:10] OpenTokix: i dont have such a big traffic like you but i have around 100'000 Hits per Day from all around the World. === Lcawte|Away is now known as Lcawte [10:07] OpenTokix: faust: ohh woow i just studied the BIND9 Sources and was very surprised to see that BIND9 has allready GEO IP Code in it. Did you know that no Patching actually is needed anymore to have GEO IP in BIND9, i mysefl was not aware of it. [10:07] see this link here => https://kb.isc.org/article/AA-01149/0/Using-the-GeoIP-Features-in-BIND-9.10.html [10:11] i do think however that the provided ubuntu packages are build without geoip functionallity as this need to be enabled explicit. joining #bind9 [10:12] mean #bind [10:46] the installed BIND9 Package on the Ubuntu Server from the default Package Repo has by default enabled GEO IP. I am saved he he he. Well Done People. No need for Recompile for me just reconfiguting of Bind is needed. mmmmhh feels great ! [10:54] xperia: amazing - I dont run any dns:es anymore - but thanks for info === Guest77791 is now known as hxm === Lcawte is now known as Lcawte|Away [11:54] Hi [11:54] I struggle install ubuntu server.. [11:55] Is it correct to first setup and then intall? [11:55] install* === pgraner-afk is now known as pgraner === mattgrif_ is now known as mattgriffin [14:40] I need help forwarding a port [14:41] Fwd: Port of Amsterdam.pdf [14:42] forwarding a port with iptables === Lcawte|Away is now known as Lcawte [15:04] OpenTokix: have you done any research yet? [15:05] woops, meant for Atlas1337 [15:06] I uninstalled ubuntu === bilde2910|away is now known as bilde2910 === vishnu is now known as Guest36029 [15:35] can anyone ... help me how to set permission for apache === liam_ is now known as Guest67926 [15:41] Guest36029: have you done any research yet? === markthomas|away is now known as markthomas === ashleyd is now known as ashd === strikov is now known as strikov-lunch === strikov-lunch is now known as strikov [17:45] do anyone know why i get an error when trying to use a kickstart file? It says it cant be downloaded but the url works, and the error is blank === mattgrif_ is now known as mattgriffin [18:49] Why is cd not working? http://d.pr/i/17xJ1 [18:51] it did [18:51] it didn't print any error messages [18:51] run 'pwd' to see your current working directory [18:53] oh yeah, it did change directory [18:53] fuck me, I'm an idiot [18:53] A shell which displays the pwd is nice ;) [18:59] yeah I kind of sounds like your .bashrc is missing PS1 [19:00] .. or someone got tired of the directory names and set PS1 to '\$ ' to get the old simple prompt back :) heh === kickinz1 is now known as kickinz1|afk === Mobutils_ is now known as Mobutils [20:02] http://d.pr/i/dT3q but http://d.pr/i/1ipgm [20:02] when I run start_dst.sh [20:03] which contains: screen -S "DST Server" dontstarve_dedicated_server_nullrenderer === slowz is now known as Guest31171 [21:56] Hi. IPv6 is somehow not working on Ubuntu 14.04.2 LTS. I'm trying to lease a IPv6 address with "dhclient -6 -v" and getting this error: "Can't set SO_REUSEPORT option on dhcp socket: Protocol not available" [21:57] halvors: interesting.. https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1184099 === slowz_ is now known as slowz [21:58] sarnold: I've seen that. But nothing about how to fix this issue... [21:58] sarnold: Sounds to me like IPv6 is non existing on my system somehow :( [22:00] much more informative https://bugzilla.redhat.com/show_bug.cgi?id=1005814 [22:07] Nobody knows how to correct this issue? === Lcawte is now known as Lcawte|Away [22:08] halvors: you may have some success ifyou can restrict it to binding to a specific interface [22:13] sarnold: Tried "dhclient -6 eth0" doesn't help :( === bilde2910 is now known as bilde2910|away