/srv/irclogs.ubuntu.com/2007/11/19/#ubuntu-server.txt

m1rnealmcb: http://pastebin.com/d5de9903f , can u check ?00:09
nealmcbm1r: what about it?00:11
m1rnealmcb:  in network interfaces i got writen down : auto eth0 , and sistem cant bring that up, it request more info. on 7.04 i have just : auto eth1 and it is working (bringing up eth1 ) without aditional info about card.00:18
m1raddress , network , netmask , etc...00:18
nealmcbeth0 is 10.1.0.1 - right?00:19
nealmcbso it is up, right?00:19
m1ryes i set it temporarly with ifconfig00:19
m1rbut when i want restart network, i get error as on top of pastebin00:19
m1rit refuses to bring it up00:19
m1ri need to enter more info on card to be able to get it up00:19
nealmcblike what other info? give some examples00:20
m1raddress , network , netmask ,etc...00:20
nealmcbso are you saying dhcp isn't working?00:21
m1rno00:21
m1rit is not working00:21
nealmcbI don't know what "Ignoring unknown interface eth0=eth0" means - sorry00:21
m1rok np , tnx :)00:21
nealmcbbut I have heard of some gutsy network issues I think  - hmmmm00:22
nealmcbhardware discovery issues?00:22
m1rall ok on lspci00:22
m1rboth cards , wlan0 and eth0 works on other pcs00:22
m1rwlan belkin , eth realtek00:23
nealmcbBug 15560300:24
ubotuLaunchpad bug 155603 in network-manager "[gutsy] network device name change after Gutsy upgrade, suddenly no/intermittent network" [Undecided,New] https://launchpad.net/bugs/15560300:24
nealmcbthat bug had some similar keywords...00:25
m1rlet me check00:25
m1rnope, i have fresh install00:27
m1rand i need to serve dhcp on eth0 , not recive :/00:27
kgoetzhi all. can someone suggest a scriptable way of importing a database dump innto mysql? 'mysqlimport' doesnt seem to be what i want, because its talking about some text file (which i have no idea about)03:02
ajmitchjust pipe it in03:03
ajmitchmysql -ufoo -pinsecurepassword database < foo.sql03:04
kgoetzand i can do multiple tables/databases like that?03:07
ajmitchmultiple tables, certainly03:08
ajmitchyou most likely can do so with multiple databases03:08
kgoetzi'll try it out and see i guess.03:08
kgoetzthanks for that03:09
ajmitchI live to serve03:10
=== dantalizing is now known as dantalizing_away
CyberMadi try install ubuntu-server 7.10, actually this is my 1st time install the server edition. Installation is finish, does the startup is stop on * Running local boot scripts (/etc/rc.local) [OK] ??  but i can open other shell by hit ALT + F203:30
CyberMadi install standard server system with: SAMBA + LAMP + OpenSSH03:30
CyberMadlooks like the /etc/rc.local is hanging, correct?03:30
CyberMadwhy that happen?03:31
CyberMadnot compatible with my PC?03:31
ajmitchor that getty is started too soon, and so if you hit enter, you'd see that it's really sitting at a login prompt03:31
ajmitchjust not showing it :)03:31
CyberMadby default ubuntu-server not install the X Window, right?03:34
CyberMadso how do i install gnome?03:34
CyberMador do you have other opinion / recommendation?03:34
CyberMadnevermind.. i'm in hurry03:37
CyberMadgot to go now..03:37
CyberMadthanks a lot ajmitch03:37
kgoetznooooo! the gutsy server kernel doesnt have framebuffer :'(04:07
nealmcbajmitch: ahh right - your work week has begun already....04:33
ajmitchnealmcb: yes, and? :)05:00
nealmcbajmitch: it just hadn't occurred to me before that the "server team hours" included a lot of the weekend because of time zones05:02
ajmitchheh, right05:02
ajmitchwell I'm not really on the server team05:02
nealmcbdo we have any regulars in hawaii??05:02
* ajmitch shrugs05:03
nealmcbwell, you are helpful here, that is for sure....  team membership is a bit nebulous I'd say05:03
ajmitchI don't think I've really provided a lot of help at all05:04
ajmitchmy main contributions have been small ones in packaging05:04
nealmcbajmitch: by "here" I meant in irc05:30
ajmitchyeah05:32
krautmoin09:05
=== Drazha[away] is now known as Drazha
thedomWhy might postfix bounce all mail with "User unknown in virtual alias table" unless I set /etc/mymailname to "localhost"?10:35
thedomErr, /etc/mailname rather.10:39
=== _yam is now known as yam
sorenthedom: Could you pastebin the contents of...11:13
sorenoh, he buggered off.11:13
sorenfigures.11:13
XiXaQI'm trying to setup kolab on gutsy server. I'd already installed the LAMP task, and then I installed kolabd and kolab-webadmin with all their dependencies.. What else must I do?12:40
=== juliux_ is now known as juliux
=== zul_ is now known as zul
zulmorning13:01
XiXaQhello zul :)13:04
jetolemorning guys13:48
jetoleI don't know if anyone here is overly familier withrouting or the 95th percentile bandwidth pricing concept but I need a way to measure the bandwidth spped that has moved through a linux machine, such as a way to find out that right now the machine is using 0.23Mbps (example) as inbound or 0.49Mbps as outbound13:50
jetoleand if anyone knows any software that can do this on a regular basis and provide with web images, something similar to mrtgg then that would be even better13:51
Petaris_AkiCould anyone assist me in configuring OpenLDAP on an LTSP server13:52
Petaris_AkiI followed a how-to but it isn't working13:53
Petaris_AkiI can do an ldapsearch and get results back but the authentication isn't working13:53
Petaris_AkiI followed this:  http://ubuntuforums.org/showthread.php?p=372340313:53
Petaris_AkiI am authenticating to an OS X server13:54
Petaris_AkiI have the home directories mapped via NFS13:55
Petaris_Akibrb14:10
PetarisI restarted my server14:17
Petariswhich apparently was a mistake14:17
Petarisnow it won't finish booting14:18
Petarisits just stuck with an nss_ldap error14:18
Petaris:/14:18
PetarisI am in "recovery mode"14:18
PetarisI thought that would let you bypass that14:18
sorenjdstrand: around?14:21
jdstrandsoren: yep14:21
jdstrandhej14:21
sorenjdstrand: Petaris' problem sounds like something you'd know about :)14:21
* Petaris boots the install cd14:21
PetarisI am booting the install cd's recovery system14:22
PetarisI can't fix it if I have no shell14:22
Petarisok14:23
PetarisI have a shell14:23
Petarisjdstrand: I was configuring LDAP and it blew up on me14:24
jdstrandPetaris: this is on gutsy14:24
jdstrand?14:24
PetarisSee notes from Petaris_Aki above14:24
Petarisyeah, gutsy14:24
jdstrandbug #15594714:24
ubotuLaunchpad bug 155947 in libnss-ldap "ldap config  causes Ubuntu to hang at a reboot" [Undecided,Incomplete] https://launchpad.net/bugs/15594714:24
jdstrandtry using 'bind_policy soft' in /etc/ldap.conf14:25
jdstrandPetaris: ^^14:25
Petarisok14:26
jdstrandPetaris: note this is a workaround, not a fix, but should be fine until the fix is found14:26
PetarisI'm looking at the bug now14:26
PetarisI will try that workaround14:26
_rubenjetole: there's a patch for mrtg around that prints the 95 percentile in the pages it creates14:42
Petarisjdstrand: I changed ldap.conf14:43
Petaristhe one in /etc14:43
Petarisbut what about the one in /etc/ldap/ ?14:43
jdstrandPetaris: don't bother with that one.  the client (pam and nss) code looks at /etc/ldap.conf14:44
Petarisok14:44
PetarisI'll reboot and try this14:44
jdstrandok14:44
Petarisjdstrand, Its gotten further then before14:47
PetarisThanks14:47
Petaris:)14:47
jdstrandPetaris: great!14:47
PetarisNow I just need to find out why it is failing14:47
Petariswth?  The server just rebooted itself14:48
Petaris:/14:48
Petarishrm14:49
=== Drazha is now known as Drazha[away]
Petarisok14:52
Petarisnow I'm up and running14:53
Petarisjdstrand, Do you know of a how-to that will work to get ldap authentication setup correctly?14:53
jdstrandPetaris: a lot really depends on the server you are trying to authenticate against14:54
Petarisright14:54
PetarisOS X in my case14:54
Petaris:/14:54
jdstrandPetaris: wiki.ubuntu.com has quite a few14:54
Petaristhats where I got the one I was working from14:55
Petarisbut I guess it needs tweaking to work with OS X OpenDirectory14:55
jdstrandPetaris: it should be the same except for pam-ldap.conf and libnss-ldap.conf are now unified into /etc/ldap.conf14:56
Petarisok14:56
PetarisI also didn14:56
jdstrandand by 'it' I mean those wikis should still work for the most part.  It's just Ubuntu now has a unified ldap.conf file14:56
Petarisdidn't seem to like the ldapi:/// uri14:56
Petarisright, I figured thats what you ment14:57
Petaris*meant14:57
jdstrandPetaris: if you didn't already, you might try with an IP address rather than hostname14:57
Petaristhats what I was using14:57
Petaristo avoid any DNS issues that might arrise14:58
Petaristhough the server is listed in /etc/hosts14:58
jdstrandPetaris: I have not actually tried to authenticate against OS X, so unfortuntately, I don't have much more to suggest?15:01
jdstrands/?/:(/15:01
jdstrandmathiaz: ^^15:01
jdstrandmathiaz: have you done anything with ldap auth against OS X?15:02
mathiazjdstrand: nope.15:02
mathiazPetaris: I think you may need to tweak the attributes used to authenticate.15:03
mathiazPetaris: I'm not sure that OpenDirectory uses the standard schema to store information.15:03
zulwhen is the next server team meeting?15:04
mathiazPetaris: you may wanna look at how to setup a MacOsX Client to authenticate against an Linux LDAP directory - you may have an idea about the attribute names.15:04
mathiazzul: tomorrow.15:04
mathiazzul: I'll send an announcement soon.15:04
Petarismathiaz, ok, I had it working on k12ltsp (fedora) but they had all the voodoo done in the background15:05
Petarisjdstrand: Thanks for all your help15:06
Petaris:)15:06
mathiazPetaris: I've setup MacosX clients once and I remember I had to change the default configuration to get it working.15:06
jdstrandPetaris: np.  wish I could help more.15:06
Petarisif I figure it out I will write down what I did and add it to the wiki15:08
=== dendrobates is now known as dendro-away
ScatterBrainAnyone running Dell's OMSA on Gutsy yet?15:20
=== dendro-away is now known as dendrobates
akincerIs there a good reason why a Tripplite KVM keyboard would work on the Gutsy desktop install but not server? Seems odd since a KVM would more likely be used on server as opposed to desktop16:08
akincerI get that they are different kernels, I just don't understand why that would be one of the drivers cut if that is indeed what happened16:11
mralphabetakincer: I doubt it was a kernel driver, usually the server kernel just has some patches applied to it16:15
mralphabetakincer: do you have a link to the product page?16:16
akincerStrange enough. Used the KVM to install Gutsy desktop on a server class machine for the heck of it. Putting server on today to make it a true server class machine. Had to hook up an external keyboard. Not a good thing16:16
akincerLet me get it. Hang on16:17
akincerhttp://www.tripplite.com/products/product.cfm?productID=313116:19
mralphabetthat doesn't work?16:20
mralphabetjust the keyboard?16:20
akincerMonitor works fine. Touchpad is superfluous obviously. Setup still going, so not sure it works after setup is complete yet. But keyboard doesn't work at all.16:21
mralphabetstrange16:21
akincerYep. I'll know shortly if it works after setup.16:22
pookeyhi all16:28
pookeyI'm attempted to join the team to maintain a PHP APC package16:29
pookeyI have applied for membership and am awaiting approval16:30
Petarisjdstrand: Ok, getent passwd and getent group are giving me my users16:31
Petaris*and groups16:31
Petarisbut I still can't login as any of them16:31
Petarisany thoughts?16:31
pookeyPetaris: you've checked your logs I assume?16:31
jdstrandPetaris: getent shows that nss is working.  logins are ging to be pam.  check /etc/pam.d/common-*16:32
jdstrandPetaris: also make sure that you don't have nscd enabled or any other caching16:32
Petarisok16:33
Petarisahh16:33
jdstrandPetaris: depending on how OS X does the authentication, you may need to adjust /etc/ldap.conf and/or /etc/ldap.secret to be able to auth against the shadow stuff16:33
Petaristhere is nss_updatedb16:33
Petarisits looking like pam_ldap can't contact the server for some reason16:36
Petarispookey: yes I checked my logs16:37
pookeyyou've tested querying the ldap server from the machine ?16:38
Petarisyeah, ldapsearch works fine16:38
Petarisso does getent passwd and group16:38
pookeyoh yes, so you said.. I guess that means it can ;)16:38
Petaristhe log gives pam_ldap: ldap_simple_bind: can't contact ldap server16:39
Petariswhen I try to login as an ldap user16:39
pookeymathiaz: thanks16:40
Petariscommon-* all look fine too16:40
Petarisjdstrand: ldap.secret is fine16:42
Petarislooking through ldap.conf again now16:42
Petarisis it right for ldapi uri to have three / behind it16:44
Petaris?16:44
pookeyI'venever done ldap/nss..  only mysql, and that's easier to debug :)16:44
Petarisahh16:44
PetarisI'll try this16:45
sommerPetaris: I ususally enter them wih only 2 /'s16:45
* Petaris reboots16:46
Petarissommer: ok, thats what I just changed16:46
akincerNope, Tripp-Lite KVM doesn't work even after install16:46
akincerNot a particularly good thing. I can manage, but this would be a huge no-no in some data centers16:48
Petarisstill doesn't work16:53
Petarishere is what the log says16:53
Petarishttp://phpfi.com/27733316:53
pookeyall I cna think of suggseting is stracing hte p rocess, of sniffing network traffic to see if any ldap connection is being attempted16:54
pookeyoh.. OS X?16:55
sommerPetaris: the root user has an account in LDAP ?16:55
pookeyI don't see why that's relivent? it's a connection error in the logs...16:55
Petarissommer: yes16:55
sommerpookey: it also says authentication error16:56
Petarisroot user is "diradmin"16:56
sommerah user=testu?16:56
Petarisyeah, that is the user I am testing with16:56
Petaristhey are in ldap16:56
PetarisI can login as them on other boxes16:56
sommerPetaris: just so I'm clear you're tyring to login to Linux authenticating to a OSX ldap server?16:57
Petarissommer: Yes16:57
sommerdoes the server have Posix account attributes?16:57
Petaristhe root user I set is uid=diradmin,cn=users,dc=Yumi,dc=FSD16:58
PetarisYes16:58
Petariser, which server16:58
Petaristhe OS X box ?16:58
sommerthe LDAP server... might double check that the account has a gidNumber, uidNumber, etc16:59
Petarisit does have posix attributes16:59
Petarisit does16:59
Petaristhey all do16:59
sommermmmm...I'd think that would work then16:59
sommercan other hosts connect to LDAP on the server?16:59
Petarisuid for testu is 106717:00
Petarisyes, but there are no other linux hosts atm17:00
sommerbut OSX clients can connect?17:00
Petarisbut I did have this working with k12ltsp (fedora)17:00
Petarisno OS X clients either, just windows but I can connect via pGina17:02
sommerPetaris: are you using TLS, do you need to?17:02
Petarisno, I'm not17:02
PetarisI am just trying to get this to work in its basic forms17:03
sommerdo you know if the server requires TLS?17:03
Petarisit doesn't17:03
PetarisI have it turned off17:04
Petarisnot TLS but SSL17:04
Petaristhe server doesn't even support TLS that I know of17:04
Petarisjust SSL and its not required17:05
Petaris*it seems to break any authentication17:05
sommerah gotcha17:05
PetarisI should have gone with Novell instead of Apple for implementing LDAP :/17:06
PetarisApple was massively cheaper though17:06
Petarissommer: I was following this how-to: https://help.ubuntu.com/community/LDAPClientAuthentication17:07
sommerPetaris: I'm not familiar with Open Directory, but is there a way to turn on more logging?17:07
PetarisI already have it at its highest level17:10
Petaris*on the OS X server17:10
sommerand you said that getent passwd worked17:10
Petarisnothing in there about a failure for testu17:10
Petarisyes17:10
Petarisjust checked again, still does17:10
sommermmm... the other thing you might try is to run a packet sniffer like tcpdump or ethereal and check the LDAP packets17:12
pookeythat's what I said ;)17:12
sommeryep... it's good idea17:12
pookeyor strace the ssh process17:12
sommerforgot who mentioned it though :-)17:13
pookeyI'll let you off ;)17:13
sommerthx17:13
pookeyit's ok, I'm new here, I'm insignificant till proven significant :)17:13
sommerPetaris: also, I think you mentioned it, but have you double checked the options in /etc/ldap.conf17:14
Petarisyeah, they look ok as far as I can tell17:15
sommerPetaris: can you login, not over ssh as a user in LDAP?'17:18
pookeyug, the packaging guide is 77 pages17:19
* pookey prints17:20
pookeywarm paper from a laser printer is one of the nicer things in life :)17:20
Petarissommer: no, that is what I have been trying17:24
sommerPetaris: ah, just wanted to make sure17:25
Petaris_Akisommer: http://phpfi.com/27734117:29
Petaris_Akimy ldap.conf17:29
sommerPetaris_Aki: you might try changing: uri ldapi://172.20.0.2017:37
sommerto: #uri ldap://172.20.0.20 if you haven't already17:37
Petarisok, I will try that17:37
sommeralso, try uncommenting this line: #scope sub17:39
Petaris_AkiI just did the ldap://  It worked17:39
Petaris_Akikind of17:39
Petaris_Akinow I get an error about not being able to create the home directory17:39
Petaris_Akiand then it logged testu out17:40
sommerah... you might try manually creating /home/testu17:40
sommerto test anyway17:40
Petaris_Akishould I still try uncommenting #scope sub?17:40
sommerI don't think so it looks like you're almost there17:40
Petaris_Akithats not where its trying to create it17:40
Petaris_Akihrm17:41
sommerwoops... ya wherever the homeDirectory attribute points to17:41
Petaris_Akimy nfs mounts didn't automatically mount17:41
Petaris_Akithats why the permission denied I bet17:41
sommercould be17:41
Petaris_Akibut why didn't they auto mount :/17:41
Petaris_Akihrm17:42
Petaris_AkiI just tried su -17:42
sommerPetaris_Aki: can you mount the nfs share without LDAP?17:42
Petaris_AkiI got this:17:42
Petaris_Akipetaris@Aki:~$ su -17:43
Petaris_AkiPassword:17:43
Petaris_AkiYou are required to change your LDAP password immediately.17:43
Petaris_AkiEnter login(LDAP) password:17:43
Petaris_AkiNew password:17:43
Petaris_Akisommer: yes17:43
sommerhave you seen this article: http://www.macdevcenter.com/pub/a/mac/2007/06/27/discover-the-power-of-open-directory-part-2.html17:43
* Petaris_Aki looks17:44
sommerlooks like there's instructions for setting up NFS17:44
sommerwith LDAP17:44
Petaris_Akihrm17:45
Petaris_Akiinteresting17:45
zeasierhow do you set a system wide http proxy?17:46
Petaris_Akibugger, now I can't mount my nfs stuff anymore17:46
Petaris_Aki:/17:46
zeasierwhere the server uses a proxy for outgoing http requests17:47
mralphabetzeasier: system wide? local system (as in the PC?), network wide?17:56
mralphabetnetwork wide you can set your edge router to force http through a proxy.17:56
zeasierheh, i don't think our sys admins would like that18:00
zeasierthey seem to think outgoing http is bad but they left us an unauthticated proxy for that sort of thing18:00
mralphabetwell, if outgoing http is bad, then they can take control of it18:01
zeasierdefaulting it at the router defeats the purpose18:01
zeasierwe need to set up our server to use that proxy without having to rewrite all of it's scripts18:01
mralphabetso your question is really, "how can I set up an open proxy for users to use if they wish?" ;)18:01
zeasierin particular we need apache and php to use this proxy18:02
zeasierthough we already might have a solution there18:02
zeasieri was just wondering if we can set it at a lower level18:02
mralphabethttp://news.softpedia.com/news/Seting-Up-a-HTTP-Proxy-Server-with-Authentication-and-Filtering-52467.shtml18:03
mralphabetthis would 'ideally' be on a seperate machine from your standard apache server18:03
zeasieryeah we've already has such a proxy availible to us18:04
mralphabetyou could even look at the vmware machines and I think there is a prebuilt one that runs in the free versions of vmware18:04
zeasierjust wondering if there is some way to set our servers to forward all http requests to that proxy18:04
zeasierat the lowest level possible18:05
zeasier(within reason)18:05
mralphabetso . . . client requests http from webA and webA says "if  you want http, talk to proxyB"18:05
zeasieryeah when ever webA makes a http request it should use proxyB18:06
zeasieraparently there is a environment variable called http_proxy or something18:07
zeasierbut it doesn't seem to proliterate all the way to php18:07
akincermralphabet: if you didn't see my earlier comment, the Tripp-Lite KVM doesn't work with server at all. I'm going to see what happens in dmesg when I unplug and plug it back in18:56
pookeyPetaris: did you get it working?19:22
Petarispookey: partially19:44
Petarisnow I am fighting a weird permissions issue with NFS for the user home dirs19:45
PetarisThe login was solved by changing ldapi:// to ldap://19:45
ScatterBrainIs there a package that I can install that will pull down the whole LAMP stack at once?20:37
PetarisScatterBrain: apt-get install apache mysql-server php20:39
Petaristhat should pull it all down for you20:39
nealmcbdendrobates: where do we stand on blueprint drafting?  will we talk about that in the meeting tomorrow?20:40
Petarisbut you will still need to do some configuring20:40
nealmcbScatterBrain: I think you can also instally them by running "sudo tasksel"20:44
nealmcband picking from the menu20:44
ScatterBrainnealmcb: thx...I'll try that.20:44
nealmcb(nice terminal-based menu :-)20:45
dendrobatesnealmcb: we hope to be done tomorrow.  But that means quite a bit of work.20:46
nealmcbthough it would be nice if there was an easy way to see just what tasksel proposes to install - I just noticed the "video creation and editing suite"20:47
nealmcbdendrobates: cool.  and is there an archive of the gobby documents?20:48
dendrobatesnealmcb: I'm not sure.  i saved them locally at the end of each session.20:48
nealmcbI saved some, but not all20:49
dendrobateswhat are you looking for?20:49
nealmcbjust eternally curious right now20:49
phaidroswhats the recommended way to have mailinglist on a postfix/virtual system?23:03
phaidrosespecially if I'd wanted to have different webinterfaces for different list hosts ..23:03
phaidrosany suggestions?23:03
mfstitzdoes anyone know anything about configuring ubuntu clients to authenticate against an LDAP server?23:20
mfstitzall are running guttsy23:20
Burgundaviamfstitz: http://packages.ubuntu.com/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=auth-client-config23:22
mfstitzI've already downloaded and configured this file23:30
Burgundaviahttps://help.ubuntu.com/community/LDAPClientAuthentication <-- this is out of date, but does tell you how to test if your setup is correct23:36
Burgundaviaalso, for some reason, gdm requires a restart to pickup any pam changes23:36
=== dendrobates is now known as dendro-away
spiekeyhi23:58
spiekeyhow can i rename my network interface?23:58
spiekeyso that eth0 becomes "internet"23:58
dthackerspiekey: I don't know if that's possible, and I wouldn't recommend it if it was.23:59

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