/srv/irclogs.ubuntu.com/2012/09/15/#ubuntu-server.txt

=== gary_poster is now known as gary_poster|away
TakyojiAnyone 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:25
TakyojiCan't find any errors in /var/log/auth.log; NFS share is mounted, and LDAP is accessible.00:26
SpamapSTakyoji: what if you login via console?00:32
SpamapSTakyoji: is the home dir writable?00:32
TakyojiThe home folder is writable, yes.00:32
SpamapSTakyoji: you should have a .xsession-errors file then00:32
Takyoji(compiz:1846): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed00:35
Takyojiis the only error00:35
SpamapSTakyoji: thats compiz failing to work with gconf...00:37
SpamapSTakyoji: perhaps it was just a timeout error caused by NFS00:37
SpamapSTakyoji: you might try renaming .gconf to .gconf.old and seeing if that allows compiz/unity to start00:39
uvirtbotNew 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/99148400:51
uvirtbotNew bug: #1051080 in lxc (universe) "lxc-start-ephemeral hangs if bind mounting nfs homedir" [Undecided,New] https://launchpad.net/bugs/105108001:30
ejnahcsome 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?01:47
delinquentmehey all ! I'm looking for a more transparent way to transfer files between dirs than the cp command02:22
delinquentmepreferably something that has feedback as to the progress02:22
patdk-laprsync?02:23
patdk-laprsync -v02:23
patdk-laprsync -vP02:23
patdk-laprsync -avP (my fav)02:23
delinquentmepatdk-lap, I've run rsync only once ... whats the -avP flag do?02:24
patdk-lapeverything almost02:24
delinquentmeNICEEE and its preinstalled02:24
delinquentmelol02:24
patdk-lap-a means do most things02:24
delinquentmebreakfast02:24
patdk-lapcopy time,recursive,links,permissions,owner,group,...02:24
delinquentmedoes it handle that?  no jk jk but how about something like a progress bar?02:24
patdk-lapv means list files (verbose)02:24
patdk-lapP  is progress + partial02:25
delinquentmeOh lovely!!!02:25
delinquentmehappy days.02:25
patdk-laprsync -avP --del :)02:25
delinquentme@_@02:26
delinquentmei dont think i like that one as much02:26
patdk-lapalso sync missing files (delete on dest)02:26
patdk-lapit's more to make an exact mirror02:26
delinquentmepatdk-lap, I'm missing what that does?02:31
delinquentmeif there are missing files .. well wouldn't they just not be copied?02:31
patdk-lapif there are missing files on the source side?02:35
patdk-lap--del would cause it to delete them on the destination side02:35
delinquentmepatdk-lap, I dont understand :D02:41
delinquentmelike if they're missing ... wouldn't they *not* be copied?02:41
delinquentmeor is this for like sym linked files which arent currently connected to their actual files?02:41
delinquentme( a little lost )02:41
=== cpg is now known as cpg|away
phunyguyOK 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:21
qman__you're sending a literal *04:22
qman__like name\ of\ file\*04:22
phunyguyqman_ thanks, how would I get around that?04:23
phunyguy(kinda new to that stuff)04:23
qman__like you just did04:23
qman__escape instead of quote04:24
phunyguyright but in the script the escapes are removed initially, so quotes are required04:24
qman__I don't know if "name of file"* will give the expected result, you'll have to try04:25
phunyguyalready on it, lol04:25
qman__if not, use sed to escape it beforehand04:25
qman__escaped=`echo "$variable" | sed s/\ /\\\ /g`04:26
=== cpg|away is now known as cpg
phunyguymoving the quote before the * works04:26
phunyguyand qman__ that would only half work, there are also other unsupported characters that need to be escaped04:27
qman__more seds04:27
qman__but yeah04:27
phunyguyor I can just move the quote  ;)04:27
qman__I wasn't sure if that quoting would work right04:27
phunyguyworks a champ04:27
qman__but if it does, go for it04:27
phunyguythanks for the tip.04:27
phunyguydidn't think of the literal *04:28
=== 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
lordievaderGood morning07:41
xkillwhat'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?07:53
lifelessxkill: 700MB ?08:08
jaredrhine(probably means directory size of the web site docroot is 700MB of files all told)08:27
xkillyeah, flash, pics, lots of stuff08:27
xkillyeah08:27
jaredrhineanything 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:28
jaredrhineit'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:29
xkillyeah, minus that 700 MB website that is on a CD at the moment, how much disk space will i need?08:30
xkillthe 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 database08:31
jaredrhine2gb 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:31
jaredrhineif you know exactly what you're doing and can prune apps, documentation, man pages maybe, 2gb total.08:32
xkillperfect. all is not lost then08:34
=== cpg is now known as cpg|away
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:32
patdk-lapsounds like your wireless it having interference11:40
Troy^?? that doesn't make sense11:42
Troy^i just saw a power saving option for the wireless radio on my router settings so i turned that off11:46
patdk-lapdoesn't make sense?11:55
patdk-lapinterference means packet loss, and therefor means it will buffer more11:56
Troy^how does it sound like interference i though it would be more with samba and its shottiness11:56
patdk-lapbut something going to sleep will cause the same effects also :)11:57
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 know11:58
patdk-lapxbmc sounds like a gui thing11:58
fidelwc12:45
iqualfragilei 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.html12:47
iqualfragileso first i changed my /etc/hosts to12:47
iqualfragile127.0.0.1       localhost12:48
iqualfragile127.0.1.1       vm-fai-ubuntuserver12:48
iqualfragile127.0.1.1       barium.herzog.loc barium12:48
iqualfragile# The following lines are desirable for IPv6 capable hosts12:48
iqualfragile(i hope im allowed to paset 4 lines without pastebin)12:48
iqualfragilethen i did12:48
iqualfragilesudo apt-get install slapd ldap-utils12:48
iqualfragilemy /etc/ldap/slapd.d/ looks right12:49
iqualfragilethen i ran sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn12:49
iqualfragileit returned the predicted output12:49
iqualfragilebut now i tried to run $ ldapsearch -x -LLL -H ldap:/// -b dc=example,dc=com dn12:50
iqualfragile(i have changed it to ldapsearch -x -LLL -H ldap:/// -b dc=herzog,dc=loc dn12:51
iqualfragileand it says: No such object (32)12:51
iqualfragilewhere 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 not12:51
iqualfragilei have allso tried12:52
iqualfragile127.0.0.1       localhost12:52
iqualfragile127.0.1.1       barium.herzog.loc barium12:52
iqualfragilebut that did not work the step before, sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn returned an error12:53
qman__you can only have each IP once, so if you want them all to be 127.0.1.1, it would be12:53
qman__127.0.1.1       vm-fai-ubuntuserver barium.herzog.loc barium12:53
qman__but it probably should use your actual IP12:54
iqualfragilebut the guide says thats what i should do12:54
qman__ah, ok12:55
qman__then it should be this12:55
qman__127.0.1.1       barium.herzog.loc barium vm-fai-ubuntuserver12:55
qman__(assuming you want vm-fai-ubuntuserver to still work)12:55
iqualfragilei dont rly care, it did not work without it12:56
iqualfragilebut i have found some suspicious lines12:56
iqualfragileolcSuffix: dc=nodomain12:57
iqualfragileolcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,dc=nodomain" write by * none12:57
iqualfragileolcAccess: {2}to * by self write by dn="cn=admin,dc=nodomain" write by * read12:57
iqualfragileolcRootDN: cn=admin,dc=nodomain12:57
iqualfragilein /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif12:57
iqualfragileso if i would just change that, would it work?12:58
iqualfragilelets try12:58
iqualfragileno, it does not13:03
iqualfragileqman__: thankyou, that seemd to be the problem13:11
uvirtbotNew 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/105116313:37
uvirtbotNew 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/105118213:37
uvirtbotNew bug: #1051258 in samba (main) "After ugrade from 11.10 to 12.04 computer is not booting" [Undecided,New] https://launchpad.net/bugs/105125813:37
=== 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
Error404NotFoundWonder 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:49
SpamapSError404NotFound: why are you trying to sed/awk that?15:52
Error404NotFoundSpamapS: 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 replace15:54
SpamapSError404NotFound: so if you're automating this, there are better ways. augeas is really good for parsing and editting fstab for instance.15:55
Error404NotFoundSpamapS: hmmm, never heard of that, !google time15:55
SpamapSError404NotFound: if the content of fstab is more static.. why not just replace the lines rather than try to be clever about sed/awk?15:56
SpamapSas 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_erm15:57
ogra_if you bootstrap from scratch fstab is empty anyway15:57
Error404NotFoundSpamapS: 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-doc15:58
Error404NotFoundogra_: 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 running15:58
Error404NotFoundthe vm part is managed*15:59
gabrtvi'm seeing `git-core` disappearing intermittently from ubuntu ec2 mirrors16:08
gabrtvhttp://stackoverflow.com/questions/12438946/intermittent-package-git-core-has-no-installation-candidate16:08
gabrtvany ideas?  i've confirmed it's intermittent..16:09
gabrtvstarted seeing it last night16:09
ogra_git-core is dead since at least two releases16:11
ogra_apt-cache show git-core16:11
ogra_..." This is a transitional dummy package.  The 'git-core' package has been16:11
ogra_ renamed to 'git', which has been installed automatically.  This16:11
ogra_ git-core package is now obsolete, and can safely be removed from the16:11
ogra_ system if no other package depends on it."...16:11
gabrtvseems half dead, because after a few updates it's available16:11
gabrtvi'll try switching though, thx16:13
gabrtvogra_: E: Unable to locate package git16:20
=== cpg|away is now known as cpg
=== mcclurmc is now known as mcclurmc_away
=== cpg is now known as cpg|away
uvirtbotNew 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/105140620:31
=== cpg|away is now known as cpg
=== dendrobates is now known as dendro-afk
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 updating21:01
Error404NotFoundTroy^: http://lmgtfy.com/?q=register+domain+dynamic+dns ?21:17
Troy^Error404NotFound: you actually took the time, why thank you21:20
Troy^i was just looking for suggestions in what people used/prefered with dynamic ip updating21:22
=== mchamplain_alt is now known as mchamplain
blast_hardcheeseI 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_hardcheeseThe only stuff I left out was creating a private network, since I don't have two NICs on this machine21:49
blast_hardcheesebut all the services are running and happy21:50
AwakenTroy^, 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 address22:06
Awakentomato or dd-wrt router can update it , others might not22:06
Awakenu can always run something on your lan ofc22:06
Awakenhttps://joker.com/faq/content/11/427/en/what-is-dynamic-dns-dyndns.html22:07
=== aarcane_ is now known as aarcane
=== dendro-afk is now known as dendrobates
=== josePhoe1ix is now known as josePhoenix

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