/srv/irclogs.ubuntu.com/2009/04/21/#ubuntu-server.txt

=== ScottK2 is now known as ScottK
=== CrummyG1mmy is now known as CrummyGummy
toabctlhi all07:49
toabctli 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:52
twbtoabctl: create a debian/foo.dirs07:57
toabctltwb, and how can i set the owner:group and the permissions?07:57
twbI don't remember, try #debian-mentors on OFTC.07:58
twbOr man debhelper07:58
toabctltwb: 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 ?07:59
twbdh_fixperms08:00
twbThis is off-topic for this channel.  Move to #ubuntu-devel and/or #debian-mentors (on OFTC).08:00
toabctltwb, ok. thx08:01
fargiolasI 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*into08:06
twbfargiolas: broadly, purge ubuntu-desktop and its markauto'd deps, and install ubuntu-server.08:07
twbThe packages, that is.08:07
fargiolastwb: good, thanks08:08
twbYou'll also want to change the kernel08:12
owhI've been helping slugnard to find out why his fresh 8.10 server isn't serving php or python pages.08:23
owhAfter 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
owhThe headers from the server don't show php just python.08:24
owhThere are no errors that I can determine in error.log, and access.log appears to be fine.08:25
owhAny suggestions on where to go from here?08:25
fargiolastwb: why the kernel? isn't the lpia one the right one?08:28
krautmoin08:29
owhHey kraut08:29
owhHave you got a rollback?08:29
twbfargiolas: I don't know what lpia is.08:30
twbfargiolas: but ubuntu-desktop and ubuntu-server have different default kernels.08:30
fargiolasby 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, etc08:30
fargiolastwb: lpia is the architecture for intel atom processors08:30
jmarsdenowh: Did you/slugnard do:     sudo a2enmod php5  # and then restart Apache08:32
owhYup08:32
owhjmarsden: It was already enabled.08:32
owhThe php module installation also restarted apache.08:33
jmarsdenSounds 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:34
twbfargiolas: isn't that just a subarch of AMD64?08:35
owhjmarsden: Same here. I've just logged into the server, so I'll have a look see.08:35
fargiolastwb: subarch of x86 probably08:35
fargiolastwb: but ubuntu already builds packages for that architecture, just doesn't build all the "flavours" for that architecture08:36
twbI don't know what you're saying.08:36
fargiolasthere is ubuntu-desktop, ubuntu-mid but no ubuntu-server for example08:36
twbSeems to me you'd just install the ubuntu-server kernel.08:36
jmarsdentwb: 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:36
owhIs there a way that I can use screen to have slugnard look over my shoulder?08:37
fargiolastwb: no you don't get me, I mean there is no ubuntu-server iso image and probably no kernel for that arch08:37
fargiolasjmarsden: any idea about why?08:37
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
jmarsdenI'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
twbjmarsden: that sounds like bullshit to me.  I run atoms just fine using stock x86 images.08:38
fargiolasjmarsden: I don't think atom are used just for embedded envs.. look at thos bundles, they are normal 945 motherboards08:39
fargiolasjmarsden: anyway, ok for the iso image but what about the kernel?08:40
jmarsdentwb: 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
twbAtom isn't embedded at all.08:40
fargiolasexactly08:40
twbjmarsden: I imagine they're just obsessive, like people who compile their own kernels "for speed".08:40
twbjmarsden: 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:40
jmarsdenSomeone at Canonical, who persuaded Ubuntu as a whole to treat lpia as a separate arch... OK, you are free to speculate.08:41
fargiolastwb: it's not just compile time optimization, there are also specific kernel patches08:41
twbSure.  I admit that I just use Atom desktops.08:41
twbfargiolas: you can have a kernel package for a subarch without having a whole dedicated arch for everything else08:41
twbThere used to be such packages for 686 and k7 and such08:42
fargiolastwb: don't know I just assumed that if canonical was building every single package for lpia that was worth08:42
jmarsdenowh: Yes, you can use screen for that, but I'm off to bed... screen -r is the option you need.08:43
twbThe only hit on http://packages.ubuntu.com/lpia is installation-guide-lpia08:43
owhYup, found it, thanks jmarsden08:43
twb...though that indicates Ubuntu treat it as a distinct arch, like i386 and amd64.08:44
fargiolastwb: https://launchpad.net/ubuntu/intrepid/lpia08:45
fargiolastwb: everything is compiled for lpia08:45
twbmadness08:48
twbhttps://wiki.ubuntu.com/MobileTeam/Specs/LpiaVersusI38608:54
owhI'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?08:57
fargiolastwb: I'll go with i386 then..09:01
jmarsdenowh: 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:18
owhjmarsden: 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:19
jmarsdenowh: I just did sudo apt-get install libapache2-mod-python && sudo /etc/init.d/apache2 restart   # and it "just worked"09:24
owhYeah, slugnard has modified ports.conf and apache was using that for the virtual host defition :-)09:25
owhNow all we need to do is fix: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName09:25
jmarsdenowh: Edit /etc/hosts and sort out the hostname entry for the actual server hostname09:26
owhFor the localhost entry?09:26
jmarsdenleave localhost at 127.0.0.1 but add / edit one for 192.168.0.1 myserver.mydomain.com  # or whatever09:27
twbjmarsden: 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
jmarsdenBecause 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:28
twbOh, I always use DHCP for upstream interfaces.09:29
jmarsdenall 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
twbFair enough.09:29
owhjmarsden: I added the eth0 ip address and its name, all happy.09:41
jmarsdenGood :)09:41
owhAnd the python problem was caused by a modified ports.conf file which overrode everything :)09:41
jmarsdenSo as long as slugnard has now learned not to edit configuration files he's not familiar with, all should be well :)09:43
owhI should take away his root privs :)09:43
owhI suppose that would mean that I'd become the server admin. Hmm, better give those privs back :)09:43
psteynhmm, either ubuntu or debian's usermod is broken/dodgy09:46
psteyntry '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
owhHey, 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
owhToday I ran screen and the other user ran screen -x, but that's hardly water tight.09:47
owhIt's as much about protecting me against them as it is them being protected from me.09:48
jmarsdenowh: 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:49
owhWhen I logged in, the user has only my word that the first command I ran was screen.09:50
owhThat's hardly satisfactory.09:50
owhI didn't know about script though. The screen log is horrible.09:51
jmarsdenUser could modify your .bashrc to run script /users-log-file.txt maybe09:51
owhThat seems less than intuitive.09:51
jmarsdenBasically, root means you control the machine... offering someone root on your machine is, in general, unwise :)09:52
jmarsdenIf 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
owhThat's true. I wonder if there is a way that makes sense to implement.09:53
owhMy concern initially was just accountability to protect both parties.09:53
jmarsdenowh: Offer them root in a virtual machine you snapshotted, and compare the snapshot with another one made afterwards??09:54
jmarsdenWhatever 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
owhTake 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:55
owhI feel uncomfortable with "I did the magic incantation and now it works."09:56
jmarsdenRight.  You could have asked end user to tar up their set of config files and put them somewhere you could download from, maybe.09:56
owhThe problem turned out to be somewhere completely unexpected - which is often the case with problems like this.09:57
jmarsdenYou can do    touch /root/i-started-now   # and then later do find / -newer /root/i-started-now to see what files changed...09:57
owhThat's a smart idea.09:57
jmarsdenowh: Not really, the problem was in an apache config file under /etc/apache2, right -- exactly where expected.09:57
jmarsdenA really smart root user with malicious intent would reset timestamps somewhere along the way, of course, to defeat the find, but it can be handy09:58
owhRight, 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:58
jmarsdenowh: 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
jmarsdenThat's somewhat 20/20 hindsight, i realize...09:59
owhI suppose the malicious intent comes with being a Ubuntero.09:59
krautcould anybody tell me something about anonpages?10:00
krauti got a machine with full ram but there RSS alltogether is only at  ~50%10:00
owhkraut: anonpages are like nonpages but with an a in front <- does that help :)10:01
krauti don't understand, why all the ram is full. it's not cached ram, it's in use10:01
krautand anonpages is at ~450-480 MB wich would describe, why it's full10:01
krautowh: no10:01
owhkraut: You mean the ram is not used by the kernel disk cache?10:01
krautyes10:01
krautit's really full10:01
jmarsdenkraut: Google for it, there are postings describing this...10:01
owhRun away process?10:01
kraut             total       used       free     shared    buffers     cached10:02
krautMem:       1027068    1018796       8272          0       6524      1671610:02
krautjmarsden: i did, but didn't found anything wich is usefull10:02
cemckraut: what's the next line saying ?10:02
krautthat's meminfo: http://pastebin.com/m828efbb10:02
kraut-/+ buffers/cache:     995556      3151210:03
krautSwap:      2097144     517332    157981210:03
krautcemc: ^10:03
cemcstop apache :)10:03
krautwhy?10:03
cemcyou have apache running?10:03
krautyes ;)10:03
cemcheh10:03
krautbut why should that be a problem?10:03
krautthere is a httpd-2 and tomcat running10:03
cemcrestart it then and see if the memory comes back10:03
krauthttpd as proxy for the tomcat10:04
cemcjust a hunch10:04
krautapache2ctl restart is fine?10:04
krautdon't think that's the issue10:04
krautdidn't changed anything10:04
krauti must that that's a vmware on a esx cluster10:04
krautmaybe that's an issue, but don't know how10:05
cemcrun top, sort it my memory usage, anything sticks out?10:05
cemcas using too much ram10:05
owhThanks jmarsden for your help today. I'm otta here...10:06
jmarsdenNo problem.  I should be, too :)10:06
owhDidn't you say you were going to bed?10:06
jmarsdenYes... :)10:06
owhBugger off then :)10:06
owhLater all.10:07
jmarsdenowh: 2am here... goodnight!10:07
cemckraut: found anything?10:07
krautcemc: java of course, but not that heavy10:07
kraut50063     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 -cla10:08
krautsspath :/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 start10:08
cemckraut: maybe something's leaking10:09
krautsure, but i don't know how to find out wich one is it10:10
cemcI'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 tool10:11
krautipcs tool?10:12
krautwhat's that?10:12
cemcwith 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
cemcsomething like that, but I can't explain why or how all this works10:13
cemcmay be another issue you're having... but it's definitely not good when it uses that much swap :)10:14
cemcanythin else running on that machine ? besides the usual stuff (syslog, ssh, cron, etc)10:14
=== mogul218_ is now known as mogul218
chatwhorewhich linux is this please ? thanks alot bros http://www.wimp.com/funidea/11:08
uvirtbotNew bug: #364531 in openldap2.3 (main) "Incredibly painful Jaunty upgrade" [Undecided,New] https://launchpad.net/bugs/36453111:17
rcarnevaleHi 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?11:55
=== Adri2000_ is now known as Adri2000
=== timburke_ is now known as timburke
Ethoshow do i set my time correctly?14:04
Ethosim running a linode and sudo date doesn't work14:05
_rubenlinode?14:06
EthosYeah, virtual linux server :)14:07
Ethoswww.linode.com14:07
_rubeni always use sudo ntpdate my.fav.ntp.server.com .. saves me from entering the proper details :)14:07
EthosYeah, doesn't work for me14:07
EthosI'm guessing something isn't set properly for the UK14:07
EthosNot sure though :(14:07
chipt4hi, 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.local14:18
atomic__chipt4: you might want to try "ssh user@host -vvv" for a more detailed output14:21
chipt4actually i just discovered i'm able to ssh in from this machine (windows, via putty) but not my mac laptop14:22
chipt4we're all on lan, the mac is wirelessly14:22
EthosHow encrypted is straight ssh to a ssh server (ubuntu)?14:22
EthosWith say putty :)14:22
chipt4but it times out, where as the windows connects14:22
chipt4strange14:23
atomic__can you ping the server from the mac ?14:23
chipt4here'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:24
chipt4omg the connection on the mac had just gone down xD that's what I get for buying the router on clearance14:26
=== asac_ is now known as asac
chipt4oh well thanks for the help!14:29
sorenEthos: Um... It's very well encrypted. Does that answer your question at all?14:33
EthosKind of14:33
EthosIt's a silly question reall :)14:34
sorenso was the answer, so that's ok :)14:34
Ethosheh14:34
sorenIt is generally considered secure.14:34
EthosI'm using ssh to irssi from work, just thinking about security as I type ALOT of shit :D14:34
sorenAssuming that P!=NP, you're safe :)14:35
EthosWhat.14:35
sorenIn other words: Don't worry about it.14:35
soren:)14:35
Ethos:)14:35
NokioHi 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
sommerNokio: there are updated instructions in the serverguide16:02
sommer!serverguide16:02
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/8.04/serverguide/C/16:02
Nokiookay thanks sommer ill go take a look thanks16:02
sommerNokio: np16:03
kpettitanybody know of a good way to create a mountable disk image (kind of like a vmware image) that spans multiple 2GB files?16:03
kpettitI 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:03
kpettitI couldn't think of any tools that gives me a vmware type of disk image that is in multiple 2gb files16:04
Nokiosommer 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 section16:09
Nokiosummer ho nevermind i think i got it16:09
jmedinaNokio: in 9.10 there is not slapd.conf your configurations are stored in the directory database cn=config16:10
sommerNokio: https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html16:10
Nokiojmedina 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:10
jmedinasommer: you are a documentation team member right?16:17
sommerjmedina: yeppers16:19
=== zul_ is now known as zul
jmedinasommer: you use docbook for official documentation?17:04
sommerjmedina: yep, at the moment17:09
jmedinasommer: good, Im writting some ubuntu documentation in spanish, I have used docbook for a few years using basic stysheets from walsh17:10
sommerjmedina: the bzr branch is here: https://code.edge.launchpad.net/ubuntu-doc17:11
jmedinahow do you convert docbook to the format in https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html17:11
jmedinado you use any stylesheet or something?17:11
jmedinaI want to publish my documents in a similar way, probably the same17:11
sommeryep the makefile uses xsltproc with xslt17:12
jmedinasommer: where can I find makefile and docbook files?17:12
* jmedina hopes it is packaged :D17:12
sommerjmedina: if you check out the source bzr branch lp:ubuntu-doc it's in the top directory17:13
jmedinasommer: well I know nothing about bzr but thanks I found the package, let me check it17:14
jmedinamm I dont see any Makefile in ubuntu-docs package17:18
sommerjmedina: ya, you'll probably have to grab the source... bzr is a lot like other VCS, I use it a lot like subversion17:23
Faust-Cjmedina, i bought the book you recommended, and im quite happy w/ it17:29
jmedinaFaust-C: the one from packetpub?17:30
jmedinamastering openldap?17:30
Faust-Cyeah17:30
jmedinaFaust-C: good let me find a HP presentation  so you can convince why openldap is superior17:32
Faust-Csweet17:33
Faust-Cbrb lunch17:33
jmedinahttp://www.openldap.org/conf/odd-sandiego-2004/Neil.pdf17:36
jmedinathat is when they fist evaluated openldap, but it didnt fit their requirements17:36
jmedinaI cant find the other presentation17:37
jmedinawell in fact HP supports symas openldap as a commercial service17:38
jmedinaby the way: http://www.suretecsystems.com/our_docs/Symas_OpenLDAP_vs_Debian_OpenLDAP_2008.pdf17:42
jmedinasommer: thanks, I downladed ubuntu-docs source package, I found the Makefile :D17:58
sommerjmedina: no problem, if you have specific questions I may be able to help, or someone in #ubuntu-doc will have more info as well18:00
=== Tron05 is now known as Tron04
flucksbawkshey guys.  installing fluxbox on a BARE ubuntu-server install (only LAMP Stack and BitTornado/torrentfluxx)19:04
flucksbawkswhat all packages do I need?19:04
flucksbawksor is there a metapackage  (i'm not familiar with -server)19:04
NokioHi 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 mess19:15
Nokioage :http://pastebin.com/d11c00fab if someone can help me thanks in advance19:15
NokioAnyone can give a quick help with ubuntu and ldap replication ?!19:38
sommerNokio: you need to index the entryUUID19:39
sommerNokio: there are instructions in the openldap configuration section on adding indexes19:39
Nokiois 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 something19:40
sommerNokio: not 100% sure, but it will stop the error19:43
kajeI 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
sommerNokio: it may be needed, if so I'll update the docs for that19:43
Nokiosommer ok ill go in the doc and search the index section and try it out to see what it does19:44
kajeAnyone? I need to read the update details for an update package from the command line....19:48
Nokiosommer: i might be blind but i dont see any indexing section in the doc :p19:54
sommerNokio: in the configuration secion, at the top, there's instrucions for adding an index19:55
Nokiosommer ive done that part19:55
sommerNokio: did the error go away?19:56
Nokiosommer: here take a look http://pastebin.com/d5b39257519:57
Nokiosommer: nah error still there19:58
sommerNokio: that add an index for the cn attribute... the error is for entryUUID20:03
sommerNokio: replace "olcDbIndex: cn eq,pres,sub" with "olcDbIndex: entryUUID eq,pres,sub"20:04
Nokiosommer: wierd its giving me this http://pastebin.com/d1e014f8320:10
vensignhi kaje check this http://www.debian.org/doc/manuals/apt-howto/ch-search.en.html#s-apt-listchanges20:11
sommerNokio: mmm... just try olcDbIndex: entryUUID eq20:13
kajethanks vensign20:15
Nokiosommer: that last one worked20:16
Nokiosommer: i dont have the error anymore but i still have this one http://pastebin.com/d699bda520:17
sommerNokio: try restarting slapd on both machines20:18
Nokiosommer: if data were trying to sync at all i would see in in /var/log/syslog i supose ?!20:18
Nokiosommer: 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 error20:21
sommerNokio: 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:22
Nokiosommer: in those 2 file i used ip address so i dont think i need to put an entry in /etc/hosts...20:24
Nokiosommer: here are the 2 file i used http://pastebin.com/de8759d520:25
sommerNokio: yep, should be fine then20:26
sommerNokio: try making another change to one of the directories20:27
Nokiosommer: 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
sommerNokio: yes20:27
Nokiosommer: okay because it did not get transfed20:27
Nokiosommer: just created a new group in my first server nothing on the second servers log...20:32
sommerNokio: not sure then, you might stop slapd and start it in a terminal with -d 6 to view detailed debug info20:32
Nokiosommer: since the  "olcDbIndex: entryUUID eq" did not get sync is it an other problem or the 2 are related ?!20:33
sommerNokio: try making another change20:33
sommerNokio: http://www.openldap.org/lists/openldap-software/200809/msg00076.html20:35
sommerNokio: have you configured both the sync the cn=config db?20:35
Nokioi think its what point 1 to 6 in the replication section is for ?!20:38
sommerNokio: yep20:40
Nokiosommer: then yes i did it20:40
Nokiosommer: may i have done an error in one of those 2 files ?! http://pastebin.com/de8759d520:40
sommerNokio: what's the output of: ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W o20:46
flucksbawkshi, 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:47
Nokiosommer: http://pastebin.com/da425c0420:48
sommerNokio: and when you added the new index it didn't get populated to the 2nd server?20:48
Nokiosommer: thats corect20:49
sommerNokio: hrmmm... can you try adding another index?20:50
Nokiosure can20:50
Nokiosommer: 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:53
sommerNokio: did you get any new errors?20:54
Nokionothing on server 2 and on server 1 same error20:54
sommerNokio: there's an error somewhere, but you may need to start slapd in debug mode to see it20:54
sommerNokio: you can also try the instructions here: http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html20:55
sommerNokio: they're for jaunty, but should work with intrepid fine20:55
Nokiosommer: 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 long20:58
johnny5Hey guys, just setting up a dev server for myself. Should I be putting my web files in /var/www, or in my /~21:12
johnny5I like the idea of putting them in /var/www, but will apache have access to them, will my user have access to them?21:12
TheFuzzballHello, I have installed LAMP on an Ubuntu desktop, how do I configure Ubuntu not to load GDM on boot?21:14
Ahleejohnny5: that's pretty arbitrary21:16
Ahleeit's really 'whatever you prefer'21:17
johnny5oh, 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:17
johnny5Do I need to give the webserver ownership of all directories21:18
Ahleephp will have problems writing in unless the directory is owned, yes21:18
AhleeI 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
geniiYou could use userdir module for apache and just put it then in ~/public_html directory21:19
Ahleeso 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 it21:20
Nokiosommer: 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:22
johnny5Ahlee: owned by www-data coect?21:27
Ahleejohnny5: 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 user21:28
sommerNokio: you might want to add the entryUUID index before configuring replication, and see if that helps21:33
Nokiosommer: okay i will add the entryUUID on both server and then configure the replication. And then create a user to test this out21:34
wattzhello all, wondering if anyone has ever compiled apache2 and mod_python on ubuntu 8.1021:36
OscarTGany one know much about setting up serial devices from the command line.21:36
wattzim getting a dso compile error, but linking to apxs with --with-apxs=/path/to/apxs21:36
AhleeOscarTG: not a lot, but I've done some work with serial21:42
Ahleewhat's up?21:42
OscarTGso i am trying to find out what ports are availabe on an IRQ channel.21:46
OscarTGi have a 4 port serial card and i want to change ttyS0 to map to a port on the card21:46
OscarTGso far the system mapped 3 of the 4 and used ttyS0 for the onboard serial21:48
Ahleethat's above my level of knowledge21:48
OscarTGdang21:48
OscarTGmine as well :)21:49
Ahleeprobably somewhere in modprobe.d21:49
OscarTGi will check.  thanks21:49
OscarTGi wish there was a way i could clear the current config and have the system reconfigure21:50
Nokiosommer: ok so now i just did this http://pastebin.com/d5ae60405 I am pretty sure that on the next part that i miss something21:55
Nokiosommer: if i follow the doc the next step would be this http://pastebin.com/d10faf779 but i am not quite sure that this is corect21:59
sommerNokio: right that will configure the main db to sync22:01
sommerNokio: why do you think that is bad?22:01
Nokiowell i mean this line      olcRootDN: cn=admin,dc=example,dc=edu22:01
Nokioshould i change it to olcRootDN: cn=admin,dc=master,dc=slave22:01
sommerNokio: right change it to your admin user dn22:02
Nokiook because it was not in the doc so i was wondering :p22:02
DoyleChrishello22:02
DoyleChriscould somebody help me with samba and webmin22:03
Nokiosame 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 :p22:03
sommerNokio: there is a sub-bullet point: "And adjust credentials=secret to match your admin password"22:03
Nokiosommer: did that too22:03
sommerNokio: under the cn=config ldif though22:03
sommerNokio: that could be more prominent22:04
sommerNokio: yep you are right to make the change22:04
Nokiothe  credentials=secret is already under both the olcSyncRepl you think we need to add it under the cn=config too ?!22:05
DoyleChristrying 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 vista22:05
sommerNokio: 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 entries22:06
sommerNokio: another way to think of it is that there is an admin user for each database22:07
Nokiosommer : okay so it would look like this ?! http://pastebin.com/m2ac3ee2a22:08
DoyleChrisanybody22:09
OscarTGinstead of setting up a share i would just set up an FTP server on the ubuntu box and the connect over that22:10
OscarTGpersonally22:10
OscarTGdoesnt really solve your issue but it is another way22:10
AhleeDoyleChris: ensure your samba share has read/write to the directory you're exporting22:11
DoyleChrishow do i check22:11
DoyleChriscan i do it though webmin22:11
Ahleevi /etc/samba/smb.conf22:11
Ahleefind yoru mount22:11
Ahleei've never used webmin22:11
Ahleepath=/iscsi/shared22:12
Ahleeread only = no22:12
OscarTGya again.  the few times i have looked at webmin just set up the ftp server22:12
OscarTGmuch quicker22:12
Nokiosommer: 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 hlep22:12
DoyleChriswould somebody in the regular ubuntu channel know something22:19
OscarTGyou can always ask22:20
DoyleChriswritable yes22:21
DoyleChristhere telling me to some here22:23
OscarTGDoyleChris:  the message you got on the ubuntu server was from a bot and not a person22:24
DoyleChrisgreat\22:24
OscarTGwhy do you have to use a share?22:24
OscarTGactually what are you tryin gto accomplish22:25
johnny5If 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
johnny5And how?22:33
reidlol I'm so angry, I just tried to install FreeNX so I could rdesktop into my naked fluxbox install22:39
reidapparently it depends on like.. all of ubuntu-desktop22:40
reidlol22:40
reidis there any way to get rid of all this worthless gnome stuff?22:41
johnny5Ok, 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:04
ropetinDepends, what are the attributes set on it?23:10
johnny5hmmm, i guess i don't have group write?23:10
johnny5but i thought if a group owned a directory/file they could just use it23:11
johnny5man, this sucks23:13
johnny5i just want to get started23:13
ropetinYou're in the group that owns it?23:13
johnny5yes23:14
johnny5when i type 'groups' i see www-data23:15
ropetinAnd the group-write attribute is set?23:16
johnny5probably not, that's what I don't know how to do23:16
ropetinIf you do an 'ls -l' it will show you the attributes assigned to each folder/file listed23:17
ropetinWhat does that give you?23:17
johnny5drwxr-s---23:18
johnny5for the /var/www directory23:18
johnny5and root www-data as the user and group23:18
ropetinSo that shows that group is only read, not write23:19
johnny5ok, so how would i make that directory group write, as well, any new directories created under it23:19
ropetinchmod -R g+w /var/www23:20
ropetinI believe :)23:21
johnny5will that stick for all newly created ones23:21
ropetinThat's a good question, I'm afraid I don't know the answer.  Logically yes, but I can't say for certain without doing it23:23
BCMMis it possible to configure ubuntu server to cleanly shutdown when the power button is pressed?23:28
mac9416_2Hypothetical 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:53
BCMMhow can i automatically run a command each startup?23:56
mac9416_2BCMM, system > preferences > sessions (I'm told)23:58
mac9416_2BCMM, click add, then in command: type the command23:59
BCMMi have no X, but i've found a tutorial on writing init scripts23:59
BCMMi just thought there might be a thing like gentoo has already set to execute custom commands at the end of the boot sequence23:59

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