/srv/irclogs.ubuntu.com/2008/07/01/#ubuntu-server.txt

chmacI can't resolve www.smile.co.uk through `getent hosts www.smile.co.uk` but it resolves fine through `dig www.smile.co.uk`01:32
chmacnsswitch.conf reads "hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4"01:33
chmacresolv.conf lists 127.0.0.1 then my ISP's nameservers01:33
chmacdig @127.0.0.1 works fine, as does dig @ispnameserver01:33
chmacI'm not running nscd, I haven't installed it01:34
chmacAny suggestions other than rebooting?01:34
=== [gquit]bombadil is now known as gquit|bombadil
kgoetzhi all. has anyone here had systems where the installer gets an IP address, but your still told that network dhcp autoconfig failed and you hae to reconfigure?02:15
uvirtbotNew bug: #244406 in mysql-dfsg-5.0 (main) "File load data infile'file-name' fails" [Undecided,New] https://launchpad.net/bugs/24440602:50
cxoanyone know if i can have ubuntu server install on < 512mb flash?03:22
hessmlgood evening03:31
hessmlanyone here have experience with ipmi serial over lan?03:32
cxoipmi serial over lan, thats intense03:38
hessmli sort of have it working03:38
hessmli get all the boot messages03:39
hessmli get the login prompt03:39
hessmli can login03:39
hessmli get a login message03:39
hessmlthen the console locks up03:39
hessmlits driving me nuts03:40
cxoare you pxe booting?03:40
hessmlno03:40
cxowhich version are you running?03:40
hessmli followed the  instructions on this page which seemed pretty good execpt for the locking me out https://help.ubuntu.com/community/IPMI03:41
hessml8,0.4 server03:41
hessmlintel/amd 64bit03:41
cxoi honestly dont think anyone in here has the expertise03:42
cxoipmi is kinda something only enterprise worries about03:43
cxoand for very specific tasks03:43
hessmlenterprise? how about us poor people with large clusters of very cheap computers?03:44
cxohaha03:44
cxoopenmosix, be happy03:44
hessmlopenmosix doesn't have ufw03:44
cxoi heard there is work on shared memory, but havent heard much of it03:45
ScottKI thought openmosix was shut down.03:45
cxokinda03:45
cxothere is still one or two hackers on it03:45
hessmlanyway, ipmi is available on just about any computer you buy for a CO-LO. It adds about $50-100. It is better than a remote PDU because it gives you more functionality.03:46
hessmlmy servers all cost less than a $1000 and they all have IPMI03:47
emgentPseudo clustering project --> https://launchpad.net/herd03:48
hessmlso which chat has the IPMI people?03:49
=== lamont` is now known as lamont
=== hessml is now known as hessml|away
=== hessml|away is now known as hessml
uvirtbotNew bug: #244420 in openssh (main) "open ssh in Intrepid will not connect to my hardy ssh server." [Undecided,New] https://launchpad.net/bugs/24442005:31
krautmoin07:04
cxomoin07:04
cxohow do you tell gcc which linker to use, and not default to "ld" ?07:05
* kgoetz looks at ebox and wonders what he thinks07:06
kgoetz  An internal error has ocurred. This is most probably a bug, relevant information can be found in the logs.  An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs.07:06
kgoetz:| not a lot is the answer07:06
=== hessml is now known as hessml|away
=== philsf_ is now known as philsf
* \sh is stupid somehow11:32
\shdid anyone has a running config for moinmoin on hardy?11:33
\shs/did/does/11:33
\shdamn..solved11:36
mouser25 I have setup openvpn and it woks fine,  Im useing it now.  I was wondering if there was a way I could send port specific data across a tun connection insted of static routes for things like irc, aim, msn exct11:45
mouser25 I dont want to make a static route for every irc server that I would like to connect to11:45
Kamping_Kaiserperhaps by port11:46
Kamping_Kaiseruse iptables on your gateway to point it over the vpn11:47
mouser25how will the client know to route the port to the vpn device and not the inet device11:49
Kamping_Kaiseris vpn running on your local machine?11:49
Deepsiptables mangle rules?11:50
Deepsapply a fwmark11:50
Deepsand then use ip rule to match the fw mark and lookup a different routing table (e.g. vpn table, where the default gw is via your vpn)11:51
Deepsiirc, -t mangle -I PREROUTING -p tcp --dport 6667 -j fwmark --fwmark 2, would add fwmark #2 to any data going over port 666711:52
Deepss/over/to/11:52
Deepsgoogle knows better11:52
mouser25dont know what to look for11:53
Deepssee the first three things i said11:53
Deepsiptables, mangle, fwmark, ip rule (part of the iproute package)11:53
Deepshell, first hit on google for iptables fwmark looks relevant, bon appetit :)11:54
mouser25Thanks for pointing me in the right direction11:55
mouser25now just to find iptables for windows :(12:02
Deepsheh, windows, forget about it12:05
Deepsyou're also asking the wrong channel too12:05
Deepsthis is #ubuntu-server, not #openvpn or #windows12:05
mouser25the server is ubuntu12:06
Deepsand openvpn is running on there?12:06
mouser25the server side12:06
Deepsyour client side needs to be ubuntu too12:06
Deepsor at least, linux12:06
mouser25I know12:06
mouser25My work computer cant be linux they wont let me12:07
Deepsas your client side needs to know where to route the packets, and afaik windows doesn't have any tools that can do that12:07
mouser25bummer12:07
Deepsthen i guess you're SOL for now then12:07
mouser25well thanks for the help12:07
Deepsif you're trying to get around work firewalls, my suggestion would be to use putty + dynamic ssh tunnel12:07
Deepswhich creates a local SOCKS proxy for you running on localhost:<whateverport you define in putty>12:07
Deepsand then tell whichever apps you wanna route around the firewall to use that socks proxy12:07
mouser25I started out with that, the connection here is so poor that it drops out alot12:08
mouser25my server is in Iowa and im in Romania12:08
Deepsif you dont wanna route per ip, ssh tunnel over the pn12:08
Deepsvpn12:08
mouser25ok,  That is a good thought12:09
Deepsit's absolutely horrid and will lead to all sorts of nasties when dealing with dropped tcp packets if your vpn is tcp rather than udp12:09
mouser25will give that a try12:09
Deepsbut then your vpn shouldn't be any more reliable than your ssh connection if it's tcp anyway12:09
mouser25it seems to be12:09
Deepsalternatively, cygwin + autossh could probably serve your needs too12:10
mouser25it might have more to do with me changing to port 443 and the firewall is leaving my trafic alone now12:11
Kamping_Kaisertbh, this is now a ##windows problem.12:11
mouser25with a posible linux solution :P12:12
Deepskaiser's right, but heh, gl finding someone in there with a clue of anything linux related. windows fanboys hate linux much like linux fanboys hate windows12:12
mouser25Thanks for the help i have to get back to work12:14
Kamping_Kaisercorp firewalls suck :| glad i dont have one at my current work12:15
Deepshehe i love them, the more restrictive the better12:15
Deepslearn loads trying to break around them12:16
Kamping_Kaiserthere is that, but i learned heaps about windows, and i didnt really want to ;) [i also learned a lot about novell and braindead network design]12:16
Deepsi still maintain that the ideal desktop is windows xp12:17
Deepswith a ubuntu vm running in the second screen12:17
Deepsor vice versa12:17
Kamping_Kaiserit seems we disagree on that point12:17
Deepsbut i cant work without both12:17
hadsEach to their own12:18
Deepsone key sticking point i remember from my last job was the complete fail of DFS under samba12:18
Deepsbut yeah, i wouldn't want many windows servers ;)12:18
Kamping_KaiserDFS?12:19
Deepsdistributed file system12:19
Deepsraid over samba, i guess12:20
Kamping_Kaiserah, i see12:20
Deepsremarkably easy to setup12:20
Deepsmany of the windows services are, and work surprisingly well on a small scale12:20
Deepsif you can get them for free (or close to), it's ideal, as pretty much any numpty can come along and set up all sorts with a few button clicks12:21
Deepsit's when you try to scale up and start having to pay MS's regular pricing that it stops being particularly useful12:21
Deepsand/or want internet facing services i guess12:21
=== emgent_ is now known as emgent
lukehasnonameHappy Canada Day!14:27
nxvlgood morning!14:31
lukehasnonameHappy Canada Day!14:32
shingalate1Any reason an ftp user would be able to log in with /bin/bash as their shell but not /bin/false ?14:40
Kamping_Kaiseryes there is14:41
shingalate1I'm using vsftpd14:41
shingalate1oh okay14:54
shingalate1figured it out /bin/false wasn't listed in /etc/shells15:03
lukehasnonameI like /bin/stfu better15:05
BallenaHi. Does anyone know where I can find a help channel for BitlBee?15:16
mm_202Hey guys, how would I empty the 'Trash' via the shell?15:32
mm_202Meh rm -rf .Trash-1000 works.15:33
melterwhy don't i get postfix's default /etc/aliases file when i install it?17:04
lamontdid the file already exist?  it won't create one17:04
melterwho owns that file?17:04
melterif i remove it and reinstall postfix, it creates it17:04
lamont"the admin" :-(17:04
melterwhat package?17:04
lamont$MTA sort of owns it... I don't know of a single MTA that purges it on --purge17:05
lamontmore to the point, exim4 doesn't17:06
melterpostfix doesn't either17:06
lamontand it's not attached to any package as a conffile17:06
lamontmelter: right.  I copied the behavior of exim417:06
melterpostfix has a nice default file containing aliases for abuse, operator, etc., but none of that gets put into the /etc/aliases file17:07
lamontah, you mean upstream postfix?17:07
melteryes17:07
melterand that's the way it works in gentoo, too17:08
lamontyeah - I've never grabbed that..  maybe I should17:08
melteralso, the main.cf file is misconfigured by default because if dhclient bugs17:08
melter*because of17:08
lamontcould you smack a bug into either launchpad or debian's bts asking that the upstream aliases file be delivered on virgin install (or at least something based on it)17:08
lamontmisconfigured in what way?17:09
melterthere's a bug in dhclient that causes it to sometimes not set the hostname provided by the dhcp server17:09
lamontsounds like a dhcp bug, not a postfix bug... :(17:10
melterso if i set my hostname to "foo" when i installed, it should be overwritten when i boot, but it doesn't17:10
melterby default, postfix uses gethostname to get the hostname17:10
melterbut ubuntu re-configures it to foo.example.com, which doesn't exist17:11
lamontexcept that the postfix postinst sets myhostname == fqdn17:11
nxvlnealmcb: about the oscon question, i have just checked my dates and i will be on the states just after the oscon :(17:11
nxvlso i can't make it17:11
lamontsince historically asking glibc for fqdn got you just the first component..  thanks glibc17:11
nealmcbnxvl: too bad - looks like a good one17:12
nxvlyes17:12
nxvlbut i have already ask for my vacations, and have the flight tickets and all17:12
melterdoes anyone know how to turn off dhclient? would uninstalling it work?17:13
lamontnetwork managler kind of likes dhclient17:14
lamontOTOH, just configuring the interface in /etc/network/interfaces would do that17:14
melteralso, why does hardy ship with such an old version of dhcpcd?17:14
lamontas in telling it 'inet static' with the right stuff, instead of 'inet dhcp'17:14
=== folke is now known as afk_away
lamontI don't even have a dhcpcd on my machine that I can find...17:16
melterit's not installed by default, but 3.0.18 has a bug fix i need17:16
melterand ubuntu ships with 3.0.1717:16
lamontthat would be because 3.0.17 was the current (debian) version at the time that the freeze for hardy hit17:17
lamontintrepid has 3.2.3-1.117:17
melteri know, i already tried it :)17:17
melteri wish i could put it on production machines right now :)17:17
lamont"old" equates to < 3 months old at release date, which by most schedules is still pretty shiny-new17:18
lamontmost commercial schedules, that is17:18
lamontafk for a nit17:19
lamontbit, even17:19
melteri'm pretty sure 3.0.18 was out more than just 3 months ago17:20
* delcoyote hi17:23
melterwhat's ubuntu-minimal? is it ok to remove it?17:25
nijabamelter: if you wan't to wipe your install, sure17:28
nijabamelter: minimal is the smallest set of packages to have ubuntu boot...17:29
melterso if i let apt-get remove it when i uninstall dhcp3-client, that would be a bad thing17:31
nxvlScottK: i find my descriptions very clear17:37
nxvlScottK: don't you?17:37
ScottKnxvl: I'd have to look again.17:38
* ScottK is in a phone meeting right now.17:39
=== bdmurray_ is now known as bdmurray
kirkland__buenos tardes19:06
lukehasnonamehola19:07
nxvlkirkland__: buenAs tardes19:07
nxvl:D19:07
kirkland__nxvl: :-)19:07
* kirkland__ votes for a UDS on the Mayan Riviera19:09
* lukehasnoname Houston, Texas19:09
nxvlkirkland__: i'm trying to make all of you come to peru19:09
lukehasnonameGreat... smog and.... green water19:10
nxvlkirkland__: to see how it is like in the reality19:10
nxvl:P19:10
kirkland__*lukehasnoname couldn't be more wrong19:10
lukehasnonamehow so19:10
kirkland__nxvl: peru sounds great19:10
* ogra still waits for the iceland UDS ... free natural hot tubs everywhere and good beer19:11
lukehasnonamekirkland__: Have y'all ever thought about how awesome technology is that there are undersea cables connecting us?19:12
kirkland__lukehasnoname: agreed.  Neal Stephenson's Cryptonomicon has an interesting storyline about undersea cables19:14
lukehasnonamehow am I wrong about Houston?19:14
kirkland__lukehasnoname: no, you're right, Houston's coastline sucks19:15
lukehasnonameheh19:15
kirkland__lukehasnoname: I'm talking about the Yucatan Pennisula, Carribean side19:15
kirkland__Houston != Mayan Riviera, not sure where you got that from19:15
lukehasnonameI like Houston, and I love the coast, but our water isn't the clearest19:15
lukehasnonameas in, it's opaque19:15
lukehasnonamebut I still play in it19:16
nxvlLima is in the coast19:18
nxvl:D19:18
melterwhat's the proper way to remove dhcp3-client? "apt-get remove dhcp3-client" will also remove ubuntu-minimal19:20
nxvlubuntu-minimal is just a metapackage19:21
nxvlto install more other packages19:21
nxvlso it doesn't hurt to remove ir19:21
nxvlit19:21
melternxvl, that's not what nijaba said earlier19:22
melter"if you wan't to wipe your install, sure"19:22
melter"minimal is the smallest set of packages to have ubuntu boot..."19:23
nxvlyes19:24
nxvlbut ubuntu-minimal is just a metapackage19:24
nxvlthe rationale is:19:24
nxvlif some package tries to remove ubuntu-minimal it is needed19:24
nxvlbut if you want to remove it for some reason19:24
lukehasnonameMeaning it's likea shopping cart of packages. Once you put the packages in the pantry (your computer) you dont' need the cart19:24
nxvlis up to you19:24
nxvlthe problem here is dhcp3-client not ubuntu-minimal19:25
nxvl:D19:25
melternxvl, YES19:25
nxvli mean19:25
nxvlthe one who will break you system19:25
nxvllukehasnoname: exactly19:26
lukehasnonamemust... learn... LDAP...19:35
lukehasnonamel33t19:37
jpdsSo... find a book on it.19:48
lukehasnonameI know19:48
lukehasnonamedon't hate, jpds19:49
RoAkSoAxlol19:49
mathiazkees: jdstrand: what would you answer to bug 244406 ?19:54
uvirtbot`Launchpad bug 244406 in mysql-dfsg-5.0 "File load data infile'file-name' fails" [Undecided,Won't fix] https://launchpad.net/bugs/24440619:54
jdstrandmathiaz: I agree with the "Won't Fix", but might guide him on how to add /var/www to the profile rather than just going with complain mode19:57
jdstrandmathiaz: this statement is false: "mysqld already applies the necessary restriction and that the apparmor restriction is redundant"19:57
jdstrandmathiaz: in the very limited scope of what he is trying to do, that is correct, but considering mysqld as a whole, it is not accurate19:58
keesmathiaz: I've got nothing to add.  :)  jdstrand covered it with the "add what you need" part.  People will slowly get used to the extra MAC systems, and they just need to add more perms.20:02
[diablo]evening #ubuntu-server20:19
[diablo]guys, xen / ubuntu 8.04 related q's20:19
[diablo]?20:19
[diablo]#?20:19
jpds!ask | [diablo]20:23
ubottu[diablo]: Please don't ask to ask a question, ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely answer. :-)20:23
[diablo]!ask sarcasm20:23
ubottuSorry, I don't know anything about ask sarcasm20:23
[diablo];)20:23
[diablo]ok.. well, I've been using KVM for quiet some time, maybe near 1 year... Today I started with new company, and their very into Xen ... I had a proper headache with 8.04 (x64) and xen20:24
[diablo]broken packages20:25
[diablo]no intel graphics support20:25
[diablo]when booting xen kernel20:25
[diablo]now I know (and I completely agree with) that Ubuntu is geared towards KVM20:25
VilasBoashey i need a litle help20:26
VilasBoasI'm installing on my ubuntu hasrdy a Lamp server but the phpmyadmin isn't working it can't find it :(20:26
[diablo]but should I drop for the moment even the idea of getting Xen running nicely in Ubuntu?20:26
[diablo]I'm assuming less attention is going to be paid to the fixes and patches than KVM20:26
[diablo]here @ home.. I installed xen on my Q6600 box  ....  the nvidia drivers seem not to have been built around the xen kernel...20:28
[diablo]it's a touch frustrating to use nv20:28
[diablo]VilasBoas, you 'cant find it'20:29
[diablo]?20:29
* [diablo] advises VilasBoas to look under his bed20:29
VilasBoasDiablo: do you whant to go .........20:29
[diablo]VilasBoas, you've installed it right?20:29
VilasBoasyes i have but when i go to http://localhost/phpmyadmin it appears black20:31
[diablo]black?20:31
VilasBoasyes black20:32
[diablo]you checked the apache logs?20:33
VilasBoasif it is working20:34
VilasBoasthe apache logs20:34
[diablo]any messages20:34
VilasBoasit's working20:35
[diablo]but look in the logs20:35
[diablo]it must say something20:35
VilasBoashow can i do that?20:35
[diablo]erm20:35
[diablo]in the /var/logs/apache20:36
VilasBoasi was folling the instrutions in http://www.guiaubuntupt.org/wiki/index.php?title=Ubuntu_hardy20:36
[diablo]no idea, i don't follow tutorials to do things like that20:36
VilasBoasof how to install a lamp server20:36
VilasBoas:(20:36
[diablo]VilasBoas, I assume there is some documentation on the ubuntu site20:37
[diablo]a LAMP is more than common20:38
VilasBoasok thank you20:39
VilasBoas:(20:39
[diablo]VilasBoas, https://help.ubuntu.com/8.04/serverguide/C/index.html20:40
[diablo]a start?20:40
[diablo]http://www.ubuntugeek.com/ubuntu-804-hardy-heron-lamp-server-setup.html20:41
[diablo]maybe too20:41
[diablo]VilasBoas, tengo que pasar mi perro... adios20:43
VilasBoasadios diablo and thanks20:43
=== RoAk is now known as RoAkSoAx
sourcemakerhow can I log the access.log from apache to mysql database?21:17
LMJhello21:27
LMJsourcemaker : why you wanna explode your mysql database? ;)21:27
sourcemakerLMJ: that's right :-)21:30
LMJsorry, gtg21:30
LMJCU21:30
nxvlsoren: did you have a amd64 machine near you?21:37
nxvlor does anyone has a amd64 machine on hands and wants to build and run lintian on a package for me21:40
zulnxvl: sure put it somewhere I can get it21:45
nxvlzul: http://revu.ubuntuwire.com/revu1-incoming/augeas-0807012110/augeas_0.2.0-0ubuntu1.dsc21:49
sorennxvl: I have nothing but amd64 machines anymore.21:49
* soren builds21:50
nxvlsoren: my brain is in reverse mode and english not my native lenaguaje, have you just said that you only have amd64 machines or that you don't have them anymore?21:50
sorenI only have amd64 machines.21:51
nxvl\o/21:52
zulnxvl: host not found21:52
nxvlwhat?21:52
nxvlhttp://revu.ubuntuwire.com/details.py?package=augeas21:52
sorenWorked for me..21:52
nxvlfor me to21:52
nxvlzul: check you dns21:52
zulnxvl: nm it hicked up21:53
sorenWeird, my intrepid schroot is b0rken.21:53
nxvlneed to go to the classroom, be back in 10 minutes21:57
VilasBoasi have a big problem i was trying to install a LAmp server but when i try to open a php file the firefox ask me if i what to save or to open the script22:01
VilasBoascan anyone please help me22:02
nxvlok back22:05
nxvlany results?22:05
joebob777as7I set up a hardy server and install gnome. I want to add a printer to be able to share it and printers doesn't show up under the control panel...22:08
joebob777as7can someone point me in the right direction?22:09
sorennxvl: Worked for zul.22:15
sorennxvl: I'm building on intrepid now. I failed on hardy.22:16
sorenjoebob777as7: #ubuntu22:16
sorenVilasBoas: Your apache server isn't interpreting your php files. Restart apache, and try again after you've completely restarted your web browser.22:17
sorenThey have an annoying tendency to cache mimetypes.22:17
sorennxvl: zul didn't have any lintian warnings either, by the way.22:19
nxvl\o/22:20
sorennxvl: By the way: I know that norsetto found some mistakes in your copyright file, but I have to say I was impresed at the copyright file that was already there.22:20
* nxvl HUGS soren and zul 22:20
nxvlyeah, i fixed thos warning already22:20
nxvlsoren: thanks! i was trying to have it really explicit22:21
sorenYeah. Good job.22:21
sorenSometimes I think getting the copyright file right is the hardest part of packaging. :)22:21
nxvlyes22:22
nxvlnot the hardest, but the teduis22:22
ScottKIt's the area where I most often find problems in a package after another MOTU has given it a +1.22:23
nxvlyeah, we are developers, not lawyers, so most people focus more on techical things22:23
ScottKOTOH, it's a wonderland for the pedantic.  I've found debian/copyright problems in packages put up for review by an archive admin.22:24
sorenScottK: Heheh :)22:34
* soren wanders off22:34
nxvlsoren: http://revu.ubuntuwire.com/details.py?package=augeas <- 0.2.1 is out22:51
joebob777as7i'm trying to tunnel to my cups shared printer at my office. Here is the command i'm running, ssh -L 1234:localhost:631 joe@myoffice.com when i go add the printer it doesn't show up anywhere how can i figure out the device uri to tupe in cups?23:02

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