/srv/irclogs.ubuntu.com/2014/07/15/#ubuntu-server.txt

axiomquestion, I'm new to linux, been off and on with the desktop, with that being said. I want to fully move away from windows. I have a desktop pc that I dont use and want to install ubuntu server on it. My primary focus on it as of right now is setting it up to do backups of my labtop and possibly external hd. What all area's of a server system should I start and focus on?01:44
sarnoldaxiom: I'd give a quick read to the server guide: https://help.ubuntu.com/14.04/serverguide/01:45
sarnoldaxiom: feel free to skip things that don't make sense (and skip DM-multipath entirely)01:45
sarnoldhopefully you'll find interesting things to do with it :)01:45
axiomI'm also new to irc, not sure how u replied in red but ty for the link. hopefully that will help get me going. Would u recommend backup software or a cron script for it?01:48
sarnoldaxiom: I just typed your name in the front of the line :) -- most irc clients will highlight whatever lines have the nickname in it..01:49
sarnoldaxiom: .. and to type 'axiom' it's even easier than that, I just type 'ax<tab>' and my client fills in the rest -- yours probably does too01:50
axiomsarnold, lol that it does. learn something new every day :)01:51
sarnoldaxiom: I use rsnapshot for backups; there's a lot of choices for backups, it's hard finding the "right" one to use..01:51
Patrickdkbut dm-multipath is nice :)01:51
Patrickdkworks good for my dual ported disks :)01:51
sarnoldaxiom: bacula, amanda, rsnapshot, dejadup, duplicity, etc. etc. etc. you can go crazy trying to compare them all.01:52
Patrickdkwait? all you want is to backup your laptop to it?01:52
axiomsarnold, I have a book on backup and restore, and they talk about bacula, ntbackup, tar, dd, amanda,01:52
sarnoldPatrickdk: hehe yeah, I had a fun two days reading the dm-multipath docs before coming to terms with the fact that I just can't afford that kind of hardware01:52
Patrickdksimple to just use the build in backup in ubuntu to other server ssh account :)01:53
Patrickdksarnold, heh01:53
sarnoldaxiom: tar and dd are fantastic tools but you wouldn't want to start there for a full backup system :)01:53
axiomPatrickdk, thats just a start to get me working with the server side. eventually i'm going to build a rackmout to host vm's firewall and other things01:54
Patrickdkya, tar/dd aren't really for backups, unless your doing offline backups01:54
sarnoldPatrickdk: though I did get to wondering about some sata<-> sas interposers I've heard about... would they increase reliability by adding new lanes? or decrease reliability because HOLY COW SATA WASN"T MEANT FOR THAT!! :)01:54
Patrickdksarnold, depends on how you use it :)01:54
Patrickdkyou must only use one lane at a time, normally with those01:54
Patrickdkthey increase reliability, due to path failure (cable/hba/...)01:55
Patrickdknot due to disk failure01:55
Patrickdkand your still limited to 1/4th the bandwidth sas would have01:55
sarnoldnot 1/2?01:55
Patrickdknope01:55
sarnoldcripes01:55
Patrickdktwo ports, bi-directional01:55
Patrickdksata is half duplex01:56
sarnoldomg how am I just now learning that?01:56
Patrickdkthough I will say, most sas systems don't use both ports at once01:56
PatrickdkI'm doing a loadbalancing thing01:56
sarnold*sigh* I wish you were close enough to answer my stupid questions over beers or something. :)01:56
Patrickdkdo keep down cache clutter on the disks :)01:56
Patrickdkit switches sas path's every other 1MB of disk space01:56
sarnoldwow, why so fast?01:57
Patrickdkhmm?01:57
PatrickdkI have the extra wires, why not make them do something more than failover01:57
sarnoldisn't that switching some 20-30 times per second?01:57
Patrickdkno, no01:57
Patrickdkthe disk appears as two disks01:58
Patrickdkcause of the two ports01:58
sarnold*boggle*01:58
Patrickdkfor odd megs, I read/write using port 1, and evens on port 201:58
Patrickdkdo double speed, and better latency01:58
Patrickdkthe issue normally with using both ports randomly01:59
FFForever2How do I solve ingoring unknown interface eth0=eth0 when trying to configure a static IP after installation without networking? I added it the debian way in /etc/network/interfaces (with auto eth0)01:59
Patrickdkis they have a habbit of flushing cache when you access the same place on both ports01:59
Patrickdkand that happens suprisingly often01:59
sarnoldPatrickdk: oh! I could see that.02:00
sarnoldFFForever2: can you pastebin your /etc/network/interfaces file?02:00
sarnoldPatrickdk: at least, if I were a drive firmware author, I'd be sorely tempted to do the same :)02:00
sarnoldPatrickdk: how do those drives show up if they look like two drives? how do you add them to your pools?02:01
Patrickdkreally though, I normally use linux multipath for iscsi/fc02:01
Patrickdkand do most of my sas multipath on solaris02:01
sarnoldahhhhhh02:01
Patrickdkthey show up as two disks02:01
Patrickdkyou use dm-multipath to join them into a single disk (based on wwn)02:01
FFForever2sarnold, I'm an idiot. I had to save locally and cp it as I forgot to sudo vi. I copied it to /etc/interfaces... whoops. Fixed. Sorry to waste your guy's time.02:01
Patrickdkthen add the dm-multipath devices to your pool02:02
sarnoldFFForever2: success :)02:02
sarnoldPatrickdk: cool :) so.... would those interposers fit into a standard disk chassis? or do they only work for desktop-style systems with loads of clearance behind the drives?02:03
Patrickdkboth, depending02:03
Patrickdklike dell, their trays have two mounting options02:04
Patrickdksas and sata02:04
Patrickdkthe sata is where you mount a sata with interposer02:04
Patrickdkand sas if you don't use the interposer02:04
Patrickdkso it will depend on your chassis02:04
FFForever2I added two nameserver entries for 8.8.8.8/8.8.4.4 to /etc/resolv but I still can't ping google.com. I can ping both of the addresses though.02:05
sarnoldFFForever2: resolv or resolv.conf?02:06
FFForever2sarnold, I need coffee and fast.02:07
sarnoldFFForever2 :) might be good to go take care of that before much more typing, hehe02:08
Patrickdksarnold, just setup iscsi :)02:11
Patrickdkthat is the most simple solution to playing with dm-multipath02:11
sarnoldPatrickdk: well, the box I hope to build -would- make a nice iscsi target02:12
sarnoldPatrickdk: and i'd given up on mutlipath on that both but now you've got me wondering again :)02:12
Patrickdkit's fun to play with :)02:12
Patrickdkmultipath wins over lacp any day :)02:13
sarnoldPatrickdk: oooooo02:13
Patrickdkwell, lacp caps you at the max speed of a single one02:14
Patrickdksure you could make like 8 connections, but no guarrentee they will load up evenly02:14
Patrickdkmultipath makes one per path, and depending on how you want to use them, loads them all up evenly02:15
Patrickdkand just stops using broken ones as needed02:15
Patrickdkgoes through ip addresses quicker though02:15
sarnoldPatrickdk: does the linux iscsi stuff work well enough with multipath? or is that another case where you'd rather use illumos / solaris?02:16
PatrickdkI haven't attempted it as a server02:16
Patrickdkbut shouldn't matter much02:16
Patrickdkfor client side, on linux it's much simpler, as it's just normal iscsi clients and normal dm-multipath02:17
Patrickdkbut for iscsi target, it would matter02:17
PatrickdkI would be suprised though, if it fell apart on you, as it should be a normal usecase for esxi02:18
axiom_1that was a pain trying to register a nickname lol02:18
sarnoldaxiom_1: yes :)02:18
axiom_1should I set the server to install security updates automatically or whats best for a sys admin approach?02:19
Patrickdkdepends on how much you watch it :)02:19
Patrickdkdo you want it to randomly break on it's own? or only when you break it?02:19
Patrickdkthat last php security update, cause some breakage02:20
axiom_1well i'm always on my computers, i have no life lol. and wanting to get a jump start to my cs career02:20
Patrickdkif you don't mine random issues sometimes, I would go for autoupdate02:20
Patrickdkas you can be more lazy02:20
axiom_1well either way, the logs should be able to tell me what happen, I would hope lol02:20
Patrickdkif you do maintain it every week, manual is fine02:20
axiom_1guess im going for the manual to learn the hard way :)02:21
sarnoldwell, that's just "apt-get update && apt-get -u dist-upgrade"  every day or so :)02:21
Patrickdkwell, for all updates not just security :)02:21
Patrickdkbut that is what I do02:22
PatrickdkI watch the security bullitens, and run an update on my test machine02:22
Patrickdkthen I push it out to the others02:22
Patrickdkprobably why I don't have that apt-cacher-ng multiaccess issue you have sarnold02:22
Patrickdktest run is good for something :)02:23
axiom_1Patrickdk, ok i know this is going to sound dumb, how do u push it down to your other clients?02:24
sarnoldPatrickdk: well, I abused the heck out of that poor cacher; a dozen build schroots, a dozen VMs, plus local use. I'd routinely start up a handful of updates at a time just to keep the cache hot :) hehe02:24
Patrickdkpush it down?02:26
axiom_1yea02:26
sarnoldaxiom_1: updates are best pulled on every client machine on their own schedule..02:26
sarnoldaxiom_1: if you've got more than a handful of systems to do updates, you'd want a tool like landscape or puppet or chef or ansible to help you keep track of them all02:26
Patrickdkor cluster-ssh, apt-get dist-upgrade :)02:27
Patrickdkna, I just have a nice large bash script I use to kick them all off02:27
Patrickdkpuppet I use, chef, I dunno, I just can't get around that one02:28
sarnoldheh, understood02:28
Patrickdkbut I like my bash script :)02:28
axiom_1sarnold, ah k, yea i was thinking of a script or some tool like you said.02:28
axiom_1yea i can't rap my head around bash or python :(02:28
Patrickdkit tells my loadbalancer to take it offline, runs the updates, reboots, then turns it back on the loadbalancer02:28
Patrickdkaround bash? it's just command line in a file02:28
Patrickdkjust like dos batch files :)02:29
axiom_1I never really messed with dos batch files02:29
sarnoldexcept less horrible02:29
sarnoldPatrickdk: nice; how far apart between your updates?02:29
Patrickdkbetween systems?02:29
Patrickdknormally 1 or 2 min02:29
Patrickdkit waits for it to come backon, before moving to the next server in the same cluster02:30
axiom_1Patrickdk, is this your personal setup or your work environment?02:30
Patrickdkboth02:30
sarnold:)02:30
axiom_1nice02:31
Patrickdkmy personal work enviroment, as I own the company02:31
axiom_1what kind of company is that if you don't mind me asking?02:31
Patrickdkthis one, just webhosting/email02:31
axiom_1see, I have no clue how any of that would work lol02:32
sarnoldaxiom_1: apt-get install apache    or apt-get install nginx  and start fiddling with it :) hehe02:33
axiom_1should I let kexec-tool handle reboots?02:34
FFForever2How can I figure out why post-up isn't executing?02:34
FFForever2(in /etc/network/interfaces for eth0)02:34
sarnoldaxiom_1: email is far more complicated. time was you'd just throw up a mail server, imap server, and call it a day, but modern anti-spam means mail servers need tons of love and care. it's a royal hassle.02:34
axiom_1lol i got alot of reading to do. There goes what life I had if any02:35
Patrickdkweb is the same, as soon as you install your first cgi :)02:35
sarnoldFFForever2: check exec bits on referenced files, use full paths...02:35
sarnoldPatrickdk: *shudder*02:35
axiom_1ya'll are going to make my brain explode :)02:35
sarnoldaxiom_1: that's my feeling every time talking with Patrickdk :) hehe02:36
Patrickdkheh, my issue is, I like to learn02:37
Patrickdkand I must know everything from the base up02:37
sarnold*nod* *nod*02:37
axiom_1my issue is I have a hard time learning02:37
Patrickdkjust grab some rfc's and have a bathroom break :)02:37
sarnoldaxiom_1: you're here, you're tring things :) that's most of it, right there02:37
sarnolddinner time :)02:37
axiom_1sarnold, enjoy02:37
PatrickdkI've been playing, since I was 802:37
Patrickdkand on linux since well, v1.202:38
axiom_1I started late, I've been off and on with ubuntu desktop. But I finally getting my hands around the desktop portion somewhat. Still having issues with the terminal but I'm sure time will get me there02:39
Patrickdkbig thing is, don't follow tutorials/blogs02:39
axiom_1well damn02:39
Patrickdkif something looks ok, make sure you crosscheck it with the manual02:39
axiom_1maybe thats why im having issues :)02:39
PatrickdkI even apply that to ubuntu serverguide02:40
axiom_1Patrickdk, would u recommend kexec-tools to handle reboots or should I do it manually?, the ubuntu server guide doesn't say anything about it.02:40
Patrickdkmainly cause the serverguide is normally the bare basics to make it work, not specifically functional02:41
PatrickdkI thought kexec was a payed for service02:41
axiom_1nope, I just downloaded and installed it02:41
Patrickdkso the tools will be useless without the kexec patches you get from that service02:41
axiom_1well damn02:41
Patrickdkand that would only handle kernel vaunerabilities, and cause it so you don't need to reboot02:42
Patrickdkbut you still need to install and restart applications02:42
Patrickdks/install/update02:42
Patrickdkoh, kexec isn't what I thought it was02:43
axiom_1lol02:43
Patrickdkit's like solaris fastboot02:43
axiom_1oh k02:43
Patrickdkit will depend on your hardware and drivers02:43
Patrickdkif it works or not02:43
axiom_1well i pressed no for it to handle reboots02:43
axiom_1I can always play around with it and see how it goes02:44
axiom_1it's just a learning comp atm anyways02:44
PatrickdkI was thinking of ksplice02:45
=== jamescarr_ is now known as jamescarr
=== jamescarr_ is now known as jamescarr
=== maxb is now known as Guest41692
sarkishey all, i can't get libcurl.a to install on 14.0403:54
sarkisanyone know which package provides it? it's apparently not libcurl4-openssl-dev03:55
=== CripperZ- is now known as cripperz
sorensarkis: http://packages.ubuntu.com/search?searchon=contents&keywords=libcurl.a&mode=exactfilename&suite=trusty&arch=any04:31
sorensarkis: apt-file will also answer that sort of question for you.04:31
Abhijitkindly help me with ubuntu preseed issue as described here http://ubuntuforums.org/showthread.php?t=2234480&p=13073762#post1307376206:27
Abhijitthis is not a cobbler issue.06:27
Abhijitits purely preseed + ubuntu issue.06:27
=== cripperz is now known as CripperZ-
sarnoldAbhijit: are you confident the mini iso supports the preseed files?06:39
Abhijitsarnold, i tried with serveriso too. same issue.06:40
Abhijitlet me try once again to be sure.06:40
Abhijitsarnold, same issue with server iso. why does it try to configure network with dhcp? centos never ask me for dhcp. dhcp server is already running and its already assigned the ip to nic of target machine. then why ubuntu again ask me to run dhcp? how can i disable dhcp from kickstart or preseed?06:50
Abhijitalso i tried both kickstart and preseed file for ubunt. both gives same error.06:50
sarnoldAbhijit: sorry, I've never used preseed files, no idea why it is failing06:50
Abhijitok06:50
Abhijitsarnold, did you used kickstart/06:50
sarnoldAbhijit: no06:51
Abhijitok.np.06:51
Abhijitsarnold, is there any other alternate automating and provisioning softaware which works 100% compatible with ubuntu / debian?07:09
=== Guest41692 is now known as maxb
see1hello08:34
see1what means this? W: GPG error: http://de.archive.ubuntu.com precise-security Release: Unknown error executing gpgv08:34
=== CripperZ- is now known as cripperz
=== cripperz is now known as N0DE`
=== N0DE` is now known as CripperZ-
hxmi have installed the package gitweb and it asked nothing, how can I see what is the url path?10:53
hxmah, found the gitweb.conf10:53
Chris_hubuhi guys10:56
Chris_hubuhas anyone ever used opennebula on ubuntu server here?10:56
=== stooj_ is now known as stooj
=== SolutionL is now known as Solution-X
=== psivaa is now known as psivaa-off
=== zombu2 is now known as zombu2-km4daj
=== Malediction_ is now known as Malediction
=== kickinz1|away is now known as kickinz1
MACscrfor a server, is ok to completely disable and possibly remove plymouth? Its a headless system, so i dont see a point in having it14:31
MACscrand is the only option for disabling it in grub?14:32
rberg_I found that you do need to have plymouth installed or else you break the recovery system15:01
rberg_at least on 12.0415:01
rberg_eg: if A disk is missing during boot you will be asked "skip or manual recovery" without plymouth installed there is no way to answer that question and the system will wait forever15:02
qmanSame on 10.0415:02
qmanOr at least very similar, mine just sat there with a blinking cursor, no messages15:03
MACscrthat stinks15:11
qmanYep, but that's the way it is, just have to put up with plymouth if you want ubuntu to work properly15:12
rberg_you can install the txt theme15:16
MACscri see a lot of these i my dmesg output http://pastie.org/pastes/9393758/text?key=asmwxhqvj6h1ksw7wbexqw15:16
lordievaderGood afternoon.15:32
RoyKafternoon15:39
lordievaderHey RoyK, how are you?15:39
RoyKfine, thanks15:39
=== lutostag_ is now known as lutostag
=== Solution-X is now known as Solution-X|AFK
rberg_"install-keymap us-latin1" "unknown charset unicode - ignoring charset request"  what does this mean?16:09
hxmhow to run a cron every 61 seconds?16:09
rberg_crontab to run every min with a sleep 1 ?16:10
hxmyes I was thinking that right now16:11
=== ashleyd is now known as ashd
=== jdowdle is now known as jdowdle|away
=== jdowdle|away is now known as jdowdle
=== veebull is now known as veebull_away
=== kickinz1 is now known as kickinz1|lunch
=== alexisb is now known as alexisb_lunch
=== kickinz1|lunch is now known as kickinz1
punkgeekhow to encrypting root partition with LUKS?19:42
=== matsubara is now known as matsubara-afk
pmatulispunkgeek: use the installer19:48
punkgeekont unstand :D19:48
pmatulishm?19:48
punkgeekhttps://help.ubuntu.com/community/EncryptedFilesystem is it good for me?19:50
lordievaderpunkgeek: The installer will guide you through setting up an luks encrypted install.19:51
xnoxpunkgeek: desktop installer -> full disk encryption is one tickbox + password.19:52
xnoxpunkgeek: in server installer it's change default to encrypted + password.19:52
punkgeek???19:53
lordievader!ir | punkgeek19:54
ubottupunkgeek: #ubuntu-ir baraye Farsi zabanan mibashad ke channele rasmie goroohe Iran-ie ubuntu ast. #ubuntu-ir  برای فارسی زبانان می‌باشد که کانال رسمی گروه ایرانی اوبونتو است.19:54
lordievaderMight be easier ;)19:54
punkgeekits empthy :-"19:54
ses1984hi, i'm trying to use php5-imap module from the repositories and running into some weird problem. i do apt-get install php5-imap and it says i have the latest version installed. but then i try php -m | grep -i imap and it is not listed...what's going on? is there something else i need to do to complete the install?20:00
zartooshhi I am trying to download a binary debian package (not install) and all it dependencies to a particular directory is this possible? thx20:14
=== matsubara-afk is now known as matsubara
=== alexisb_lunch is now known as alexisb
Chris_hubuzartoosh, do you mean that you want to only download packages from apt-get?20:40
Chris_hubuapt-get has a "download only" option20:40
Chris_hubu-d, --download-only20:40
Chris_hubu     Download only; package files are only retrieved, not unpacked or installed.20:40
Chris_hubu     Configuration Item: APT::Get::Download-Only.20:40
rberg_I was thinking that except it wont download deps that are already installed20:48
Chris_hubuapt-get source maybe?20:53
billy_ran_awayCan anyone help me with my ldap server at home? Upgrading the slapd package broke it...20:59
billy_ran_awayThis is what syslog says http://pastie.org/939473021:00
pmatulisbilly_ran_away: says 'invalid dn (cn=admin,dn=therobotis,dn=us)', are you sure that's correct?21:04
pmatulisand not 'cn=admin,dc=therobotis,dc=us' ?21:04
billy_ran_awaypmatulis: It was last time I set it up21:04
punkgeekcan i remove passphrase when booting?21:05
pmatulispunkgeek: remove passphrase of what?21:07
=== hxm is now known as Guest9741
punkgeeksee, i set password on file system, when i reboot my os, when is boot, need password21:08
punkgeekcan i remove this?21:08
pmatulispunkgeek: what filesystem?21:08
punkgeekroot21:08
pmatulispunkgeek: well how would the system boot?21:09
zartooshChris_hubu, that worked and thank you.21:09
Chris_hubuyou're very welcome zartoosh, I'm glad I could help21:09
punkgeek???21:09
pmatulispunkgeek: is / needed to boot up properly?  yes or no?21:10
billy_ran_awayI don't get what changed in my LDAP setup...21:11
billy_ran_awayGod I wish LDAP wasn't so stupidly complicated...21:11
pmatulisbilly_ran_away: use ldapwhoami to verify your root dn, the admin guy referred to above21:11
billy_ran_awaypmatulis: missed that, I'm not on my regular irc client because I can't log in to my regular account and start znc21:12
punkgeekyes21:12
punkgeeki need boot without passpharse21:12
pmatulispunkgeek: so you need to decrypt it first right?21:12
billy_ran_awaypmatulis: Here's the output http://pastie.org/939475021:13
pmatulisbilly_ran_away: you need to provide the usual arguments to ldapwhoami21:13
billy_ran_awaypmatulis: Like what?21:14
punkgeekno no, see i need encrypt my file system, when done it, i see passphare on boot, so i need remove this, what should i do?21:14
billy_ran_awayroot@robot:~# ldapwhoami -h ldapi://ldap Could not create LDAP session handle for URI=ldap://ldapi:%2F%2Fldap (-9): Bad parameter to an ldap routine21:14
punkgeekjust need remove passphare on booting21:14
guntbertpunkgeek: thats the point of encryption21:14
punkgeekwhen booting is done, then i need enter passpharse21:14
punkgeekis it crazy thing?21:17
pmatulisbilly_ran_away: ldapwhoami -x -D "cn=admin,dc=example,dc=com,dc=au" -w secret21:18
pmatulispunkgeek: no, it's not crazy.  you need to supply a password in order to decrypt your root filesystem.  that's all.  you might be able to keep some filesystems encrypted that are not necessary for booting however21:19
billy_ran_awaypmatulis: Sweet that did it, but now what? http://pastie.org/939476921:19
pmatulisbilly_ran_away: congratulations.  you verified your root dn21:19
billy_ran_awaypmatulis: Great, but that's exactly what I have in my ldap.conf21:20
punkgeekso what should i do?21:20
pmatulisbilly_ran_away: now you need to figure out why your logs show a different root dn21:20
pmatulispunkgeek: supply the password21:20
rberg_punkgeek: maybe you can embed your passphrase in the initramfs.. but then why encrypt root at all?!21:20
billy_ran_awayJul 15 17:20:26 robot slapd[27226]: conn=1063 op=5 do_bind: invalid dn (cn=admin,dn=therobotis,dn=us)21:20
billy_ran_awaypmatulis: They do?21:20
pmatulisbilly_ran_away: yup.  now what is triggering that21:21
billy_ran_awaypmatulis: Oh dn vs dc?21:21
pmatulisbilly_ran_away: yep21:21
pmatulisi gotta go guys, good luck21:23
punkgeekcan i encrypt just apache files?21:26
sarnoldpunkgeek: what is your goal?21:26
billy_ran_awaygrep -ri dn=therobotis /etc/ shows nothing...21:27
punkgeeksee, i have any files in /var/www and i need encrypt this file, and then get backup os, and send it to users21:28
punkgeekphp encyption is not good, so i need to do this work21:28
sarnoldpunkgeek: so, you want to serve encrypted files to your clients, and them decrypt the file?21:29
punkgeekand, php should be work on the web server21:29
punkgeekno21:30
DeltaHeavypunkgeek: PHP encryption is as good as the algo you use.21:33
billy_ran_awayAnyone know much about slapd?21:34
punkgeekcan i just encypt /var/www ?21:35
=== kickinz1 is now known as kickinz1|away
DeltaHeavypunkgeek: It sounds like you're going about this in all the wrong way. What exactly ware you trying to encrypt?21:35
sarnoldpunkgeek: who will decrypt its contents? how? why?21:38
sarnoldpunkgeek: what threat are you trying to mitigate?21:38
billy_ran_awayanyone know how to change the dn slapd binds to?21:44
sarnoldbilly_ran_away: would that be in /etc/ldap/slapd.conf, rootdn? see e.g. https://help.ubuntu.com/community/OpenLDAPServer21:45
billy_ran_awaysarnold: I don't have that file...21:46
billy_ran_awaysarnold: root@robot:~# ls /etc/ldap/ sasl2  schema  slapd.d  ssl21:46
sarnoldbilly_ran_away: ahhh, I just found https://help.ubuntu.com/14.04/serverguide/openldap-server.html -- which has a the slapd.d configuration ... interesting21:47
sarnoldit looks Complicated :)21:48
billy_ran_awaywhy does this package have to break so often?21:49
billy_ran_awaysetting up an ldap server on ubuntu was a horrible mistake...21:49
billy_ran_awayI'm stuck.21:58
billy_ran_awayI'm just so pissed off.21:58
billy_ran_awayI hate LDAP and I hate Ubuntu.21:58
DeltaHeavybilly_ran_away: Take a break :p21:59
billy_ran_awayI don't understand why the package maintainers feel it necessary to break existing installs.21:59
rbasakbilly_ran_away: it is *incredibly* difficult to manage feature updates in packages while also not breaking some user somewhere. There are hundreds of use cases, most of them unknown to package maintainers.22:02
rbasakbilly_ran_away: this is the nature of server packages.22:02
rbasakbilly_ran_away: to mitigate this, the only reasonable thing to do is to maintain your installation as a codified delta of the default, eg. with configuration management.22:02
billy_ran_awayrbasak: That nature breaks Ubuntu for the hobbyist.22:02
rbasakbilly_ran_away: it's a fundamental problem with the way server components are used. This nature isn't Ubuntu-specific. All distros have the same essential issue.22:03
rbasakbilly_ran_away: we're trying to solve it with Juju and charms to codify specific use cases, rather than having users install some default and then customize it in some way that we don't know so can't provide an upgrade path for.22:04
sarnoldit's rare software that the developers stop poking at it and changing things. if they do, people complaint it's "no longer maintained" and re-write it without learning the lessons from the existing tools. heh.22:04
billy_ran_awayrbasak: Well I'm stuck and I have no idea where slapd is getting it's bind dn set from.22:04
billy_ran_awayBecause it's not /etc/ldap.conf as it used to be.22:05
rbasaksarnold: well, that happens too. But if you don't want to change things, then no need to upgrade to a new release.22:05
rbasaksarnold: if a majority did that, then we'd have longer supported LTSes :)22:05
billy_ran_awayJul 15 18:05:47 robot slapd[28299]: conn=1144 op=5 do_bind: invalid dn (cn=admin,dn=therobotis,dn=us)22:06
billy_ran_awaywhere in the world is it getting those dn's from?22:06
billy_ran_awaygrep -r dn=therobotis /etc returns nothing22:06
sarnoldbilly_ran_away: grep -r therobotis /etc  ?22:06
billy_ran_awaysarnold: grep -r dc=therobotis returns lots of stuff22:06
rbasakIsn't the bind DN a client thing?22:06
billy_ran_awaybut dn22:06
rbasakAnd how is dn= there twice? That makes no sense.22:08
billy_ran_awayrbasak: That's what I'm wondering and I have no idea.22:08
rbasakbilly_ran_away: I'm pretty sure that you have a client configuration problem there. Not slapd.22:09
rbasakBut it's been a long time since I touched LDAP.22:09
bitfury_hi22:17
billy_ran_awayLDAP is frustrating because all of it's configuration is in LDAP itself...22:17
billy_ran_awayLike I want to raise the logging level so I can figure out where those errors are coming from22:17
bitfury_I'm trying to set up a simple load balancing in apache2 as follows: http://pastebin.com/ujP3Jtyp22:18
bitfury_but get: [proxy:crit] [pid 5543] AH02432: Cannot find LB Method: byrequests22:18
bitfury_[proxy_balancer:emerg] [pid 5543] (22)Invalid argument: AH01183: Cannot share balancer22:19
=== Guest9741 is now known as hxm
bitfury_[:emerg] [pid 5543] AH00020: Configuration Failed, exiting22:19
bitfury_what did i miss? :\22:19
sarnoldbitfury_: try "a2enmod lbmethod_byrequests" ?22:21
bitfury_sarnold: wow it worked, not sure how I would live without IRC experts :D22:22
bitfury_thank you22:22
bitfury_been going at it for more than an hour. fml.22:22
sarnoldbitfury_: heh, it's just a knack for finding the gems amongst the weeds of the internet..22:22
bitfury_;)22:23
* Patrickdk wonders22:31
Patrickdkis sarnold a gem or weed22:31
sarnoldPatrickdk: depends if I'm asking or answering the questions :) haha22:31
Patrickdkoh, I lately setup the apache lb22:33
rbasakbilly_ran_away: AFAICS, they're coming from an LDAP client. Configuration of how your client connects to LDAP cannot be in LDAP  itself.22:36
billy_ran_awayrbasak: Yea that makes sense... but the only client I have up right now is the server itself...22:36
rbasakI suppose it could be some kind of loopback thing22:37
billy_ran_awayMy one other server that uses ldap is currently fscking its filesystem after going 222 days without a check, ugh22:37
rbasaktcpdump/wireshark to eliminate network LDAP traffic?22:37
rbasakANd if you do see network traffic and it's loopback, then track that down to a binary using lsof or netstat22:38
billy_ran_awayoh shit I know what it is!22:38
billy_ran_awayrbasak: THANK YOU!22:41
billy_ran_awayrbasak: It was fucking kerio-connect that I never got working but left installed22:41
K4khas anyone here had any luck setting up auto-failback using heartbeat? I've gotten it to where node2 will assume the shared IP address if node1 goes offline but when node1 comes back up and re-assumes the shared IP, node2 doesn't release the IP. This results in node1 serving up the web traffic and node2 responding to pings and a myriad of other messiness...22:42
sarnoldrbasak: magic as always :)22:42
billy_ran_awayBut now I think I know one reason why it didn't work...22:42
rbasakbilly_ran_away: np. Glad you fixed it. Hope your impression of Ubuntu is better now :)22:42
billy_ran_awayrbasak: thanks to you, yes22:43
billy_ran_away:)22:43
Patrickdkk4k, haven't used hearbeat22:44
PatrickdkI normally stick to pacemaker22:44
K4kPatrickdk: I wonder how they compare. I'm open to suggestion22:45
Patrickdkmade by the same people22:45
Patrickdkbut heartbeat almost never fit my needs22:46
K4kHow does pacemaker differ?22:46
K4kI'm just looking for a way to get my web proxy to be aware if it goes down and fail the IP over to some other system.22:47
Patrickdkpacemaker doesn't any of that stuff22:47
Patrickdkit only manages resources22:47
Patrickdkit doesn't monitor, normally22:47
PatrickdkI think heartbeat monitors22:47
rbasakAccording to the package descriptions, heartbeat is "one of the messaging layers supported by the Pacemaker cluster resource manager."22:48
Patrickdkyep22:48
rbasakpacemaker depends on libheartbeat222:48
Patrickdkheh? don't think so22:48
Patrickdkoh ya, it does have that22:49
rbasakOh no, sorry22:49
Patrickdkbut not the userland config22:49
rbasakWell22:49
rbasakalso corosync | heartbeat22:49
rbasakAnyway, I don't know HA stuff very well22:49
Patrickdkyep, I use corosync22:49
Patrickdkcorosync -> pacemaker22:49
rbasakI only know that it exists, and pacemaker+corosync seems to be the standard on Ubuntu.22:49
Patrickdkya, I can't answer for his heartbeat issues22:50
PatrickdkI know pacemaker won't let that happen22:50
Patrickdkbut he would likely want the stick resources options, so they don't auto-fallback22:50
=== Lcawte is now known as Lcawte|Away
K4kYeah, it's something to do with the auto-failback I think. I'll look into the corosync|pacemaker22:50
Patrickdkhow to do that on heartbeat, dunno22:50
bitfury!info redmine22:53
ubotturedmine (source: redmine): flexible project management web application. In component universe, is extra. Version 2.4.2-1 (trusty), package size 4434 kB, installed size 13445 kB22:53
K4kstupid firewall22:57
K4kiptables was blocking the udp port that heartbeat was using to communicate22:58
K4kchears22:58
K4kcheers*22:58
* K4k is going home...22:58
Patrickdk:)23:11
=== jdowdle is now known as jdowdle|away
=== jdowdle|away is now known as jdowdle

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