[07:49] <toabctl> hi all
[07:52] <toabctl> i build a deb package for a django-application and want to create a dir in /var/lib/appname for some data from the app. how can i do this with debian/rules? anybody know?
[07:57] <twb> toabctl: create a debian/foo.dirs
[07:57] <toabctl> twb, and how can i set the owner:group and the permissions?
[07:58] <twb> I don't remember, try #debian-mentors on OFTC.
[07:58] <twb> Or man debhelper
[07:59] <toabctl> twb: when i use foo.dirs, i get an error because i move some files to the dirs (move is in debian/rules). so the dirs will be created after debian/rules ?
[08:00] <twb> dh_fixperms
[08:00] <twb> This is off-topic for this channel.  Move to #ubuntu-devel and/or #debian-mentors (on OFTC).
[08:01] <toabctl> twb, ok. thx
[08:06] <fargiolas> I asked it yesterday but got no reply, is there a way to get a lpia image of ubuntu server? or alternatively, is there a way to turn an ubuntu-desktop (which exists in lpia version) in an ubuntu-server one?
[08:06] <fargiolas> *into
[08:07] <twb> fargiolas: broadly, purge ubuntu-desktop and its markauto'd deps, and install ubuntu-server.
[08:07] <twb> The packages, that is.
[08:08] <fargiolas> twb: good, thanks
[08:12] <twb> You'll also want to change the kernel
[08:23] <owh> I've been helping slugnard to find out why his fresh 8.10 server isn't serving php or python pages.
[08:24] <owh> After actually installing libapache2-mod-php5 and seeing that the server restarts and seeing that php5 is enabled, we get the file as a download.
[08:24] <owh> The headers from the server don't show php just python.
[08:25] <owh> There are no errors that I can determine in error.log, and access.log appears to be fine.
[08:25] <owh> Any suggestions on where to go from here?
[08:28] <fargiolas> twb: why the kernel? isn't the lpia one the right one?
[08:29] <kraut> moin
[08:29] <owh> Hey kraut
[08:29] <owh> Have you got a rollback?
[08:30] <twb> fargiolas: I don't know what lpia is.
[08:30] <twb> fargiolas: but ubuntu-desktop and ubuntu-server have different default kernels.
[08:30] <fargiolas> by the way why there is no lpia image for ubuntu-server? I think there is some diffusion of atom based mini computers used as home servers because they have little consumes, little noise, etc
[08:30] <fargiolas> twb: lpia is the architecture for intel atom processors
[08:32] <jmarsden> owh: Did you/slugnard do:     sudo a2enmod php5  # and then restart Apache
[08:32] <owh> Yup
[08:32] <owh> jmarsden: It was already enabled.
[08:33] <owh> The php module installation also restarted apache.
[08:34] <jmarsden> Sounds like some sort of config error, so Apache is still using an old configuration or something like that??? It usually "just works" for me.
[08:35] <twb> fargiolas: isn't that just a subarch of AMD64?
[08:35] <owh> jmarsden: Same here. I've just logged into the server, so I'll have a look see.
[08:35] <fargiolas> twb: subarch of x86 probably
[08:36] <fargiolas> twb: but ubuntu already builds packages for that architecture, just doesn't build all the "flavours" for that architecture
[08:36] <twb> I don't know what you're saying.
[08:36] <fargiolas> there is ubuntu-desktop, ubuntu-mid but no ubuntu-server for example
[08:36] <twb> Seems to me you'd just install the ubuntu-server kernel.
[08:36] <jmarsden> twb: On Ubuntu lpia is a separate build, I think it needs specific compiler optimizations to run code at decent speed on those low power cpus.  and I don't think Ubuntu provides a ubuntu-server kernel for lpia :)
[08:37] <owh> Is there a way that I can use screen to have slugnard look over my shoulder?
[08:37] <fargiolas> twb: no you don't get me, I mean there is no ubuntu-server iso image and probably no kernel for that arch
[08:37] <fargiolas> jmarsden: any idea about why?
[08:38] <fargiolas> (sorry for the spam, here is an example of the home servers I'm talking about, as far as I know they're getting pretty common.. http://linitx.com/viewcategory.php?catid=51&pp=51)
[08:38] <jmarsden> I'd guess most people working with that hardware are embedded developer types who don't need or want an ISO, their target hardware probably often doesn't even have a CDROM drive, and may have rather limited flash and RAM space.
[08:38] <twb> jmarsden: that sounds like bullshit to me.  I run atoms just fine using stock x86 images.
[08:39] <fargiolas> jmarsden: I don't think atom are used just for embedded envs.. look at thos bundles, they are normal 945 motherboards
[08:40] <fargiolas> jmarsden: anyway, ok for the iso image but what about the kernel?
[08:40] <jmarsden> twb: Well, someone spends time and energy maintaining separate lpia buildd's, so if I'm mistaken, there is probably another more correct reason.
[08:40] <twb> Atom isn't embedded at all.
[08:40] <fargiolas> exactly
[08:40] <twb> jmarsden: I imagine they're just obsessive, like people who compile their own kernels "for speed".
[08:40] <twb> jmarsden: all of Arch and Gentoo fall into that category, so there are clearly people prepared to go to the effort -- doesn't mean it's worthwhile.
[08:41] <jmarsden> Someone at Canonical, who persuaded Ubuntu as a whole to treat lpia as a separate arch... OK, you are free to speculate.
[08:41] <fargiolas> twb: it's not just compile time optimization, there are also specific kernel patches
[08:41] <twb> Sure.  I admit that I just use Atom desktops.
[08:41] <twb> fargiolas: you can have a kernel package for a subarch without having a whole dedicated arch for everything else
[08:42] <twb> There used to be such packages for 686 and k7 and such
[08:42] <fargiolas> twb: don't know I just assumed that if canonical was building every single package for lpia that was worth
[08:43] <jmarsden> owh: Yes, you can use screen for that, but I'm off to bed... screen -r is the option you need.
[08:43] <twb> The only hit on http://packages.ubuntu.com/lpia is installation-guide-lpia
[08:43] <owh> Yup, found it, thanks jmarsden
[08:44] <twb> ...though that indicates Ubuntu treat it as a distinct arch, like i386 and amd64.
[08:45] <fargiolas> twb: https://launchpad.net/ubuntu/intrepid/lpia
[08:45] <fargiolas> twb: everything is compiled for lpia
[08:48] <twb> madness
[08:54] <twb> https://wiki.ubuntu.com/MobileTeam/Specs/LpiaVersusI386
[08:57] <owh> I'm on slugnard's 8.10 server. php and html files are being served normally. python files are being downloaded rather than executed - any suggestions?
[09:01] <fargiolas> twb: I'll go with i386 then..
[09:18] <jmarsden> owh: Go through the apache config files looking for anything about .py ?  Or just tar them up and copy the tarball elsewhere, then diff against a set from a known working server?
[09:19] <owh> jmarsden: I've not got a working set of python installed anywhere, so it's a tad hard to compare, but the config files look good from what I can see. It's serving the file, just not running it. Like the python module doesn't get fed the file.
[09:24] <jmarsden> owh: I just did sudo apt-get install libapache2-mod-python && sudo /etc/init.d/apache2 restart   # and it "just worked"
[09:25] <owh> Yeah, slugnard has modified ports.conf and apache was using that for the virtual host defition :-)
[09:25] <owh> Now all we need to do is fix: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[09:26] <jmarsden> owh: Edit /etc/hosts and sort out the hostname entry for the actual server hostname
[09:26] <owh> For the localhost entry?
[09:27] <jmarsden> leave localhost at 127.0.0.1 but add / edit one for 192.168.0.1 myserver.mydomain.com  # or whatever
[09:28] <twb> jmarsden: hmm, my FQDN points to 127.0.1.1.  Why should it point to my host's IP on another interface?
[09:28] <twb> (Admittedly, this box is Debian.)
[09:28] <jmarsden> Because Apache gets upset otherwise.  I've seen then 127.0.1.1 thing before, usually it means you configured networking one way and then later chanhed it (like from DHCP to static?).
[09:29] <twb> Oh, I always use DHCP for upstream interfaces.
[09:29] <jmarsden> all I know is, if you replace that 127.0.1.1 with the actual IP of eth0 (or whatever), the warning from Apache goes away.
[09:29] <twb> Fair enough.
[09:41] <owh> jmarsden: I added the eth0 ip address and its name, all happy.
[09:41] <jmarsden> Good :)
[09:41] <owh> And the python problem was caused by a modified ports.conf file which overrode everything :)
[09:43] <jmarsden> So as long as slugnard has now learned not to edit configuration files he's not familiar with, all should be well :)
[09:43] <owh> I should take away his root privs :)
[09:43] <owh> I suppose that would mean that I'd become the server admin. Hmm, better give those privs back :)
[09:46] <psteyn> hmm, either ubuntu or debian's usermod is broken/dodgy
[09:47] <psteyn> try 'usermod -G  groupname username' and it doesn't work.  but 'usermod -G groupname username' does work.  Looks like usermod doesn't handle spaces.
[09:47] <owh> Hey, just a sideways sort of question. I've got my ssh-key on LP. An admin can add it to their ssh keys and allow me to login remotely to their server. How can I prove to them that I only did what I said I did...
[09:47] <owh> Today I ran screen and the other user ran screen -x, but that's hardly water tight.
[09:48] <owh> It's as much about protecting me against them as it is them being protected from me.
[09:49] <jmarsden> owh: I'm not sure you really can.  You can log what you do using script mylogfile.txt which works for command line stuff, but if you use an editor the log is... hard to read :)
[09:50] <owh> When I logged in, the user has only my word that the first command I ran was screen.
[09:50] <owh> That's hardly satisfactory.
[09:51] <owh> I didn't know about script though. The screen log is horrible.
[09:51] <jmarsden> User could modify your .bashrc to run script /users-log-file.txt maybe
[09:51] <owh> That seems less than intuitive.
[09:52] <jmarsden> Basically, root means you control the machine... offering someone root on your machine is, in general, unwise :)
[09:53] <jmarsden> If you want to offer someone shell access you can do all sorts of restrictions but none are 100% watertight if you are going to allow the shell user to run a wide range of commands as root...
[09:53] <owh> That's true. I wonder if there is a way that makes sense to implement.
[09:53] <owh> My concern initially was just accountability to protect both parties.
[09:54] <jmarsden> owh: Offer them root in a virtual machine you snapshotted, and compare the snapshot with another one made afterwards??
[09:55] <jmarsden> Whatever you do ends up requiring the end user to be knowledgeable enough to check what you did... and if they are that knowledgeable they would not really need your remote assistance :)
[09:55] <owh> Take the case today. Troubleshooting via IRC was causing hairloss. Logging in allowed me to hunt around and see what was going on. That's hardly something that you'd setup a virtual machine for, then allow me to login, then check it afterwards.
[09:56] <owh> I feel uncomfortable with "I did the magic incantation and now it works."
[09:56] <jmarsden> Right.  You could have asked end user to tar up their set of config files and put them somewhere you could download from, maybe.
[09:57] <owh> The problem turned out to be somewhere completely unexpected - which is often the case with problems like this.
[09:57] <jmarsden> You can do    touch /root/i-started-now   # and then later do find / -newer /root/i-started-now to see what files changed...
[09:57] <owh> That's a smart idea.
[09:57] <jmarsden> owh: Not really, the problem was in an apache config file under /etc/apache2, right -- exactly where expected.
[09:58] <jmarsden> A really smart root user with malicious intent would reset timestamps somewhere along the way, of course, to defeat the find, but it can be handy
[09:58] <owh> Right, but it was not something you could find until you could create a python file in the web root, look at the local index.html file, find out that php wasn't installed and that the apache log file would be in a strange location.
[09:59] <jmarsden> owh: Sure it was.  if you had tarred the files and compared them with a "out of the box" set the cahnges to ports.conf would have been immediately apaprent.
[09:59] <jmarsden> That's somewhat 20/20 hindsight, i realize...
[09:59] <owh> I suppose the malicious intent comes with being a Ubuntero.
[10:00] <kraut> could anybody tell me something about anonpages?
[10:00] <kraut> i got a machine with full ram but there RSS alltogether is only at  ~50%
[10:01] <owh> kraut: anonpages are like nonpages but with an a in front <- does that help :)
[10:01] <kraut> i don't understand, why all the ram is full. it's not cached ram, it's in use
[10:01] <kraut> and anonpages is at ~450-480 MB wich would describe, why it's full
[10:01] <kraut> owh: no
[10:01] <owh> kraut: You mean the ram is not used by the kernel disk cache?
[10:01] <kraut> yes
[10:01] <kraut> it's really full
[10:01] <jmarsden> kraut: Google for it, there are postings describing this...
[10:01] <owh> Run away process?
[10:02] <kraut>              total       used       free     shared    buffers     cached
[10:02] <kraut> Mem:       1027068    1018796       8272          0       6524      16716
[10:02] <kraut> jmarsden: i did, but didn't found anything wich is usefull
[10:02] <cemc> kraut: what's the next line saying ?
[10:02] <kraut> that's meminfo: http://pastebin.com/m828efbb
[10:03] <kraut> -/+ buffers/cache:     995556      31512
[10:03] <kraut> Swap:      2097144     517332    1579812
[10:03] <kraut> cemc: ^
[10:03] <cemc> stop apache :)
[10:03] <kraut> why?
[10:03] <cemc> you have apache running?
[10:03] <kraut> yes ;)
[10:03] <cemc> heh
[10:03] <kraut> but why should that be a problem?
[10:03] <kraut> there is a httpd-2 and tomcat running
[10:03] <cemc> restart it then and see if the memory comes back
[10:04] <kraut> httpd as proxy for the tomcat
[10:04] <cemc> just a hunch
[10:04] <kraut> apache2ctl restart is fine?
[10:04] <kraut> don't think that's the issue
[10:04] <kraut> didn't changed anything
[10:04] <kraut> i must that that's a vmware on a esx cluster
[10:05] <kraut> maybe that's an issue, but don't know how
[10:05] <cemc> run top, sort it my memory usage, anything sticks out?
[10:05] <cemc> as using too much ram
[10:06] <owh> Thanks jmarsden for your help today. I'm otta here...
[10:06] <jmarsden> No problem.  I should be, too :)
[10:06] <owh> Didn't you say you were going to bed?
[10:06] <jmarsden> Yes... :)
[10:06] <owh> Bugger off then :)
[10:07] <owh> Later all.
[10:07] <jmarsden> owh: 2am here... goodnight!
[10:07] <cemc> kraut: found anything?
[10:07] <kraut> cemc: java of course, but not that heavy
[10:08] <kraut> 50063     4760  0.4 43.0 1191132 442080 ?      Sl   Apr20   6:07 /bss-tools_fs/java/jdk1.6/bin/java -server -Xmx512m -XX:MaxPermSize=256m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/bss-tools_fs/tomcat/current/conf/logging.properties -Dappserver.home=/bss-tools_fs/tomcat/current -Dappserver.base=/bss-tools_fs/tomcat/current -Djava.endorsed.dirs=/bss-tools_fs/tomcat/current/endorsed -cla
[10:08] <kraut> sspath :/bss-tools_fs/tomcat/current/bin/bootstrap.jar -Dcatalina.base=/bss-tools_fs/tomcat/current -Dcatalina.home=/bss-tools_fs/tomcat/current -Djava.io.tmpdir=/bss-tools_fs/tomcat/current/temp org.apache.catalina.startup.Bootstrap start
[10:09] <cemc> kraut: maybe something's leaking
[10:10] <kraut> sure, but i don't know how to find out wich one is it
[10:11] <cemc> I'm not exactly sure why and how, but I had once issues with apache eating up the memory, and getting locked up somewhere, had to clean up after it with some ipcs tool
[10:12] <kraut> ipcs tool?
[10:12] <kraut> what's that?
[10:13] <cemc> with ipcs you get a list of stuff apache uses, and with ipcrm you can remove them (after stopping apache, if anything's left there)
[10:13] <cemc> something like that, but I can't explain why or how all this works
[10:14] <cemc> may be another issue you're having... but it's definitely not good when it uses that much swap :)
[10:14] <cemc> anythin else running on that machine ? besides the usual stuff (syslog, ssh, cron, etc)
[11:08] <chatwhore> which linux is this please ? thanks alot bros http://www.wimp.com/funidea/
[11:55] <rcarnevale> Hi all. I'm going to buy  a Dell Power Edge 2950 w/ PERC6/i SCSI controller. Has anyone experince of this HW platform... Does vanilla kernel support all HW?
[14:04] <Ethos> how do i set my time correctly?
[14:05] <Ethos> im running a linode and sudo date doesn't work
[14:06] <_ruben> linode?
[14:07] <Ethos> Yeah, virtual linux server :)
[14:07] <Ethos> www.linode.com
[14:07] <_ruben> i always use sudo ntpdate my.fav.ntp.server.com .. saves me from entering the proper details :)
[14:07] <Ethos> Yeah, doesn't work for me
[14:07] <Ethos> I'm guessing something isn't set properly for the UK
[14:07] <Ethos> Not sure though :(
[14:18] <chipt4> hi, i'm unable to log into my ubuntu server via ssh until it is logged into physically.  any ideas why?  i added the ssh server to my /etc/rc.local
[14:21] <atomic__> chipt4: you might want to try "ssh user@host -vvv" for a more detailed output
[14:22] <chipt4> actually i just discovered i'm able to ssh in from this machine (windows, via putty) but not my mac laptop
[14:22] <chipt4> we're all on lan, the mac is wirelessly
[14:22] <Ethos> How encrypted is straight ssh to a ssh server (ubuntu)?
[14:22] <Ethos> With say putty :)
[14:22] <chipt4> but it times out, where as the windows connects
[14:23] <chipt4> strange
[14:23] <atomic__> can you ping the server from the mac ?
[14:24] <chipt4> here's one more:  on boot, i get messages about my motherboard not being acpi compliant.. i've tried noacpi as a boot option, but that didn't work.  (the machine is an old pentium 2 350mhz)
[14:26] <chipt4> omg the connection on the mac had just gone down xD that's what I get for buying the router on clearance
[14:29] <chipt4> oh well thanks for the help!
[14:33] <soren> Ethos: Um... It's very well encrypted. Does that answer your question at all?
[14:33] <Ethos> Kind of
[14:34] <Ethos> It's a silly question reall :)
[14:34] <soren> so was the answer, so that's ok :)
[14:34] <Ethos> heh
[14:34] <soren> It is generally considered secure.
[14:34] <Ethos> I'm using ssh to irssi from work, just thinking about security as I type ALOT of shit :D
[14:35] <soren> Assuming that P!=NP, you're safe :)
[14:35] <Ethos> What.
[14:35] <soren> In other words: Don't worry about it.
[14:35] <soren> :)
[14:35] <Ethos> :)
[16:02] <Nokio> Hi all i am trying to setup 2 ubuntu with ldap (so far no problem) then i want to configure the 2 ldap to replicate each other. I was following so far this doc https://help.ubuntu.com/community/OpenLDAPServer#LDAP%20replication but i dont have any slapd.conf file to add the replication information...
[16:02] <sommer> Nokio: there are updated instructions in the serverguide
[16:02] <sommer> !serverguide
[16:02] <Nokio> okay thanks sommer ill go take a look thanks
[16:03] <sommer> Nokio: np
[16:03] <kpettit> anybody know of a good way to create a mountable disk image (kind of like a vmware image) that spans multiple 2GB files?
[16:03] <kpettit> I have a 64gb flash that I need to keep fat32, but I wanted to put a disk image on there I can mount and have larger than 4GB.
[16:04] <kpettit> I couldn't think of any tools that gives me a vmware type of disk image that is in multiple 2gb files
[16:09] <Nokio> sommer that documentation is for 8.04 i am using 8.10 i dont know if that explain why i dont have the /etc/ldap/slapd.conf file and if i go under http://help.ubuntu.com/8.10/serverguide/C/ there is no ldap replication section
[16:09] <Nokio> summer ho nevermind i think i got it
[16:10] <jmedina> Nokio: in 9.10 there is not slapd.conf your configurations are stored in the directory database cn=config
[16:10] <sommer> Nokio: https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html
[16:10] <Nokio> jmedina yeah i just saw that :p thanks to both of you sommer and jmedina i think i have what i need to go on !
[16:17] <jmedina> sommer: you are a documentation team member right?
[16:19] <sommer> jmedina: yeppers
[17:04] <jmedina> sommer: you use docbook for official documentation?
[17:09] <sommer> jmedina: yep, at the moment
[17:10] <jmedina> sommer: good, Im writting some ubuntu documentation in spanish, I have used docbook for a few years using basic stysheets from walsh
[17:11] <sommer> jmedina: the bzr branch is here: https://code.edge.launchpad.net/ubuntu-doc
[17:11] <jmedina> how do you convert docbook to the format in https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html
[17:11] <jmedina> do you use any stylesheet or something?
[17:11] <jmedina> I want to publish my documents in a similar way, probably the same
[17:12] <sommer> yep the makefile uses xsltproc with xslt
[17:12] <jmedina> sommer: where can I find makefile and docbook files?
[17:12]  * jmedina hopes it is packaged :D
[17:13] <sommer> jmedina: if you check out the source bzr branch lp:ubuntu-doc it's in the top directory
[17:14] <jmedina> sommer: well I know nothing about bzr but thanks I found the package, let me check it
[17:18] <jmedina> mm I dont see any Makefile in ubuntu-docs package
[17:23] <sommer> jmedina: ya, you'll probably have to grab the source... bzr is a lot like other VCS, I use it a lot like subversion
[17:29] <Faust-C> jmedina, i bought the book you recommended, and im quite happy w/ it
[17:30] <jmedina> Faust-C: the one from packetpub?
[17:30] <jmedina> mastering openldap?
[17:30] <Faust-C> yeah
[17:32] <jmedina> Faust-C: good let me find a HP presentation  so you can convince why openldap is superior
[17:33] <Faust-C> sweet
[17:33] <Faust-C> brb lunch
[17:36] <jmedina> http://www.openldap.org/conf/odd-sandiego-2004/Neil.pdf
[17:36] <jmedina> that is when they fist evaluated openldap, but it didnt fit their requirements
[17:37] <jmedina> I cant find the other presentation
[17:38] <jmedina> well in fact HP supports symas openldap as a commercial service
[17:42] <jmedina> by the way: http://www.suretecsystems.com/our_docs/Symas_OpenLDAP_vs_Debian_OpenLDAP_2008.pdf
[17:58] <jmedina> sommer: thanks, I downladed ubuntu-docs source package, I found the Makefile :D
[18:00] <sommer> jmedina: no problem, if you have specific questions I may be able to help, or someone in #ubuntu-doc will have more info as well
[19:04] <flucksbawks> hey guys.  installing fluxbox on a BARE ubuntu-server install (only LAMP Stack and BitTornado/torrentfluxx)
[19:04] <flucksbawks> what all packages do I need?
[19:04] <flucksbawks> or is there a metapackage  (i'm not familiar with -server)
[19:15] <Nokio> Hi all, I have 2 ubuntu 8.10 and i  installed ldap on both of them and im trying to set up a replication between them. So far I followed this doc https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html. Prior to point 8 under the replication section everything seems to be working good i dont have any error or anything wierd ( i think) At point 8 when i do the ldapmodify in /var/log/syslog i get the following mess
[19:15] <Nokio> age :http://pastebin.com/d11c00fab if someone can help me thanks in advance
[19:38] <Nokio> Anyone can give a quick help with ubuntu and ldap replication ?!
[19:39] <sommer> Nokio: you need to index the entryUUID
[19:39] <sommer> Nokio: there are instructions in the openldap configuration section on adding indexes
[19:40] <Nokio> is doing that going to make the replication work ?! i mean i though that that far i would at least get message on both server that they are trying to sync or something
[19:43] <sommer> Nokio: not 100% sure, but it will stop the error
[19:43] <kaje> I have a few packages waiting to be updated. How can I read what was fixed in these updates before I update from the command-line?
[19:43] <sommer> Nokio: it may be needed, if so I'll update the docs for that
[19:44] <Nokio> sommer ok ill go in the doc and search the index section and try it out to see what it does
[19:48] <kaje> Anyone? I need to read the update details for an update package from the command line....
[19:54] <Nokio> sommer: i might be blind but i dont see any indexing section in the doc :p
[19:55] <sommer> Nokio: in the configuration secion, at the top, there's instrucions for adding an index
[19:55] <Nokio> sommer ive done that part
[19:56] <sommer> Nokio: did the error go away?
[19:57] <Nokio> sommer: here take a look http://pastebin.com/d5b392575
[19:58] <Nokio> sommer: nah error still there
[20:03] <sommer> Nokio: that add an index for the cn attribute... the error is for entryUUID
[20:04] <sommer> Nokio: replace "olcDbIndex: cn eq,pres,sub" with "olcDbIndex: entryUUID eq,pres,sub"
[20:10] <Nokio> sommer: wierd its giving me this http://pastebin.com/d1e014f83
[20:11] <vensign> hi kaje check this http://www.debian.org/doc/manuals/apt-howto/ch-search.en.html#s-apt-listchanges
[20:13] <sommer> Nokio: mmm... just try olcDbIndex: entryUUID eq
[20:15] <kaje> thanks vensign
[20:16] <Nokio> sommer: that last one worked
[20:17] <Nokio> sommer: i dont have the error anymore but i still have this one http://pastebin.com/d699bda5
[20:18] <sommer> Nokio: try restarting slapd on both machines
[20:18] <Nokio> sommer: if data were trying to sync at all i would see in in /var/log/syslog i supose ?!
[20:21] <Nokio> sommer: restartin slapd on both machine keep giving the same message. Just to know i have the same configuration on both server the only difference is that on one machine i have a ldap user that i want to sync and its on that server that i have those error
[20:22] <sommer> Nokio: does each server have an entry in /etc/hosts for 127.0.0.1 that maps back to the name you placed in the syncrepl config?
[20:24] <Nokio> sommer: in those 2 file i used ip address so i dont think i need to put an entry in /etc/hosts...
[20:25] <Nokio> sommer: here are the 2 file i used http://pastebin.com/de8759d5
[20:26] <sommer> Nokio: yep, should be fine then
[20:27] <sommer> Nokio: try making another change to one of the directories
[20:27] <Nokio> sommer: for my information the entry we added about  "olcDbIndex: entryUUID eq" i did it on my frist server should it ad been transfered to the second ?!
[20:27] <sommer> Nokio: yes
[20:27] <Nokio> sommer: okay because it did not get transfed
[20:32] <Nokio> sommer: just created a new group in my first server nothing on the second servers log...
[20:32] <sommer> Nokio: not sure then, you might stop slapd and start it in a terminal with -d 6 to view detailed debug info
[20:33] <Nokio> sommer: since the  "olcDbIndex: entryUUID eq" did not get sync is it an other problem or the 2 are related ?!
[20:33] <sommer> Nokio: try making another change
[20:35] <sommer> Nokio: http://www.openldap.org/lists/openldap-software/200809/msg00076.html
[20:35] <sommer> Nokio: have you configured both the sync the cn=config db?
[20:38] <Nokio> i think its what point 1 to 6 in the replication section is for ?!
[20:40] <sommer> Nokio: yep
[20:40] <Nokio> sommer: then yes i did it
[20:40] <Nokio> sommer: may i have done an error in one of those 2 files ?! http://pastebin.com/de8759d5
[20:46] <sommer> Nokio: what's the output of: ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W o
[20:47] <flucksbawks> hi, I just tried to load fluxbox onto my CLI-only ubuntu-server (intrepid) with only these two packages-- "sudo apt-get install xorg fluxbox"
[20:48] <Nokio> sommer: http://pastebin.com/da425c04
[20:48] <sommer> Nokio: and when you added the new index it didn't get populated to the 2nd server?
[20:49] <Nokio> sommer: thats corect
[20:50] <sommer> Nokio: hrmmm... can you try adding another index?
[20:50] <Nokio> sure can
[20:53] <Nokio> sommer: nop does nothing. I am using virtual machine i could revert then and start the process over again and see where it leads what do you think ?!
[20:54] <sommer> Nokio: did you get any new errors?
[20:54] <Nokio> nothing on server 2 and on server 1 same error
[20:54] <sommer> Nokio: there's an error somewhere, but you may need to start slapd in debug mode to see it
[20:55] <sommer> Nokio: you can also try the instructions here: http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html
[20:55] <sommer> Nokio: they're for jaunty, but should work with intrepid fine
[20:58] <Nokio> sommer: okay. I will try to revert both machine to a plai ubuntu and try to work it out step by step again and be extra careful :p wont be long
[21:12] <johnny5> Hey guys, just setting up a dev server for myself. Should I be putting my web files in /var/www, or in my /~
[21:12] <johnny5> I like the idea of putting them in /var/www, but will apache have access to them, will my user have access to them?
[21:14] <TheFuzzball> Hello, I have installed LAMP on an Ubuntu desktop, how do I configure Ubuntu not to load GDM on boot?
[21:16] <Ahlee> johnny5: that's pretty arbitrary
[21:17] <Ahlee> it's really 'whatever you prefer'
[21:17] <johnny5> oh, ok. I tried setting up a sub directory for a vhost within /var/www and i had to sudo? Is that going to cause problems for apache or php writing files within those directories?
[21:18] <johnny5> Do I need to give the webserver ownership of all directories
[21:18] <Ahlee> php will have problems writing in unless the directory is owned, yes
[21:19] <Ahlee> I recently attempted to build an ubuntu mirror locally of 8.04, amd64.  It looks good, sources.list is able to utilize it without an issue, however my netboot installation (preeseed fed off a different server via http, pointing mirror/http/hostname to the IP of the server with the mirror) reports "the specified ubuntu archive mirror is either not available, or does not have a valid Release file on it".  I can see from the debug logs of the intaller 
[21:19] <genii> You could use userdir module for apache and just put it then in ~/public_html directory
[21:20] <Ahlee> so i guess my question is, is the Release file something that's not grabbed on a 'standard' run of apt-mirror, or how do I generate it
[21:22] <Nokio> sommer: here is what i did so far on both server http://pastebin.com/d387e730. Now i guess im ready to give the replication part a try again then add an index and see if it get replicated what do you think ?!
[21:27] <johnny5> Ahlee: owned by www-data coect?
[21:28] <Ahlee> johnny5: you'll want to set it to whatever user you're running Apache as, which I believe is www-data, yes (don't forget you'll also need to ensure proper ownership of the directory,a nd ensure you're not doing anything funky with running php as another user
[21:33] <sommer> Nokio: you might want to add the entryUUID index before configuring replication, and see if that helps
[21:34] <Nokio> sommer: okay i will add the entryUUID on both server and then configure the replication. And then create a user to test this out
[21:36] <wattz> hello all, wondering if anyone has ever compiled apache2 and mod_python on ubuntu 8.10
[21:36] <OscarTG> any one know much about setting up serial devices from the command line.
[21:36] <wattz> im getting a dso compile error, but linking to apxs with --with-apxs=/path/to/apxs
[21:42] <Ahlee> OscarTG: not a lot, but I've done some work with serial
[21:42] <Ahlee> what's up?
[21:46] <OscarTG> so i am trying to find out what ports are availabe on an IRQ channel.
[21:46] <OscarTG> i have a 4 port serial card and i want to change ttyS0 to map to a port on the card
[21:48] <OscarTG> so far the system mapped 3 of the 4 and used ttyS0 for the onboard serial
[21:48] <Ahlee> that's above my level of knowledge
[21:48] <OscarTG> dang
[21:49] <OscarTG> mine as well :)
[21:49] <Ahlee> probably somewhere in modprobe.d
[21:49] <OscarTG> i will check.  thanks
[21:50] <OscarTG> i wish there was a way i could clear the current config and have the system reconfigure
[21:55] <Nokio> sommer: ok so now i just did this http://pastebin.com/d5ae60405 I am pretty sure that on the next part that i miss something
[21:59] <Nokio> sommer: if i follow the doc the next step would be this http://pastebin.com/d10faf779 but i am not quite sure that this is corect
[22:01] <sommer> Nokio: right that will configure the main db to sync
[22:01] <sommer> Nokio: why do you think that is bad?
[22:01] <Nokio> well i mean this line      olcRootDN: cn=admin,dc=example,dc=edu
[22:01] <Nokio> should i change it to olcRootDN: cn=admin,dc=master,dc=slave
[22:02] <sommer> Nokio: right change it to your admin user dn
[22:02] <Nokio> ok because it was not in the doc so i was wondering :p
[22:02] <DoyleChris> hello
[22:03] <DoyleChris> could somebody help me with samba and webmin
[22:03] <Nokio> same for changing provider=ldap://ldap01.example.com to match my ip address so i was just wondering if the doc was right or i was right to make the change :p
[22:03] <sommer> Nokio: there is a sub-bullet point: "And adjust credentials=secret to match your admin password"
[22:03] <Nokio> sommer: did that too
[22:03] <sommer> Nokio: under the cn=config ldif though
[22:04] <sommer> Nokio: that could be more prominent
[22:04] <sommer> Nokio: yep you are right to make the change
[22:05] <Nokio> the  credentials=secret is already under both the olcSyncRepl you think we need to add it under the cn=config too ?!
[22:05] <DoyleChris> trying to setup a share between ubuntu server with samba and webmin to a vista machine and im not able to save files to the server from vista
[22:06] <sommer> Nokio: yep, one is for the cn=admin,cn=config user, and the other is the cn=admin,dc=example,dc=com (or whatever your site is)... they are different entries
[22:07] <sommer> Nokio: another way to think of it is that there is an admin user for each database
[22:08] <Nokio> sommer : okay so it would look like this ?! http://pastebin.com/m2ac3ee2a
[22:09] <DoyleChris> anybody
[22:10] <OscarTG> instead of setting up a share i would just set up an FTP server on the ubuntu box and the connect over that
[22:10] <OscarTG> personally
[22:10] <OscarTG> doesnt really solve your issue but it is another way
[22:11] <Ahlee> DoyleChris: ensure your samba share has read/write to the directory you're exporting
[22:11] <DoyleChris> how do i check
[22:11] <DoyleChris> can i do it though webmin
[22:11] <Ahlee> vi /etc/samba/smb.conf
[22:11] <Ahlee> find yoru mount
[22:11] <Ahlee> i've never used webmin
[22:12] <Ahlee> path=/iscsi/shared
[22:12] <Ahlee> read only = no
[22:12] <OscarTG> ya again.  the few times i have looked at webmin just set up the ftp server
[22:12] <OscarTG> much quicker
[22:12] <Nokio> sommer: well they are closing the office :p i will need to leave but ill be back on this tomorow and try to get this working out!! thanks again for all your time and hlep
[22:19] <DoyleChris> would somebody in the regular ubuntu channel know something
[22:20] <OscarTG> you can always ask
[22:21] <DoyleChris> writable yes
[22:23] <DoyleChris> there telling me to some here
[22:24] <OscarTG> DoyleChris:  the message you got on the ubuntu server was from a bot and not a person
[22:24] <DoyleChris> great\
[22:24] <OscarTG> why do you have to use a share?
[22:25] <OscarTG> actually what are you tryin gto accomplish
[22:33] <johnny5> If I am trying to create a samba share at /var/www do i need to give samba group access to the /var/www directory?
[22:33] <johnny5> And how?
[22:39] <reid> lol I'm so angry, I just tried to install FreeNX so I could rdesktop into my naked fluxbox install
[22:40] <reid> apparently it depends on like.. all of ubuntu-desktop
[22:40] <reid> lol
[22:41] <reid> is there any way to get rid of all this worthless gnome stuff?
[23:04] <johnny5> Ok, I'm in the www-data group. my /var/www is owned by www-data. Shouldn't I be able to write to that directory?
[23:10] <ropetin> Depends, what are the attributes set on it?
[23:10] <johnny5> hmmm, i guess i don't have group write?
[23:11] <johnny5> but i thought if a group owned a directory/file they could just use it
[23:13] <johnny5> man, this sucks
[23:13] <johnny5> i just want to get started
[23:13] <ropetin> You're in the group that owns it?
[23:14] <johnny5> yes
[23:15] <johnny5> when i type 'groups' i see www-data
[23:16] <ropetin> And the group-write attribute is set?
[23:16] <johnny5> probably not, that's what I don't know how to do
[23:17] <ropetin> If you do an 'ls -l' it will show you the attributes assigned to each folder/file listed
[23:17] <ropetin> What does that give you?
[23:18] <johnny5> drwxr-s---
[23:18] <johnny5> for the /var/www directory
[23:18] <johnny5> and root www-data as the user and group
[23:19] <ropetin> So that shows that group is only read, not write
[23:19] <johnny5> ok, so how would i make that directory group write, as well, any new directories created under it
[23:20] <ropetin> chmod -R g+w /var/www
[23:21] <ropetin> I believe :)
[23:21] <johnny5> will that stick for all newly created ones
[23:23] <ropetin> That's a good question, I'm afraid I don't know the answer.  Logically yes, but I can't say for certain without doing it
[23:28] <BCMM> is it possible to configure ubuntu server to cleanly shutdown when the power button is pressed?
[23:53] <mac9416_2> Hypothetical situation: What if I had a computer in room A with a microphone plugged into the mic jack. How could I stream that audio across a web page (home network) so that I can listen to it from rooms B, C, and D?
[23:56] <BCMM> how can i automatically run a command each startup?
[23:58] <mac9416_2> BCMM, system > preferences > sessions (I'm told)
[23:59] <mac9416_2> BCMM, click add, then in command: type the command
[23:59] <BCMM> i have no X, but i've found a tutorial on writing init scripts
[23:59] <BCMM> i just thought there might be a thing like gentoo has already set to execute custom commands at the end of the boot sequence