[00:25] <Takyoji> Anyone done a successful LDAP/NFS network setup (whereas /home is an NFS share) on 12.04, without having an issue of a blank screen or no desktop after authenticating past LightDM?
[00:26] <Takyoji> Can't find any errors in /var/log/auth.log; NFS share is mounted, and LDAP is accessible.
[00:32] <SpamapS> Takyoji: what if you login via console?
[00:32] <SpamapS> Takyoji: is the home dir writable?
[00:32] <Takyoji> The home folder is writable, yes.
[00:32] <SpamapS> Takyoji: you should have a .xsession-errors file then
[00:35] <Takyoji> (compiz:1846): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
[00:35] <Takyoji> is the only error
[00:37] <SpamapS> Takyoji: thats compiz failing to work with gconf...
[00:37] <SpamapS> Takyoji: perhaps it was just a timeout error caused by NFS
[00:39] <SpamapS> Takyoji: you might try renaming .gconf to .gconf.old and seeing if that allows compiz/unity to start
[01:47] <ejnahc> some php-fastcgi processes in my server are strange... it doesn't kill when I typed `php-fastcgi restart` or `kill SIGTERM <pid>`, ... but It killed with SIGKILL(kill -9 <pid>). what's the problem here and how can I fix it?
[02:22] <delinquentme> hey all ! I'm looking for a more transparent way to transfer files between dirs than the cp command
[02:22] <delinquentme> preferably something that has feedback as to the progress
[02:23] <patdk-lap> rsync?
[02:23] <patdk-lap> rsync -v
[02:23] <patdk-lap> rsync -vP
[02:23] <patdk-lap> rsync -avP (my fav)
[02:24] <delinquentme> patdk-lap, I've run rsync only once ... whats the -avP flag do?
[02:24] <patdk-lap> everything almost
[02:24] <delinquentme> NICEEE and its preinstalled
[02:24] <delinquentme> lol
[02:24] <patdk-lap> -a means do most things
[02:24] <delinquentme> breakfast
[02:24] <patdk-lap> copy time,recursive,links,permissions,owner,group,...
[02:24] <delinquentme> does it handle that?  no jk jk but how about something like a progress bar?
[02:24] <patdk-lap> v means list files (verbose)
[02:25] <patdk-lap> P  is progress + partial
[02:25] <delinquentme> Oh lovely!!!
[02:25] <delinquentme> happy days.
[02:25] <patdk-lap> rsync -avP --del :)
[02:26] <delinquentme> @_@
[02:26] <delinquentme> i dont think i like that one as much
[02:26] <patdk-lap> also sync missing files (delete on dest)
[02:26] <patdk-lap> it's more to make an exact mirror
[02:31] <delinquentme> patdk-lap, I'm missing what that does?
[02:31] <delinquentme> if there are missing files .. well wouldn't they just not be copied?
[02:35] <patdk-lap> if there are missing files on the source side?
[02:35] <patdk-lap> --del would cause it to delete them on the destination side
[02:41] <delinquentme> patdk-lap, I dont understand :D
[02:41] <delinquentme> like if they're missing ... wouldn't they *not* be copied?
[02:41] <delinquentme> or is this for like sym linked files which arent currently connected to their actual files?
[02:41] <delinquentme> ( a little lost )
[04:21] <phunyguy> OK I have a simpleton problem... I am trying to remove all files in a directory that start with a string, and the ending doesn't matter.  The command is in a script, and the filenames have spaces so they have quotes.  With that being said, a command like 'rm -rf "name of file*"' doesn't work, whereas 'rm -rf name\ of\ file* works.  What makes the quotes different that it won't work with the wildcards?
[04:22] <qman__> you're sending a literal *
[04:22] <qman__> like name\ of\ file\*
[04:23] <phunyguy> qman_ thanks, how would I get around that?
[04:23] <phunyguy> (kinda new to that stuff)
[04:23] <qman__> like you just did
[04:24] <qman__> escape instead of quote
[04:24] <phunyguy> right but in the script the escapes are removed initially, so quotes are required
[04:25] <qman__> I don't know if "name of file"* will give the expected result, you'll have to try
[04:25] <phunyguy> already on it, lol
[04:25] <qman__> if not, use sed to escape it beforehand
[04:26] <qman__> escaped=`echo "$variable" | sed s/\ /\\\ /g`
[04:26] <phunyguy> moving the quote before the * works
[04:27] <phunyguy> and qman__ that would only half work, there are also other unsupported characters that need to be escaped
[04:27] <qman__> more seds
[04:27] <qman__> but yeah
[04:27] <phunyguy> or I can just move the quote  ;)
[04:27] <qman__> I wasn't sure if that quoting would work right
[04:27] <phunyguy> works a champ
[04:27] <qman__> but if it does, go for it
[04:27] <phunyguy> thanks for the tip.
[04:28] <phunyguy> didn't think of the literal *
[07:41] <lordievader> Good morning
[07:53] <xkill> what's the least amount of disk space i could get away with having to set up a 700 MB HTML/CSS/jquery-mobile website using apache, php, mysql, curl, & python for Opencart?
[08:08] <lifeless> xkill: 700MB ?
[08:27] <jaredrhine> (probably means directory size of the web site docroot is 700MB of files all told)
[08:27] <xkill> yeah, flash, pics, lots of stuff
[08:27] <xkill> yeah
[08:28] <jaredrhine> anything of note in mysql then? and you're asking how big a filesystem would thus be needed for just the OS plus apps above?
[08:29] <jaredrhine> it's a dangerous game going as small as possible. what you give up is log files, etc. i haven't done a recent lean install, i'd guess it's around or under 2gb including all the apps you mention.
[08:30] <xkill> yeah, minus that 700 MB website that is on a CD at the moment, how much disk space will i need?
[08:31] <xkill> the mysql db is for opercart products and customers and purchases and all its stuff. never run an opencart b4 so i dont know exactly how quickly it will grow. but for the moment just needs to be big enough to hold a few users and the product database
[08:31] <jaredrhine> 2gb minimum, and you'll run out of disk space unless you prune logs and don't add anything to mysql. so 2.7gb, call it 3.
[08:32] <jaredrhine> if you know exactly what you're doing and can prune apps, documentation, man pages maybe, 2gb total.
[08:34] <xkill> perfect. all is not lost then
[11:32] <Troy^> I'm getting some weird buffering streaming media over my samba server to xbmc.. Server is wired and the HTPC and 802.11n but i was even testing with 720p media.. Most of the time with 1080p DTS stuff it is flawless then it goes into these spurts of buffering while even watching 720p content. Is there any setting to put in the smb.conf that would help performance for this?
[11:40] <patdk-lap> sounds like your wireless it having interference
[11:42] <Troy^> ?? that doesn't make sense
[11:46] <Troy^> i just saw a power saving option for the wireless radio on my router settings so i turned that off
[11:55] <patdk-lap> doesn't make sense?
[11:56] <patdk-lap> interference means packet loss, and therefor means it will buffer more
[11:56] <Troy^> how does it sound like interference i though it would be more with samba and its shottiness
[11:57] <patdk-lap> but something going to sleep will cause the same effects also :)
[11:58] <Troy^> could it be disk drive? i have my xbmc buffer set to 1gb then again i dont know if that actually works.. apparently WMM power saving shouldn't cause problems for streaming so i dont know
[11:58] <patdk-lap> xbmc sounds like a gui thing
[12:45] <fidel> wc
[12:47] <iqualfragile> i follewed the ubuntu-serverguide about installing a openldap-server, first i have installed a fresh 12.04 into a virtual box, then i have copy-pasted every instruction from the page https://help.ubuntu.com/12.04/serverguide/openldap-server.html
[12:47] <iqualfragile> so first i changed my /etc/hosts to
[12:48] <iqualfragile> 127.0.0.1       localhost
[12:48] <iqualfragile> 127.0.1.1       vm-fai-ubuntuserver
[12:48] <iqualfragile> 127.0.1.1       barium.herzog.loc barium
[12:48] <iqualfragile> # The following lines are desirable for IPv6 capable hosts
[12:48] <iqualfragile> (i hope im allowed to paset 4 lines without pastebin)
[12:48] <iqualfragile> then i did
[12:48] <iqualfragile> sudo apt-get install slapd ldap-utils
[12:49] <iqualfragile> my /etc/ldap/slapd.d/ looks right
[12:49] <iqualfragile> then i ran sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn
[12:49] <iqualfragile> it returned the predicted output
[12:50] <iqualfragile> but now i tried to run $ ldapsearch -x -LLL -H ldap:/// -b dc=example,dc=com dn
[12:51] <iqualfragile> (i have changed it to ldapsearch -x -LLL -H ldap:/// -b dc=herzog,dc=loc dn
[12:51] <iqualfragile> and it says: No such object (32)
[12:51] <iqualfragile> where did i go wrong?
[12:51] <qman__> that hosts file is not correct, but I don't know if it's the cause of your problem or not
[12:52] <iqualfragile> i have allso tried
[12:52] <iqualfragile> 127.0.0.1       localhost
[12:52] <iqualfragile> 127.0.1.1       barium.herzog.loc barium
[12:53] <iqualfragile> but that did not work the step before, sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn returned an error
[12:53] <qman__> you can only have each IP once, so if you want them all to be 127.0.1.1, it would be
[12:53] <qman__> 127.0.1.1       vm-fai-ubuntuserver barium.herzog.loc barium
[12:54] <qman__> but it probably should use your actual IP
[12:54] <iqualfragile> but the guide says thats what i should do
[12:55] <qman__> ah, ok
[12:55] <qman__> then it should be this
[12:55] <qman__> 127.0.1.1       barium.herzog.loc barium vm-fai-ubuntuserver
[12:55] <qman__> (assuming you want vm-fai-ubuntuserver to still work)
[12:56] <iqualfragile> i dont rly care, it did not work without it
[12:56] <iqualfragile> but i have found some suspicious lines
[12:57] <iqualfragile> olcSuffix: dc=nodomain
[12:57] <iqualfragile> olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,dc=nodomain" write by * none
[12:57] <iqualfragile> olcAccess: {2}to * by self write by dn="cn=admin,dc=nodomain" write by * read
[12:57] <iqualfragile> olcRootDN: cn=admin,dc=nodomain
[12:57] <iqualfragile> in /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif
[12:58] <iqualfragile> so if i would just change that, would it work?
[12:58] <iqualfragile> lets try
[13:03] <iqualfragile> no, it does not
[13:11] <iqualfragile> qman__: thankyou, that seemd to be the problem
[15:49] <Error404NotFound> Wonder if its right place or not, but i am doing this on ubuntu so i am gonna ask it here anyway :P, http://paste2.org/p/2226885 These contain 2 samples of / entries in fstab. I am trying to write sed combined awk to append noatime,nodiratime to mount options. any hints?
[15:52] <SpamapS> Error404NotFound: why are you trying to sed/awk that?
[15:54] <Error404NotFound> SpamapS: there are 2 possible questions i see in your question. 1- why am i even try it? Writing a bootstrap script and thought it would be nice to throw my commonly used config. 2- why using sed and awk? awk to tokenize and sed to replace
[15:55] <SpamapS> Error404NotFound: so if you're automating this, there are better ways. augeas is really good for parsing and editting fstab for instance.
[15:55] <Error404NotFound> SpamapS: hmmm, never heard of that, !google time
[15:56] <SpamapS> Error404NotFound: if the content of fstab is more static.. why not just replace the lines rather than try to be clever about sed/awk?
[15:57] <SpamapS> as somebody who has sed/awk'd a lot of fstabs.. I can say its a lot of time in, and not much win out. ;)
[15:57] <ogra_> erm
[15:57] <ogra_> if you bootstrap from scratch fstab is empty anyway
[15:58] <Error404NotFound> SpamapS: i was also thinking about that. But, the pretend-to-be-smart-kid in me wanted to make it "generic"
[15:58] <ogra_> just cp one in place us use a here-doc
[15:58] <Error404NotFound> ogra_: nah, i do the second part of bootstrap, the vm part of managed by a 3rd party vendor, i can call my script using a hook that runs after a vm has been up an running
[15:59] <Error404NotFound> the vm part is managed*
[16:08] <gabrtv> i'm seeing `git-core` disappearing intermittently from ubuntu ec2 mirrors
[16:08] <gabrtv> http://stackoverflow.com/questions/12438946/intermittent-package-git-core-has-no-installation-candidate
[16:09] <gabrtv> any ideas?  i've confirmed it's intermittent..
[16:09] <gabrtv> started seeing it last night
[16:11] <ogra_> git-core is dead since at least two releases
[16:11] <ogra_> apt-cache show git-core
[16:11] <ogra_> ..." This is a transitional dummy package.  The 'git-core' package has been
[16:11] <ogra_>  renamed to 'git', which has been installed automatically.  This
[16:11] <ogra_>  git-core package is now obsolete, and can safely be removed from the
[16:11] <ogra_>  system if no other package depends on it."...
[16:11] <gabrtv> seems half dead, because after a few updates it's available
[16:13] <gabrtv> i'll try switching though, thx
[16:20] <gabrtv> ogra_: E: Unable to locate package git
[21:01] <Troy^> alright my ubuntu server is on a dynamic ip address and i'm possibly looking at buying a domain is there a good place to buy a full domain with auto ip updating
[21:17] <Error404NotFound> Troy^: http://lmgtfy.com/?q=register+domain+dynamic+dns ?
[21:20] <Troy^> Error404NotFound: you actually took the time, why thank you
[21:22] <Troy^> i was just looking for suggestions in what people used/prefered with dynamic ip updating
[21:49] <blast_hardcheese> I followed https://help.ubuntu.com/12.04/serverguide/ubuntucloud.html almost to the letter, but when I run "euca-run-instances $ami -k user1 -t m1.tiny" I get "EC2APIError: Image must be available". Is this a known issue?
[21:49] <blast_hardcheese> The only stuff I left out was creating a private network, since I don't have two NICs on this machine
[21:50] <blast_hardcheese> but all the services are running and happy
[22:06] <Awaken> Troy^, I  use joker.com for most of my domains. Tehy include a dynamic service u can use with any domain, to update it you poll a web address
[22:06] <Awaken> tomato or dd-wrt router can update it , others might not
[22:06] <Awaken> u can always run something on your lan ofc
[22:07] <Awaken> https://joker.com/faq/content/11/427/en/what-is-dynamic-dns-dyndns.html