=== gary_poster is now known as gary_poster|away [00:25] 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] Can't find any errors in /var/log/auth.log; NFS share is mounted, and LDAP is accessible. [00:32] Takyoji: what if you login via console? [00:32] Takyoji: is the home dir writable? [00:32] The home folder is writable, yes. [00:32] Takyoji: you should have a .xsession-errors file then [00:35] (compiz:1846): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed [00:35] is the only error [00:37] Takyoji: thats compiz failing to work with gconf... [00:37] Takyoji: perhaps it was just a timeout error caused by NFS [00:39] Takyoji: you might try renaming .gconf to .gconf.old and seeing if that allows compiz/unity to start [00:51] New bug: #991484 in mcollective (universe) "package mcollective 1.2.1+dfsg-2ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,Incomplete] https://launchpad.net/bugs/991484 [01:30] New bug: #1051080 in lxc (universe) "lxc-start-ephemeral hangs if bind mounting nfs homedir" [Undecided,New] https://launchpad.net/bugs/1051080 [01:47] some php-fastcgi processes in my server are strange... it doesn't kill when I typed `php-fastcgi restart` or `kill SIGTERM `, ... but It killed with SIGKILL(kill -9 ). what's the problem here and how can I fix it? [02:22] hey all ! I'm looking for a more transparent way to transfer files between dirs than the cp command [02:22] preferably something that has feedback as to the progress [02:23] rsync? [02:23] rsync -v [02:23] rsync -vP [02:23] rsync -avP (my fav) [02:24] patdk-lap, I've run rsync only once ... whats the -avP flag do? [02:24] everything almost [02:24] NICEEE and its preinstalled [02:24] lol [02:24] -a means do most things [02:24] breakfast [02:24] copy time,recursive,links,permissions,owner,group,... [02:24] does it handle that? no jk jk but how about something like a progress bar? [02:24] v means list files (verbose) [02:25] P is progress + partial [02:25] Oh lovely!!! [02:25] happy days. [02:25] rsync -avP --del :) [02:26] @_@ [02:26] i dont think i like that one as much [02:26] also sync missing files (delete on dest) [02:26] it's more to make an exact mirror [02:31] patdk-lap, I'm missing what that does? [02:31] if there are missing files .. well wouldn't they just not be copied? [02:35] if there are missing files on the source side? [02:35] --del would cause it to delete them on the destination side [02:41] patdk-lap, I dont understand :D [02:41] like if they're missing ... wouldn't they *not* be copied? [02:41] or is this for like sym linked files which arent currently connected to their actual files? [02:41] ( a little lost ) === cpg is now known as cpg|away [04:21] 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] you're sending a literal * [04:22] like name\ of\ file\* [04:23] qman_ thanks, how would I get around that? [04:23] (kinda new to that stuff) [04:23] like you just did [04:24] escape instead of quote [04:24] right but in the script the escapes are removed initially, so quotes are required [04:25] I don't know if "name of file"* will give the expected result, you'll have to try [04:25] already on it, lol [04:25] if not, use sed to escape it beforehand [04:26] escaped=`echo "$variable" | sed s/\ /\\\ /g` === cpg|away is now known as cpg [04:26] moving the quote before the * works [04:27] and qman__ that would only half work, there are also other unsupported characters that need to be escaped [04:27] more seds [04:27] but yeah [04:27] or I can just move the quote ;) [04:27] I wasn't sure if that quoting would work right [04:27] works a champ [04:27] but if it does, go for it [04:27] thanks for the tip. [04:28] didn't think of the literal * === cpg is now known as cpg|away === cpg|away is now known as cpg === cpg is now known as cpg|away === dendrobates is now known as dendro-afk === cpg|away is now known as cpg === cpg is now known as cpg|away === cpg|away is now known as cpg [07:41] Good morning [07:53] 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] xkill: 700MB ? [08:27] (probably means directory size of the web site docroot is 700MB of files all told) [08:27] yeah, flash, pics, lots of stuff [08:27] yeah [08:28] 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] 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] yeah, minus that 700 MB website that is on a CD at the moment, how much disk space will i need? [08:31] 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] 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] if you know exactly what you're doing and can prune apps, documentation, man pages maybe, 2gb total. [08:34] perfect. all is not lost then === cpg is now known as cpg|away [11:32] 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] sounds like your wireless it having interference [11:42] ?? that doesn't make sense [11:46] i just saw a power saving option for the wireless radio on my router settings so i turned that off [11:55] doesn't make sense? [11:56] interference means packet loss, and therefor means it will buffer more [11:56] how does it sound like interference i though it would be more with samba and its shottiness [11:57] but something going to sleep will cause the same effects also :) [11:58] 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] xbmc sounds like a gui thing [12:45] wc [12:47] 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] so first i changed my /etc/hosts to [12:48] 127.0.0.1 localhost [12:48] 127.0.1.1 vm-fai-ubuntuserver [12:48] 127.0.1.1 barium.herzog.loc barium [12:48] # The following lines are desirable for IPv6 capable hosts [12:48] (i hope im allowed to paset 4 lines without pastebin) [12:48] then i did [12:48] sudo apt-get install slapd ldap-utils [12:49] my /etc/ldap/slapd.d/ looks right [12:49] then i ran sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn [12:49] it returned the predicted output [12:50] but now i tried to run $ ldapsearch -x -LLL -H ldap:/// -b dc=example,dc=com dn [12:51] (i have changed it to ldapsearch -x -LLL -H ldap:/// -b dc=herzog,dc=loc dn [12:51] and it says: No such object (32) [12:51] where did i go wrong? [12:51] that hosts file is not correct, but I don't know if it's the cause of your problem or not [12:52] i have allso tried [12:52] 127.0.0.1 localhost [12:52] 127.0.1.1 barium.herzog.loc barium [12:53] 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] you can only have each IP once, so if you want them all to be 127.0.1.1, it would be [12:53] 127.0.1.1 vm-fai-ubuntuserver barium.herzog.loc barium [12:54] but it probably should use your actual IP [12:54] but the guide says thats what i should do [12:55] ah, ok [12:55] then it should be this [12:55] 127.0.1.1 barium.herzog.loc barium vm-fai-ubuntuserver [12:55] (assuming you want vm-fai-ubuntuserver to still work) [12:56] i dont rly care, it did not work without it [12:56] but i have found some suspicious lines [12:57] olcSuffix: dc=nodomain [12:57] olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,dc=nodomain" write by * none [12:57] olcAccess: {2}to * by self write by dn="cn=admin,dc=nodomain" write by * read [12:57] olcRootDN: cn=admin,dc=nodomain [12:57] in /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif [12:58] so if i would just change that, would it work? [12:58] lets try [13:03] no, it does not [13:11] qman__: thankyou, that seemd to be the problem [13:37] New bug: #1051163 in openssh (main) "package openssh-server 1:5.3p1-3ubuntu7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 3" [Undecided,New] https://launchpad.net/bugs/1051163 [13:37] New bug: #1051182 in bind9 (main) "package libisccc80 1:9.8.1.dfsg.P1-4ubuntu0.2 failed to install/upgrade: package libisccc80 is already installed and configured" [Undecided,New] https://launchpad.net/bugs/1051182 [13:37] New bug: #1051258 in samba (main) "After ugrade from 11.10 to 12.04 computer is not booting" [Undecided,New] https://launchpad.net/bugs/1051258 === n0ts_off is now known as n0ts === doko_ is now known as doko === dendro-afk is now known as dendrobates === n0ts is now known as n0ts_off [15:49] 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] Error404NotFound: why are you trying to sed/awk that? [15:54] 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] Error404NotFound: so if you're automating this, there are better ways. augeas is really good for parsing and editting fstab for instance. [15:55] SpamapS: hmmm, never heard of that, !google time [15:56] 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] 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] erm [15:57] if you bootstrap from scratch fstab is empty anyway [15:58] SpamapS: i was also thinking about that. But, the pretend-to-be-smart-kid in me wanted to make it "generic" [15:58] just cp one in place us use a here-doc [15:58] 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] the vm part is managed* [16:08] i'm seeing `git-core` disappearing intermittently from ubuntu ec2 mirrors [16:08] http://stackoverflow.com/questions/12438946/intermittent-package-git-core-has-no-installation-candidate [16:09] any ideas? i've confirmed it's intermittent.. [16:09] started seeing it last night [16:11] git-core is dead since at least two releases [16:11] apt-cache show git-core [16:11] ..." This is a transitional dummy package. The 'git-core' package has been [16:11] renamed to 'git', which has been installed automatically. This [16:11] git-core package is now obsolete, and can safely be removed from the [16:11] system if no other package depends on it."... [16:11] seems half dead, because after a few updates it's available [16:13] i'll try switching though, thx [16:20] ogra_: E: Unable to locate package git === cpg|away is now known as cpg === mcclurmc is now known as mcclurmc_away === cpg is now known as cpg|away [20:31] New bug: #1051406 in apache2 (main) "package apache2.2-common 2.2.22-1ubuntu1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/1051406 === cpg|away is now known as cpg === dendrobates is now known as dendro-afk [21:01] 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] Troy^: http://lmgtfy.com/?q=register+domain+dynamic+dns ? [21:20] Error404NotFound: you actually took the time, why thank you [21:22] i was just looking for suggestions in what people used/prefered with dynamic ip updating === mchamplain_alt is now known as mchamplain [21:49] 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] The only stuff I left out was creating a private network, since I don't have two NICs on this machine [21:50] but all the services are running and happy [22:06] 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] tomato or dd-wrt router can update it , others might not [22:06] u can always run something on your lan ofc [22:07] https://joker.com/faq/content/11/427/en/what-is-dynamic-dns-dyndns.html === aarcane_ is now known as aarcane === dendro-afk is now known as dendrobates === josePhoe1ix is now known as josePhoenix