[01:41] <DonRichie> Is it right that the file /etc/resolvconf/interface-order is only relevant when I configure multiple dns server in /etc/network/interfaces (including for example nameservers from dhcp)
[01:41] <DonRichie> ?
[03:17] <jak2000> hi all
[03:29] <grendal_prime> can anyone help me out with configureing a simple dns server
[03:29] <grendal_prime> that was a question
[03:29] <grendal_prime> not a challenge
[03:30] <grendal_prime> unless a challenge works faster
[03:31] <DonRichie> grendal_prima: I have the same task at the moment :P
[03:31] <grendal_prime> its all up and i can see requests in the server log, but it is just not sending the info back.
[03:32] <grendal_prime> DonRichie, we can beat it up together
[03:32] <teward> grendal_prime: perhaps https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04 ?
[03:32] <teward> or https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-14-04 even
[03:32] <DonRichie> grendal_prime: do you use dnsmasq or bind?
[03:33] <grendal_prime> bind9
[03:33] <teward> (note of course they suggest using their DNS stuff, but still, the guide might work)
[03:33] <DonRichie> me2
[03:33] <grendal_prime> have2pbrb
[03:34] <DonRichie> I recently mastered the client side dns configuration and digged deep enough to fully understand the resolvconf program.
[03:36] <DonRichie> My bind9 is resolving domains out of the box after I installed and started it. Now I am at the point to tell bind something about my domain to make it "authorative" :)
[03:38] <jak2000> not know why cant save a file on home of the user: see: http://pastie.org/9801426  any advice?
[03:40] <grendal_prime> chmod that dir recursively to 775
[03:41] <grendal_prime> chmod -R 775 usernamegoeshere
[03:42] <DonRichie> grendal_prime: he uses sudo in that paste. I think he shoudl be able to write
[03:42] <jak2000> grendal_prime?
[03:42] <grendal_prime> syntax may be off...
[03:42] <grendal_prime> sorry still cleaning up the box wine from christmass
[03:43] <grendal_prime> DonRichie,  ya well i always assume at that point a person has sudo -s
[03:45] <grendal_prime> sorry jak2000  did that work?
[03:45] <grendal_prime> DonRichie,  you have teamviewer client?
[03:46] <teward> i don't think it's safe or sane to use teamviewer over irc
[03:46] <grendal_prime> ?
[03:47] <DonRichie> grendal_prime: yes, but I am not sure if I can help you with your problem. I am also still learning
[03:47] <grendal_prime> im not going to do that over irc
[03:47] <grendal_prime> done are you getting resolution of local hosts?
[03:48] <grendal_prime> sorry i meant DonRichie
[03:48] <DonRichie> I get resolution of internet hosts, but didn't define a local zone yet
[03:48] <grendal_prime> ya that aparently is the bitch
[03:48] <grendal_prime> weird i cant believe this so complicated.
[03:49] <DonRichie> I already did it a time ago and remember it was a little bit difficult. I will look in my old config files
[03:52] <DonRichie> I think something changed. There are "db." files now. In my old config i used ".zone" files
[03:52] <DonRichie> But maybe it is an operating system related behavior
[03:56] <grendal_prime> DonRichie,  hey  im gonna try something a little bit unconventional...or just ill advised for a second.
[03:57] <jak2000> grendal_prime: http://pastie.org/9801439
[03:57] <grendal_prime> touch: cannot touch ‘rtom.sh’: Read-only file system
[03:57] <grendal_prime> thats the biggie on that
[03:58] <grendal_prime> reboot the machine.   is it a vm by chance?
[03:58] <grendal_prime> you will get that with a bad live migration.
[03:58] <grendal_prime> also a drive that is fked
[04:00] <grendal_prime> ummm there are a few other things that will cause it, none of them a good idea. thing is jak2000 a typical reboot will usually fix it.  there was  some sort of threat to file integrity that apparomor or the kernel picked up. It put the entire drive into read only mode.
[04:00] <grendal_prime> that way you dont loose your important shit.
[04:02] <grendal_prime> Most default drive mounts are set up to remount into ro (read only) when serious file system issues arise.
[04:03] <grendal_prime> jak2000,  ARE YOU READING THE WORDS COMING OFF OF MY FINGER TIPS?!!!
[04:05] <jak2000> grendal_prime yes
[04:05] <jak2000> rebooting. is a vps server
[04:05] <jak2000> :)
[04:05] <grendal_prime> vps?
[04:05] <grendal_prime> whats a vps?
[04:06] <DonRichie> virtual private serer
[04:06] <DonRichie> *v
[04:06] <jak2000> a server on the cloud
[04:06] <grendal_prime> ooooo....ya those are sucky for alot of reasons.
[04:06] <grendal_prime> well i mean unless you have a great idea for a startup
[04:20] <grendal_prime> jake2000 did that work?
[04:20] <grendal_prime> grrr..ya your welcome
[04:50] <DonRichie> grendal_prime: how is it going? Did you beat up your DNS problem?
[04:51] <grendal_prime> possibly
[04:53] <grendal_prime> im starting from the gound up with an old friend
[04:54] <grendal_prime> administrative spider
[04:54] <DonRichie> I also needed to refresh my dns knowledge a bit. I am currently reading some stuff
[04:54] <grendal_prime> had to clone a generic server
[04:55] <grendal_prime> adding the typical bs to get it where i want it.
[04:55] <grendal_prime> I WILL SLAY THIS DRAGON!!
[04:56] <grendal_prime> I AM THE GRENDAL!!
[04:56] <DonRichie> What do you mean with bs?
[04:57] <grendal_prime> AH  you now..i like my servers very generic..so i have to set up authorized keys,
[04:57] <DonRichie> grendal_prime: go and get that xp and loot
[04:57] <grendal_prime> xp?
[04:58] <DonRichie> experience points
[04:59] <grendal_prime> I KILL THIS BS ON A DAILY BASIS....WOOP WOOP.. also fish i kill those allot as well.
[04:59] <DonRichie> still dont know the abbreviation bs ^^
[05:00] <grendal_prime> oh sorry. Bull shit.
[05:00] <grendal_prime> its a rancher phrase.  commonly pronounced Booowl shit
[05:01] <DonRichie> Ahhh, now I understand :)
[05:01] <grendal_prime> what are you from england?
[05:01] <DonRichie> Germany
[05:02] <grendal_prime> ahhh...there ya have it...you guys blood pudding, warm beer and hot chicks with big tits.....precision, calipers and metric system.
[05:02] <grendal_prime> here in americal we adjust things with an 8 pound hammer.
[05:03] <grendal_prime> important stuff....while we are drunk.
[05:04] <DonRichie> never ate blood pudding, drink  my beer cold, like big tits and also like the metric system
[05:04] <grendal_prime> Not me mind you im a model citizen.   Im differnt.
[05:05] <grendal_prime> dude...we should hang out...i like big tits and the metric system TOO!!!
[05:05] <DonRichie> Sure, come over!
[05:06] <grendal_prime> you got Xtra big tits and metric system stuff to go around?
[05:07] <DonRichie> We should go to a club and measure the size of tits with the metric system.
[05:07] <DonRichie> m³
[05:08] <grendal_prime> more importantly, there is density and gravitational equation to take into account
[05:09] <grendal_prime> obviously you are dealing with the same dns issues im dealing with!
[05:11] <DonRichie> I am currently at the point I should be able to try defining a zone
[05:26] <grendal_prime> im using a tool
[05:26] <grendal_prime> ill let you know how it goes
[05:26] <DonRichie> okay :)
[05:39] <grendal_prime> im kinda ending up at the same place...im missing something simple here
[05:41] <DonRichie> If you weren't already using it u maybe can debug your problem by using "dig +trace +additional"
[05:41] <DonRichie> To see where the resolution is hanging
[05:49] <grendal_prime> this tool im trying makes the settings pretty simple. but im running into the same issue ihad before
[06:02] <grendal_prime> so basically i just want a zone for my local network.  say i want that to be.  booksnmore.lan
[06:04] <DonRichie> Okay. what is your problem at the moment?
[06:11] <grendal_prime> so do i want a master slave stub forward or deligation zone?
[06:11] <grendal_prime> it just doesnt seem to me it should be so damn hard
[06:17] <DonRichie> Don't know if it helps but here is an old configuration I wrote: http://paste.ricl.de/?0f32918f75e7ef8d#V9v+5JJ1jVKCqdw1VPn+YBjMtQa3GYYnguEFmsLx1Bo=
[06:19] <grendal_prime> its working as a cacheing server basically at this point. it is forwarding on dns requests to like google.
[06:19] <grendal_prime> its just not seeing my local records.
[06:21] <DonRichie> Can you show me your zone configuration? Maybe I have an idea what to do
[06:21] <grendal_prime> if i have the clients network settings pointed to 192.168.15.250 as the dns server. and on that server there is an entry stating that zimbra1 is located at 192.168.15.249 than i should be able to ping that address
[06:22] <DonRichie> grendal_prima: First, are you sure you speak to the correct DNS-Server?
[06:23] <DonRichie> If yes: did you define search domain?
[06:23] <DonRichie> on your clients
[06:24] <DonRichie> If not you need to resolv the fqdn for example zimbra1.domain
[06:26] <DonRichie> grendal_prime: And check that you did not forget the tailing "." in your domains
[06:29] <grendal_prime> fuck
[06:29] <grendal_prime> this is crazy.
[06:29] <grendal_prime> now i remember why i have avoided this for so many years
[06:30] <grendal_prime> oops did i think that or actually type it?
[06:31] <grendal_prime> ok one step at a time...bind is installed.
[06:31] <DonRichie> dns is fun :)
[06:31] <grendal_prime> first thing i need is a forwarding zone right?
[06:32] <grendal_prime> that way anything that is not in a local zone will be moved on to some other server correct?
[06:32] <grendal_prime> im gonna use google.
[06:33] <grendal_prime> by the way im trying to use the webmin module at this point.
[06:35] <grendal_prime> that part works
[06:36] <grendal_prime> i can ping things and it figures out what the addreses are. next. I need to set up a zone for internal addresses.
[06:37] <grendal_prime> another master zone?
[06:38] <DonRichie> you need 2 zones. 1 for forward lookups and 1 for reverse lookup
[06:41] <grendal_prime> no reverse if for addresses to names. I dont care about that
[06:41] <grendal_prime> i just need names to addresses
[06:42] <grendal_prime> here is where this gets frustrating, this is pretty simple when dealing with a hosts file,
[06:43] <grendal_prime> why it is that the server needs to be complicated about this in the first place makes no since to me.
[06:52] <grendal_prime> this is rediculas
[06:53] <grendal_prime> there are a hudred howtos on this..i cant find a single one that works
[06:54] <grendal_prime> im starting over..setting up a small virtual network with one router as a gateway.  privete isolated netwrk that will have to go through that device,
[06:55] <grendal_prime> it will act as the router/dns server.
[06:55] <grendal_prime> one client.
[06:55] <DonRichie> if you want I can take a look at your config files
[06:55] <grendal_prime> give me 10 min
[06:55] <DonRichie> k
[06:56] <gblfxt_> hah, sounds like setting up zabbix, have to try different working methods at different points from different howto's.....
[06:57] <grendal_prime> zabbix is easy
[06:57] <grendal_prime> dude
[06:57] <grendal_prime> DonRichie, prvt chat
[06:57] <grendal_prime> we will need screen shareing and whatnot.
[06:58] <jerrcs> why don't you just pastebin them?
[06:58] <grendal_prime> that is slow
[06:58] <jerrcs> no it's not?
[06:58] <grendal_prime> direct screen access
[06:58] <jerrcs> yeah, that's something i would never do
[06:58] <grendal_prime> im not talking to you
[06:59] <jerrcs> you're in a public channel, yes, you're talking to everyone, including me.
[06:59] <jerrcs> don't be rude.
[07:01] <grendal_prime> dude...im not going to screen share with you
[07:01] <grendal_prime> or everone else here.
[07:02] <grendal_prime> you obviously have not used the app before
[07:02] <grendal_prime> it does not give the other individual any access other than viewing what you have on screen
[07:03] <jerrcs> i'm saying you could just pastebin your configs (using something like wgetpaste, makes it <30 seconds to share that) and someone could help you
[07:04] <grendal_prime> this requires a bit more than that
[07:04] <grendal_prime> a birdseye view of the network creation and servers is sometiemes required...and you dont get it..this is all in a disposable environment
[07:05] <grendal_prime> its all virtual on my own isolated dev network
[07:05] <grendal_prime> i appreciate your concern.. however i do know what i am doing.
[07:05] <jerrcs> no, it doesn't. it requires me to download proprietary software to establish a connection to your screen
[07:05] <grendal_prime> im not talking to you
[07:05] <jerrcs> which many work firewalls even block
[07:06] <grendal_prime> i own my own nework. and blocking outbound connections on random ports is rather difficult.
[07:06] <jerrcs> i'm not going to "force" to help you, but you shouldn't be so rude to people who are more than willing to help. in addition, not many people like unsolicited PMs. it helps other people resolve their issues if you express the concern publicly, especially since the channel is logged and someone might be able to find it useful in the future.
[07:07] <grendal_prime> ill gladly post how we did this in the end
[07:08] <grendal_prime> im going to show him the environment im building he will more than likely point out what im doing wrong.
[07:09] <grendal_prime> i wasnt trying to be rude. I asked him to a private chate so as not to imposing on anyone else
[07:09] <jerrcs> hopefully he's able to help. have fun
[07:09] <grendal_prime> we have work to do i will talk to you later
[07:10] <DonRichie> "more than likely": I am also still learning
[07:26] <gblfxt_> ubuntu does not seem to like the external switch in hyperv
[07:29] <grendal_prime> jerrcs,  this seems to be working really well so far we will let you know if we trip on our dicks
[07:30] <jerrcs> um thanks for the update. i really don't need them though, thanks
[09:23] <grendal_prime> he nailed it
[09:23] <grendal_prime> we will be giving you an entire briefing in the mourning.
[09:23] <grendal_prime> not your mourning though...ours
[09:45] <grendal_prime> also i have to buy a new motorcycle for my kid tomorro, the report may be a day late
[09:46] <grendal_prime> possibly 2
[09:48] <grendal_prime> also i didnt get hacked, and i didnt have to hack anyone else, so i think its safe to say...in the end, we are both happy and un infected.
[09:49] <grendal_prime> PEACE!!!
[12:28] <jefinc> okay so at work I login to a domain with my username and password, and no matter what computer I login to all my stuff is the same... how do I create a server like that?
[15:41] <kasad> aloha
[15:41] <kasad> nobody seems to have idea so I came here to cry for  halp
[15:42] <kasad> I am doing friend a favour, and due to change of plans, I now have  ~100GB ntfs partition that is unused, so I was thinking of formatting it to ext4 and mounting it as /home
[15:42] <kasad> so my train of thought was like, format to ext4, mount it somewhere as say tmphome
[15:43] <kasad> rsync, edit fstab, reboot & profit
[15:43] <kasad> problem is home dir is encrypted
[15:43] <kasad> will that affect the procedure or it doesn't matter since I am doing everything with appropriate privileges anyway
[15:44] <Tobbe-82|Reinsta> Hi guys, so after having rebroken the server (ftp filepermissions) due to following a patchwork of online tutorials I figured I'd to a clean re-install of ubuntu server 14.04 and then ask you guys for block by block help to set up a webserver following industry standards.
[15:44] <Tobbe-82|Reinsta> So far I have re-installed a clean install using disk lvm partitioning and just run apt-get update   &   apt-get upgrade.
[15:44] <Tobbe-82|Reinsta> I'm guessing the first thing is to set up so I can telnet into the server using putty? If so, then how would I set it up using industry standards?
[15:45] <kasad> Tobbe-82|Reinsta: I suggest you start from http://www.howtoforge.com/perfect-server-ubuntu-14.04-apache2-php-mysql-pureftpd-bind-dovecot-ispconfig-3
[15:45] <kasad> there is step by step everything, leave out things like dovecot if you don't want imap/pop3
[15:46] <kasad> or ispconfig if you plan to do everything by hand/scripts or maybe use some other solutions
[15:46] <kasad> s/solutions/solution
[15:47] <kasad> that's the easiest most straightforward guide I can think of right now for someone who is asking question which has "telnet into the server" in it. no offense
[16:00] <kasad> anyone got idea how to rsync/copy/whatever encrypted home to new partition
[16:03] <kasad> will it just be unencrypted?
[16:03] <kasad> after copying
[16:04] <kasad> or will I botch everything
[17:39] <YamakasY> ah no! I get a 503 on my fpm install
[17:39] <YamakasY> php-fpm and we cannot get it solved, just a basic setup
[17:50] <Patrickdk> yay!
[17:52] <YamakasY> no noy yay
[18:03] <Patrickdk> exactly what does apt-get say when you install it?
[18:03] <Patrickdk> I mean, you posted nothing, how can you expect results?
[18:10] <YamakasY> Patrickdk: the only thing I get is  AH01074: Failed writing Environment to :
[18:10] <YamakasY> Patrickdk: this is a good example http://www.binarytides.com/setup-apache-php-fpm-mod-proxy-fcgi-ubuntu/
[18:10] <Patrickdk> what happened to all the stuff around that message
[18:11] <YamakasY> nothing
[18:11] <Tobbe-82|Reinsta> Is there a significant difference to running a MySql server or a MariaDB database?
[18:11] <Patrickdk> define, good example? that looks like a tutorial
[18:11] <YamakasY> Patrickdk: yes and we tested it, at least someone on ##php and that worked
[18:11] <YamakasY> 14.04
[18:11] <YamakasY> so I wonder what goes wrong, or what I can check on apache
[18:11] <Patrickdk> check apache?
[18:12] <Patrickdk> you said you got a 503 when installing fpm
[18:12] <Patrickdk> so what is going on with apt-get?
[18:12] <Patrickdk> how exactly is apt-get failing?
[18:12] <Patrickdk> it is normally very verbose
[18:13] <YamakasY> Patrickdk: huh what has apt-get to do with it ?
[18:14] <YamakasY> my webbrowser says 503 on it :)
[18:14] <Patrickdk> dunno about your webbrowser
[18:14] <Patrickdk> you said you got a 503 on your fpm install
[18:14] <Patrickdk> so what is wrong with the install?
[18:14] <Patrickdk> I guess your not talking about the install at all
[18:14] <Patrickdk> but in your php/apache config?
[18:15] <Patrickdk> in that case, well, consult whatever php application your attempting to use
[18:17] <YamakasY> nevermind
[18:56] <grendal_prime> hey DonRichie pretty sure the entire issue was with the client and that dns-localdomain setting
[18:57] <grendal_prime> i have a really great app for managing that entire process now that we know what needs to be dont...very slick server side application and web interface
[19:24] <frain> Hello. I have just installed ubuntu server and faced and problem
[19:24] <frain>  with Foregin keyboard layout , can't fix my configs with VI or anything :\
[19:24] <frain> How does one install new layout?
[19:25] <Patrickdk> define, layout
[19:25] <Patrickdk> oh, keyboard
[19:25] <frain> yeah
[19:25] <Patrickdk> it asks you that at install time
[19:25] <frain> Nope
[19:25] <frain> VM
[19:25] <Patrickdk> vm still has an installer
[19:25] <Patrickdk> unless you mean some kind of vms
[19:26] <frain> VM that automaticly installs os
[19:26] <frain> no user install
[19:26] <frain> :\
[19:26] <Patrickdk> http://askubuntu.com/questions/155424/changing-tty-keyboard-layout-on-a-server
[19:27] <frain> Thanks a bunch man
[19:38] <Overand> So, I'm trying to figure something out.  (I'm looking at this on a 12.04 machine by the way) - is the linux-image-virtual kernel actually any different from the standard one?  I'm comparing a 3.2.0 kernel on my 12.04 machine with a 3.17 standard kernel on my (different distro) workstation, and the "virtual" 3.2 kernel is actually significantly larger
[19:39] <Overand> based on a *very* brief overview of the kernel config, it doesn't look like there's actually any real difference in terms of what support is enabled.
[19:48] <Overand> ugh, WOW.  there's almost no difference at all in the kernel config.  http://sprunge.us/RaAT?diff
[19:48] <Patrickdk> there is a huge difference
[19:48] <Patrickdk> they are the same exact kernel
[19:49] <Patrickdk> except the virtual one, doesn't pull in all the extra kernel modules
[19:49] <Overand> different scheduler, different number of max CPUs, a couple other things
[19:49] <Overand> hm.  how so?
[19:49] <grendal_prime> there is considerably less needed for the virtual kernels
[19:49] <Overand> the config file is basically identical, folks
[19:49] <Patrickdk> no ocfs module, I forget what else
[19:49] <Overand> take a look at that diff i shared
[19:49] <Patrickdk> who said the difference had ANYTHING to do with the kernel config file?
[19:49] <Overand> that's the config of a -generic vs a -virtual
[19:50] <Overand> ... then I'm confused.
[19:50] <grendal_prime> because the hardware options are much less for the virtual ones.  remember one of the biggest things about virtualization is that the hardware appears to be the same no matter what arichtecture you are working on.
[19:50] <Patrickdk> who said that -generic vs -virtual where compiled from different kernels?
[19:50] <Overand> Folks, I understand what virtualization is.
[19:50] <Overand> And I understand the idea of having less stuff.
[19:50] <grendal_prime> you dont need a tone of different network card information to be in the kernel
[19:51] <Overand> What I'm *not* understanding is where that difference is, if the kernel config files are almost identical
[19:51] <Overand> There's no difference in what's compiled as a module or installed or what - unless that's NOT happening in the kernel config
[19:51] <Patrickdk> Overand, again, what does the kernel config file have to do with anything?
[19:51] <Patrickdk> what does the kernel config file have to do with package management?
[19:51] <Overand> Patrickdk: Like I said - maybe I'm missing something, but my understanding is that the config file is what defines what modules get compuiled etc
[19:51] <Patrickdk> Overand, it is
[19:51] <Overand> Ok, what does package management have to do with anything?
[19:52] <Patrickdk> but that has nothing to do with the -generic and -virtual packages
[19:52] <Patrickdk> the modules are compiled
[19:52] <Patrickdk> but they are not *included* into the package
[19:52] <Patrickdk> you can add them if you want, or need them
[19:53] <Patrickdk> but by default, they are not installed
[19:53] <Patrickdk> where with -generic, they are
[19:53] <Overand> hmm
[19:53] <Overand> alright, that makes more sense
[19:53] <Patrickdk> that is why the kernel made modules to start with
[19:54] <Overand> I understand the idea of modules, I just hadn't considered that the primary difference between the virtual kernel and the generic one is the schedulers used and the inclusion of modules in the main package
[19:55] <Patrickdk> the size difference is all cause of the modules not installed by default
[19:56] <Overand> I understand that.
[19:56] <Overand> I'd just figured there'd be a bit less stuff compiled into the kernel itself - both are 4.8 MB
[19:57] <Annoyed> Greetings
[19:58] <Overand> A lot of stuff I wouldn't expect, like CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_DRM_NOUVEAU_DEBUG=y - but that's likely just my lack of kernel internals understanding.
[19:58] <Overand> I think I've probably literally reconfigured & compiled a 2.6 line kernel maybe 3 or 4 times, total.
[19:59] <Annoyed> Seems to be some confusing things about server configuration. For example, ddclient. Installed ok, but it seems that you aren't supposed to directly edit config files, such as /etc/ddclient.conf ??
[19:59] <Patrickdk> well, nouveau won't matter in a vm, cause nouveau won't be used
[20:00] <Overand> I guess this all comes down to me wondering why the boot times seem so diffrent now than in the first JeOS releases I used (which may well have been 8.04?)  And it's likely not all that much kernel-related.
[20:00] <Patrickdk> unless you passthough a video card, but then you probably want it then
[20:00] <Patrickdk> how is it different?
[20:00] <Overand> One thing I've never been quite clear on re: the kernel is actually how much impact having device support compiled in has on ANYTHING if the device isn't present.
[20:00] <Patrickdk> 12.04 uses upstart, instead of sysv in 8.04
[20:01] <Overand> (minus the increased security attack surface, kernel file size, etc)
[20:01] <Patrickdk> that depends on the module
[20:02] <Patrickdk> the module might be 100% outside the kernel, or 90%, or like 50%
[20:02] <Overand> well, i may not have been clear.
[20:03] <Overand> Let's say I went through that virtual kernel config, and took out *everything* compiled in or set up as a module that isn't relevant to - say - running on KVM with virtio devices.
[20:03] <Annoyed> I am used to editing config files  by hand.  Is this going to be a problem with Ubuntu server ?
[20:03] <Overand> How much impact would that *actually* have on stuff like boot time?  (or even performance)
[20:03] <Overand> Annoyed: not in my experience.  I edit plenty of stuff by hand.
[20:04] <Patrickdk> you can edit anything you want
[20:04] <Patrickdk> the problem is when you upgrade/update :)
[20:04] <Overand> Annoyed: there are *some* things that y ou don't want to edit by hand even in most distros, if the config files are generated by something.  Like on Arch, which is EXTREMELY "do it yourself," you don't want to edit grub config by hand, generally, because there's a whoel grub detection thing most people use
[20:04] <Overand> but i don't recall anything of the sort on Ubuntu other than exim config if you set it up that way, and maybe grub
[20:04] <Patrickdk> overand, if your thinking the modules are affecting boot time, your off the mark
[20:05] <Patrickdk> normally what affects 95% of your boot time, is starting up all the init scripts
[20:05] <Overand> Patrickdk: modules i'd not expect as much.  compiled-in stuff i'm not sure about but yeah
[20:05] <Patrickdk> this is why upstart was made, and why systemd was created
[20:05] <Overand> it doesm ake sense that everything's scripts
[20:05] <Overand> One thing I like about systemd is that it's got the "bootchart" functionality built in
[20:05] <Overand> that's SO nice
[20:05] <Patrickdk> last I looked, systemd was still a collection of scripts
[20:05] <Patrickdk> atleast for startup scripts
[20:06] <Patrickdk> in my little usage of rhel7
[20:06] <Annoyed> That's what I'm concerned with. For example, ddclient. will debconf (or something else) change /etc/ddclient.conf  if I set it up manually?
[20:06] <Overand> " systemd-analyze" etc
[20:07] <Overand> Annoyed: i cannot imagine why debconf would upadte it and not ask you
[20:07] <Overand> Can you provide context for "it seems you're not supposed to edit it directly?"
[20:08] <Patrickdk> I don't see anything that says don't edit it
[20:08] <Patrickdk> it only says, THIS IS AN EXAMPLE FILE
[20:08] <Annoyed> Well, for example. ddclient. the top of the file says "Configuration file for ddclient generated by debconf"
[20:08] <Patrickdk> mine doesn't say that
[20:09] <Annoyed> file is /etc/ddclient.conf
[20:09] <Overand> when you installed, did you get a whole debconf prompt?
[20:10] <Annoyed> No, used a GUI installer. The apt-get system seems very difficult to use from command line..
[20:10] <Patrickdk> apt-get install ddclient
[20:10] <Patrickdk> seems much more simpler than gui :)
[20:10] <Overand> ...
[20:10] <Overand> Annoyed: Is there a good reason for you to be using a GUI on your server?
[20:10] <Overand> anyway - https://wiki.debian.org/debconf
[20:12] <Annoyed> Overand : Yes, it seems that command line is crazy convoluted for some things.. For example, many packages have numerous optional components. No idea how you select options using command-line apt-get
[20:12]  * RoyK doesn't like systemd
[20:13] <Annoyed> So I chose to install a bare bones GUI to get some of the GUI tools, such as software center
[20:14] <Patrickdk> you just install the optional components
[20:14] <Annoyed> And how do you know what they are?
[20:14] <Patrickdk> normally when you install the main package, it says, suggested install, xxxx
[20:14] <Patrickdk> search for them?
[20:14] <Patrickdk> apt-cache search xxxx
[20:14] <Patrickdk> apt-cache show yyyy (of the main package)
[20:16] <Annoyed> Hmmm... didn't have much luck  with that earlier
[20:17] <Annoyed> But I've got that part solved with the GUI, which is not running all the time anyway.
[20:19] <Overand> meh
[20:19] <Overand> Annoyed: if you want a 'gui' maybe use 'aptitude'
[20:19] <Overand> software-center seems insane, to me, to use on a server
[20:19] <Overand> at least use synaptic, maybe?  (is that included, still?
[20:20] <Annoyed> And how do you go about controlling services? what runs at startup, what doesn't.  It seems to be running more than one way to control this. something called upstart...., as well as the older rc-update style
[20:20] <Overand> aptitude is a CLI 'gui'
[20:20] <Annoyed> Yeah, I tried  Aptitude, some success with that.
[20:21] <Overand> https://www.google.com/search?q=ubuntu+server+control+startup+services result 3 is https://www.google.com/search?q=ubuntu+server+control+startup+services which suggests 'bum' or 'rconf' but i'v never used either
[20:24] <Annoyed> Hmmm.. that looks interesting.   So the old update-rc.d  is out the window?
[20:26] <Overand> TBH I have no idea, I haven't had to enable or disable anything on my few 14.04 machines
[20:28] <Annoyed> One other silly question for now, anyway... It's not referring to network interfaces by the usual eth(x) terms... it calls my uplink interface " p2p1" for example.
[20:29] <Annoyed> Can I use that name whereever I would  normally have used eth0 for example?
[20:30] <Patrickdk> sure
[20:30] <Patrickdk> that name is what the nic calls itself
[20:31] <teward> or rather, what the system calls the nick
[20:31] <Annoyed> What is the point of making changes like this? Why not just call it eth(x) ? seems to be unneeded complexity
[20:31] <Overand> Annoyed: Yeah.  That's been a long time coming - it's "predictable, reliable nic names"
[20:31] <Overand> Annoyed: eth0 is great if you only ever have one NIC
[20:31] <Patrickdk> eth has worked fine for me, with 12+ nics
[20:31] <Patrickdk> this new nic naming has caused me nothing but problems
[20:31] <Overand> eth0 is terrible if you have multiple NICs and your boot performance changes a tiny bit and a different NIC gets eth0 vs eth1 each time
[20:31] <Patrickdk> due to the renaming not working, due to conflicts
[20:31] <Annoyed> It's got 3... but i've always been able to tell 'em apart.
[20:32] <Patrickdk> then I end up with nics randmoly called renamex
[20:32] <Overand> does ubuntu use the same nic naming stuff as arch?
[20:32] <Patrickdk> udev is the reliable way to name them
[20:32] <Overand> and udev is fine
[20:32] <Patrickdk> if you don't like it, uninstall that biosdevname package
[20:33] <Overand> If anyone wants to read about it in SystemD:  http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
[20:33] <Patrickdk> don't want to read anything about systemd
[20:33] <Overand> (I have no diea if 14.04 is on systemd - i didn't think it was)
[20:33] <Overand> Patrickdk: heh - I feel you on that.
[20:33] <Patrickdk> 14.04 plays with systemd, but doesn't really use it
[20:33] <Overand> Though the justification for predictable nic names is worthwhile
[20:33] <maswan> I found that the new names were less stable than the old ones
[20:34] <Overand> i've had no issues with it on arch w/systemd, haven't tried it on ubuntu
[20:34] <Overand> and i've got a weird mix of nics, PCI, PCIe, onboard, addon, etc
[20:34] <maswan> I hope this will be better in future LTSen than 14.04
[20:34] <Patrickdk> how *much* of systemd does arch use?
[20:35] <Patrickdk> I have noticed systemd has been recreating every single cve that other programs have solved for years, all over again
[20:35] <Overand> Patrickdk: Yeah.  SystemD is...
[20:35] <Patrickdk> in it's attempt to, merge everything
[20:35] <Overand> well, let's just say it's contentious
[20:35] <Overand> and obviously there are some implementation problems
[20:35] <Annoyed> Hmmm... I don't have any more  time to play with this now... but I think the  devs could learn a thing for Star Trek's "Scotty"... The more you overthink the plumbing, the easier it is to stop up the drain.
[20:35] <Overand> i'm not sure that the problems it's solving are worth the hassle
[20:36] <Overand> Annoyed: Honestly, I'm fine with the way persistent nic naming has been handled on my (non-ubuntu) systems.  I think it's great.
[20:36] <Overand> I think anyone using /dev/sda / eth0 type naming on a system that might ever have more than one nic or disk is insane
[20:37] <Patrickdk> how so?
[20:37] <Patrickdk> this is what udev is for
[20:37] <Patrickdk> when the system find a nic, it consults udev to name it
[20:37] <Patrickdk> and udev gives it a name
[20:37] <Annoyed> I'm fine with the old way.. hell, the disk formatting utility  thought the first drive in the system was sdb, for example. Scared the shiznit out me when I spotted that
[20:37] <Patrickdk> no conflicts, no issues, it just works
[20:38] <Annoyed> Anyway, thanks for the info.
[20:38] <Patrickdk> now, if you replace a nic, then you just update your udev with the new mac, and it's all good again
[20:38] <Patrickdk> with this new naming
[20:38] <Patrickdk> who knows what it will be called
[20:38] <Patrickdk> and I don't want to change it in 20+ different config files
[20:39] <Overand> Patrickdk: that does work 'fine'
[20:39] <Overand> But it's also more work, in some ways
[20:39] <Patrickdk> how is it more work?
[20:39] <Overand> tracking - and even touching - udev.  at all, ever
[20:39] <Patrickdk> ubuntu adds new persistant entries to udev for each nic, since, well, as long as I can remember
[20:39] <Patrickdk> you only have to edit 1 single file :)
[20:39] <Patrickdk> in /etc/udev/rules.d/70-persistant-net
[20:40] <Overand> so i suppose you could always just repoint stuff to 'eth7' when you replace your primary nic etc etc
[20:40] <Overand> yes, i'm familiar with it
[20:40] <Overand> let me rephrase:
[20:40] <Overand> I think anyone using /dev/sda / eth0 type naming on a system that might ever have more than one nic or disk is insane, *if they're not using and familiar with udev*
[20:40] <Overand> I suppose the idea of systemd/nic naming/etc stuff is to 'hide' udev
[20:40] <Annoyed> Have a good afternoon
[21:05] <YamakasY> more people having issues with php-fpm on 14.04 ?
[21:08]  * Patrickdk is having no issues
[21:09] <teward> YamakasY: no issues here
[21:09] <teward> except when i screw up my chmod commands :P
[21:16] <YamakasY> mhh I'm having 503's and some strange  AH01075: Error dispatching request to :
[21:17] <YamakasY> teward: you connect on IP or socket ?
[21:20] <teward> YamakasY: depends on the server, on my 12.04 one, both, 14.04 and later, socket only since that patch that made php5-fpm socket-listen by default in Debian with 5.4 i think it was was mine
[21:20] <teward> (I have multiple 12.04 servers ;P)
[21:21] <YamakasY> yeah I'm on 14.04 so I use IP
[21:21] <YamakasY> and socket seems to have some performance issues ?
[21:21] <teward> YamakasY: haven't seen any performance issues comparatively
[21:21] <YamakasY> teward: I have read about them
[21:21] <YamakasY> bu ok
[21:21] <YamakasY> but
[21:21] <teward> YamakasY: read, or witnessed?
[21:21] <YamakasY> teward: yeah there were some tests with it
[21:22] <teward> i said *witnessed* as in witnessed it yourself :P
[21:22] <YamakasY> teward: nope but I din't want to go the wrong path :)
[21:23] <YamakasY> but I wonder wht I cannot telnet my local port 9000
[21:23] <teward> because telnet is evil
[21:23] <teward> not sure why you'd be telnetting to php though
[21:23] <YamakasY> no to see of the port responds
[21:26] <YamakasY> teward: but ok, this was the idea, but I get these errors :S
[21:26] <teward> YamakasY: in telnet?
[21:31] <YamakasY> teward: no to see why it doesn't connect to my listening IP
[21:31] <YamakasY> debugging already all day
[21:31] <jerrcs> netstat -tunap | grep :80
[21:31] <jerrcs> ?
[21:31] <YamakasY> no 9000 :)
[21:31] <teward> YamakasY: netstat -tunap | grep :9000
[21:31] <teward> ^ maybe that?
[21:31] <jerrcs> you weren't specific enough.
[21:32] <YamakasY> teward: yes it listens
[21:32] <jerrcs> you said it wasn't connecting to your listening IP
[21:32] <teward> jerrcs: for PHP
[21:32] <teward> (scroll up)
[21:32] <YamakasY> uhm
[21:32] <jerrcs> I did
[21:32] <YamakasY> yes
[21:32] <jerrcs> In that case, he needs to be more specific that he cannot conect to his php-fpm socket.
[21:32] <YamakasY> indeed
[21:32] <YamakasY> I have it listen on 9000 on localhost
[21:33] <jerrcs> ah ok
[21:33] <teward> YamakasY: what's returning the 503s?
[21:34] <YamakasY> and when I access a page I get a 503 and:
[21:34] <YamakasY> [Sun Dec 28 21:48:42.928672 2014] [proxy_fcgi:error] [pid 4924] [client 172.16.29.6:53211] AH01067: Failed to read FastCGI header
[21:34] <YamakasY> [Sun Dec 28 21:48:42.928757 2014] [proxy_fcgi:error] [pid 4924] (104)Connection reset by peer: [client 172.16.29.6:53211] AH01075: Error dispatching request to :
[21:34] <teward> doesn't answer what's actually returning the 503s
[21:34] <YamakasY> apache I guess ?
[21:35] <Patrickdk> that says port 9000 is working fine
[21:35] <Patrickdk> but that your not TALKING fcgi
[21:36] <jerrcs> maybe this is a dumb question, but are your PHP scripts working just fine? as in, using php-cli (php index.php)
[21:36] <YamakasY> they were, will check a simple one
[21:36] <jerrcs> ok
[21:37] <jerrcs> the other thing I could think of that causes me grief sometimes, is the open tags. sometimes php-fpm reads a different php.ini than the CLI version of PHP.
[21:37] <YamakasY> yap parses well
[21:37] <jerrcs> ok just checking
[21:38] <YamakasY> always good
[21:38] <jerrcs> can php-fpm give you any logs/debug info?
[21:38] <YamakasY> jerrcs: what I just pasted
[21:38] <jerrcs> that's apache.
[21:38] <jerrcs> php-fpm.log, or something like that.
[21:38] <YamakasY> oh dan indeed
[21:38] <YamakasY> sorry
[21:40] <YamakasY> jerrcs: the test performs well on start it says
[21:41] <jerrcs> hmm, it's been awhile since I used php-fpm, but I believe you can increase the verbosity of the log files to perhaps show you php errors or failures in php-fpm
[21:45] <YamakasY> mhh testing out
[21:46] <YamakasY> nope nothing and strace didn't gave me anything
[21:55] <YamakasY> jerrcs: mhh what shall I try
[21:56] <jerrcs> i'm not sure, sorry
[21:56] <YamakasY> me neither
[21:58] <jerrcs> the only thing I could think of is maybe asking in a more specific channel, if they have any PHP or PHP-FPM channels.
[21:59] <YamakasY> yes we did debug on ##php but same issue we cannot find it
[21:59] <YamakasY> fpm seems to be a pain following the guys there
[22:11] <YamakasY> Patrickdk: you any clue ?
[22:13] <Patrickdk> without any info or context? no
[22:13] <YamakasY> Patrickdk: I have you the tut earlier, just using those settings and getting what I showed here
[22:14] <Patrickdk> posting a tutorial to me does not help
[22:14] <Patrickdk> I cannot see the logs you have
[22:14] <Patrickdk> I can not see if you FOLLOWED the tutorial correctly
[22:14] <Patrickdk> and I can not see if there is anything else going on, outside of the scope of the tutorial
[22:14] <Patrickdk> I am clearly not going assume you did everything the way the tutorial says to do it, and setup your system the exact same way
[22:15] <Patrickdk> cause if that was the case, there wouldn't be any problems
[22:15] <Patrickdk> and if that was the case, there would only be 1 tutorial existing to setup php, not millions
[22:16] <YamakasY> Patrickdk: that tut works, we tested it on ##php, I pasted the logs here, I don't have anything else, I cannot provide you what I don't have
[22:17] <YamakasY> Patrickdk: you say it cannot connect to fastcgi... so we should debug that I hies
[22:17] <YamakasY> guess
[22:17] <Patrickdk> I never said that
[22:18] <Patrickdk> I said it clearly can connect
[22:19] <YamakasY> ok, it does not talk cgi, so
[22:19] <YamakasY> how to check why it doesn't ?
[22:20] <Patrickdk> your config?
[22:20] <Patrickdk> I can't see it
[22:20] <Patrickdk> and as the other guy said
[22:20] <Patrickdk> check your logs
[22:20] <Patrickdk> on both sides
[22:20] <Patrickdk> apache and php
[22:20] <YamakasY> yes I di and pasted what I have... but modules are loaded, so I want to test them in some way
[22:21] <Patrickdk> you posted them?
[22:21] <Patrickdk> I saw two log lines from apache
[22:21] <Patrickdk> nothing from php
[22:21] <Patrickdk> and no configs
[22:21] <YamakasY> no PHP doesn;t log a thing
[22:21] <Patrickdk> it does
[22:21] <YamakasY> only on startup that the test is OK
[22:21] <YamakasY> no it doesn't
[22:22] <Patrickdk> then you have php configured wrong
[22:22] <jerrcs> PHP logs as well as PHP-FPM. They both need to be logged.
[22:22] <Patrickdk> or, the request is never making it to php at all
[22:22] <YamakasY> Patrickdk: that is what I tjink
[22:22] <Patrickdk> in that case, heh, something else is blocking it or is on port 9000
[22:23] <YamakasY> yes, I have seen people running on other ports because of that
[22:24] <Patrickdk> this is what configs help to confirm
[22:24] <Patrickdk> but no configs posted
[22:24] <YamakasY> yes I know but I need to consolidate them, I don't use small configs and have comments in it
[22:24] <Patrickdk> I will not sit here and attempt to guess at the issues you have
[22:25] <Patrickdk> I will find the issue, if info is supplied
[22:25] <Patrickdk> we could easily spend weeks debugging this at this rate
[22:25] <YamakasY> yeah yea I know... but I hope you are sitting :D
[23:09] <YamakasY> Patrickdk: it's working!
[23:09] <YamakasY> I need to reviews my config again
[23:09] <YamakasY> *review
[23:11] <YamakasY> oh yes :D
[23:11] <Patrickdk> :)
[23:27] <Crell> OK, the saga continues.  I am now trying to install 14.04 server on a single hard drive, no RAID or anything.  The partitioning step in the installer however is failing with an error that /dev/sda1 "is apparently in use by the system", and so it won't create a partition there.
[23:27] <Crell> Why would that be?  The drive was formerly part of a RAID setup but I'm installing from a USB key and telling it to blast the drive entirely and repartition.
[23:28] <YamakasY> Patrickdk: it fails on dynamic
[23:28] <YamakasY> pm = dynamic
[23:29] <Patrickdk> well, that is clearly a php config issue
[23:32] <YamakasY> Patrickdk: you mean real php, so no fpm ?
[23:37] <Crell> fpm is real PHP. :-)
[23:40] <YamakasY> heh I ment php.ini or so, so no php-fpm config
[23:42] <Patrickdk> well, where is pm=dynamic
[23:47] <YamakasY> Patrickdk: oh wrong! on socket it works