=== ScottK2 is now known as ScottK === CrummyG1mmy is now known as CrummyGummy [07:49] hi all [07:52] 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] toabctl: create a debian/foo.dirs [07:57] twb, and how can i set the owner:group and the permissions? [07:58] I don't remember, try #debian-mentors on OFTC. [07:58] Or man debhelper [07:59] 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] dh_fixperms [08:00] This is off-topic for this channel. Move to #ubuntu-devel and/or #debian-mentors (on OFTC). [08:01] twb, ok. thx [08:06] 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] *into [08:07] fargiolas: broadly, purge ubuntu-desktop and its markauto'd deps, and install ubuntu-server. [08:07] The packages, that is. [08:08] twb: good, thanks [08:12] You'll also want to change the kernel [08:23] I've been helping slugnard to find out why his fresh 8.10 server isn't serving php or python pages. [08:24] 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] The headers from the server don't show php just python. [08:25] There are no errors that I can determine in error.log, and access.log appears to be fine. [08:25] Any suggestions on where to go from here? [08:28] twb: why the kernel? isn't the lpia one the right one? [08:29] moin [08:29] Hey kraut [08:29] Have you got a rollback? [08:30] fargiolas: I don't know what lpia is. [08:30] fargiolas: but ubuntu-desktop and ubuntu-server have different default kernels. [08:30] 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] twb: lpia is the architecture for intel atom processors [08:32] owh: Did you/slugnard do: sudo a2enmod php5 # and then restart Apache [08:32] Yup [08:32] jmarsden: It was already enabled. [08:33] The php module installation also restarted apache. [08:34] 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] fargiolas: isn't that just a subarch of AMD64? [08:35] jmarsden: Same here. I've just logged into the server, so I'll have a look see. [08:35] twb: subarch of x86 probably [08:36] twb: but ubuntu already builds packages for that architecture, just doesn't build all the "flavours" for that architecture [08:36] I don't know what you're saying. [08:36] there is ubuntu-desktop, ubuntu-mid but no ubuntu-server for example [08:36] Seems to me you'd just install the ubuntu-server kernel. [08:36] 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] Is there a way that I can use screen to have slugnard look over my shoulder? [08:37] 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] jmarsden: any idea about why? [08:38] (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] 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] jmarsden: that sounds like bullshit to me. I run atoms just fine using stock x86 images. [08:39] jmarsden: I don't think atom are used just for embedded envs.. look at thos bundles, they are normal 945 motherboards [08:40] jmarsden: anyway, ok for the iso image but what about the kernel? [08:40] 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] Atom isn't embedded at all. [08:40] exactly [08:40] jmarsden: I imagine they're just obsessive, like people who compile their own kernels "for speed". [08:40] 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] Someone at Canonical, who persuaded Ubuntu as a whole to treat lpia as a separate arch... OK, you are free to speculate. [08:41] twb: it's not just compile time optimization, there are also specific kernel patches [08:41] Sure. I admit that I just use Atom desktops. [08:41] fargiolas: you can have a kernel package for a subarch without having a whole dedicated arch for everything else [08:42] There used to be such packages for 686 and k7 and such [08:42] twb: don't know I just assumed that if canonical was building every single package for lpia that was worth [08:43] owh: Yes, you can use screen for that, but I'm off to bed... screen -r is the option you need. [08:43] The only hit on http://packages.ubuntu.com/lpia is installation-guide-lpia [08:43] Yup, found it, thanks jmarsden [08:44] ...though that indicates Ubuntu treat it as a distinct arch, like i386 and amd64. [08:45] twb: https://launchpad.net/ubuntu/intrepid/lpia [08:45] twb: everything is compiled for lpia [08:48] madness [08:54] https://wiki.ubuntu.com/MobileTeam/Specs/LpiaVersusI386 [08:57] 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] twb: I'll go with i386 then.. [09:18] 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] 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] owh: I just did sudo apt-get install libapache2-mod-python && sudo /etc/init.d/apache2 restart # and it "just worked" [09:25] Yeah, slugnard has modified ports.conf and apache was using that for the virtual host defition :-) [09:25] 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] owh: Edit /etc/hosts and sort out the hostname entry for the actual server hostname [09:26] For the localhost entry? [09:27] leave localhost at 127.0.0.1 but add / edit one for 192.168.0.1 myserver.mydomain.com # or whatever [09:28] jmarsden: hmm, my FQDN points to 127.0.1.1. Why should it point to my host's IP on another interface? [09:28] (Admittedly, this box is Debian.) [09:28] 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] Oh, I always use DHCP for upstream interfaces. [09:29] 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] Fair enough. [09:41] jmarsden: I added the eth0 ip address and its name, all happy. [09:41] Good :) [09:41] And the python problem was caused by a modified ports.conf file which overrode everything :) [09:43] So as long as slugnard has now learned not to edit configuration files he's not familiar with, all should be well :) [09:43] I should take away his root privs :) [09:43] I suppose that would mean that I'd become the server admin. Hmm, better give those privs back :) [09:46] hmm, either ubuntu or debian's usermod is broken/dodgy [09:47] 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] 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] Today I ran screen and the other user ran screen -x, but that's hardly water tight. [09:48] It's as much about protecting me against them as it is them being protected from me. [09:49] 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] When I logged in, the user has only my word that the first command I ran was screen. [09:50] That's hardly satisfactory. [09:51] I didn't know about script though. The screen log is horrible. [09:51] User could modify your .bashrc to run script /users-log-file.txt maybe [09:51] That seems less than intuitive. [09:52] Basically, root means you control the machine... offering someone root on your machine is, in general, unwise :) [09:53] 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] That's true. I wonder if there is a way that makes sense to implement. [09:53] My concern initially was just accountability to protect both parties. [09:54] owh: Offer them root in a virtual machine you snapshotted, and compare the snapshot with another one made afterwards?? [09:55] 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] 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] I feel uncomfortable with "I did the magic incantation and now it works." [09:56] 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] The problem turned out to be somewhere completely unexpected - which is often the case with problems like this. [09:57] 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] That's a smart idea. [09:57] owh: Not really, the problem was in an apache config file under /etc/apache2, right -- exactly where expected. [09:58] 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] 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] 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] That's somewhat 20/20 hindsight, i realize... [09:59] I suppose the malicious intent comes with being a Ubuntero. [10:00] could anybody tell me something about anonpages? [10:00] i got a machine with full ram but there RSS alltogether is only at ~50% [10:01] kraut: anonpages are like nonpages but with an a in front <- does that help :) [10:01] i don't understand, why all the ram is full. it's not cached ram, it's in use [10:01] and anonpages is at ~450-480 MB wich would describe, why it's full [10:01] owh: no [10:01] kraut: You mean the ram is not used by the kernel disk cache? [10:01] yes [10:01] it's really full [10:01] kraut: Google for it, there are postings describing this... [10:01] Run away process? [10:02] total used free shared buffers cached [10:02] Mem: 1027068 1018796 8272 0 6524 16716 [10:02] jmarsden: i did, but didn't found anything wich is usefull [10:02] kraut: what's the next line saying ? [10:02] that's meminfo: http://pastebin.com/m828efbb [10:03] -/+ buffers/cache: 995556 31512 [10:03] Swap: 2097144 517332 1579812 [10:03] cemc: ^ [10:03] stop apache :) [10:03] why? [10:03] you have apache running? [10:03] yes ;) [10:03] heh [10:03] but why should that be a problem? [10:03] there is a httpd-2 and tomcat running [10:03] restart it then and see if the memory comes back [10:04] httpd as proxy for the tomcat [10:04] just a hunch [10:04] apache2ctl restart is fine? [10:04] don't think that's the issue [10:04] didn't changed anything [10:04] i must that that's a vmware on a esx cluster [10:05] maybe that's an issue, but don't know how [10:05] run top, sort it my memory usage, anything sticks out? [10:05] as using too much ram [10:06] Thanks jmarsden for your help today. I'm otta here... [10:06] No problem. I should be, too :) [10:06] Didn't you say you were going to bed? [10:06] Yes... :) [10:06] Bugger off then :) [10:07] Later all. [10:07] owh: 2am here... goodnight! [10:07] kraut: found anything? [10:07] cemc: java of course, but not that heavy [10:08] 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] 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] kraut: maybe something's leaking [10:10] sure, but i don't know how to find out wich one is it [10:11] 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] ipcs tool? [10:12] what's that? [10:13] 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] something like that, but I can't explain why or how all this works [10:14] may be another issue you're having... but it's definitely not good when it uses that much swap :) [10:14] anythin else running on that machine ? besides the usual stuff (syslog, ssh, cron, etc) === mogul218_ is now known as mogul218 [11:08] which linux is this please ? thanks alot bros http://www.wimp.com/funidea/ [11:17] New bug: #364531 in openldap2.3 (main) "Incredibly painful Jaunty upgrade" [Undecided,New] https://launchpad.net/bugs/364531 [11:55] 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? === Adri2000_ is now known as Adri2000 === timburke_ is now known as timburke [14:04] how do i set my time correctly? [14:05] im running a linode and sudo date doesn't work [14:06] <_ruben> linode? [14:07] Yeah, virtual linux server :) [14:07] 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] Yeah, doesn't work for me [14:07] I'm guessing something isn't set properly for the UK [14:07] Not sure though :( [14:18] 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] chipt4: you might want to try "ssh user@host -vvv" for a more detailed output [14:22] actually i just discovered i'm able to ssh in from this machine (windows, via putty) but not my mac laptop [14:22] we're all on lan, the mac is wirelessly [14:22] How encrypted is straight ssh to a ssh server (ubuntu)? [14:22] With say putty :) [14:22] but it times out, where as the windows connects [14:23] strange [14:23] can you ping the server from the mac ? [14:24] 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] omg the connection on the mac had just gone down xD that's what I get for buying the router on clearance === asac_ is now known as asac [14:29] oh well thanks for the help! [14:33] Ethos: Um... It's very well encrypted. Does that answer your question at all? [14:33] Kind of [14:34] It's a silly question reall :) [14:34] so was the answer, so that's ok :) [14:34] heh [14:34] It is generally considered secure. [14:34] I'm using ssh to irssi from work, just thinking about security as I type ALOT of shit :D [14:35] Assuming that P!=NP, you're safe :) [14:35] What. [14:35] In other words: Don't worry about it. [14:35] :) [14:35] :) [16:02] 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] Nokio: there are updated instructions in the serverguide [16:02] !serverguide [16:02] The Ubuntu server guide may be found at http://help.ubuntu.com/8.04/serverguide/C/ [16:02] okay thanks sommer ill go take a look thanks [16:03] Nokio: np [16:03] 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] 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] I couldn't think of any tools that gives me a vmware type of disk image that is in multiple 2gb files [16:09] 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] summer ho nevermind i think i got it [16:10] Nokio: in 9.10 there is not slapd.conf your configurations are stored in the directory database cn=config [16:10] Nokio: https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html [16:10] 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] sommer: you are a documentation team member right? [16:19] jmedina: yeppers === zul_ is now known as zul [17:04] sommer: you use docbook for official documentation? [17:09] jmedina: yep, at the moment [17:10] sommer: good, Im writting some ubuntu documentation in spanish, I have used docbook for a few years using basic stysheets from walsh [17:11] jmedina: the bzr branch is here: https://code.edge.launchpad.net/ubuntu-doc [17:11] how do you convert docbook to the format in https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html [17:11] do you use any stylesheet or something? [17:11] I want to publish my documents in a similar way, probably the same [17:12] yep the makefile uses xsltproc with xslt [17:12] sommer: where can I find makefile and docbook files? [17:12] * jmedina hopes it is packaged :D [17:13] jmedina: if you check out the source bzr branch lp:ubuntu-doc it's in the top directory [17:14] sommer: well I know nothing about bzr but thanks I found the package, let me check it [17:18] mm I dont see any Makefile in ubuntu-docs package [17:23] 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] jmedina, i bought the book you recommended, and im quite happy w/ it [17:30] Faust-C: the one from packetpub? [17:30] mastering openldap? [17:30] yeah [17:32] Faust-C: good let me find a HP presentation so you can convince why openldap is superior [17:33] sweet [17:33] brb lunch [17:36] http://www.openldap.org/conf/odd-sandiego-2004/Neil.pdf [17:36] that is when they fist evaluated openldap, but it didnt fit their requirements [17:37] I cant find the other presentation [17:38] well in fact HP supports symas openldap as a commercial service [17:42] by the way: http://www.suretecsystems.com/our_docs/Symas_OpenLDAP_vs_Debian_OpenLDAP_2008.pdf [17:58] sommer: thanks, I downladed ubuntu-docs source package, I found the Makefile :D [18:00] 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 === Tron05 is now known as Tron04 [19:04] hey guys. installing fluxbox on a BARE ubuntu-server install (only LAMP Stack and BitTornado/torrentfluxx) [19:04] what all packages do I need? [19:04] or is there a metapackage (i'm not familiar with -server) [19:15] 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] age :http://pastebin.com/d11c00fab if someone can help me thanks in advance [19:38] Anyone can give a quick help with ubuntu and ldap replication ?! [19:39] Nokio: you need to index the entryUUID [19:39] Nokio: there are instructions in the openldap configuration section on adding indexes [19:40] 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] Nokio: not 100% sure, but it will stop the error [19:43] 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] Nokio: it may be needed, if so I'll update the docs for that [19:44] sommer ok ill go in the doc and search the index section and try it out to see what it does [19:48] Anyone? I need to read the update details for an update package from the command line.... [19:54] sommer: i might be blind but i dont see any indexing section in the doc :p [19:55] Nokio: in the configuration secion, at the top, there's instrucions for adding an index [19:55] sommer ive done that part [19:56] Nokio: did the error go away? [19:57] sommer: here take a look http://pastebin.com/d5b392575 [19:58] sommer: nah error still there [20:03] Nokio: that add an index for the cn attribute... the error is for entryUUID [20:04] Nokio: replace "olcDbIndex: cn eq,pres,sub" with "olcDbIndex: entryUUID eq,pres,sub" [20:10] sommer: wierd its giving me this http://pastebin.com/d1e014f83 [20:11] hi kaje check this http://www.debian.org/doc/manuals/apt-howto/ch-search.en.html#s-apt-listchanges [20:13] Nokio: mmm... just try olcDbIndex: entryUUID eq [20:15] thanks vensign [20:16] sommer: that last one worked [20:17] sommer: i dont have the error anymore but i still have this one http://pastebin.com/d699bda5 [20:18] Nokio: try restarting slapd on both machines [20:18] sommer: if data were trying to sync at all i would see in in /var/log/syslog i supose ?! [20:21] 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] 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] sommer: in those 2 file i used ip address so i dont think i need to put an entry in /etc/hosts... [20:25] sommer: here are the 2 file i used http://pastebin.com/de8759d5 [20:26] Nokio: yep, should be fine then [20:27] Nokio: try making another change to one of the directories [20:27] 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] Nokio: yes [20:27] sommer: okay because it did not get transfed [20:32] sommer: just created a new group in my first server nothing on the second servers log... [20:32] Nokio: not sure then, you might stop slapd and start it in a terminal with -d 6 to view detailed debug info [20:33] sommer: since the "olcDbIndex: entryUUID eq" did not get sync is it an other problem or the 2 are related ?! [20:33] Nokio: try making another change [20:35] Nokio: http://www.openldap.org/lists/openldap-software/200809/msg00076.html [20:35] Nokio: have you configured both the sync the cn=config db? [20:38] i think its what point 1 to 6 in the replication section is for ?! [20:40] Nokio: yep [20:40] sommer: then yes i did it [20:40] sommer: may i have done an error in one of those 2 files ?! http://pastebin.com/de8759d5 [20:46] Nokio: what's the output of: ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W o [20:47] 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] sommer: http://pastebin.com/da425c04 [20:48] Nokio: and when you added the new index it didn't get populated to the 2nd server? [20:49] sommer: thats corect [20:50] Nokio: hrmmm... can you try adding another index? [20:50] sure can [20:53] 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] Nokio: did you get any new errors? [20:54] nothing on server 2 and on server 1 same error [20:54] Nokio: there's an error somewhere, but you may need to start slapd in debug mode to see it [20:55] Nokio: you can also try the instructions here: http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html [20:55] Nokio: they're for jaunty, but should work with intrepid fine [20:58] 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] 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] 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] Hello, I have installed LAMP on an Ubuntu desktop, how do I configure Ubuntu not to load GDM on boot? [21:16] johnny5: that's pretty arbitrary [21:17] it's really 'whatever you prefer' [21:17] 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] Do I need to give the webserver ownership of all directories [21:18] php will have problems writing in unless the directory is owned, yes [21:19] 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] You could use userdir module for apache and just put it then in ~/public_html directory [21:20] 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] 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] Ahlee: owned by www-data coect? [21:28] 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] Nokio: you might want to add the entryUUID index before configuring replication, and see if that helps [21:34] 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] hello all, wondering if anyone has ever compiled apache2 and mod_python on ubuntu 8.10 [21:36] any one know much about setting up serial devices from the command line. [21:36] im getting a dso compile error, but linking to apxs with --with-apxs=/path/to/apxs [21:42] OscarTG: not a lot, but I've done some work with serial [21:42] what's up? [21:46] so i am trying to find out what ports are availabe on an IRQ channel. [21:46] i have a 4 port serial card and i want to change ttyS0 to map to a port on the card [21:48] so far the system mapped 3 of the 4 and used ttyS0 for the onboard serial [21:48] that's above my level of knowledge [21:48] dang [21:49] mine as well :) [21:49] probably somewhere in modprobe.d [21:49] i will check. thanks [21:50] i wish there was a way i could clear the current config and have the system reconfigure [21:55] 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] 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] Nokio: right that will configure the main db to sync [22:01] Nokio: why do you think that is bad? [22:01] well i mean this line olcRootDN: cn=admin,dc=example,dc=edu [22:01] should i change it to olcRootDN: cn=admin,dc=master,dc=slave [22:02] Nokio: right change it to your admin user dn [22:02] ok because it was not in the doc so i was wondering :p [22:02] hello [22:03] could somebody help me with samba and webmin [22:03] 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] Nokio: there is a sub-bullet point: "And adjust credentials=secret to match your admin password" [22:03] sommer: did that too [22:03] Nokio: under the cn=config ldif though [22:04] Nokio: that could be more prominent [22:04] Nokio: yep you are right to make the change [22:05] the credentials=secret is already under both the olcSyncRepl you think we need to add it under the cn=config too ?! [22:05] 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] 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] Nokio: another way to think of it is that there is an admin user for each database [22:08] sommer : okay so it would look like this ?! http://pastebin.com/m2ac3ee2a [22:09] anybody [22:10] 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] personally [22:10] doesnt really solve your issue but it is another way [22:11] DoyleChris: ensure your samba share has read/write to the directory you're exporting [22:11] how do i check [22:11] can i do it though webmin [22:11] vi /etc/samba/smb.conf [22:11] find yoru mount [22:11] i've never used webmin [22:12] path=/iscsi/shared [22:12] read only = no [22:12] ya again. the few times i have looked at webmin just set up the ftp server [22:12] much quicker [22:12] 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] would somebody in the regular ubuntu channel know something [22:20] you can always ask [22:21] writable yes [22:23] there telling me to some here [22:24] DoyleChris: the message you got on the ubuntu server was from a bot and not a person [22:24] great\ [22:24] why do you have to use a share? [22:25] actually what are you tryin gto accomplish [22:33] 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] And how? [22:39] lol I'm so angry, I just tried to install FreeNX so I could rdesktop into my naked fluxbox install [22:40] apparently it depends on like.. all of ubuntu-desktop [22:40] lol [22:41] is there any way to get rid of all this worthless gnome stuff? [23:04] 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] Depends, what are the attributes set on it? [23:10] hmmm, i guess i don't have group write? [23:11] but i thought if a group owned a directory/file they could just use it [23:13] man, this sucks [23:13] i just want to get started [23:13] You're in the group that owns it? [23:14] yes [23:15] when i type 'groups' i see www-data [23:16] And the group-write attribute is set? [23:16] probably not, that's what I don't know how to do [23:17] If you do an 'ls -l' it will show you the attributes assigned to each folder/file listed [23:17] What does that give you? [23:18] drwxr-s--- [23:18] for the /var/www directory [23:18] and root www-data as the user and group [23:19] So that shows that group is only read, not write [23:19] ok, so how would i make that directory group write, as well, any new directories created under it [23:20] chmod -R g+w /var/www [23:21] I believe :) [23:21] will that stick for all newly created ones [23:23] 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] is it possible to configure ubuntu server to cleanly shutdown when the power button is pressed? [23:53] 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] how can i automatically run a command each startup? [23:58] BCMM, system > preferences > sessions (I'm told) [23:59] BCMM, click add, then in command: type the command [23:59] i have no X, but i've found a tutorial on writing init scripts [23:59] i just thought there might be a thing like gentoo has already set to execute custom commands at the end of the boot sequence