[00:46] <reid_> anyone wanna help me get audio output from my server?
[02:13] <qsi> hi, what's the preferred way of generating the bridge setup in KVM? in /etc/interfaces or through virsh?
[02:22] <JorgeJorgesson> Anyone have any luck getting openfire working under Ubuntu?
[02:22] <JorgeJorgesson> Or any IM server?
[02:24] <foxbuntu> JorgeJorgesson, have you seen this: http://www.ubuntu-unleashed.com/2007/08/howto-install-openfire-xmpp-jabber.html
[02:27] <JorgeJorgesson> foxbuntu: yes, and that is how I got this far.
[02:27] <foxbuntu> JorgeJorgesson, alright, well explain your problem or ask your question then.
[02:28] <JorgeJorgesson> I thought I did earlier.  I cannot log into my openfire server.  I get ssl error from pidgin.
[02:29] <foxbuntu> ah
[02:29] <JorgeJorgesson> Kopete also gives an error
[02:29] <foxbuntu> I didnt see it in the scrollback
[02:29] <JorgeJorgesson> Not defined though
[02:29] <foxbuntu> well are there any relevants logs?
[02:29] <foxbuntu> apache?
[02:29] <JorgeJorgesson> foxbuntu: I understand and sorry.  Just frustrated
[02:29] <JorgeJorgesson> foxbuntu: no errors
[02:30] <foxbuntu> what is the exact error from pidgin?
[02:31] <JorgeJorgesson> SSL connection failed
[02:33] <foxbuntu> try this: telnet < ip | url > 5223
[02:33] <foxbuntu> see if you can connect to the port on the server
[02:34] <JorgeJorgesson> no such file or directory
[02:34] <foxbuntu> what was the command you entered?
[02:34] <JorgeJorgesson> as copied and pasted
[02:34] <foxbuntu> < ip | url > should be replaced with the ip or url to the server
[02:35] <foxbuntu> ie 1.1.1.1 or pidgin.somedomain.com
[02:35] <infinity> (Like "telnet foo.domain.com 5223")
[02:35] <JorgeJorgesson> telnet < 192.168.2.4 | url > 5223
[02:35] <infinity> telnet 192.168.2.4 5223
[02:36] <JorgeJorgesson> connected to
[02:37] <foxbuntu> ok
[02:37] <foxbuntu> so it connected then?
[02:37] <JorgeJorgesson> I assume
[02:37] <foxbuntu> well it should have gone to an emtpy console or sent header info
[02:37] <foxbuntu> otherwise it says timed out
[02:38] <foxbuntu> did you do all of these steps? http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/ssl-guide.html
[02:38] <JorgeJorgesson> sec...you are going too fast
[02:39] <JorgeJorgesson> response:
[02:39] <JorgeJorgesson> Connected to 192.168.2.4.
[02:39] <JorgeJorgesson> Escape character is '^]'.
[02:39] <JorgeJorgesson> I followed directions several times
[02:40] <foxbuntu> JorgeJorgesson, your ssl port on the server is alive then
[02:40] <JorgeJorgesson> I'm telling you, there is something wrong with Ubuntu and openfire
[02:41] <JorgeJorgesson> That is why it is not in the repos
[02:41] <SpaceBass> evening folks
[02:41] <SpaceBass> still diagnosing some issues from the 9.04 upgrade
[02:42] <foxbuntu> JorgeJorgesson, Im trying to walk you through diagnostics...
[02:42] <SpaceBass> having problems with kerberos+ldap clients ... sshfs (although ssh works),netatalk, samba...
[02:42] <JorgeJorgesson> fox, no problem
[02:42] <JorgeJorgesson> foxbuntu: no problem
[02:42] <SpaceBass> in order to get ssh working again,I had to comment out #account [default=bad success=ok user_unknown=ignore service_err=ignore system_err=ignore] pam_krb5.so minimum_uid=1000
[02:43] <foxbuntu> JorgeJorgesson, what did you change on the Pidgin client to connect to the server?
[02:43] <JorgeJorgesson> foxbuntu: sorry, been there before.
[02:43] <SpaceBass> suspect that is what gave users a ticket at login, but regardless, if I can auth though ssh, I should be able to use sshfs, right?
[02:44] <JorgeJorgesson> foxbuntu: the regular, name, server and such
[02:44] <JorgeJorgesson> And under advanced the required settings
[02:44] <foxbuntu> JorgeJorgesson, I need full detail to help
[02:44] <foxbuntu> JorgeJorgesson, I have to know exactly what I am dealing with
[02:44] <JorgeJorgesson> Domain:  used both my ddns and actual ip
[02:45] <foxbuntu> ok
[02:45] <foxbuntu> what is the domain you used when you setup the SSL self-signed certificate?
[02:45] <JorgeJorgesson> advanced...no to require, yes to force old....yes to allow plain text....port 5223, connect server....my ip and ddns
[02:46] <JorgeJorgesson> foxbuntu: I never changed ip addresses.
[02:47] <foxbuntu> JorgeJorgesson, ip doesnt matter right now
[02:47] <foxbuntu> what is the domain you used when you setup the SSL self-signed certificate?
[02:47] <JorgeJorgesson> same as now
[02:47] <foxbuntu> you had to give it a FQDN
[02:47] <JorgeJorgesson> i don't understand the fqdn
[02:47] <foxbuntu> fully qualified domain name
[02:47] <foxbuntu> ie. www.google.com
[02:47] <JorgeJorgesson> still means nothing
[02:48] <foxbuntu> not some_pc
[02:49] <JorgeJorgesson> Ok, not sure what you are getting at.
[02:49] <foxbuntu> this step in the SSL setup: keytool -genkey -keystore keystore -alias example.com
[02:49] <foxbuntu> what did you replace example.com with?
[02:49] <JorgeJorgesson> I have keys generated
[02:50] <JorgeJorgesson> example.com was replaced with my domain
[02:51] <foxbuntu> then you need to use that in your Pidgin config
[02:51] <foxbuntu> not the IP
[02:51] <JorgeJorgesson> Not a problem.  It just does not work with Ubuntu
[02:51] <foxbuntu> also, you should set pidgin to require SSL
[02:51] <JorgeJorgesson> I tried that stuff
[02:51] <JorgeJorgesson> It just does not work with Ubuntu as a server
[02:52] <foxbuntu> JorgeJorgesson, is you can connect to 5223 with telnet, then it is working, there is just a configuration error in your setup
[02:52] <JorgeJorgesson> Ok, prove it.
[02:52] <JorgeJorgesson> Not so
[02:52] <ScottK-desktop> Are the clients Ubuntu too?
[02:52] <JorgeJorgesson> Yes
[02:52] <ScottK-desktop> What release?
[02:53] <JorgeJorgesson> Mixed
[02:53] <JorgeJorgesson> 8.04,8.10, 9.04
[02:53] <JorgeJorgesson> All fail
[02:53] <foxbuntu> JorgeJorgesson, Im sorry. Im not going to argue. You seem unwilling to just answer questions. I have things to accomplish.
[02:53] <ScottK-desktop> In Intrepid we killed SSL v2.  A suprising number of apps were still defaulting to it.
[02:53] <JorgeJorgesson> ? I answered
[02:54] <JorgeJorgesson> foxbuntu: I answered as simple as I could
[02:55] <ScottK-desktop> So 8.04 clients may be a problem.  I'd test with 8.10 or later until you get it working.
[02:55] <foxbuntu> JorgeJorgesson, I am sorry. I wish you the best of luck with your problem but I am no longer willing to help.
[02:55] <JorgeJorgesson> ?
[02:56] <JorgeJorgesson> foxbuntu: too hard of a problem?  I'm not sure why not.
[02:56] <ScottK-desktop> JorgeJorgesson: We're essentially all volunteers here.  If he told you he can't spend more time on the problem, just let it go.
[02:56] <JorgeJorgesson> Holy cow, sorry.
[02:57] <JorgeJorgesson> I did not mean to offend, just get help
[02:57] <ScottK-desktop> For future reference, I think "<JorgeJorgesson> Ok, prove it." probably wasn't your best bet at that juncture.
[02:58] <JorgeJorgesson> ok, no problem
[02:58] <JorgeJorgesson> Another distro might be my best choice. Thanks.
[02:58] <ScottK-desktop> I know it gets frustrating.
[02:58] <ScottK-desktop> I find SSL works quite well on Ubuntu Server.
[02:59] <JorgeJorgesson> No, too sensitive here.  Thanks though! I appreciate the effort. A ton!
[02:59] <ScottK-desktop> I didn't see all the scrollback, so I don't have any opinion on your specific problem.
[02:59] <PhotoJim> JorgeJorgesson: I'm pretty tolerant, but I thought the "prove it" line was a bit inflammatory.  I don't think they reacted sensitively.  They reacted normally.
[03:00] <JorgeJorgesson> Like I said, no problem.  I understand.  I was wrong.
[03:00] <JorgeJorgesson> I will try Debian...
[03:00] <JorgeJorgesson> See how that is.
[03:01] <ScottK-desktop> My recommendation would be to consider if his statement was correct and re-examine your configs.
[03:01] <JorgeJorgesson> Not a problem..thanks scott.
[03:02] <JorgeJorgesson> change is as good as a holiday
[03:03] <JorgeJorgesson> Hey, I'm a nice guy that got caught up in frustration. If one cannot understand/tolerate that, so be it.  I understand 100%.  I came off as a goof.
[03:04] <JorgeJorgesson> So, I carry on.
[03:05] <ScottK-desktop> Goof isn't the word I'd have picked, but no need to switch distro's over it.
[03:06] <JorgeJorgesson> Yeah, it is.  I have to ask for help form time to time and it will be tough here now. No problems
[03:07] <reid> JorgeJorgesson: in my unprofessional opinion, if you were truly interested in switching distro's.. you would not be in #ubuntu-server as we speak..  however, if you are truly interested in still receiving help, I'm sure nobody here has a problem doing so
[03:08] <JorgeJorgesson> Good evening.
[03:08] <reid> *shrug*
[03:08]  * infinity bites his tongue.
[03:08] <foxbuntu> Ok,does anybody think I was out of line here?
[03:09] <infinity> No, you were excruciatingly polite and helpful, in the face of rather adversarial accusations.
[03:09] <infinity> *shrug*
[03:09] <PhotoJim> I don't think you were, foxbuntu
[03:09] <reid> foxbuntu: no ur fine
[03:09] <infinity> I'd have given up shortly after he attempted to redirect his IP to telnet, personally.
[03:09] <reid> however, now that there is some traffic in this channel.  anyone wanna help me get audio output working on my server?
[03:09] <foxbuntu> Alright. Well I just want to make sure I wasn't casuing problems :)
[03:10] <reid> ALSA installed, speaker-test outputs only to left channel
[03:10] <reid> connections are fine
[03:10] <ScottK-desktop> foxbuntu: Additionally, you aren't required to volunteer yourself beyond what you care to.  If you say your done, your done.  I don't think it's subject to anyone elses review.
[03:10] <reid> foxbuntu: nah that guy was totally out of line, he acted like a child taking criticism lol
[03:10] <PhotoJim> foxbuntu: oh, you cause problems.  ;)
[03:11] <foxbuntu> ScottK-desktop, yeah, I just don't like to stop like that. But I was getting irritated and didn't want to do mean things to a user.
[03:11] <foxbuntu> PhotoJim, well...thats a given, but I am trying to keep it to a minimum
[03:12] <PhotoJim> Heh.
[03:12] <reid> anyone here wanna help me with ALSA problems on my server though? =P
[03:12] <ScottK-desktop> foxbuntu: I would have wanted to do mean things to a user and attempted to restrain myself.
[03:12] <foxbuntu> reid, pastebin the output of aplay -l and aplay -L
[03:13] <reid> thanks =P  brb
[03:14] <foxbuntu> ScottK-desktop, yeah, I am trying to avoid things like that, after all I am an Ubuntu Member working towards MOTU :)
[03:14] <reid> foxbuntu: aplay -l returns no sound cards
[03:14] <reid> foxbuntu: aplay -L returns nothing
[03:14] <foxbuntu> reid, intresting
[03:14] <reid> actually, no output now either lol
[03:14] <reid> when i speaker-test I get this
[03:15] <reid> http://paste.ubuntu.com/158258/
[03:15] <foxbuntu> reid, does
[03:16] <infinity> I'm going to assume that you're either doing all this testing as root, or as a user that you're POSITIVE has access to audio devices?
[03:16] <foxbuntu> cat /proc/asound/cards produce anything?
[03:16] <foxbuntu> infinity, thats another thought, perhaps the user is not in the 'audio' group
[03:16] <reid>  0 [NVidia         ]: HDA-Intel - HDA NVidia
[03:16] <reid>                       HDA NVidia at 0xfe024000 irq 22
[03:16] <reid> yesh
[03:16] <infinity> foxbuntu: No user added with "adduser" would have audio.
[03:16] <infinity> foxbuntu: It's only the cute GUI tools that add users to extra groups.
[03:16] <reid> ok
[03:17] <reid> thats true
[03:17] <reid> as root, sound comes out of left speaker
[03:17] <foxbuntu> infinity, yup
[03:17] <reid> but not right
[03:17] <foxbuntu> reid, then try sudo aplay -l and sudo aplay -L
[03:17] <infinity> reid: Okay.  And as root, "aplay -l/L" are more informative, I assume?
[03:17] <foxbuntu> infinity, ha, I beat you to it
[03:17] <infinity> reid: (And "adduser user audio" should fix up the permissions problem)
[03:18] <reid> http://paste.ubuntu.com/158260/
[03:18] <ball> Now I can go to bed.
[03:18] <reid> =)  already solved half of my problem lol
[03:19] <foxbuntu> reid, try speaker-test -Dplughw:0,0
[03:19] <foxbuntu> does that give you all channels?
[03:19] <reid> nopespeaker-test -Dplughw:0,0
[03:19] <reid> err
[03:19] <reid> nope
[03:19] <reid> , it also only says 0- Front Left
[03:20] <foxbuntu> reid, oh its not rolling channels then
[03:20] <ball> What does the console usually emulate in Ubuntu Server?
[03:20] <infinity> ball: The actual console (ie: tty[1-6]), or when you SSH in?
[03:20] <foxbuntu> reid, try speaker-test -s1
[03:20] <infinity> ball: When you SSH in, emulation is entirely up to whatever string your client sends.
[03:20] <foxbuntu> then speaker-test -s2
[03:21] <reid> same thing, cept it says "  - Front Left"
[03:21] <reid> ie. no speaker number
[03:21] <infinity> ball: The real console is a vt100ish emulation called "linux".
[03:21] <foxbuntu> reid, then speaker-test -s2
[03:21] <infinity> 20:20 < infinity> ball: The actual console (ie: tty[1-6]), or when you SSH in?
[03:21] <ball> infinity: the actual console
[03:21] <infinity> 20:20 < infinity> ball: When you SSH in, emulation is entirely up to whatever string your client sends.
[03:21] <reid> invalid parameter error
[03:21] <infinity> 20:21 < infinity> ball: The real console is a vt100ish emulation called "linux".
[03:22] <ball> infinity: VT100ish, but with colour.
[03:22] <infinity> ball: Right.
[03:22] <foxbuntu> reid, alsamixer
[03:22] <infinity> ball: Closer to vt220, really, but whatever.
[03:22] <ball> That would be handy with 8-bit character sets
[03:22] <infinity> ball: "linux" has its own quirks that make it not entirely VT.
[03:22] <foxbuntu> reid, see if the right channel is muted
[03:22] <reid> foxbuntu: there is no distinction between R/L channel, just Front
[03:22] <foxbuntu> reid, hmm
[03:23] <infinity> ball: (ie: that it can do unicode, it can do true color, etc)
[03:23] <infinity> ball: But, whatever.  For most uses, it's vt100. :)
[03:23] <ball> infinity: right, I had $TERM set wrong
[03:23] <ball> ...so irssi was being strange
[03:24] <ball> okay, I can go to bed now anyway.
[03:24] <ball> ...job done.
[03:24] <infinity> ball: getty should be setting TERM correctly on login anyway, if you just avoid setting it in your own rc scripts.
[03:24] <ball> infinity: force of habit
[03:24] <ball> I set it to xterm
[03:24] <ball> ...which was subtly wrong
[03:25] <infinity> xterm-color would be slightly closer to correct.
[03:25] <ball> I'm used to xterm being colour by default.
[03:25] <ball> Anyway, I'm so tired I can't focus on the screen
[03:25] <infinity> I still live in the 80s.  Nothing's color by default.
[03:25] <foxbuntu> reid, try aplay /usr/share/sounds/alsa/Noise.wav
[03:26] <twb> infinity: please buy some shares in Microsoft
[03:26] <ball> infinity: well, I'm sort of there too, but "xterm-color" is new to me
[03:26] <reid> says its playing mono, for one
[03:26] <reid> cant tell one sec
[03:26] <reid> yeah no right channel
[03:26] <twb> reid: monophonic, not monochrome
[03:26] <ball> I'm off to bed anyway, to dream of decades gone by when computers were actually fun.
[03:27] <twb> ball: spacewar!
[03:27] <reid> twb: ?  lol I know that
[03:27] <foxbuntu> reid, what type of speakers? just basic stuff?
[03:27] <ball> twb: I was thinking more of DDT
[03:27] <ball> Goodnight anyway
[03:27] <twb> ball: hehe
[03:27] <reid> foxbuntu: well, its running to a stack of 80's amp, equalizer, and tuner, and to 4 big floor monitors
[03:27] <reid> lol
[03:27] <twb> That's carcinogenic!
[03:27] <reid> foxbuntu: but it runs fine off my other linux installs, and off my windows box
[03:27] <foxbuntu> reid, lol nice
[03:27] <reid> foxbuntu: just can't get it to work with server
[03:28] <twb> $ file /usr/share/sounds/alsa/Noise.wav
[03:28] <twb>  /usr/share/sounds/alsa/Noise.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 48000 Hz
[03:28] <twb> That file *is* mono.
[03:28] <foxbuntu> twb, yea
[03:28] <reid> twb: I know, but it should still come out of both speakers
[03:28] <foxbuntu> twb, but mono plays on all channels
[03:28] <twb> Right
[03:28] <twb> Check alsamixer
[03:28] <foxbuntu> yup
[03:28] <infinity> reid: I think he was looking more for "normal stereo eighth inch plug, or something fancy?" :)
[03:28] <foxbuntu> thats my thinking is that something is muted
[03:28] <twb> Also check your 3.5mm connectors are plugged all the way in
[03:29] <foxbuntu> yea
[03:29] <reid> foxbuntu: the server is a torrentbox atm, with fluxbox =P  with an 1080p graphics card in it,  soon to be hooked up in our living room lol
[03:29] <foxbuntu> reid, well why are you using -server for this then?
[03:29] <twb> reid: we don't give a shit about your graphics card, in the context of an audio issue
[03:29] <reid> infinity: normal 1/8 plug,  changes to RCA cables though,  adapter
[03:29] <infinity> reid: Yeah, I assumed.
[03:30] <reid> twb: if you aren't going to help me, please don't highlight my name =/
[03:30] <twb> Besides, don't you know it's more impressive to run on older, crapper hardware?!
[03:30]  * twb is ircing from a 68020
[03:30] <twb> Honest.
[03:30] <reid> I'm using server, because the comp doesn't have much ram atm.. and I didn't really care for gnome and all that either
[03:30] <foxbuntu> twb, we are sliding a little ot here
[03:30] <twb> foxbuntu: sorry.
[03:30] <reid> fluxbox is fine, and I don't want even that running when I am torrenting
[03:31] <reid> but all of that beside the point, I just need to get both channels recognized by alsa =P
[03:31] <foxbuntu> reid, you could get fluxbuntu
[03:31] <reid> true
[03:31] <foxbuntu> reid, desktop kernel with fluxbox
[03:31] <foxbuntu> would likely be easier
[03:31] <reid> just sucks because everything else is running great
[03:32] <reid> video is coming out, fluxbox is working great, my torrents are working great, etc
[03:32] <foxbuntu> well I am sure it is fixable
[03:32] <foxbuntu> Im not trying to chase you away
[03:32] <reid> lol kk
[03:32] <foxbuntu> I just want to make it easy :)
[03:32]  * foxbuntu is a big fan of easy
[03:33] <reid> I just want it efficient =P  and right now its the epitome of that for my needs
[03:33] <infinity> reid: Do you have any way to test this machine's sound outside of the current installation?  (Windows dual-boot, a Jaunty desktop LiveCD, etc?)
[03:34] <reid> hmm.. I could grab a live CD.. one sec
[03:34] <infinity> reid: Might be nice to know that it's not some whacky hardware issue.
[03:34] <foxbuntu> infinity, good idea
[03:34] <infinity> reid: Though it certainly smelly like either misconfiguation, or sever driver hatred.
[03:34] <infinity> s/smelly/smells/
[03:34] <reid> lol... gentoo minimal.. thats not going to work
[03:34] <reid> ahh here we go
[03:34] <infinity> s/sever/severe/ too... I really need to nap.
[03:34] <reid> one sec, rebooting server
[03:34] <foxbuntu> infinity, I thought smelly worked well there ;)
[03:36] <reid> lol
[03:36] <reid> live CD boots with only 512 mb ram?
[03:36] <infinity> Yeah.
[03:36] <infinity> It's not happy about it, but it works. :)
[03:36] <reid> thats pretty sweet =P  booting up
[03:36] <infinity> I *think* we still have it working with 256, though I'm not sure how seriously we take that anymore.
[03:36] <PhotoJim> I booted it with 384 MB once.
[03:37] <foxbuntu> PhotoJim, I have too ) its nice and slow
[03:37] <reid> man, I've been using linux for like.. 10 months maybe now?  I can't even check my e-mail on windows anymore.. so many things just feel wrong.. terribly wrong
[03:37] <PhotoJim> foxbuntu: ran ok once installed though.  PII also.
[03:37] <infinity> Trust me, I know the feeling.
[03:37] <reid> I tried to connect to a hidden SSID on my windows partition today
[03:37] <reid> and I gave up... after like 45 mintues
[03:37] <reid> haha
[03:37] <infinity> I was a kernel/toolchain hacker for ages, and to me, "Linux was for servers"... I ran BeOS, MacOS, Windows on the frontend and various UNIX/Linux systems on the backend.
[03:37] <foxbuntu> reid, sounds like you stepped up to the punch and had a nice big cup of it
[03:38] <infinity> When I started working for Canonical, I did the whole "dogfood" thing, and now when I go back to other desktops, they drive me nuts.
[03:38] <reid> interesting lol...
[03:38] <reid> liveCD sound only comes out of left channel
[03:38] <reid> gimme a second here, I'm going to double check my system.. its almost 30 years old, so I suppose now is the time haha
[03:38] <infinity> Well, that establishes that it's not something you broke on your own. :)
[03:38] <reid> hooking it up to my other box
[03:38] <foxbuntu> reid, then likely you have a hardware issue
[03:39] <infinity> It could still very much be a driver issue on our side.  But I'd be leaning to hardware.
[03:39] <foxbuntu> indeed
[03:39] <infinity> Given that your card isn't exactly uncommon, and I'm thinking we'd have a lot of very angry bugs if it only used one channel...
[03:39] <foxbuntu> yes
[03:40] <foxbuntu> I have like three machines with that very chipset
[03:40] <reid> hmm
[03:40] <reid> works fine on windows box, transfer over and speaker-test
[03:40] <reid> still only left channel
[03:41] <infinity> Wait, what works fine on the windows box?  Your sound card, or the stereo setup? :)
[03:41] <reid> the stereo setup
[03:41] <reid> same sound card
[03:41] <infinity> (The soundcard looked like onboard audio to me, so I'm thinking that doesn't move very well)
[03:41] <reid> its the same board =P
[03:41] <reid> model.. that is
[03:41] <reid> haha
[03:41] <infinity> If it's an identical motherboard, then booting the Windows machine with the livecd would also be quite informative.
[03:42] <foxbuntu> correct
[03:42] <foxbuntu> reid, give that a try
[03:42] <reid> its in the works =P
[03:42] <infinity> Could nail down if it *IS* a driver bug (and if it is, we'd love it filed).
[03:43] <infinity> Well, "love" is a strong term.  We wouldn't hate you for filing it?
[03:43] <infinity> :)
[03:43] <foxbuntu> infinity, correction, if it is a driver bug, please procede directly to Launchpad to file a bug report
[03:43] <foxbuntu> heh
[03:44]  * foxbuntu proposes an Ubuntu Global Bug Patrol Squad to come get non-bug filers
[03:44] <ScottK> I'm a lot more likely just to upload the fix and not bother.
[03:44] <foxbuntu> well
[03:45] <foxbuntu> they would leave you alone then ScottK
[03:45] <reid> lol so while this is happening. you guys wanna hear something funny?
[03:45] <foxbuntu> no
[03:45] <reid> aw fine
[03:45] <foxbuntu> heh
[03:45] <infinity> Only if it involves ScottK's mother.
[03:45] <ScottK> Couldn't hear it anyway.  No sound.
[03:45] <infinity> Doubly-so now.
[03:46] <reid> anways.. my roommate is this script-kiddy ass, that dual-boots linux and windows, and insists that windows is better.  and I just said its cause he never uses his linux partition.  so he gets all angry and boots into linux and starts talking in this "oh look at me, im in a terminal, I do everything from a terminal cause im a linux fag.. watch me fsck"
[03:46] <reid> lol
[03:46] <reid> and he fsck's his mounted drive
[03:46] <reid> destroys MBR, and can't get back into windows lol
[03:46] <ScottK> That is funny.
[03:47] <reid> ok, desktop is into liveCD now.. brb
[03:47] <infinity> Despite the lack of involvement of ScottK's mother, I'll concede that's funny.
[03:47] <infinity> Just this once.
[03:47]  * foxbuntu give its a 4, classifies it as mildly entertaining
[03:48] <infinity> foxbuntu: You'd be pointing and laughing if you were there.
[03:48] <foxbuntu> infinity, thats besides the point
[03:48] <foxbuntu> :P
[03:48] <reid> yay?   both channels work on desktop
[03:48] <reid> lol
[03:48] <infinity> That kinda rules out driver bug, then, if it's the same card. :/
[03:48] <foxbuntu> yup
[03:48] <PhotoJim> reid: tell him to run his Windows machine (once he has it running again :) ) without AV software for a month, and you'll do the same with Linux.  See who wins.
[03:48] <reid> haha
[03:49] <reid> I already explained to him that I got a torrentbox running with literally 5 or 6 commands haha
[03:49] <infinity> Unless it's something really touchy like different BIOS versions, or the infamous "this needs to be setup by the Windows driver before you reboot into Linux"...
[03:49] <reid> I have a feeling its a config issue
[03:49] <foxbuntu> reid, ah here is an idea
[03:49] <reid> how can I be sure?
[03:49] <foxbuntu> reid, go get the realtek hs audio package from their website
[03:49] <infinity> reid: We kinda ruled out config issues with the LiveCD being an identical config on both systems.
[03:49] <foxbuntu> s/hs/hd
[03:49] <reid> oh yeah
[03:50] <foxbuntu> infinity, not totally, but close
[03:51] <foxbuntu> reid, the alsa package from realtek is quite slick, it might make it work
[03:51] <reid> would I be at the right place at http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false?
[03:51] <reid> no question mark after the URL, sorry lol
[03:51] <foxbuntu> reid, yup, thats the one
[03:52] <foxbuntu> reid, you need to have build-essential and...
[03:52] <foxbuntu> I always forget the other package
[03:53] <foxbuntu> xmlto I think
[03:53] <foxbuntu> for the build of their package to work
[03:55]  * infinity leaves this in the capable hands of people who seem to understand modern Linux audio...
[03:55] <reid> ugh.. I really.. really wish I had more keyboards and mice
[03:56] <foxbuntu> infinity, define capable?
[03:56] <infinity> It would date me entirely to admit that the last audio driver I committed to was the soundblaster driver somwhere in 2.0.x...
[03:56] <foxbuntu> ;)
[03:58] <reid> lol
[03:58] <reid> links is having a little trouble going through these javascript sits
[03:58] <reid> sites
[04:00] <reid> I just had to get my mouse and get into fluxbox =/
[04:00] <foxbuntu> yeah
[04:01] <foxbuntu> javascript + lynx != good_times
[04:01] <infinity> w3m kinda sorta deals with most JavaScript.  Ish.
[04:01] <infinity> That was pretty non-committal, wasn't it?
[04:01] <reid> oo
[04:01] <foxbuntu> maybe, maybe not
[04:01] <reid> w3m
[04:01] <reid> never tried it
[04:03] <twb> w3m does not include any js support.
[04:03] <infinity> Oh, wait.  What was I thinking of, then?
[04:03] <infinity> It's something that navigates like w3m...
[04:03] <twb> One of the lynx variants implements toy js support.
[04:03] <twb> IIRC, elinks
[04:03] <infinity> And less like lynx/links.
[04:04]  * infinity shrugs.
[04:05] <reid> and do the configure make make install dance with the drivers? =P
[04:05] <twb> It's really only enough to recognize onclick="open('webdev was too stupid to use href!')"
[04:07] <foxbuntu> reid, yea
[04:07] <foxbuntu> reid, its pretty easy though
[04:07] <foxbuntu> reid, as long as you have build-essential and xmlto installed
[04:08] <reid> ./configure isnt work
[04:08] <reid> working
[04:09] <foxbuntu> reid, it may not have a ./configure
[04:09] <twb> IMO if m-a doesn't work with a driver, you should leave it the hell alone
[04:09] <foxbuntu> ls -l
[04:09] <twb> Vendor drivers suck ass
[04:09] <reid> i see
[04:09] <reid> all I had to do was sh install
[04:09] <foxbuntu> twb, its actually alsa, just has custom confs for the HD codecs for realtek
[04:09] <foxbuntu> reid, no
[04:10] <foxbuntu> reid, you have to make && sudo make install
[04:10] <reid> says nothing to be done for 'install'
[04:10] <foxbuntu> did make do anything?
[04:10] <reid> make says no targets specified
[04:10] <reid> =/
[04:10] <reid> lol
[04:11] <foxbuntu> reid, post the output of ls
[04:11] <foxbuntu> I dont recall the exact scripts they provide
[04:11] <reid> alsa-driver-1.0.19-5.11  alsa-driver-1.0.19-5.11.tar.bz2  alsa-lib-1.0.19  alsa-lib-1.0.19.tar.bz2  alsa-utils-1.0.19  alsa-utils-1.0.19.tar.bz2  install  Readme.txt  test.wav.bz2  version
[04:12] <foxbuntu> hmm perhaps it is an install script
[04:12] <foxbuntu> ok try: sudo ./install
[04:12] <reid> oh
[04:12] <reid> yeah.. lol
[04:12] <reid> >.<
[04:13] <reid> just read the Readme
[04:13] <foxbuntu> that too
[04:13] <foxbuntu> :)
[04:13] <foxbuntu> I knew they made it simple I just haven't used it in a while
[04:14] <reid> whew I can't look at that while im drunk lol
[04:14] <reid> script just almost gave me a seizure haha
[04:15]  * foxbuntu wants to go get food and sit and watch boonedock saints
[04:15] <reid> boondock saints..
[04:15] <reid> mmmm
[04:16] <reid> you can do that
[04:16] <reid> but let me know if you'll be back
[04:16] <reid> I could do some things in the meantime
[04:16] <reid> o.O
[04:16] <foxbuntu> Ill be right here
[04:16] <reid> oh kk
[04:16] <reid> yeah cause I forgot to sudo su before this whole process
[04:16] <reid> so now I have to do it again
[04:16] <reid> >.<
[04:16] <foxbuntu> Im just going to run out to get some food then Ill be back
[04:16] <reid> kk
[04:16] <foxbuntu> what?
[04:16] <foxbuntu> no sudo su
[04:16] <reid> well, sudo.. sudo su
[04:17] <foxbuntu> just
[04:17] <foxbuntu> sudo ./install
[04:17] <foxbuntu> :)
[04:17] <reid> lol its going atm
[04:17] <foxbuntu> heh
[04:17] <foxbuntu> alright, Im going to run off for a few to get food
[04:17] <reid> kk
[04:17] <foxbuntu> I will return
[04:42] <reid> foxbuntu: you back?
[04:42] <foxbuntu> reid, I just got back
[04:42] <reid> sweet
[04:42] <reid> I just untarred it and then did other things
[04:42] <reid> err
[04:42] <reid> sudo ./install
[04:42] <foxbuntu> ok
[04:43] <foxbuntu> did it it ask you about setting up .asoundrc ?
[04:43] <reid> nope
[04:43] <reid> just ran the script np
[04:43] <foxbuntu> any dialogs?
[04:43] <reid> nope
[04:44] <foxbuntu> it should have poped open some debconf stuffs if it worked
[04:44] <reid> hmm.. nope
[04:44] <foxbuntu> im betting it failed then
[04:44] <reid> its says alsa-conf could not be found
[04:44] <reid> should I apt-get that?
[04:45] <foxbuntu> the tarball or alsa-conf?
[04:45] <reid> it just says ./install 101: alsaconf: not found
[04:45] <reid> at the end of script
[04:45] <foxbuntu> ah it di fail
[04:46] <reid> that was after a really long time though, it did a BUNCH of things lol
[04:46] <foxbuntu> reid, copy the tarball you downloaded to /usr/src
[04:46] <foxbuntu> sudo cp .tar.bz2 /usr/src
[04:46] <foxbuntu> then sudo tar ..
[04:46] <reid> k
[04:46] <reid> its there
[04:46] <foxbuntu> cd ./realtek
[04:46] <foxbuntu> sudo ./install
[04:47] <foxbuntu> er
[04:47] <foxbuntu> cd /usr/src/realtek
[04:47] <foxbuntu> sudo ./install
[04:48] <reid> kk
[04:48] <reid> going
[04:48] <foxbuntu> cool
[04:48]  * foxbuntu starts the movie and waits for the next problem from reid ;)
[04:48] <reid> lol
[04:49] <reid> nice how this community works out though
[04:49] <reid> I just helped a gnubie for like.. 90 minutes to get his ATI drivers working right on jaunty
[04:49] <reid> its awesome to just turn around and get that kinda help from someone else lol
[04:50] <reid> same output
[04:50] <reid> =((
[04:51] <foxbuntu> ok
[04:51] <reid> want me to pastebin it?
[04:51] <foxbuntu> try: sudo apt-get install alsa-utils
[04:51] <reid> newest version
[04:51] <foxbuntu> hrm
[04:51] <foxbuntu> yeah pastebin the last 50 lines or so
[04:52] <reid> http://paste.ubuntu.com/158296/
[04:54] <foxbuntu> seems like a permissions issue with where you are installing it
[04:54] <foxbuntu> i mean where the installer is located
[04:54] <reid> hmm
[04:57] <foxbuntu> reid, try this:
[04:57] <foxbuntu> sudo chmod 777 /usr/src/realtek
[04:57] <foxbuntu> then rerun the script
[04:57] <reid> kk
[05:01] <reid> same output lol
[05:02] <foxbuntu> reid, thats strange...ok pastebin more of the output
[05:02] <foxbuntu> try to get it all if you can
[05:02] <reid> hmm interesting
[05:03] <reid> apparently alsaconf has been removed from ubuntu/debian repos
[05:03] <reid> due to crashing other programs
[05:03] <reid> ie. its no longer a part of alsa-utils
[05:03] <foxbuntu> thats alright
[05:03] <foxbuntu> its failing trying to install alsaconf anyways :)
[05:03] <reid> ic =P
[05:04] <reid> u still want pastebin?
[05:04] <foxbuntu> yes
[05:04] <foxbuntu> pastebin all (or as much as you can get)
[05:04] <reid> thats as much as I can get
[05:04] <reid> http://paste.ubuntu.com/158299/
[05:08] <foxbuntu> reid, strange..Im looking into it
[05:10] <foxbuntu> ah
[05:10] <foxbuntu> there is one more package required for the install
[05:11] <foxbuntu> I think so anyways
[05:11] <foxbuntu> reid, sudo apt-get install gettext
[05:11] <foxbuntu> then rerun the installer
[05:11] <reid> lol k
[05:11] <foxbuntu> reid, isnt this fun ?
[05:12] <reid> its better than NOT knowing what the problem is (windows)
[05:12] <foxbuntu> reid, no, you always know what the problem is in windows <--
[05:13] <reid> nah, I'm not talking about specifically driver issues lol, I meant more that windows can go from working to not working
[05:13] <reid> this has never been working =P
[05:14] <foxbuntu> heh
[05:14] <reid> for instance, this desktop of which I speak... is now totally crapped out after 2 years of the same windows install lol.
[05:14] <reid> I mean, I could just as well wipe it, but I need some of the crap off of it first, im just not ambitious enough
[05:16] <reid> appears to have installed properly
[05:16] <reid> got a bunch of errors, but then went through the dialogs fine
[05:16] <reid> lol
[05:16] <foxbuntu> thats normal
[05:16] <foxbuntu> it worked then
[05:17] <reid> hmmm, alsamixer needs a device passed to it?
[05:17] <foxbuntu> naw
[05:17] <foxbuntu> it shouldnt
[05:17] <foxbuntu> try a reboot
[05:17] <reid> kk
[05:17] <foxbuntu> reload all the alsa stuffs just to make sure
[05:17] <reid> <3 ssh
[05:18] <foxbuntu> yea
[05:18] <reid> this would be such a bitch lol
[05:19] <arrrghhh> what's the best way to update a server via cli?  i used aptitude safe-upgrade, but i don't think i have the new jaunty kernel.
[05:19] <arrrghhh> or i should say the new kernel used in jaunty.  semantics really.
[05:19] <foxbuntu> arrrghhh, release update, or are you already on jaunty?
[05:20] <reid> ok... everything looks fine, but still only left channel
[05:20] <arrrghhh> foxbuntu, honestly i don't know how to tell if my headless server is on jaunty other than looking at uname -r and see what kernel it's runing....
[05:20] <foxbuntu> arrrghhh, are you trying to upgrade to jaunty from 8.10?
[05:20] <reid> honestly, it may just be mobo problems...
[05:20] <arrrghhh> foxbuntu, currently 8.10 is on there.
[05:20] <foxbuntu> arrrghhh, lsb_release -a
[05:20] <reid> now that I think about it the onboard video is all fuxed on the mobo
[05:20] <reid> I had to get a new card
[05:20] <arrrghhh> foxbuntu, ah didn't know that one!
[05:20] <reid> I may just have to get a new sound card
[05:21] <foxbuntu> arrrghhh, sudo apt-get update && sudo do-release-upgrade
[05:21] <foxbuntu> reid, well then
[05:21] <foxbuntu> reid, lol
[05:21] <arrrghhh> foxbuntu, k thanks!
[05:21] <arrrghhh> do-release-upgrade, that's the one i was lookin fer!
[05:21] <reid> foxbuntu: lol.. I appreciate the help though.. the new audio card will at least benefit from me knowing wtf I'm doing =P
[05:22] <foxbuntu> reid, np
[05:22] <reid> foxbuntu: now the question is... new soundcard, or new mobo haha
[05:22] <reid> I bet its gonna end up being new mobo =P
[05:22] <foxbuntu> reid, new mobo
[05:22] <reid> linux doesn't like new mobos though huh..
[05:22] <foxbuntu> reid, why not?
[05:23] <reid> it boots up fine if you move HD over to a diff mobo?
[05:23] <arrrghhh> reid, heckuva lot better than windows with new mobos... good lord.
[05:23] <foxbuntu> reid, I swap a machine from an AMD -> Intel proc and board and just booted it right back up
[05:23] <arrrghhh> about the only thing you need to adjust is the network controller setup
[05:23] <reid> ah
[05:23] <reid> lol nice
[05:23] <arrrghhh> at least i had to... i don't even recall what i did crap.
[05:23] <arrrghhh> it was something with the networking and a new MAC address....
[05:24] <arrrghhh> and i just removed the instance of the old nic, and bingo bango upgrado.  so easy, makes me pissed i have to replace mobos at work.
[05:24] <foxbuntu> arrrghhh, if its a desktop with NetworkManager it will revert to defaults and DHCP
[05:24] <arrrghhh> foxbuntu, this was my headless server with a static ip...
[05:24] <arrrghhh> which is now updating to jaunty :D
[05:25] <foxbuntu> arrrghhh, its the ifname will change because of the hardware being changed
[05:25] <arrrghhh> yea, i know i probably came in this very room and someone helped me change that in a file...
[05:25] <foxbuntu> arrrghhh, if you really wanted to be crazy you could create a udev rule to override it
[05:25] <arrrghhh> it was obsecure tho...
[05:25] <foxbuntu> yeah
[05:26] <arrrghhh> i just removed the old nic/mac entry in that file, no biggie.
[05:26] <arrrghhh> not like it needed to be there anywyas.
[05:26] <arrrghhh> *anyways
[05:26] <foxbuntu> yup
[05:27] <arrrghhh> yea when i tell people at my work who don't really know much about linux and are big windows gurus are always so shocked, almost to the point of calling me a liar, that i don't have to reinstall my os from a mobo upgrade.  i've gotten in arguments about it before lol
[05:27] <foxbuntu> heh
[05:28] <arrrghhh> then i just grab someone from the core infrastructure team, set 'em straight haha.
[05:29] <ScottK> If I have a machine that won't boot a CD, I just install on the target hard drive in a different machine and then move it after.
[05:30] <arrrghhh> yet another benefit.  unless the hardware is identical, can't really do that with windows :D
[05:30] <reid> I've done that many times with windows hd's  (moved them from comp to comp that is
[05:30] <reid> and booted from them
[05:31] <arrrghhh> must've had same hardware
[05:31] <reid> mind you this was with windows 2000 server =P  I dunno about these new funky Windows's
[05:31] <arrrghhh> or similar enough i guess...
[05:31] <foxbuntu> arrrghhh, you can as long as the architechture is similar on the proc (in the same family)
[05:31] <arrrghhh> oh is that what it is foxbuntu ?  just proc arch?
[05:31] <foxbuntu> arrrghhh, yup
[05:31] <foxbuntu> not just x86 x64
[05:32] <foxbuntu> Im talking the stepping family of the proc
[05:32] <arrrghhh> i guess if you don't let it sysprep?
[05:32] <foxbuntu> so you cant (usually) go from a 1.6G to a 3.0G P4
[05:32] <foxbuntu> (with the boards to match)
[05:32] <jmarsden> I think it is also the motherboard chipset , at last on modern motherboards and XP/Vista, not sure about Win2K.  But... this is #ubuntu-server .
[05:33] <reid> lol
[05:33] <reid> fair enough
[05:33] <arrrghhh> yea
[05:33] <foxbuntu> jmarsden, you got me
[05:33] <arrrghhh> we're really kinda drifting here.
[05:33]  * foxbuntu was ot
[05:33]  * reid helped
[05:33]  * arrrghhh did too
[05:33] <reid> so what do you guys use your servers for? =P
[05:33] <arrrghhh> i came in here to ask an ubuntu-server question tho demmit!
[05:33] <foxbuntu> reid, thats stil l ot
[05:33] <arrrghhh> hehe everything!
[05:34] <arrrghhh> but yea, i think i've had my question of the night answered.  thanks guys, have a good one.
[05:34] <foxbuntu> np ar
[06:16] <supernero> hey guys, just upgraded to 9.04 and suddenly my ethernet adapter is missing. i do an "ifconfig" and it only shows the loopback. everything was fine pre-upgrade. any ideas?
[07:14] <arrrghhh> hey again, so i did that upgrade to jaunty... and several services in my init.d didn't start on their own.  i started them, i'm assuming i need to readd them to the update-rc.d?
[07:16] <foxbuntu> arrrghhh, which services?
[07:16] <arrrghhh> apache
[07:16] <arrrghhh> rtorrent
[07:16] <foxbuntu> likely not
[07:16] <foxbuntu> I would check the logs to see why they failed
[07:16] <arrrghhh> PS3MediaServer
[07:16] <arrrghhh> i looked at /var/log/messages... nothing jumped out at me.
[07:16] <arrrghhh> should i check the syslog?
[07:17] <foxbuntu> well /var/log/apacheerr.log i think
[07:17] <foxbuntu> /var/log/syslog
[07:17] <foxbuntu> ect
[07:21] <arrrghhh> not seein any errors on any of these services in the syslog
[07:21] <arrrghhh> and nothing is jumping out at me in the apache error log
[07:23] <foxbuntu> hmm
[07:23] <foxbuntu> did you try to reboot again to verify?
[07:23] <arrrghhh> i'll reboot again, no...
[07:25] <arrrghhh> hrm
[07:25] <arrrghhh> i guess i didn't think it would need 2 reboots?
[07:25] <foxbuntu> working now?
[07:25] <arrrghhh> go figure.  yeppers.
[07:25] <foxbuntu> it shouldnt, im not sure what happened, but just a blip perhaps
[07:26] <arrrghhh> yea, it does happen sometimes... makes me wonder, but oh well.
[07:26] <arrrghhh> all the services seem to be uptoo.
[07:26] <foxbuntu> cool
[07:27] <arrrghhh> always pisses me off when i have to reboot for every dinky little windows update lol.
[07:27] <alanbshepard70> I can't get commands to execute from a php script. I've got apache2, php5 and the apache php mod installed. exec("command"); does nothing.
[07:27] <arrrghhh> i enjoy not having to reboot my linux boxes :D
[07:27] <foxbuntu> yup
[07:28] <foxbuntu> alanbshepard70, you likely want to ask that in #php
[07:28] <alanbshepard70> I asked and they had no answers, I'm starting to think it's a problem with permissions of the default ubuntu apache or php config file
[07:29] <foxbuntu> alanbshepard70, possible that its apache i guess
[07:30] <foxbuntu> alanbshepard70, not really sure what the defaults are off the top of my head
[07:30] <foxbuntu> but lets have a look
[07:32] <foxbuntu> alanbshepard70, yeah, its a php setting for apache
[07:32] <foxbuntu> alanbshepard70, you have two options, edit the php.ini for the website --or-- edit the vhost that its using
[07:33] <foxbuntu> alanbshepard70, the line you need to add is:
[07:33] <foxbuntu> php_admin_value safe_mode_exec_dir /home/legally/mainwebsite_html
[07:33] <foxbuntu> obviously change the path
[07:34] <foxbuntu> wonder why the php guys didnt mention that
[07:34] <foxbuntu> meh...oh well
[07:34] <foxbuntu> the path should point to the dir where your external script lives
[07:35] <alanbshepard70> foxbuntu: That go in the php.ini of apache.conf?
[07:35] <foxbuntu> that line should be inside the <virtualhost> </virtualhost> tags
[07:35] <foxbuntu> alanbshepard70, it can, I would put it in your vhost though
[07:35] <foxbuntu> /etc/apache2/sites-enabled/default likely
[07:36] <alanbshepard70> foxbuntu: ok thanks
[07:37] <foxbuntu> alanbshepard70, to apply the changes you will need to have apache reload the confs
[07:37] <foxbuntu> sudo /etc/init.d/apache2 force-reload
[07:38] <foxbuntu> (there are other ways but that one is what I normally use)
[07:43] <arrrghhh> foxbuntu, do you use ps3mediaserver?
[07:43] <foxbuntu> arrrghhh, nope
[07:43] <foxbuntu> arrrghhh, I have a PS3 however
[07:43] <arrrghhh> bummer.  you've been able to answer everything else i've asked :P
[07:43] <arrrghhh> and you don't use that?  do you use upnp/dnla media server at all?
[07:44] <foxbuntu> MythTV
[07:44] <arrrghhh> ah
[07:44] <arrrghhh> i've never used that one
[07:44] <foxbuntu> Im a core dev for MythBuntu ;)
[07:45] <foxbuntu> I have a vest intrest i guess you might say
[07:45] <foxbuntu> s/vest/vested
[10:44] <mitman> I am creating a software raid with mdadm in ubuntu, it seems one of the drives has errors already, can I create the Raid arry with 1 drive and add the other later to sync with it?
[11:06] <twb> At the mdadm level, sure (assuming RAID1).  I don't know if d-i will let you do it, though.
[11:06] <mitman> yeah mdadm and raid 1
[11:07] <mitman> basically one of my drives crapped out.. ubuntu 8.1 dmraid implementation or intel's mobo is messed up
[11:07] <mitman> so one my data drives is no good now
[11:07] <twb> I think you mean md RAID.
[11:08] <twb> dmraid usually means fakeraid
[11:10] <twb> e.g. http://en.wikipedia.org/wiki/Intel_Matrix_RAID
[11:10] <mitman> twb: no listen to this, the mobo has "fakeraid" in the bios, so I disabled it and wanted to setup software raid (mdadm)
[11:10] <twb> Good.  You do not want fakeraid.
[11:10] <mitman> twb: but the ubuntu 8.10 and above install will detect the fakeraid regardless of bios setting and it will crap out
[11:11] <twb> mitman: I wouldn't know about that; you should report it as a bug
[11:11] <mitman> twb: at one point i had mdadm software raid configured, but once the system boots i see each md raid as dm-1 and dm-2..
[11:11] <mitman> basically i am down to ubuntu 8:04, software raid works fine, but those settings ruined my data drives..
[11:11] <twb> Er, if you are using md RAID they should be /dev/md0, /dev/md1, ...
[11:11] <mitman> yeah, now they are correct
[11:12] <mitman> but i did a force add one device to make a raid with one drive.. when i get the new drive i should be able to dd it back to the array, correct?
[11:13] <twb> Ignoring potential problems with d-i for the moment, it is trivial to: create a --level 1 --number 2 array with one drive missing; and then to later add it into the array and have it synced from the original node.
[11:13] <mitman> okay cool
[11:13] <mitman> i have foced added it hopefully when i get the new drive should be okay to sync back in
[11:14] <mitman> btw, anyone know a good mail program for terminal.. ubuntu doesn't seem to have pine
[11:14] <twb> This is a pretty standard case when you can't afford spare disks.
[11:14] <twb> That's because pine is not free software.
[11:14] <mitman> oh.. any alternatives?
[11:14] <twb> mutt is quite common; alpine is much like pine.
[11:14] <mitman> cool
[11:14] <mitman> thanks
[11:14] <twb> And of course Emacs ships with four MUAs.
[11:16] <mitman> :-) thanks
[11:16] <mitman> oyyy i have been working on this server for 2 days.. lets hope i can get it back to normal operational mode
[11:29] <mitman> Do you by any chance know how to use smbldap-groupadd?
[12:09] <Davedan> what is the difference between "sudo su username -c command" and "sudo -u username command" ?
[12:11] <twb> The former is wrong.
[12:11] <twb> sudo and su do the same job, so it's silly to use both of them.
[12:12] <twb> You should just use sudo unless you've decided that su is "more secure" (i.e. you're a wacko kook).
[12:12] <Davedan> I'm following a tutorial which has: sudo su postgres -c psql template1
[12:12] <twb> Well, people are stupid.
[12:12] <Davedan> and later: sudo -u postgres passwd
[12:13] <twb> sudo -u postgres psql template1
[12:13] <Davedan> ok
[12:13] <twb> su USER -c "COMMAND ARGS" is the same as sudo -u USER COMMAND ARGS
[12:13] <twb> And sudo -i is the same as su -
[12:13] <Davedan> what is su - ?
[12:14] <twb> It creates a login shell.
[12:14] <Davedan> great.
[12:14] <twb> su is older, so people who are set in their ways sometimes use it because learning sudo is too hard.
[12:14] <Davedan> I wonder why people post two equivalent ways of doing the same command in the same tutorial... it's confusing
[12:14] <twb> And on systems without sudo -i (e.g. CentOS 4), you need to say "sudo su -".
[12:15] <twb> Davedan: probably it's just a crap tutorial
[12:15] <twb> Davedan: or if it's on a wiki, it might be that there are multiple authors.
[12:15] <Davedan> twb: :) couldn't found a better one.
[12:16] <Davedan> twb: people keep saying that postgresql is much better the mysql but I can't find decent docs for trivial operations
[12:16] <twb> Well basically PostgreSQL is designed for people who want an RDBMS.
[12:17] <twb> It's not supposed to be easy, it's supposed to be a reliable juggernaut.
[12:17] <twb> MySQL is more like sqlite, it's designed for people who just want something that looks like an RDBMS.
[12:18] <twb> So for example if you're wanting to store user comments on your blog, you probably don't really give a shit even if the whole database gets blown away.  You just want something to work quickly and easily, so you go with MySQL.
[12:18] <Davedan> interesting. I'll have to read and understand what do you mean by looks like an EDBMS
[12:18] <Davedan> RDBMS
[12:18] <twb> Well, for example, MySQL's default backend on Unix-like systems isn't ACID compliant, which is a pretty fundamental property of a database.
[12:19] <Davedan> twb: maybe I'm just looking for truble and I should stick with MYSQL because it's trivial to administer
[12:19] <twb> Basically my question would be "do you care about your data?"
[12:20] <Davedan> twb: what do you mean?
[12:20] <twb> Well, if you don't really care about it, then there's no problem using MySQL.
[12:20] <twb> So MySQL would be fine for blog comments, but not for payroll.
[12:21] <twb> Admittedly, my opinion is a little biased.
[12:21] <Davedan> twb: why is it biased? do you use postgresql?
[12:21] <twb> I concede that someone who knows MySQL well, can probably tweak it into behaving what I would consider "properly".
[12:22] <Davedan> but I guess I'll need to teak postgresql as well
[12:22] <twb> Davedan: actually, for my own toy applications I usually use sqlite.  But if I had to deploy and maintain a production database, and FOSS was a consideration, I'd pick postgres over mysql.
[12:22] <Davedan> or, is it behave reliably by default?
[12:22] <twb> If you want second opinions, you can try #postgres and #mysql
[12:23] <Davedan> thanks
[12:23] <Davedan> you helped alot
[12:23] <twb> Don't tell anyone.
[12:23] <twb> I have a reputation for surliness to maintain
[12:24] <Davedan> hehe
[14:04] <SpaceBass> since my upgrade to 9.04 server, I'm having a heck of a time getting any file sharing working again...afp, smb and sshfs are all broken
[14:16] <LyonJT> How can i upgrade my server to 9.04?
[14:16] <LyonJT> what would the command be
[14:17] <SpaceBass> LyonJT, not to sound like a smartass, but did you check the ubuntu site? its there
[14:17] <SpaceBass> http://www.ubuntu.com/getubuntu/upgrading
[14:24] <twb> You did well to break sshfs
[14:35] <SpaceBass> I prefer afp - but sshfs is at least a standby
[14:39] <LyonJT> Lol SpaceBass no worries! thank you!
[14:40] <SpaceBass> good luck :D
[14:47] <andol> ttx: Regarding the missing /var/log/dist-upgrade content you comment on in bug #365962. It seems like something plaguing pretty much all 8.10->9.04 bugs.
[14:48] <ttx> andol: interesting. I have been suspecting Launchpad recent slowness aborting some requests
[14:50] <andol> ttx: Been looking at a lot of new bugs related to the server team. Can't really find any 8.10->9.04 which has a complete VarLogDistupgradeDATE.gz. They are all "empty" gzip files at 40bytes.
[14:56] <ttx> andol: so maybe there is something broken in the upgrade bug filing stuff.
[14:57] <andol> ttx: Yeah, that was kind of what I was getting at :) Just don't really know it well enough to know where to look...
[14:58] <ttx> andol: yeah, me neither... Couldn't really find a bug about it but maybe I look at the wrong place. I guess someone on #ubuntu-bugs might confirm/know about it.
[15:01] <andol> ttx: I mentioned it in #ubuntu-bugs. All I got was someone suspecting it as an apport issue.
[15:01] <ttx> andol: on Monday there will be more people around, I guess
[15:04] <andol> ttx: Yeah, I guess so. For now I'll see if I can dig anything more up self. Is it ok to "ping" you if I discover something new?
[15:04] <ttx> andol: sure :)
[15:05] <ttx> andol: I'd say it's either something temporary due to high load on Ubuntu infra or a bug in apport
[15:13] <andol> ttx: Ohh well, at least there are logs generated under /var/log/dist-upgrade/. I had this nagging feeling to confirm it before myself asking follow up question to people on providing that content :)
[15:20] <PhotoJim> :( my server fails to reboot after the jaunty upgrade.  can't mount md0 (RAID1).  grub is munged too, the 2.6.28 kernel isn't in the menu and the second of the two kernels listed is missing, which implies the update-grub didn't work right or wasn't run.  advice?
[15:37] <Hecate> restore the backup you hopefully made before the upgrade.
[15:37] <Hecate> ^^ PhotoJim
[15:38] <Hecate> ^help
[15:42] <Hecate> PhotoJim, did you create a backup?
[15:43] <PhotoJim> No, it's a home server.  the data is safely backed up.  if worse came to worst I would have to reinstall the OS but my data is safe.
[15:43] <Hecate> do you have live cd at hand?
[15:43] <PhotoJim> I'm downloading one as we speak.
[15:44] <Hecate> make sure it's the same architecture as the server's os.
[15:44] <PhotoJim> Yup, that's why I had to download one.  The one I already had was amd64 but this server is i386.
[15:44] <Hecate> 32bit server + 64bit live might work after all.
[15:44] <Hecate> but im not quite sure-
[15:45] <PhotoJim> PIII, so no :)
[15:45] <Hecate> definitely not ;)
[15:48] <PhotoJim> this will be awhile (5 Mb/s broadband, local-to-ISP mirror thankfully) so I'm going to shower & get dressed, but I'll stay in channel in case anyone has advice.  plan is to boot off the live CD, open a shell and chroot into the / partition if mdadm can see it.
[15:48] <Hecate> just do an update-grub after the chroot. that's my main idea.
[15:49] <Hecate> if you're unlucky the upgrade messed up your initramfs-modules config as well, so make sure you have a look at that one too.
[15:49] <a|wen> i'm trying to test the hardy-proposed package of ubuntu-vm-builder in a hardy chroot, but i keep getting a "/usr/bin/ubuntu-vm-builder: line 1053: vm_target_conversion: command not found" ... is it me doing something completely wrong; can't seem to find which package the file should belong to?
[15:49] <Hecate> you will need to recreate the initramfs, in case you made any changes
[15:54] <LyonJT> Is there a java room?
[15:55] <marshall> probably
[16:01] <furythor> Hello I want to set up an home server from old computer, now I am wondering that since this is first time that I am setting up such servers that how I should partition the hard drives
[16:02] <SpaceBass> furythor, what kind of stuff do you want to do with the serveR?
[16:03] <SpaceBass> others may disagree, but I dont think partitioning is that important... its nice to have the OS and data seperate and having user directories seperate is also slick...but at the end of the day, if its one disk and that disk fails, then partitions don't really matter
[16:04] <furythor> well, I have 3 hard drives, I can stash those all to be / so, I was thinking that how I should arrange those to partition table
[16:04] <furythor> if I would have just one, then it would not be so important as this is more "educational" project
[16:05] <furythor> typos in earlier, should have been "can't" instead of "can"
[16:06] <Hecate> how about using a software raid1? you'll learn a lot and it increases data security.
[16:07] <furythor> aaw, hardly not an option as all three disks are different from each other (20gbytes +30gbytes +40gbytes)
[16:08] <furythor> and speed is highly likely to vary
[16:08] <furythor> well, basic thing I am just thinking is that what is default location for www files for apache ?
[16:09] <Hecate> /var/www i think
[16:09] <Hecate> check your apache config
[16:09] <PhotoJim> Hecate: thanks, good advice.  the image is downloaded.  I'll go tinker with the server shortly, after I feed myself. :)
[16:10] <furythor> since I am thinking that I propably should put one hard drive for / and then two other hard disks for actual server files, and another for backups ...
[16:10] <PhotoJim> furythor: I'm a strong proponent of separating your served data from the OS.  my server has separate hard disks for the OS and my served data.  if I have a major system problem (see: above :) ) I can just remove my data drives and put them in another system (and of course I have a backup anyway).  otherwise I don't think it's a big matter.
[16:11] <PhotoJim> furythor: I have two identical drives in RAID1 for my served data, and then a different brand but identical-sized drive in a FireWire enclosure onto which I can put backups
[16:11] <furythor> Well, when I got € or $ decent hardware I will consider that, before it, I need to manage with hardware I got for free...
[16:12] <PhotoJim> furythor: the different brand thing is mostly just paranoia, but if Western Digital had a bad component, and I had 3 WD drives, potentially all three could fail.  so it's good practice to have a different drive.  luckily I found a Seagate that has precisely the same geometry, so it's identical in size.
[16:12] <furythor> yeah, lucky you ...
[16:13] <PhotoJim> it all depends on how important your data is, I suppose.  disk drives are not costly anymore.  under $200/150 euros you can have a really capable system with lots of space and proper backups.
[16:14] <furythor> well, for student with lowest incomes everything is expensive, so ...
[16:14] <PhotoJim> then don't do RAID.  have a single drive in your server.  and have another drive in an enclosure.  get modest-sized drives you can get for dirt cheap, or free.
[16:14] <PhotoJim> 120-gig drives are nearly giveaway items now.
[16:15] <furythor> Yeah, I know
[16:18] <Hecate> furythor, second suggestion. use the 20 + 30 gig drives as a raid1 (since they're probably really, really slow) and the 40 gig one as a backup drive (my favourite backup tool: dar).
[16:18] <Hecate> *radi0
[16:18] <Hecate> *raid0
[16:19] <Hecate> this will raise the chance of data loss to the power of 2 of the "usual" chance, but that's what backups are good for ;)
[16:21] <Hecate> thinking of it: it's not the power of 2, but just doubled ...
[16:40] <arrrghhh> foxbuntu, does myth transcode video?
[17:17] <furythor> and CD goes to print ...
[17:55] <furythor> Does ubuntu server put all files into /var folder ?
[17:57] <a|wen> furythor: eh, what do you mean by "all files"?
[18:11] <furythor> a|wen typo, I did mean that "what kind" files server system puts to /srv folder
[18:16] <a|wen> furythor: http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM
[18:17] <a|wen> furythor: afaik no packages puts any files in that directory
[18:32] <furythor> okay
[18:32] <furythor> sorry for delay I have been working on server machine as it set it self up
[18:33] <furythor> Question, how relay able would ubuntu server would be for being used LAN printer and filehosting etc ?
[18:51] <lamont> I wonder how many more times that bug will get filed...
[18:54] <Nafallo> lamont: until you fix it :-)
[18:54]  * Nafallo looks at the bug
[18:56] <lamont> Nafallo: actually, it's several different issues, some of them user-error-leads-to-broken-upgrade, and maybe some dpkg/debconf issues thrown at the wrong package, all with similar subjects.
[18:56] <lamont> thanks apport
[18:57] <Nafallo> lamont: yeah. when I looked at the bug I realise I can't really bug you about it :-P
[18:57] <Nafallo> which is a shame!
[20:25] <furythor> Does anyone have information where does drupal 5 files go when installed via apt-get install ?
[20:25] <eleftherios> are there any tutorials for setting up an smtp/imap/smtp-auth with SSL on 9.04 (using dovecot-postfix) ?
[20:26] <lamont> furythor: dpkg -L the package, would be the best bet - or see the FHS
[20:37] <furythor> Yeah I found it, now I am wondering that how to setup "users" for apache so I got few different websites under /var/www
[20:42] <jgjones> Hello - I was attempting to install clamav on a server - sudo apt-get install clamav - this include the clamav-freshclam.
[20:42] <jgjones> During installation, when it get to the Setting up clamav-freshclam part - it then ask for a password
[20:42] <jgjones> and at this point the installation goes no further and I'm not able to install clamav at all.
[20:43] <jgjones> I have no idea what is the password supposed to be (if you type, it shows up in clear and doesn't do anything really)
[20:43] <ScottK> Can you pastebin the exact text?
[20:44] <jgjones> I'm including the clamav PPA here to see if it would make a difference (none)
[20:44] <jgjones> Setting up clamav-freshclam (0.95.1+dfsg-0ubuntu1~hardy1~ppa5) ...
[20:44] <jgjones>  * Starting ClamAV virus database updater freshclam
[20:44] <jgjones> Password:
[20:44] <jgjones> at that point - it waits.
[20:45] <ScottK> Weird
[20:46] <jgjones> typing doesn't really do anything - just show in clear and hitting enter just goes to next line and still continue to wait.
[20:46] <ScottK> Are any of the mount points on the server remote?
[20:46] <ScottK> I'm firing up my hardy chroot to try it here.
[20:46] <jgjones> This is a server on a Gandi virtual server (gandi.net)
[20:48] <ScottK> What did you type to install it?
[20:48] <jgjones> sudo apt-get install clamav
[20:48]  * ScottK tries
[20:49] <jgjones> Would AppArmor have something to do with this?
[20:49] <ScottK> No.
[20:50] <ScottK> I suspect it's something to do with Gandi's setup and you'll have to talk to them.
[20:50] <jgjones> figured.
[20:50] <ScottK> If it was apparmor it just wouldn't work.  It doesn't have anything to do with passwords.
[20:51] <ScottK> jgjones: Works fine here.  Talk to gandi.
[20:51] <jgjones> OK thanks for your help, I'll do that.
[20:52] <jgjones> rather annoying though.
[21:07] <JordiGH> What's an acceptable CPU load for a web server?
[21:08] <eleftherios> quite impressive, no configuration needed for a full blown mail system with postfix-dovecot
[21:08] <eleftherios> I was looking for things that need to be configured
[21:08] <eleftherios> it turns out it plays out of the box!
[21:08] <eleftherios> imaps, smtp-auth with TLS
[21:08] <eleftherios> impressive
[21:09] <JordiGH> My webserver is almost constantly at 50%-60% CPU, occasionally spikes to 100% for five, ten minutes, got MaxClients errors in my apache logs...
[21:19] <furythor> JordiGH that sounds like that someone is using way too much of your webserver
[21:19] <furythor> How wide audience you have intented for your webserver ?
[21:22] <JordiGH> furythor: It's relatively small...
[21:22] <JordiGH> furythor: http://everything2.com
[21:26] <JordiGH> The Googlebot is about 40% of our page requests almost all the time. :-/
[21:26] <JordiGH> (according to access.log)
[21:30] <furythor> yeah, that can be annoyance
[21:31] <furythor> is it "local area network" only webserver or someone outside your LAN using it =
[21:31] <JordiGH> It's being used from the outside, our frontend is using pound to query this server.
[21:31] <JordiGH> To accesss.
[21:33] <furythor> hmm, what kind of hardware server machine has ?
[21:33] <furythor> like CPU ram etc ?
[21:34] <JordiGH> Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz
[21:34] <JordiGH> Mem:          1010        319        691
[21:36] <furythor> weird
[21:36] <furythor> and then it is running like 60% in many occasions ?
[21:37] <JordiGH> All the time, pretty much.
[21:37] <JordiGH> Sometimes spikes higher.
[21:37] <furythor> how much you got swap and ram ?
[21:37] <JordiGH> I showed you the RAM, one gig. Three gigs of swap, hardly ever used.
[21:38] <furythor> hmm, and how much you said googlebot takes performance ?
[21:39] <JordiGH> Performance I don't know how to check.
[21:39] <JordiGH> But my access.log shows that Googlebot is a little under 40% of my page requests.
[21:40] <furythor> Yeah, because it sounds that google is constantly checking site for some reason
[21:40] <JordiGH> Well, it's got pretty dynamic content.
[21:40] <furythor> so either people look your site via google, or you just end to that "inspected often" group
[21:41] <PhotoJim> any reason why update-grub would ignore a kernel installed in /boot ?  I had a boot problem, booted into live CD, chrooted in.  had some issues with UUIDs, corrected.  but update-grub seems to be ignoring the 2.6.28 kernel that the jaunty upgrade installed.
[21:41] <JordiGH> We've got about 1,000 regular users, 6,000 new accounts per month, give or take.
[21:41] <furythor> yeah, and google propably check always when someone looks for site
[21:41] <furythor> not surprise then
[21:41] <furythor> since google keeps its cache fairly up to date ... so ...
[21:42] <furythor> I don't know if there is much that you can do, and you still got little room for growth
[22:34] <furythor> How complex is to define virtual hosts for my webserver that is on LAN
[22:34] <furythor> so that there can be multiple websites, which each have own content
[22:39] <giovani> furythor: not complex at all, presuming you're using apache, read the apache docs, they're very complete
[22:42] <PhotoJim> yup, very easy.
[22:49] <PhotoJim> unfortunately USB 2.0 is still somewhat jiggered.  if you have USB 1.1 onboard and a PCI USB 2.0 card, you get USB 1.1 speeds on all ports.
[22:50] <ahe> what backup solutions can you recommend for remote backup of servers and virtual machines (mainly user data and database contents)?
[22:50] <giovani> ahe: depends on the quantity of data, how much is being changed between backups, etc
[22:51] <giovani> ahe: rsync is a common choice for backups, it can run in a very efficient mode for data that doesn't change much
[22:51] <PhotoJim> rsync is good for local backups too.
[22:51] <PhotoJim> it takes a long time to backup a terabyte, if you back up everything.
[22:51] <giovani> particularly a good choice for remote backups though, because of its compression, and file difference methods
[22:51] <PhotoJim> indeed.
[22:52] <PhotoJim> I turn the compression off for local backups, but for remote backups it'd be very useful.
[22:52] <ahe> but rsync is more a choice if you want to roll your own backup solution, right?
[22:52] <PhotoJim> versus?
[22:52] <giovani> ahe: I don't know what you mean
[22:52] <giovani> ahe: this isn't windows ... there aren't "backup products" for general backup -- that's what rsync is for
[22:52] <giovani> there are a handful of backup systems designed for network-wide stuff (i.e. to backup 100 desktops)
[22:52] <giovani> but that's not relevant to your situation
[22:53] <ahe> yeah that's more what i'm looking for but for servers
[22:53] <giovani> heh
[22:53] <giovani> rsync, trust me
[22:54] <PhotoJim> trust him.
[22:54] <ahe> so if you have lots of servers and on each you have a database and some directories you want to backup
[22:54] <giovani> yep ... backup is not simple
[22:54] <giovani> even in a windows pre-made product world
[22:54] <giovani> database backups are tricky, everywhere
[22:54] <ahe> yeah but isn't there something that incorporates rsync?
[22:55] <andol> ahe: Well, rsnapshot is a nice wrapper around rsync.
[22:55] <ahe> basically i'm just looking for a more or less standard way of making backups of virtual appliances i want to create
[22:55] <PhotoJim> rsync is not hard to use.
[22:55] <PhotoJim> you can play with it for an hour or two and learn a ton about it.
[22:55] <andol> PhotoJim: Yes, but rsync in itsef is hardly a complete backup system.
[22:55] <giovani> ahe: rsync is the standard backup tool in linux
[22:55] <PhotoJim> you can even run it in a dummy mode where it will tell you what it would do, but won't actually do it.
[22:55] <giovani> andol: there are no "complete backup systems" for all backup scenarios that I'm aware of
[22:56] <PhotoJim> andol: no, but we're talking about having a kitchen versus going to a restaurant.  if you have a kitchen, you can still eat.
[22:56] <andol> giovani: No, but there are more or less.
[22:56] <ahe> so i think it would be best to create a rsync setup for each kind of appliance
[22:56] <giovani> andol: name a few?
[22:56] <andol> giovani: Well, for example rsnapshot is more of a solution then simply using rsync, without any of your own wrapper.
[22:57] <giovani> ok ...
[22:57] <giovani> I don't really think that qualifies, but ok
[23:18] <cowmix> yeah.. I was installing python-vm-builder and when it was installing the kvm kernal mods my system crashed.. now my dpkg repo is screwed.. what's the easiest way to repair that?
[23:39] <marshall> i've installed apache, php and mysql on my jaunty desktop, php seems to be working properly with apache, but firefox asks me if I'd like to download certian php files when i try to view them