/srv/irclogs.ubuntu.com/2008/06/19/#ubuntu-server.txt

zulmathiaz: I did a thinko when uploading the system-config-samba to proposed00:18
emgentzul: rapache read hand edit and add it in the list.00:44
emgentanyway if you like, you will see docs quickly in rapache.org :)00:45
emgent(sorry for reply delay)00:46
emgentzul: now i go to sleep, if you have more other question, feel free to mail me :)00:46
emgentnight people00:46
Colin__I have three NIC's in my ubuntu server, I have one that goes to the LAN and the other two are for two separate dsl lines, does anyone know how I go about setting that up???  The server is up, and it has one line already connected. DHCP is working as well as the firewall.02:20
nxvlemgent: are you still around?02:22
hansinclear02:25
dbboltondoes ubuntu server come with X ?03:13
hadsIt's not installed by default, no.03:13
mathiazScottK: have you heard about bogofilter-tokyocabinet ?04:06
mathiazScottK: I'm looking at bogofilter merge and the new version in debian added a new package, bogofilter-tokyocabinet04:06
mathiazScottK: which adds a tokyocabinet backend to bogofilter IIUC04:07
mathiazScottK: we're already disabling the qdbm backend in ubuntu04:07
ScottKmathiaz: I have no ideas about bogofilter.04:10
ScottKWithout looking, I'm going to guess that would require promoting some new depends.04:11
nxvlmathiaz: i already packaged augeas (if you haven't noticed it already)04:11
mathiazScottK: yes - tokyocabinet04:11
mathiazScottK: I wonder why qdbm has been disabled though04:11
mathiazScottK: it's been disabled since breezy (or even hoary)04:12
mathiaznxvl: awesome - I hadn't noticed04:12
nxvlmathiaz: it's on revu04:12
nxvlmathiaz: and on planet ubuntu04:13
ajmitchif it's a library, that's interesting package naming04:15
nxvlajmitch: augeas?04:16
ajmitchyes04:17
nxvlyes, it's a library04:17
nxvland yes, it's a funny name04:17
ajmitchso why isn't is libaugeas0? :)04:17
nxvlbut, it's redhat people, you never know04:17
nxvlajmitch: i have package it as libaugeas004:18
ajmitchnot according to debian/control04:18
nxvloh04:20
nxvlyou mean the source04:20
nxvloh no04:20
nxvli just saw it04:20
* nxvl changes 04:20
nxvlmmm04:21
nxvli have noticed a LOT of errors04:21
ajmitchyeah04:21
ajmitchlike dh_makeshlibs being commented out04:21
ajmitchthat's a small problem there )04:21
ajmitch:)04:21
nxvlalso i forgot that it's kind of mixed package04:22
nxvlsince it has library and binary parts04:22
ajmitchthat's fine, it's not uncommon to have that04:22
nxvlajmitch: yes, but i didn't package it that way04:23
nxvlwell04:23
nxvlkind of04:23
ScottKI thought the source of the name was pretty obvious.04:23
ajmitchwell that's what I grabbed off revu :)04:23
ajmitchScottK: I was just commenting on the binary package names, mainly that it wasn't libaugeas004:23
ScottKAh.04:23
ScottKI like the reference to the Augean Stables given what it does.04:24
* ajmitch wonders if debian/copyright should refer to the LGPL-2.1 file04:29
nxvlajmitch: i'm uploading a new version to revu04:41
ajmitchnxvl: need to rename the .dirs & .install files if you're renaming the binary package in debian/control04:59
ajmitchshould also be libaugeas-dev, and possibly a libaugeas-bin if there are additional binaries05:00
* ajmitch doesn't know if the latter requires the lib- prefix05:00
nxvlajmitch: yes, i have just pushed a new version05:07
nxvlajmitch: including the binary package05:07
mathiaznxvl: I'd use augeas-bin rather then libaugeas-bin05:09
mathiaznxvl: or even augeas05:09
ajmitchah, latest policy suggests libraryname-tools05:13
=== RockHound_ is now known as RockHound
=== eht is now known as Weasel[DK]
=== eht is now known as Weasel[DK]
=== chmac7 is now known as chmac
AnRkeyhow can i get all email for the admin account to go to one of my users? I have Postfix, Dovecot-Imapd, Procmail, and Fetchmail running off a catchall account running.10:37
AnRkeybleh.... - the extra running :D10:38
hads/etc/aliases ?10:40
AnRkeyta10:46
AnRkeyone more question. There is an admin group, so i can't create a user for the admin email. will an alias be a problem for same reason?10:47
Koonjdstrand: on bug 220208, I almost pinned the problem down. Could you have alook at the last comment and tell me what you think of it ?12:37
chmacGeneric dns question. Is _ a valid character in a hostname? I'm getting errors trying to add a dkim hostname...12:41
hadsNope12:42
chmachads: Know anything about DKIM?12:44
hadsNo sorry12:44
chmacNeither do I! :)12:44
ScottKchmac: It's a valid domain name, but not a valid hostname.  That's the whole point.12:57
ScottKchmac: If some DNS package or some DNS provider doesn't allow it, it's a bug.12:57
ScottKchmac: I'm familiar with DKIM.12:58
chmacScottK: Aha, ok, cool12:58
chmacSo should `dig blah._domainkey.domain.com` resolve?12:58
chmacOr how are the names looked up?12:58
* ScottK hands chmac dig txt 2007-00._domainkey.kitterman.com as an example.13:00
chmacScottK: Oh la la :)13:01
chmacSo _ should be valid in a cname record also right?13:01
chmacOur provider is asking us to set up dkim._domainkey.ourdomain.com to cname to their domain13:01
ScottKchmac: Yes.13:01
ScottKThat's needed so they can dkim sign your mail as coming from your domain.13:02
chmacScottK: Ok, getting a handle on it now, cool, thanks :)13:02
ScottKchmac: Before you do it, ask how they make sure they don't sign mail from some other customer of theirs that forges your domain.13:03
ScottKDKIM can only say the MTA signed it.  It's up to the provider to make sure the message came from a source authorized for that domain.13:03
chmacScottK: Hehe, that would definitely be bad! They're pretty straight up I believe (I hope!)13:03
ScottKGenerally large providers tend to just assume their customers won't do that.13:04
chmacScottK: Hmm, good point13:04
ScottKIt's a significant security consideration for both SPF and DKIM that isn't well dealt with by and large.13:05
* ScottK manages to run a small mail service on the basis of making darn sure that doesn't happen.13:05
chmacScottK: What's your business?13:06
ScottKI'm primarily a consultant, but I also have a small mail service I run (that's what the cname was to in the example I gave you).13:07
ScottKEmail authorization and authentication technolgoies is one of my areas of specialty.13:07
chmacScottK: Now that sounds like proper geek stuff! :)13:08
ScottKIf you look, no need to tell me the web site sucks.  I'm well aware of that.  Web design is NOT one of my areas of speciality.13:08
chmaclol13:11
chmacScottK: No, seriously, that site needs feedback. If nothing else, you could drop the background colour, I feel like my eyes are in pain!13:12
chmacControlledMail looks fine, there's no background. It's straight text, but it looks ok.13:12
* ScottK really does need to work on it.13:13
* ScottK says what the heck and goes and at least does that.13:14
chmacScottK: :) I'm glad I've made a positive impact on your web site today :)13:15
chmacScottK: Impressive service, I like it. 50 emails a day sounds a little low, but I like the idea.13:18
ScottKThat needs to be updated too as I changed the way I measure it.13:18
ScottKIt's actually 2500 recipients / 24 hours now.13:18
chmacScottK: Ok, that's waaaay more attract :)13:19
chmac$60 for a year of reliable email, not bad13:19
chmacScottK: Do you offer an alternative to port 25 for ISP who block that port?13:20
ScottK465 (for smtps) and 587 (for starttls).13:22
marc-andrehiho13:33
lukehasnoname_morning13:33
jdstrandKoon: re bug #22020813:37
jdstrandKoon: is it possible to install gutsy's nagios packages on hardy, just for the sake of the upgrade?13:37
marc-andrei try to set my server to UTF-8, but the env var LANG stays at "en_GB.ISO-8859-15"... i've putted LANG=en_GB.UTF-8 into /etc/environment and i did dpgk-reconfigure locales, do i miss something?13:38
Koonjdstrand: I will do that.13:38
jdstrandKoon: eg, install 2.9 on hardy, verify it's running, then apt-get upgrade to 2.1113:38
jdstrandKoon: it would be a lot less painful :)13:38
jdstrandKoon: and if it doesn't work, a simple debuild of the gutsy source package on hardy would still be easier than the dist-upgrade13:39
jdstrandwhere's ubottu?13:40
jdstrandubottu: hey-- why aren't you showing me bug #220208 ?13:40
* jdstrand kicks ubottu 13:40
Koonjdstrand: i can reproduce it on hardy by upgrading from nagios gutsy packages13:53
jdstrandKoon: great!13:54
jdstrandKoon: have you tried rebuilding hardy's with 'set -x'-- that might get you everything13:54
Koonjdstrand: no -- but upgrading to my own built packages using dpkg -i, I don't remember hitting the bug.13:56
Koonthe sequence of events must be slightly different13:56
jdstrandKoon: interesting13:56
jdstrandKoon: do you know how to build your on apt repo?13:57
Koonjdstrand: no.13:57
jdstrandKoon: ok, let me get you some info13:57
Koonbut I can look it up ;)13:57
jdstrand...13:57
jdstrandKoon: it isn't always as straightforward as one would hope. I mean technically, it is, but I have a setup that works pretty well now13:58
KoonI could use a PPA but that may be overkill13:59
jdstrandKoon: well, I find a local repository is very convenient for doing upgrade testing with my -security updates and VMs. It's up to you how you want to proceed of course.14:01
jdstrandKoon: here is an overview http://paste.ubuntu.com/21390/14:01
jdstrandKoon: and a little helper script to do a lot of the leg work: http://paste.ubuntu.com/21391/14:03
Koonthanks14:03
jdstrandKoon: np14:03
jdstrandKoon: basically, you can dput or copy the debs in /var/www/debs/testing/<release>, then do 'update_repo <release>'14:04
jdstrands/in/into/14:04
jdstrandKoon: keep in mind that if you have two versions of the same package in the <release> directory, apt-ftparchive may choose the earlier version, so 'apt-get update && apt-get -u upgrade' won't work as expected. You'll just want to clear out the old version in that case14:07
jdstrandKoon: and while it goes without saying, you'll need a functioning apache2/webserver install ;)14:08
Koonhehe :)14:08
hansinNot sure if this is a dumb question, but I installed Ubuntu Server 8.04, and I noticed that SSH listens on IPv6 port 22 (:::22).  When I connect via an IPv4 address netstat still states it is connected via tcp6.  No other services are doing this.  No functionality issue, just curious about this.  An input?  Thanks.14:13
lukehasnonameAnyone else think that three new kernels in two months is a little much?14:26
jdstrandlukehasnoname: if you are referring to hardy, it'll calm down once .1 is released14:27
lukehasnonameI sure hope14:30
lukehasnonameI've had to recompile my video driver every time that happens14:30
lukehasnonameer14:30
jdstrandit's not just the kernel, but all kinds of SRUs14:30
lukehasnonamereinstall, its a binary14:30
jdstrandof course, those don't require you to recompile your video driver14:30
ograwell, nothing should require him to do that if he uses the packages for his driver instead :)14:34
lukehasnonameso jdstrand, are they just squeezing out updates to make sure everything is stable for a point release?14:40
jdstrandlukehasnoname: that is my understanding-- there was one -security update, and the others are SRUs14:44
jdstrandlukehasnoname: the SRU process was slightly relaxed to try to get in fixes for .1 since hardy is LTS14:45
Koonjdstrand: when you said "rebuild with set -x" you meant in which file ? the init ?14:47
jdstrandKoon: postinst or preinst-- whichever you think is failing14:48
jdstrandor both14:48
KoonI thought prerm was failing but that's the old one that gets executed14:48
* Koon digs further in between14:49
jdstrandKoon: yes, but then the new one is tried14:49
jdstrandKoon: that's how maintainer scripts work. http://women.debian.org/wiki/English/MaintainerScripts14:50
emgentargh.. another xss in drupal..14:51
* Koon grumbles.14:58
* ivoks hates smart printers15:02
zulivoks: hey15:05
ivokszul: hello!15:06
zulivoks: drbd question for you will the 8.2.6 kernel modules work with 8.0.12?15:06
ivokshuh... most probably not15:06
zuldang...15:06
zulthanks..15:06
ivokswhat are you trying to do?15:07
zulivoks: i just merged 8.0.12 and there is 8.2.6 modules in the ubuntu-intrepid tree15:07
ivoksthere's 8.2.6 in kernel source?15:08
ivoksdrbd is accepted in main kernel tree?15:08
ivokswow! :D15:08
zulivoks: no its the one from drbd.org in linux-ubuntu-modules15:09
ivoksoh, ok15:09
ivoksthen we will have to package userspace tools to15:09
* ivoks still doesn't have intrepid buildd :((15:09
zulivoks: im in the process of doing that dont worry about it :)15:10
melterwhat's the difference between the geo-ip-perl and geo-ipfree-perl?15:11
AlexC_hey15:19
ivoksbelive it or not...15:19
ivoksmy printer decided that my colors have expired15:19
AlexC_when using 'top', the amount of memory a process is taken out is under 'res' or 'virt'?15:19
ivoksand refuses to print until i replace them15:19
AlexC_s/out/up15:19
MrJDeaLhi15:28
lukehasnonamehi15:30
* lukehasnoname waves15:32
lukehasnoname /dance15:32
MrJDeaL:)15:34
Koonjdstrand: in fact it's the nagios2-common.prerm script that fails. it's partly autogenerated by dh_installinit and uses the "|| exit $?" stanza. When upgrading the prerm script from nagios2-common is executed after the nagios2 one.15:40
KoonI'm searching for the right way to fix it15:42
* jdstrand nods15:42
sommer_mathiaz: I was working on the ldap documentation and was wondering if there are any ldap cli tools to mange users, groups, etc ?15:47
sommer_mathiaz: or at least ones that are integrated with ubuntu15:48
jdstrandsommer_: ldapscripts15:48
sommer_mathiaz: I took a look at the ldapscripts package, and it look promising15:48
mathiazsommer_: not that I know of15:48
jdstrandsommer_: IIRC they need to be edited somewhat15:48
* delcoyote hi15:48
sommer_jdstrand: ya, that's what I noticed, and I was wondering if they handle samba attributes?15:49
sommer_jdstrand: I use some custom ruby scripts myself, but I think that wouldn't be the best way to document it :)15:49
sommer_any plans to better integrate ldapscripts?15:49
mathiazsommer_: that could be an option15:50
jdstrandsommer_: this is in my notes:15:50
jdstrandBecause ldapscripts use getent to resolve a group name to a gid, if don't have15:50
mathiazsommer_: I haven't looked into these scripts15:50
jdstrandnsswitch.conf and libnss-ldap setup on the authorization (ie ldap) server, then15:50
jdstrandmay need to do:15:50
jdstrand$ ldapsearch -b ...15:50
jdstrand$ ldapadduser foobar <gidNumber>15:50
jdstrand(if configure BASE in /etc/ldap/ldap.conf, then don't need to specify the '-b ...'15:51
jdstrand)15:51
sommer_jdstrand: ya, they didn't work out of the box for me, even after adjusting the configs, for me there was also some awkwardness with the cli options15:51
jdstrandsommer_: will likely also want to edit /etc/ldapscripts/ldapscripts.conf15:51
sommer_jdstrand: yep did that, didn't spend too much time on it yet so the config probably just needs tweeked15:52
jdstrandsommer_: I think the overall plan is to get adduser to do some of this, once the heirarchy et al is implemented. mathiaz knows more about that15:52
jdstrandsommer_: are you using GSSAPI perchance?15:53
sommer_ah, I was thinking that may be a better aproach :)15:53
sommer_jdstrand: I don't think I'm using gssapi... unless it's on by default15:54
jdstrandsommer_: no. I did some patches to /usr/share/ldapscripts/runtime to specify different bind mechanisms15:55
jdstrand(just locally)15:55
mathiazsommer_: well - one option is to add ldap support to adduser - whether that will be part of intrepid is a good question15:55
sommer_jdstrand: ah cool15:55
sommer_mathiaz: I see... just fyi I'd be very willing to help with that15:56
sommer_my ruby scripts are to be honest pretty hacky15:56
mathiazsommer_: yeah - I think that everyone has their own hacky scripts15:57
mathiazsommer_: providing a standard way would help a lot15:57
sommer_seems like everyone is caught up in finding a gui tool for this kind of thing, but a cli ldap user management utility is needed as well, at least a well intergrated one, heh15:58
mathiazsommer_: yes - the issue IMO is how flexible it is with the schema15:59
sommer_mathiaz: sure, that's a good point... the cool thing about smbpasswd is that it adds the samba attributes for you16:00
sommer_I like the way ldapscripts allows you to use custimized templates16:00
mathiazsommer_: yes - I should have a look into the ldapscripts16:01
mathiazsommer_: once we have the cli - then we could build/integrate gui16:01
lukehasnonameAh, nothing like watching a package-manager debate on ##freebsd16:01
sommer_mathiaz: cool, well just let me know if there's anything I can help with, test, etc16:02
sommer_mathiaz: in the mean time I'll work on documenting ldapscripts as way to manage users16:05
hansinIRC question, what does the double pound symbols (##) vs. the single pound (#) symbol mean for a channel, as represented above?16:05
mathiazsommer_: great - file bug reports if things are not working correclty16:05
lukehasnoname## is for non-official chats, # is for channels verified to be associated with an organization16:06
lukehasnonamealthough ##freebsd is the FreeBSD channel. </offtopic>16:06
hansinThanks, that helps.16:08
=== JaxxMaxx__ is now known as JaxxMaxx_
=== leonel_ is now known as leonel
lukehasnonameHey guys, for a repo mirror, can I just download the entire directory of the ubuntu U.S. repo instead of using apt-mirror?16:23
hansinMy screen session locked up, and I had to reset irssi, so I lost a question I accessed earlier.  Does anyone know why SSH runs as IPv6, and does it even matter?  Thanks.16:31
hansins/asked16:31
Koonjdstrand: the idea is to fix it by having nagios2-common.prerm gracefully fail if nagios2 was already stopped. I have two ways to fix it :16:32
Koonjdstrand: 1/  just patch nagios2-common.prerm so that it contains what we want (lintian will complain that it does not contain #DEBHELPER#)16:32
Koonjdstrand: 2/ make use of --error-handler in dh_installinit (required mods in rules and nagios2-common.prerm so slightly heavier patch)16:33
Koonjdstrand: which one do you prefer for a security patch ?16:34
jdstrandKoon: for -security the smaller patch wins16:35
Koonjdstrand: ok, will post it on the bug.16:36
jdstrandKoon: for intrepid, whatever is best, and then forward to debian16:36
ivoksKoon: hi16:36
Koonjdstrand: no nagios2 fopr intrepid, will see if it's in nagios316:37
mathiazKoon: the second option is probably the best one16:42
Koonmathiaz: yes16:43
jdstrandKoon: how small are the changes for --error-handler?16:48
Koonvery small... I'll post the two, make your choice16:48
jdstrandKoon: just a one line change in rules? I'd be ok with that.16:49
mathiazjdstrand: usually - just one line in debian/rules16:49
jdstrandKoon: well, that is probably fine then16:49
Koonmathiaz: I still have to implement the error_handling function ?16:49
jdstrandKoon: cool. just ping me when ready16:49
Koonmathiaz: in the prerm file ?16:49
zulmathiaz: im going to keep a list of things to fix for 8.04.216:50
mathiazKoon: well - it depends what function should be the error_handling16:51
mathiazKoon: I've used true sometime16:51
mathiazKoon: so you don't have to implement a specific function16:51
Koonecho "Nagios was probably already stopped"; exit 016:51
mathiazKoon: well - then true works in that case16:52
mathiazKoon: is there real value to add a message in a prerm script ?16:52
mathiazKoon: add *that* message16:52
Koonmathiaz: well... see the output during the update on https://bugs.launchpad.net/ubuntu/+source/nagios2/+bug/220208/comments/716:53
mathiazKoon: if the goal is to fail if the daemon has already stopped, then you can just use true as the error handler16:53
Koonmathiaz: it looks a little strange to say "failed -- looks like it went ok"16:53
Koonmathiaz: but you're the expert ;)16:54
mathiazKoon: well - you're attached patch looks okay to me - but you can replace it with --error-handler=true16:55
mathiazKoon: it will generate exactly the same code :)16:55
Koonand avoid the lintian warning.16:55
mathiazKoon: We're doing the same thing in apparmor16:55
Koonok then.16:55
mathiazKoon: when we upgrade the profiles but the kernel is not updated yet, the apparmor init script fails to reload the profiles16:56
mathiazKoon: so to avoid an upgrade failure we just ignore the init script failure16:56
mathiazKoon: in that case it's a legitimate thing to do16:56
mathiazKoon: glancing through the bug report, it seems that it's legitimate to ignore the failure to stop the daemon in nagios-common16:57
zulmathiaz: ping17:22
Koonjdstrand: smaller/better patch posted on the bug. Tested ok.17:23
* jdstrand looking17:24
jdstrandKoon: so that's it-- a one-liner?17:25
Koonwell. hm. yes. Lots of hours to produce that, I know ;)17:26
jdstrandKoon: heh. nice work! I will get this rolling and pushed out today17:26
ScottKSometimes it's really hard to create a simple solution.17:27
caraHi all17:29
caraI'm having an issue with my server and its clients.  I set up my server as a router/dhcp ... it gives my clients addresses but when I look in their routing tables I see that they are getting my previous server's name as the gateway.  Where could they get this name from?17:30
zulmathiaz: im about to head for lunch but I begin tracking stuff for after 8.04.1 is relased on a seperate page17:33
zulhttps://wiki.ubuntu.com/ServerTeam/StableReleaseTracker17:33
mathiazzul: what is currenttracking ?17:36
mathiazzul: is this material for 8.04.2 ?17:36
mathiazzul: if so, I'd rename it to StableTracker804217:36
mathiazzul: the same way as 8.04.117:36
caracan anyone help me?17:44
jdstrandkirkland: oh, fyi, I updated the initscript and added a manpage for nssldap-update-ignoreusers when doing the libnss-ldap update18:18
kirklandjdstrand: oh, cool18:18
kirklandjdstrand: i forgot that was a work item18:19
kirklandjdstrand: or, rather, i may not have ever realized that was a work item :-/18:19
jdstrandkirkland: well, I was the last to touch it, so I got to merge it18:19
kirklandjdstrand: ;-)18:19
jdstrandI ran lintian on it and those two things popped up18:19
cxowhat is the initrd.img link in / used for?18:44
zulmathiaz: done18:46
mathiazjdstrand: hm - whenever I try to install libnss-ldap/libpamldap nscd is installed by default18:46
mathiazjdstrand: I'm currently merging libpam-ldap18:46
mathiazjdstrand: does it make sense to have nscd pulled in by default ?18:46
jdstrandmathiaz: I saw that too-- it's because of mvo's apt change to pull in Recommends automatically18:51
jdstrandmathiaz: ultimately, it is probably a good thing. for initially configuring it, perhaps not18:52
jdstrandmathiaz: I thought it might be worth discussing, so didn't incorporate changing it to Suggests into my merge (which also Recommends nscd)18:53
mathiazjdstrand: right - have you seen the latest comment from the debian maintainer ?18:56
jdstrandmathiaz: the 'from your friendly debian maintainer' comment?18:56
mathiazjdstrand: yeah18:56
jdstrandmathiaz: yeah18:57
jdstrandmathiaz: without having looked at any of the code, the openldap stuff sounds like it be rally good, if we can get it in18:58
mathiazjdstrand: one of the item for intrepid is to get the new nss ldap overlay in shape18:58
jdstrands/rally/really/18:58
* jdstrand nods18:58
mathiazjdstrand: yes - this is why I skipped the libnss-ldap merge18:58
mathiazjdstrand: I wonder if it's worth spending time on doing merge with the mid-term plan is to drop it18:59
jdstrandmathiaz: merge is done18:59
mathiazjdstrand: well - the question is no more then :)18:59
mathiazjdstrand: I've just uploaded libpam-ldap18:59
jdstrandmathiaz: 260-1ubuntu1 is uploaded and in intrepid :)18:59
mathiazjdstrand: do you have an ldap server for your testing ?19:00
jdstrandmathiaz: 260 was supposed to fix stuff, so I just merged it19:00
jdstrandmathiaz: I do, but I haven't been doing much with it lately19:01
mathiazjdstrand: I've tried to use ldapscripts in intrepid but it wasn't working19:01
mathiazjdstrand: first it still uses /etc/pam_ldap.conf - but then the ldapaddgrp script wasn't working with neither dash nor bash19:02
jdstrandmathiaz: I haven't tried them lately19:02
jdstrandmathiaz: sounds like the need some love19:02
sommer_mathiaz: found the same issue with hardy ldapscripts19:04
sommer_mathiaz: haven't had time to file a bug yest though19:04
sommer_er yet19:04
mathiazsommer_: issue == ?19:04
mathiazsommer_: not working with a POSIX shell ?19:04
sommer_sorry, looking for /etc/pam_ldap.conf... has several egrep errors at least ldapadduser did19:05
mathiazsommer_: right - this is something that is different between debian and ubuntu19:05
sommer_mathiaz: yep, just wanted to fyi when I noticed you talking about it19:05
mathiazsommer_: once ln -s /etc/ldap.conf /etc/pam_ldap.conf scripts complain about trap19:05
sommer_ah, I'll give that a try19:07
lukehasnonamehey, where is the gui spec on the wiki? don't we have an outline of what we're trying to achieve/19:10
keeskirkland: can you untag "bitesize" from 64064 since it isn't?  ;)19:10
kirklandkees: :-)  sure19:10
kirklandkees: untagged "bitesize"19:11
keeskirkland: cool, thanks.19:11
kirklandkees: i did submit a "bitesize" patch to that one, doesn't address your network filesystem concerns, though19:11
kirklandkees: (which i must admit, i do not entirely grasp atm)19:12
Arrickhey all19:36
Arrickhey, anyone know how to import a mysql.sql db into mysql from terminal on a server setup?19:36
zulmathiaz:  so should php5 depend on libdb4.6-db rather than libdb-dev because it looks like its pointing to libdb4.7-dev right now19:41
zulThe following packages have unmet dependencies:19:41
zul  libdb-dev: Depends: libdb4.7-dev (= 4.7.25-0ubuntu2) but it is not going to be installed19:41
zul             Conflicts: libdb4.6-dev but 4.6.21-10 is to be installed19:41
Arrickhey, anyone know how to import a mysql.sql db into mysql from terminal on a server setup?19:45
zulArrick: couldnt you do mysql -u root -p < databasefile19:46
Arrickdunno, im not an sql guy lol19:46
ArrickI can try19:46
ScottKzul: As long as you are consistent about build-dep libdb4.x-dev and depends  libdb4.6y where x == y I don't think it matters which.19:47
Arricknope, it says no DB selected19:47
infinityzul: Perl, apache, python, and PHP should always build-dep on the same version of libdb-dev19:53
infinityzul: (Generally updated in roughly that order)19:53
infinityzul: libapache2-mod-perl2 in that list, too.19:53
zulinfinity: arrgh..19:53
infinityzul: Oh, and subversion.19:54
zulinfinity: I was going to use Build-Depends on libdb4.6-dev19:54
infinityzul: Subversion being the most annoying of the bunch, because it uses transactions, and needs migration code.  But I think David and I sorted that out long ago with db4.2->db4.3 or so.19:54
infinityzul: libdb4.6-dev should be fine, if that's what we've settled on for this cycle, just make sure it's the same for all of the above.19:55
infinityzul: (and anything else you can find in that mess of "interpreted languages and apache modules")19:55
zulI dont think we have settled on any for this cycle bug that can be bumped when it comes to it19:56
infinityzul: The key being that you never want to have more than one libdb version loaded into apache's memory space at the same time.19:56
ScottKzul: I'd suggest you do a survey and then write ubuntu-devel with the right answer.19:56
zulinfinity: apr-util uses libdb4.6-dev still though19:57
infinityzul: Right, then the rest of them should use libdb4.6 as well, until someone decides to do otherwise.19:57
zulinfinity: cool19:57
infinityzul: Note that if distro has decided to rev perl to 4.7 (Perl's usually the first to bump), then apr-util/apache/php/python/subversion/etc all need to follow ASAP.20:00
zulinfinity: cool Ill make a note of it20:01
Arrickzul, I installed phpmyadmin and got it, thanks though20:17
Arricknow to figure out how to fine where the mysql(i).so file is so I can config apache to work with it20:18
Arrickhrm, nevermind20:18
hansinI was curious about US 8.04 running exim4 by default.  I am no expert here, but I assume it is set to only be used for local services to route emails.  Does anyone know anything about this?  I don't see it listening to any ports.  Sorry about my novice status in this areas.  Thanks.20:50
mathiazzul: why is that nagios-plugins is in main, but neither nagios2 nor nagios3 are in main ?21:01
enanerwhat are somet hings i can do with the ubuntu server edition21:24
mathiazenaner: https://help.ubuntu.com/8.04/serverguide/C/index.html21:25
enanermathiaz can u tell me briefly21:27
enanertheres a lotta info in that page21:27
enanerwhats a openssh server21:27
enaneri just wanna toy with a spare comptuer21:28
enanerwhat do u suggest21:28
enaneri want to run a IRC server21:31
jjesseif i was going to stand up a simple email server for pop and smtp what would be the reommendation?21:46
jjesseinternal only for demoing something for work21:46
hansinenaner: You can do a lot.  The SSH server allows you to access that computer via another computer using the SSH protocol.  I run US 8.04 on an older PC headless (no monitor) and access it via SSH (I use putty as an SSH client on XP, and SSH via the shell when in Linux).  You can run all sorts of "services" via Ubuntu Server.  The cool thing about Ubuntu Server is that by default it does not install and run all sorts of services th21:47
ScottKjjesse: Postfix + Dovecot.21:48
jjesseScottK: simple install and config?21:48
jjessenever done it before21:48
jjesseapt-get install postfix apt-get install dovecot?21:48
ScottKServer guide has good docs on it.21:49
jjesseawesome will work on it21:49
ScottKBasic postfix setup is pretty easy.21:49
lukehasnonamevar/: Contains variable files. These include runtime files used by programs, log files, spool directories, databases, and other items that change with the normal operation of the system and its applications.21:53
lukehasnonameWhy do (likely to be) static web pages go in a subdir of /var?21:53
ScottKBecause they are data for the web server package.21:54
mathiazlukehasnoname: http://pathname.com/fhs/pub/fhs-2.3.html21:55
mathiazlukehasnoname: I think /var/www/ is for historical reasons21:55
mathiazlukehasnoname: according to FHS, it could be moved to /srv21:55
lukehasnoname /var/www isn't even in that document, 1994-2004. /srv would make sense under that definition, or under a different logic, so would /usr/local/apache21:57
lukehasnonamenah, /srv would make sense22:00
lukehasnonamerather, /srv/www22:00
enanerhansin: can i install the desktop edition on my headless computer and access it thru SSH?22:02
* lukehasnoname goes to /Meeting22:03
jjesseScottK: once i install, how do i add new mailboxes?22:06
jjessenerver mind will read the documentation :)22:07
hansinenaner: You should be able to as long as you install the SSH server (I know it installs the SSH client by default, but can't remember if it installs the SSH server and has it start up automatically).  I installed my server edition using a monitor and keyboard for install, then shut it down and pull the monitor and keyboard and installed it on my network and booted it back up.  But, yes it is possible, just not sure if you need to 22:07
enanerhansin can you guide me through it22:09
enaneri am almost finished with the installation of the server edition22:09
jjesseenaner: have you installed the ssh server?22:09
jjesseif i recall correctly there was an option during installation22:09
enaneri installed like all the servers22:09
enaneri selected all of em22:09
jjessewhen ssh is installed22:10
jjesseif you are using putty then you open a new session and putin the address and make sure ssh is chosen22:10
hansinenaner: Yes, it is one of the install options.  I think in the past you got SSH server by default, but now you hvae to pick it.  I don't know what happens if you don't, because I chose it (like I said, I think it used to be default).  I did NOT install LAMP, email server, etc.  Just SSH.  I can add the rest later, but if you installed these it isn't too big of a deal, especially if you are looking to learn things.22:11
hansinenaner: Are you trying to run all this on an internal network?  At home?22:11
enanerhansin but when i access it with the SSH, what are some things ill b able to do?22:15
jjesseenaner: everything you can do from the console22:16
enanerwhat exactly can i do from the console22:16
enanercan i run a irc network22:16
jjessewhat are you trying to do?22:16
enaneror a website22:16
jjesseenaner: yes you can with the right packages installed, have you read through the server guide?22:17
jjesseanyone else having problems getting to the dovecot site?  www.dovecot.org22:17
hansinenaner: I take you are pretty new to this.  That is okay, it just means you are going to go through a bit of a learning curve.  I personally like the simplicty of Ubuntu Server (not that it can't be set up to do powerful things), and think it is a great way to learn about using a server based Linux installation.  I am by no means an expert, but I can navigate the CLI (command prompt) pretty well.  Yes, you can run a web server (ma22:20
hansinRight now I am at work and am using SSH to log into my box, and have irssi (IRC chat client) running in screen (a console "mulitplexer).  I have MySQL installed and also Lighttp and nginx, but I am not really doing anything with them right now.  My internet provider leaves all ports open, so I can in theory make available all sorts of services as long as the don't generate too much incoming traffic.22:23
lukehasnonamehansin what ISP you have22:23
lukehasnonamewhere you live, is the better question22:23
hansinComcast cable ;)  In Colorado.  They seem to leave all ports open as long as you don't abuse it, which I intend not to do (maybe they block 25; not sure).  I know there was the whole bittorrent traffic issue, but that hasn't affected me.22:24
enanerhansin what im trying to do right now is ... be able to access that computer from this one that im using ... basically not use ne keyboard mouse or monitor for the server computer22:24
enaneri need your help to set this up22:24
enanerafter that ill set things up22:24
enanerby reading stuff22:24
jjesseenaner: then use ssh22:25
jjesseit will give you "console" access22:25
enaneryes but how?22:25
lukehasnonamehansin: They throttle BT and such and I hate them22:25
enanertype ssh on the server comp?22:25
jjesseenaner: from what computer are you going to be accessing the server?22:25
jjessewhat operating system?22:25
hansinBut it is coole (and why I don't use DSL) because I get a public IP address (sure, dynamic, buy I can use dynamic DNS, and it really doesn't change often) and I can test and play with all sorts of services from home.  Works for me.  I know if the BT issue, and I use BT a bit, but the other stuff I state here is much more important to me.22:26
enanerboth ubuntu22:26
enanerone desktop and one server22:26
jjessethen open up a terminal session adn type ssh ip address22:27
hansinenaner: do you have both PCs connected directly together, or are both plugged into a router?22:27
enanerrouter22:27
hansinokay, and you will need to know the IP address of the ubuntu server PC.  I assume it is set for DHCP, but then you need to know what IP address your router assigned it in order to SSH into (you need to know its "telephone number" so to speak).22:28
enaneryea22:28
enanerthe ip addresses are going to be different i assume22:29
enaneris there a command i can type inthe server comp to get its ip22:29
hansinokay, and what OS are you running on you desktop?  I don't care, just need to know (yes, the router should assign a uniqe IP address for each).22:29
enanerUbuntu 8.0422:29
hansinokay, do you know how to open a terminal from your desktop?22:30
enanerhardy for both server and desktop22:30
enanerno clue22:30
enanero yea22:30
enaneri noe22:30
enanerlol22:30
hansinopen one up...22:30
enanerdone22:30
hansintype in "ifconfig".  What does it say (just need the IP address it returns)?22:30
hansinfor example: 192.168.1.xxx22:31
enaneryea22:31
enanergot it22:31
hansinbut that is the IP address for your desktop, not your server...22:31
enaner inet addr:22:32
enanerBcast:122:32
enanerBcast:122:32
enanerand mask22:32
enanerit shud b the inet addr:22:32
enanerright22:32
hansinjust inet address:22:32
hansinyes22:32
hansinenaner: who do you get internet from?22:33
enanercable vision22:33
enaneroptimum22:33
hansinAre you connected to you router via Ethernet cables for both PCs?  No wirelss?22:33
enanerethernet for both22:34
hansinSo what I need is the entry for inet addr: to help22:34
enanerwell i have 3 comps in total connected to router thru ethernet22:34
hansinMost likely 192.168.1.xxx (this is called a Private IP address, and is not accessable through the internet like a Public IP address would be).22:34
enanerhttp://pastebin.ubuntu.com/21493/22:35
enanerwud it b dangerous22:36
enanerif someone gets this info22:36
enanerhansin: ?22:37
hansinenaner: No worries about this, because this is a Private IP address.  No one can hit your PC/network with a 192.168.1 IP address...22:37
enanerok22:38
enanerok so what shud i do next hansin22:38
hansinSo what you need to figure out is what the server IP address, but without having a keyboard or monitor connected to the server PC, you can not run "ifconfig" on the server directly to figure this out...  Give me a sec here to think what I would do (I'm thinking ping...)22:39
hansinOne last quick question, did you set both the desktop and server boxed up with the same account name?22:39
hansinenaner: You said you had 3 PCs plugged into the router.  Was the server the third one added?  FYI, 192.168.1.1 is VERY much likely your router's IP address for the interface that is facing LAN side (your internal network).22:41
hansinI am assuming the extra PC (not the ones we are talking about here; you desktop and server) was the first one that was attached to your router?22:42
hansinenaner: You still here?  I am at work so I will have to jump back in and out, but I am guess your IP address for you server is 192.168.1.4; but would need to test.  Maybe you are already in.22:53
BallenaTo get write access to the /var/www owned by www-data; is the only thing I have to do adding me self as a member of that group?23:01
enaneryea im here hansin23:08
enanerwhat shud i do23:08
enanerne one here?23:11
enanerslayton: I would like to access a PC(ubuntu-server) that is connected to the same router as the one I am currently using (ubuntu hard). What should I do if I want to use the server computer headless aka from this computer through SSH. I have no idea, and I will have to do it now, as I will have to return my brothers keyboard and Monitor ASAP .. thanks in advance for your help. :)23:14
hansinenaner: If you are around and have a few minutes, I can help, but I am at work so need to go "boom, boom, boom" and get it done.23:18
enaneryea23:22
enanerim around23:22
enanerim waiting for you actually23:22
enaner127.0.0.1 < could this be the ip address of my server pc? thats wat it says after i type ifconfig23:23
enanerso then i tried23:23
enaner"ssh murgi@127.0.01"23:23
enanerroot@enaner-desktop:~# sudo ssh murgi-server@127.0.0.123:24
enanerssh: connect to host 127.0.0.1 port 22: Connection refused23:24
hansinenaner: 127.0.0.1 is what is called the loopback address.  It is basically a way for the computer to communicate with itself.  You didn't see any entery for eth0 or ethX (1,2,3 whatever)?23:25
hansinenaner: learn about using sudo.  Looks like you are logged in as root on your desktop.  Just search "root" and "ubuntu" when you have time...23:26
enaneryea23:28
hansinenaner: so your 127.0.0.1 entry for "ifconfig" is for device "lo".  That is your loopback device and is only used for internal communication for a single PC.  Seach "loopback device" to learn more when you can.23:28
enanerk23:28
enanerso how do i find the ip23:28
hansinenaner: So try running "ping 192.168.1.2" and let me know sort of what it says (does it say host unreachable?"23:29
hansinFrom 192.168.1.100 icmp_seq=1 Destination Host Unreachable23:29
enanerunreachable23:29
hansinnot what you want...23:29
enanerroot@enaner-desktop:~# sudo ssh murgi-server@127.0.0.123:29
enanerssh: connect to host 127.0.0.1 port 22: Connection refused23:29
hansintry "ping 192.168.1.4"23:30
enanersame thing23:30
enanerunreachable23:30
hansinenaner: you don't want to ping or SSH to 127.0.0.1...  You woud be in essence hitting the same machine you are running these on...23:30
hansinMy guess is your server box hasn't aquired an IP address, since you are only getting back 127.0.0.1 (I assume you plugged your monitor and keyboard into the server and ran"ifconfig")23:31
enaneryea23:32
qman__Hi guys, I was wondering if someone could help me write an init script. I installed srcds on a ubuntu box, and am going to use it to run a Counter Strike Source game server. I created a user just for this purpose, and got the server functional and all.23:32
enanerwell its currently plugged into my brothers monitor+keyboard+mouse23:32
qman__I want to create an init script that runs the server as that user, for security purposes23:33
hansinenaner: okay, run "ifconfig" and tell me if it has only an entry for "lo" or if there is one for "eth0" as well.23:34
hansinenaner: Any luck??23:39
enane1sorry23:53
=== enane1 is now known as enaner
hansinenaner: I'm out of here in about 15 minutes...  So let me know if you want to try this...23:55
enaneryea23:56
enanerill do wateva u say23:56
enanergo ahead23:57
hansindo you have keyboard+monitor access to the server PC?23:57
enaneryea23:57
hansinenaner: okay, run "ifconfig" and tell me if it has only an entry for "lo" or if there is one for "eth0" as well.23:57
enaneronly for lo23:58
enaneri just checked23:58
enanerbut if i type ifconfig eth23:58
enanerthen something does come up23:58
enanerbut nothing that looks like a ipnumber23:58
hansinon server type "cat /etc/network/interfaces"23:59
enanerok23:59

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