/srv/irclogs.ubuntu.com/2008/11/05/#ubuntu-server.txt

zoredachehow does quagga compare to bird?00:01
Gemini420hi there, would anyone here be able to assit with a Postfix + Dovecot + SMTP AUTH question ... ?00:06
Gemini420i am switching from Qmail to Postfix, and having issues with setting up SMTP AUTH to use the same user/passwd files as POP3/IMAP00:07
Gemini420POP3/IMAP work fine ...00:08
Gemini420ehlo?00:11
AtomicSparkSo I *think* I've figured out whats wrong with my ubuntu 8.10 server.00:42
AtomicSparkIts seeing the raid 5 + online spare wrong. Its saying its 320 GB (all disks) but since I have an online spare, i really only should be getting ~298.00:42
AtomicSparkSo its creating the partition too large. If thats possible.00:42
AtomicSparkMight be a hardware issue too.00:43
AtomicSparkTo test this, I'm going to use a RAID 10 (1 + 0) instead. Size is not an issue and this should give me better performance/reliablity00:43
AtomicSparkYes. Its showing my size correctly now. 3x80=240. I hope this works. :P00:52
r00tintheb0xI am so elite.01:04
r00tintheb0x:O01:04
r00tintheb0xBecause of my name.01:04
AtomicSparkYea. No.01:07
AtomicSpark!leet01:07
ubottu1337 i5 nigh-inc0mpr3h3n5ib13 70 u5 n00bs, 4nd n0b0dy c4r35 if UR 4 1337 h4x0r. Giv3 i7 4 r357.01:07
r00tintheb0xYeah I am.01:17
r00tintheb0x1337 h4x0r01:17
r00tintheb0xIm going to leagaly change my name to "ub3t 1337 h4x0r"01:17
ajmitchk01:18
r00tintheb0xty01:19
r00tintheb0xkthxbye01:19
AtomicSparkInteresting.01:20
r00tintheb0xIm joking guys ad gals.01:25
r00tintheb0xHeheh01:25
r00tintheb0xand01:25
r00tintheb0x:)01:25
r00tintheb0xJust bored outta my gord.01:25
Appl3Korkhey so on my server, my index.html has flash enabled content or whatever.  But is there a way to enable the server to read that?02:32
Appl3Korkcause it says on the website FAIL02:32
Appl3KorkFAIL (the browser should render some flash content, not this).02:32
Appl3Korkthat's what it says02:32
mynouswould disk speed be a reason for vsftpd to effect rtorrent upload speeds even if both are limited to 1/4 the available bandwidth?03:03
mynouse.g. downloading viz vsftpd causes rtorrent uploads on the same server drop to almost nil03:04
=== cateye is now known as CaTeYe
benlakeanyone running IET?04:36
framstaghuhu08:03
framstagI want to add a new server application to ubuntu - where should I start?08:04
framstag(adding to the repositories)08:04
_rubengetting it into debian is probably best .. check debian's new maintainer guide .. in what stage is that application? source tarball? .deb package?08:05
framstagI have no debian system running08:06
framstagstage: final release february this year08:06
framstagsource code and documentation has been already publisjed:08:07
framstaghttp://fex.rus.uni-stuttgart.de/08:07
framstagbut no distribution specific package08:08
framstagfor I am using ubuntu myself, I thought it would be best to start with it08:08
krautmoin08:08
_rubenframstag: well .. making a proper .deb package for it will be the next step i think .. you should join #ubuntu-motu, those are the packaging gurus and know the steps to take to get your package included in either debian or ubuntu or both08:17
framstagahh... ok, I see,  wrong channel :-)08:17
dataflow=]08:17
framstagthanks for the hint08:19
fsbanohi08:23
fsbanogood morning for all08:23
dataflowmorning08:23
dataflowwhats on the morning agenda?08:24
fsbanoisn't running ubuntu-server 8.10 with dom0?08:24
fsbanoworking..08:24
fsbanoXen08:25
sorenfsbano: The Ubuntu server kernel in 2.6.27 can function as a Xen domU. Not dom0.08:39
sorenfor that, you need the Xen kernel image.08:39
soren....which I can't seem to find anymore.08:40
* soren wonders..08:40
sorenDarn it. It appears to have been NBS'ed.08:41
fsbanosoren : okay08:41
sorenYou can grab it from Hardy, though, and install it in Intrepid.08:42
fsbanodo you know kvm?08:42
uvirtbotNew bug: #293941 in samba (main) "distribution upgrade fails on samba (dup-of: 293539)" [Undecided,New] https://launchpad.net/bugs/29394108:42
sorenfsbano: Yes.08:42
sorenfsbano: If you want the Xen kernel from Hardy: http://packages.ubuntu.com/hardy/linux-image-2.6.24-21-xen08:43
fsbanoi will go get it08:44
=== lamont` is now known as lamont
Abracadabr4hi /all09:11
KingOfDosI've got this problem with a ubuntu server, after updating from 8.04 to 8.10 -> http://dev.kingofdos.com/tmp/ubuntu810-serverproblem.jpg10:59
KingOfDosThe device just won't boot further then that point10:59
KingOfDosWhen i press ctrl+alt+del there, after about 30 seconds the console will show up. When I login there I can see that i'm missing "at least" the /home and the /var/log paths.11:01
KingOfDosWhen I start the recovery mode I can mount some disks, and do other stuff. But I've got no idea where to start searching on that server11:02
incidenceKingOfDos, Is it AMD64?11:02
incidenceI mean, x86_64, https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/841411:02
uvirtbotLaunchpad bug 8414 in util-linux "AMD64: Cannot access the Hardware Clock via any known method." [Medium,Invalid]11:02
sorenI doubt that's the big problem here.11:03
sorenKingOfDos: It's booting 2.6.27-7-server?11:04
KingOfDosNope. It's an old server. HP Procurve DL380 (G2 i beleave), with Intel P3 (i beleave 1300mhz) as CPU11:04
KingOfDossoren: how can i check what kernel it's booting? (yes i'm not "that" good with linux, most problems i can solve myself, but this is a little hard for me ;) )11:06
Deepsuname -r11:06
KingOfDoswith the recoverymode @ livecd, after mounting the /dev/cciiss/c0d0p1 device (the /boot) i see that there is the 2.6.27-7-server kernel.11:08
sorenKingOfDos: Reboot it and watch :)11:08
sorenKingOfDos: Does it use lilo or grub?11:08
KingOfDosindeed, the 2.6.27-7-server is used as kernel when booting the system11:10
KingOfDosit's a almost default server (so it uses grub, no lilo). the server is used for OpenVPN and Zabbix11:11
KingOfDoswhen i'll boot the 2.6.24-16-server it's working normal, as i'm used to be.11:17
sorenKingOfDos: For now, just use that, then. I'd like it if you could open a but about your problem, though.11:25
KingOfDossoren: what do you think is good to do about the bug? post the picture @ launchpad, including that it's happening with the 2.6.27-7-server kernel and not on the 2.6.24-16-server?11:37
sorenKingOfDos: that's a good start.11:37
sorenKingOfDos: Also, attach the output of "lspci -vnn".11:37
KingOfDosor what do you suggest? cause i can't find any "logs" of that bug at my server (just a logical something. because the /var/log is not mounted with the 2.6.27-7-server kernel)11:38
KingOfDosok11:38
KingOfDosyou've got other suggestions of things that i can post?11:38
sorenKingOfDos: Not off the top of my head, no.11:40
KingOfDosOk, i will add a case in a few hour (don't know any passwords from my head, needs to be generated with some secure tool, at home).11:44
KingOfDosThanks for your support so far :)11:45
byte_slavehello everyone!11:52
byte_slavehow can  i disable the "automatic upgrades" of my ubuntu server box? i ask it bc some time ago when using v8.04 and without doing nothing the box has upgraded itself from 8.04 version to the available 8.10 intrepid ibex RC version available at that date11:53
sorena) Ubuntu server has no automatic upgrade12:04
sorenb) There's no such thing as automatic upgrades from 8.04 to 8.10, not even on the desktop.12:04
sorenYou need to take very explicit steps to perform that upgrade.12:05
_rubenautomated upgrade .. nasty12:15
sorenDoes not exist.12:15
sorenbyte_slave: You probably put intrepid in your sources.list and did and apt-get upgrade at some point.12:16
sorenbyte_slave: *Nothing* in the Ubuntu repository will automatically do a dist-upgrade from Hardy to Intrepid. Even update-manager needs special options to even *offer* the option to upgrade  (since Hardy is an LTS).12:16
byte_slavehummm.... maybe i put that in the sources.list12:17
byte_slavebecause i remember was a very strange behaviour and i had to format the box and reinstall all again12:17
_rubenand upgrading to an rc usualy requires even more effort .. unless the edit-sources.list-approach is taken .. which is nasty in itself12:17
_rubenbyte_slave: so much for "doing nothing" then ;)12:18
byte_slave:(12:19
byte_slavethanks for the explanation guys!12:20
nodebo1under gentoo i used to do make menuconfig and select modules to be builtin or whatever myself... does ubuntu do anything similiar during apt-get13:42
=== nodebo1 is now known as nodeboy_999
=== CaTeYe is now known as cateye
nodeboy_999the problem is i have two kernels (same version) on the same hardware under 2 different version of ubuntu 8.04 nothing from lsmod but a different startup sequence 1 starts the other dosen't both appear to be using different modules13:51
nodeboy_999does apt-get <linux-kernel> provide a static or dynamic kernel image for any given kernel?14:06
uvirtbotNew bug: #294148 in php5 (main) "move_uploaded_file does not set right permissions (ignores umask)" [Undecided,New] https://launchpad.net/bugs/29414814:12
=== MenZa is now known as MenZa_Aries
uvirtbotNew bug: #294179 in php5 (main) "ALERT - canary mismatch on efree() - heap overflow detected" [Undecided,New] https://launchpad.net/bugs/29417915:11
=== MenZa_Aries is now known as MenZa
benlakeanyone use IET?16:15
nxvlIET?16:20
benlakeiscsi enterprise target16:21
josh_____how do i use samba?16:40
josh_____how do i use samba?16:48
domasby using it!16:48
josh_____newbie16:50
josh_____i just installed it using tasksel16:50
josh_____ok, maybe this is phrased better.  How do i set samba up?16:54
benlakehttp://us1.samba.org/samba/docs/using_samba/toc.html16:54
josh_____i just want to share files between my mac and ubuntu16:56
benlakedid you even look at that link?16:56
benlakeare you running the server edition?16:57
josh_____yes,  i found a similar link, before i posted here. the one you posted is much easier to read, but still overwelling16:58
josh_____no, basic ubuntu16:58
benlakewhy are you asking this in server?16:58
benlakethe normal desktop has GUIs for sharing your stuff16:58
josh_____someone told me that i need samba to share file, and lamp to run my website16:59
benlakeif you are running ubuntu desktop, samba is in the background17:00
benlakejust use the GUI to setup shares17:00
yann2josh_____ > try to read some documentations first, and then come back with specific questions :)17:00
josh_____ok,  how do i do that?17:00
yann2don't expect someone to make a 3 hours speech to explain you step by step how to setup a complete web server ;)17:01
benlakedude if you can't click around on an interface and discover that or google "file sharing ubuntu" then this is really the wrong place to ask17:01
benlakewe are like jesus, you have to do half the work17:02
benlakethe difference being we then actually help.17:02
josh_____i have been reading on it.  I can only see 3/4ths of my screen because its hooked up to my tv because my monitor has not came in yet17:03
=== cateye is now known as CaTeYe
nxvlmathiaz: where was the list of merges for the ubuntu-server team?17:22
mathiaznxvl: I haven't created a list yet17:22
mathiaznxvl: for now, merges.ubuntu.com is the best place to look at :)17:22
nxvlok17:22
nxvl:D17:22
nxvlbut had a tool that created such a list17:22
mathiaznxvl: https://code.launchpad.net/~mathiaz/+junk/get-merges17:23
nxvlthat one17:23
nxvl\o/17:23
nxvlthank you17:24
zulheh apache2 was taken care of this morning17:26
rhalffhi17:47
rhalffug in the documentation: http://doc.ubuntu.com/ubuntu/serverguide/C/jeos-and-vmbuilder.html#jeos-bridging17:47
rhalffsource network='br0' should be source bridge='br0'17:47
unit3Hey all. Just upgraded to intrepid, and apparently do-release-upgrade thought I needed consolekit and dbus, which are now spamming my logs.17:49
unit3Is there any reason to keep those?17:49
ScottKunit3: If you remove them, make sure you see if the system wants to remove anything else.  If not, it's probably fine.17:53
unit3Ok, I just wasn't sure if there was server daemons or hardware detection now doing stuff with dbus.17:53
unit3If there isn't... then I'm not really sure why the upgrader thinks a server install needs those packages.17:54
benlakeunit3: my upgrade specifically removed consolekit, odd17:54
unit3Weird.17:54
unit3also, is anyone else getting a bunch of apparmor spam about clamd?17:54
ScottKunit3: Are you using a TCP socket for it?17:55
unit3lemme check17:55
unit3yes.17:55
unit3but that's not what it's complaining about.17:55
unit3it's complaining about clamd trying to get read access to files under /etc/resolvconf17:56
unit3which it isn't allowed to do in the default apparmor profile.17:56
ScottKYes.  That's a different issue.17:56
ScottKThere's an apparmor update in intrepid-proposed that fixes that.17:56
unit3Oh ok. I'll grab that. :)17:56
ScottKunit3: After you install it, please comment in https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/286080 about if it fixes your problem or not.17:59
uvirtbotLaunchpad bug 286080 in apparmor "cups fails to print to network printer if resolvconf package is installed (apparmor)" [Undecided,Fix committed]17:59
unit3ok17:59
unit3hrm... gulus mirror doesn't have it in proposed. I s'pose I can use prevu to build it from launchpad?18:00
ScottKLet me get you a link.18:00
unit3sure.18:00
unit3I'm on amd64.18:00
ScottKunit3: It was just uploaded, so it's not built yet.18:01
ScottKunit3: If you look at https://launchpad.net/ubuntu/intrepid/+source/apparmor/2.3+1289-0ubuntu4.1 once amd64 says done or accepted you can click on the link and it'll lead you to the .deb18:01
ScottKIIRC it's two clicks from there.18:01
unit3great, thanks.18:02
BUGabundohi18:07
BUGabundodoes ubuntu handle soft raid 10 ?18:08
benlakethe short answer is yes18:10
BUGabundothanks18:10
benlakeman md18:11
BUGabundobenlake: long answer?18:11
BUGabundosome wiki link?18:11
benlakeBUGabundo: since you are in the server channel I'll assume you don't need GUIs18:11
BUGabundoits not for me18:12
BUGabundoa collegue asked me18:12
BUGabundoI have no special needs for GUI, don't worry18:12
BUGabundo$ man md18:12
BUGabundoNo manual entry for md18:12
BUGabundoLOLOL18:12
BUGabundoMAN won't help much there benlake18:12
unit3mdadm actually is what you want to look at.18:13
benlakeyou obviously did that on desktop18:13
unit3And also the wikipedia on Linux's raid10 implementation.18:13
BUGabundoeheh18:13
benlakeunit3: there is no actually about that statement18:13
unit3benlake: well, for someone who doesn't already know the md system inside and out, I'd recommend looking at mdadm before md.18:14
benlakeman md will lead you to mdadm after explaining what is supported and how18:14
unit3Ok, fair enough. :)18:14
benlakeI would disagree18:14
BUGabundohttp://manpages.ubuntu.com/manpages/intrepid/en/man4/md.html18:14
benlakeI don't want to give people programs until they have an idea of what they are trying to do with them18:14
BUGabundoLOL18:14
unit3benlake: true. :)18:15
BUGabundoI'll fw him this info18:15
BUGabundoany more tips?18:15
benlakeBUGabundo: something tells me there are glazed eyes in their future18:15
BUGabundowhy?18:15
unit3BUGabundo: I'd still suggest the wikipedia page about nonstandard raid levels, as it explains the linux raid10 options in more detail (or at least more visual form): http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_1018:16
benlakewell you're colleague couldn't googled "ubuntu software raid" to get an idea of what the situation is18:16
benlakeunit3: you can build the 10 yourself too :)18:17
benlakeunit3: not sure of the pros and cons of that though18:17
unit3benlake: yeah, you can do a traditional stack of 1+0 or 0+1...18:17
unit3generally I find it's all cons and no pros, but that's just IMO. ;)18:17
uvirtbotNew bug: #294277 in tomcat6 (main) "Tomcat 6 missing directory "Catalina" in /etc/tomcat6 - so impossible to deploy webapp" [Undecided,New] https://launchpad.net/bugs/29427718:47
pjman80Hello All - I'm having a very odd network problem and I'm looking for some advice.18:50
pjman80I have a server (running Ubuntu 8.04 Server) on an Internet facing DMZ. At "random" times the server becomes unreachable from our LAN and the Internet. However the server is reachable from other servers on this DMZ. The server is reachable from the LAN and Internet if I generate traffic between the problem server and another machine on the DMZ. There are no typos in the network settings (SubnetMask, DefaultGateway, etc.). Our fir18:50
pjman80"The server is sending the reset packet, meaning that it does not want to accept any connection at that time for some reason. The firewall is just forwarding those back to the client."18:51
pjman80I've viewed all the logs in /var/log/ and there is nothing worthwhile showing up. I do see some lines in /var/log/messages that have "-- MARK --" but I do not know what these indicate.18:51
pjman80I've tried listening for all incoming connections from the LAN source IP with tcpdump. tcpdump isn't showing any of these incoming attempts while we are experiencing the problem.18:51
pjman80Anyone have ideas?18:51
zoredacheI can tell you the '-- mark --' is just a way for you to know that your syslog server hasn't crashed18:53
pjman80good to know :-)18:54
zoopsterpjman80: good one18:54
zoopsterpjman80 - let me make sure I am clear - if you even ping from the "problem server" to another ip address the connection "wakes up"?18:56
zoredachepjman80: what services are you running?18:56
bn43Hi I need to understand raid 10 on a dell 2950 III18:57
pjman80during the time I can't reach the server from our internal LAN I'm able to ping the server from other servers on the DMZ. After I do this, usually I'm then able to reach it again from the LAN.18:57
pjman80services = ssh server, tomcat18:57
bn43the server has got an internal PERC raid 6/i controller card18:58
bn43has anyone worked with this server?18:58
pjman80and mysql18:58
pjman80ntp as well. I think that's it. So it's ssh server, tomcat, mysql and ntp18:59
zoredachebn43: perhaps you should tell us what you don't understand18:59
zoredachepjman80: I would almost be tempted to suggest that for some reason something isn't responding to ARP requests...19:00
bn43um ok - I have been using software raid before with LVM19:00
unit3ScottK: just installed that new apparmor package, and got a bunch more spam about clamd.19:00
bn43what I understand now is that the raid card will control the raid19:00
unit3So it doesn't appear to have fixed my issue.19:00
unit3I'll update the bug on launchpad.19:01
bn43so ubuntu will see the disks in raid format upon installation right?19:01
ScottKunit3: Is it tied to resolvconf or something else19:01
zoredachebn43: no, ubuntu will just see a single disk19:01
unit3ScottK: it's the same resolvconf error I was seeing before.19:01
ScottKIf it's about clamd, I think we have a different bug on that already.19:01
bn43yeah sorry thats what I meant!19:01
ScottKjdstrand: ^^^19:01
ScottKunit3: I'd suggest discuss it with jdstrand as he prepared that update.19:02
unit3ok.19:02
bn43so I was reading in wikipedia that raid10 is not advised but I've been told to set it up19:02
unit3bn43: where does it say it's not advised? I don't know of any issues with it.19:02
unit3It's worked rather well for me for years now. :)19:02
jdstrandunit3: please post your kern.log in the bug and ping me19:02
zoredachepjman80: when the failure happens, I would be tempted to look at the arp tables on system, and your firewall perhaps.19:03
bn43apparently if one disk fails and is not replaced and another disk goes, the whole array goes19:03
unit3jdstrand: ok, 286080?19:03
bn43everything is lost19:03
unit3bn43: well yes... if you have two disks fail, and only two levels of redundancy then yes, you'll lose data.19:03
pjman80I'm not familiar with arp. Any idea how I would look at their tables?19:03
zoredachebn43: if one disk fails your fine, if a second disk fails everything is lost19:03
unit3That falls under "expected behaviour". ;)19:03
jdstrandunit3: that would be fine19:04
zoredachebn43: but the same is true for raid5, raid1, and so on19:04
unit3bn43: and that's only if you use near/far=2. If you've got more disks, you can do near=3, or near=4, to ensure more data copies.19:04
unit3So it's up to you, really.19:04
bn43ok - I'm also trying to understand the disk setup too19:04
zoredachebn43: unless you have host-spares which will automatically take over19:04
* ScottK wants a system that will preserve my data if all the disks fail and no performance penalty.19:04
bn43I'm still understanding raid so pls bear with me19:05
zoopsterpjman80: and to add to zoredache...look at the ethx stats - this could be a cable issue or port issue19:05
bn43so on this raid card, can I setup hot-spares?19:05
zoredachepjman80: sudo arp -a19:06
bn43I'm assuming the raid card controls hot-spares19:06
zoredachebn43: I am not certain with a perc6, I think I have perc5s...19:06
pjman80zoopster: zoredache: Thanks - I'll look into that19:07
bn43perc5s's allow for that?19:07
zoredachebn43: the system probably came with a set of docs that is somewhat ok...19:07
bn43ok I'll look into that19:07
zoredachebn43: I don't think so...  I have never wanted a hot-spare on a server...19:08
bn43zoredache: have the server for some time so just want to learn how to do it :-)19:08
bn43Is there a howto for raid10 on ubuntu?19:09
zoredacheI figure after the first dirve fails, I will replace it as soon as possible, and that I will have good backups, so I can restore if the second disk fails19:09
unit3bn43: there's docs, but the mostly concern software raid, which won't apply if you're using a hardware raid controller.19:09
bn43and how is the latest release (8.10) for a working environment?19:09
unit3So far I like it on my server, just tracking down some minor apparmor issues.19:10
Deepsbn43: it's just been released. same logic applies to ubuntu releases as does to all major software releases19:10
unit3aww.... dbus/consolekit are deps for avahi... so I've got to give up service discovery if I want consolekit to shut up in my logs. :(19:11
bn43Deeps: so what do you guys use? - version?19:11
unit3oh nice, and now console-kit-daemon is just segfaulting in my logs rather than complaining about org.freedesktop.19:11
Deepsbn43: depends on the importance of the server19:12
zoredachebn43: I suspect I would stick to an LTS for servers, unless you really needed something recent.  But that is mostly because I don't like running updates ever 6 months.19:12
Deepsdebian and 8.04 are what i use19:12
jdstrandunit3: what is the output of 'dpkg -l|grep apparmor'19:12
jdstrand?19:12
bn43Deeps: File Servers mostly19:13
bn43Deeps: hehe - Important!19:13
unit3Yeah, you might want to stick with LTS (8.04) unless you really need something in the new release...19:14
unit3and even then, prevu is your friend. ;)19:14
bn43ok now about the disks themselves19:18
bn43If I wanted a capacity of 1.5TB on a server, how many disks do I need of what capacity for Raid10?19:19
unit3Double.19:19
unit3So you need 3TB of raw space.19:19
unit3four 1TB disks will do fine. ;)19:20
bn43wikipedia says theoretically raid10 will work with 2 disks - I'm confused about that given that the 4 is what I worked out too19:21
bn43can someone explain?19:21
zoredachebn43: raid10 on 2 disks is effectively a RAID119:21
unit3Yeah, there's just not much point to it.19:21
Deepsor RAID019:21
bn43yeah so how can it be raid10 then?19:22
Deepsunless i'm confusing RAID10 and RAID01 again19:22
Deepswhich is quite likely, ignore me19:22
zoredachebn43: perhaps they partitioned both of the drives equally, and then did raid10 accross the 4 partitions19:22
bn43ahhhh!19:22
bn43ok that makes sense19:23
unit3it wouldn't really be raid10 in logical terms, but the software/hardware would think it was.19:23
zoredachebn43: it would be a silly thing to do I suspect.  Very little practical use for it19:23
bn43thats why 'theoretical' i suppose19:23
bn43something else I need to understand about hardware raid - since the OS sees one disk, the boot sector is installed across the array right?? so any one disk can fail and the sytem will still boot?19:30
unit3In theory, yes.19:31
unit3Since the boot block will exist on 2 disks.19:31
bn43?? - please explain that - why 2 disks?19:32
zoredachebn43: I think he was assuming a raid10. The systems ability to boot would depend on the raid.19:33
bn43I'm looking at raid10 here19:33
zoredacheon the *type of* raid.19:33
unit3Oh yeah, sorry. Thought we were still talking about raid10.19:33
unit3In raid 10, the boot block would exist on the first disk, but also the disk that is a mirror of that one.19:33
unit3and the controller would know that is logical block 0.19:34
unit3so if the boot disk died, it could still retrieve the boot block from the mirror disk.19:34
bn43ok so if any one disk dies, the system will still boot as if nothing happened19:36
zoredacheaside from the warning you'll get on the boot screen that you have a degraded array19:37
bn43on my software raid1 systems, I had to manually install grub on the second disk to have that work19:38
unit3bn43: that depends on how you've got software raid setup.19:41
unit3If you set it up across the entire device, then you shouldn't have to.19:41
unit3But if you set it up on individual partitions, then yeah, you'll need to manually install the bootloader on both disks, because the bootblock isn't "inside" the raid.19:42
unit3with a hardware raid controller, it always uses the full disks, so it shouldn't be a problem.19:42
KingOfDosSomeone here a suggestion for a Hauppauge PVR-150 tv card? I just can't get any audio. Already searching/testing things for a couple of days, but it just wont work.19:43
KingOfDosThere is no /dev/radio* or /dev/audio*19:43
unit3KingOfDos: that's because the hauppauge encodes to mpeg2 in realtime, you generally pull the audio out of the mpeg2 stream you get from the device.19:44
unit3IIRC.19:44
unit3I haven't worked with one in a while, so how it's setup may have changed.19:44
bn43great - thanks to all for explaining this to me!19:44
unit3bn43: no prob.19:44
KingOfDosAh on that way. So it will be possable to grab the audio from the stream somehow.19:45
KingOfDosNice suggestion, i'll search for something usefull.19:45
unit3KingOfDos: yeah, you can pipe it through mplayer or something to demux it.19:45
unit3look on the mythtv wiki, it has lots of info about those cards.19:45
unit3KingOfDos: the ivtv wiki probably also has useful info: http://ivtvdriver.org/index.php/Main_Page19:50
KingOfDosunit3: if i'll use the "v4l2-ctl -d /dev/video0 --set-audio-input=0", i've still got no audio.19:50
unit3KingOfDos: there's a ticket about that in launchpad, is that where you've been looking before now?19:51
KingOfDoschecked with "v4l2-ctl --list-audio-inputs", and i'm sure that input 0 is Tuner 119:51
unit3First thing I'd do is try the different audio inputs just to make sure.19:51
KingOfDosI'll guess that if I use "cat /dev/video0 > somefile.mpg" the audio will also be dumped to that file?19:54
FrozenIRSSII'm trying to setup an SSL certificate in ubuntu server 8.04 for apache, and i have the cert made, and setup, but it'sg iving me a "this site uses an older, insecure version of the ssl protocol" error19:55
unit3KingOfDos: yeah, should be.19:56
unit3then if you run that file through mplayer on the cli, you should see what it detects for video and audio streams.19:56
unit3(or the properties panel in vlc will show you the same thing)19:56
zoredacheFrozenIRSSI: you might want 'SSLCipherSuite HIGH:MEDIUM' maybe19:56
FrozenIRSSIi have that in my apache directives already19:57
KingOfDosunit3: using mplayer from the CLI, i'll guess that de adevice=/dev/video0 will work then? i've also got found some nice commands for VLC (specificly for my card), so that's also another thing i can try.19:58
unit3yeah, you should be able to just point mplayer at /dev/video0.19:58
unit3either of those should be good for troubleshooting.19:59
KingOfDosand trying something from a GUI cannot be done, because it's a server (without X)19:59
unit3ahhh... well then, mplayer might give you more useful info, since vlc's more geared for its gui interface.19:59
unit3and mplayer tends to be pretty verbose by default. ;)19:59
KingOfDosi'm building an AJAX based webinterface for streamin TV to my computer and laptop (and soon a beamer). and a seperate card for the scheduled records.20:00
unit3neat. :)20:01
KingOfDosbut still, i've got found some "strange" bugs in mplayer. known since ubuntu 8.04, but so far i can see it's not fixed.20:01
unit3yeah, that's why I mentioned vlc, since I find its playback seems to be a bit better than mplayers.20:02
unit3But for testing the streams mplayer should work fine.20:02
unit3I mean, it's just mpeg2, every movie player's been able to do that forever. ;)20:02
KingOfDosi've found this bug at launchpad, can that be my problem? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/22836320:04
uvirtbotLaunchpad bug 228363 in linux "Hauppauge PVR-150 with no audio after upgrading to Hardy" [Undecided,Confirmed]20:04
=== ogra_ is now known as ogra
unit3KingOfDos: seems likely, that's the bug I was mentioning before.20:08
unit3Might want to subscribe to that bug, and mention the lspci details of the card you're having problems with.20:08
KingOfDosunit3: thanks for the suggestions so far. i'm going to subscribe to that bug, and create a new post on it, including some information (lspci, dmesg).20:19
unit3Good plan. Hopefully people involved with the kernel packages can help you track it down further.20:20
KingOfDosafther that i'll post another bug that i'd discovert this morning with the 2.6.27-7-server kernel.20:20
unit3yeah? what's it relate to, generally?20:20
KingOfDosno that's for another device20:20
KingOfDosthis old workstation with 3 TV cards is for private use, as some kind of server (apache, mysql, asterisk and more). the server with that "other" bug is at my work, something about that the kernel cannot initialize the system clock, and therefore dies/crashes.20:22
KingOfDosi'd see that there is an bug like that, but it's 64bit based. and that is happening on a 32bit server ;)20:23
unit3ahhh20:24
j0N45how do I install ubuntu-server via netinstall?20:32
j0N45I have mini.iso but I guess that installs ubuntu desktop or what exactly is the difference?20:33
andolj0N45: How well do you know your pxe? (dhcp, tftp, etc)20:34
j0N45some20:35
unit3j0N45: there's quite a few options documented on the wiki: https://help.ubuntu.com/community/Installation#Server%20and%20network%20installations20:35
unit3I'd suggest going through those, and asking again if none meet your needs.20:35
j0N45hmm okey but the mini.iso doesn't work?20:36
unit3I believe it's tailored to the desktop install, yes.20:36
unit3but you may be able to use it for one of the install methods on the wiki.20:37
j0N45ahh okey but what exactly differs if I install with mini.iso but without X?20:37
unit3Does the mini.iso give you an option to install without X? I'm not really familiar with it.20:38
unit3If it's just installing up to ubuntu-standard, then probably not a lot is different.20:38
j0N45unit3: ok thanks for all help20:40
unit3np20:40
KingOfDosj0N45: you also can try the UCK20:40
j0N45UCK?20:40
unit3http://uck.sourceforge.net/20:41
unit3ubuntu customization kit.20:41
unit3makes custom installers.20:41
j0N45looks kinda cool20:42
KingOfDosand afther that you can boot the ISO from your network, for example using PXE. there are many options/methods to create/manage ubuntu :)20:44
j0N45:-)20:45
KingOfDosi'm using puppetmaster and puppet to maintain the already installed linux env. specialy to manage the firewalls from my management panel (some home-made website), but it can be used for many things.20:46
KingOfDospuppet is some kind of tool that will change/update files from the puppetmaster. you can execute a command after you'd changed a file.20:47
j0N45yeah I've heard quite a bit about puppet20:48
j0N45seems cool20:48
FrozenIRSSIso does anyone know why i'd be getting an an insecure version of the ssl protocol error when turning on ssl for apache?20:49
* andol has an implimentation of puppet on his todo-list.20:49
KingOfDosi'm managing/manipulate/watching all my clients with puppet, zabbix, uck and some-kind of PXE env. and everything is webbased managable (for my boss, who is manager and not an IT-er).20:49
KingOfDosFrozenIRSSI: what version of ubuntu? i'll guess that your problem is based on the debian random number generator "bug"20:50
andolKingOfDos: Is that really the kind of power you want to put in the hands of a manager? :-)20:50
FrozenIRSSI8.0420:50
FrozenIRSSIserver edition20:50
FrozenIRSSIfirefox gives me "(Error code: ssl_error_ssl2_disabled)"20:51
KingOfDosandol: some basic things, yea. he claims to be IT, but he only can manage some windows stuff.20:51
unit3lol andol20:51
Nafalloandol: ooh. so you've found your way here? :-)20:52
unit3well, time to go track down some donuts. :)20:52
andolNafallo: I'm afraid so :)20:52
NafalloI'm not. iz awesomenezz20:52
KingOfDosisn't that error just generated directly from firefox, because (for example) the ssl2 is disabled at your browser?20:52
FrozenIRSSIi have no idea, that's what i'm trying to figure out... and if that's thec ase i don't understand why it's even using ssl220:54
KingOfDosquote from some website "SSL2 is disabled by default in Opera/MicroB (and also most desktop browsers such as IE and Firefox) as it's widely known to be insecure and it's continued use places the users data at risk."20:54
FrozenIRSSIi am trying to figure out how to get ubuntu se to use ssl3 like it should be20:54
KingOfDosusing the correct apache options i'll guess? ;)20:56
FrozenIRSSIas far as i can tell i AM using the correct options. i have "SSLProtocol +SSLv3 -SSLv2"20:57
ScottKFrozenIRSSI: Don't use SSLv220:58
FrozenIRSSIi would love not to, but i hvae no idea why it's even trying to use sslv220:58
FrozenIRSSIi've followed every ubuntu ssl tutorial i've seen, and i still get this same error20:58
* ScottK doesn't know much about Apache.20:59
KingOfDosi know something about apache, but not mutch about certificates. can it be possible that the cert is incorrectly generated, so apache can't use ssl3?21:00
ScottKCertificates don't know what version you have.21:01
FrozenIRSSIi'm using make-ssl-cert, as well as trying to use openssl to do manual self-signed certs... no difference21:01
KingOfDosdid you try "SSLProtocol all -SSLv2"?21:01
FrozenIRSSIjust did that one.21:02
FrozenIRSSIi found another tutorial that's -all +SSLv3 +TLSv1... didn't work either21:03
KingOfDoswhat comes at the apache error.log file after you restart the apache server?21:04
FrozenIRSSI13120:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:583:21:04
FrozenIRSSIthat's from openssl's s_client21:05
FrozenIRSSIi have no errors in apache's error log21:05
KingOfDosstrange21:05
KingOfDosThen I'll guess that my apache+ssl knowledge is to small21:08
KingOfDosWhat if you completely remove the SSLProtocol directive?21:09
FrozenIRSSIsame thing21:10
KingOfDosi've got only 3 rules (sslengine on, and one for the key, and one for the pemfile), that's all.21:10
arrrghhhhowdy.  i just upgraded my server, and now there's no network cards present!  is there anything i have to do when i swap mobos?21:13
arrrghhhi thought linux didn't really care if i swapped hardware...21:13
arrrghhhk nvm i figured it out.  what's the best tool for partitioning in the console?21:26
zoredachearrrghhh: I like cfdisk21:31
arrrghhhcan i format with it?21:32
zoredacheno, if you want to format something, you juse mkfs.ext3 or mkfs.whatever...21:33
arrrghhhhrm ok.21:34
hadscfdisk is groovy21:34
arrrghhhi just got a new 1tb hdd, and i want to use it to backup my ntfs drives so i can freakin format them to ext3 as well21:35
arrrghhhCouldn't find any package matching "cfdisk".  However, the following packages contain "cfdisk" in their description: gpart21:36
zoredacheso you use cfdisk to delete any existing partitions, and create your linux partition, then format it with mkfs.ext321:36
zoredachearrrghhh: cfdisk is most likely already installed21:36
hadscfdisk will be installed21:36
hadshads@snowman:~$ dpkg -S `which cfdisk`21:37
hadsutil-linux: /sbin/cfdisk21:37
arrrghhhit is21:37
arrrghhhbut i run it: FATAL ERROR: Cannot open disk drive.  i'm guessing it's trying to get a lock on my ROOT hdd?21:37
hadsYou'll need root permission21:38
arrrghhhah21:38
zoredachearrrghhh: cfdisk is most likely already installed21:38
arrrghhhroot permissions did it.  thanks hads.  i'm just not thinkin straight today.21:38
arrrghhhso after i make the 2 500gb partitions, i use mkfs?21:43
arrrghhhthey look good to go, i'm guessing they're not actually formatted?21:44
zoredachethey are not formatted, to format them you whould run a command like 'sudo mkfs.ext3 /dev/sdb2'21:45
arrrghhhschweet.21:46
zoredacheyou might want to set a volume lable with -L Lable.  There are lots more options if you want to tweak things man mkfs.ext321:46
arrrghhhhrm.  well it's formatting.  any guess as to why when i play music the songs stop before they're done?  is there anyway to tell that nfs is running out of bandwidth?  i haven't tried adjusting the buffers for nfs yet./21:49
arrrghhhdoes cfdisk add entries to fstab?  i'm guessing not.21:49
zoredachenope21:50
zoredachearrrghhh: when a song stops playing does the next song play?21:51
arrrghhhyes, the next song starts right away, no delay.21:51
zoredacheif you copy the files locally do the play completely?21:52
arrrghhhi've reproduced this with amarok and kaffeine and vlc.  songbird hasn't been working so well for me lately, and amarok is screwing up a lot.21:52
arrrghhhyes they do, i tested that as well.21:52
arrrghhhthat's why i figured an nfs buffer issue or something.21:52
arrrghhhnow songs are playing all the way thru, it was just that first song.  previously i would chalk it up to my crappy old server hanging on ntfs-3g module suckng all the processor cycles.21:53
arrrghhhwhich is why i upgraded my hardware so i can ditch the ntfs drives.21:53
zoredacheand you don't have issues read/writing any other types of files?  NFS is pretty well tested, and has good default settings21:53
arrrghhhi was having issues, but i cleared those up (i was mounting the ntfs drives in fstab improperly)21:55
arrrghhhit is working ok now.  i'm just hoping completely freeing myself of the ntfs plague that a lot of my issues will be cleared up :D22:00
zoredacheI suspect it will make a big difference22:01
doctorXhello22:01
doctorXwe need some help22:02
zoredache!question22:02
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)22:02
doctorXi couldn't install my ubuntu 8.10 on my olidata tehom 7601 ,22:03
zoredachehow unfortunate.22:04
zoredacheDid you have a question?22:05
doctorXrun well on my laptop ibm t30 , but crashed boot on olidata22:05
doctorXsimply, how to install ubuntu on olidata tehom 7601 ?22:05
zoredacheperhaps you should start with tell us what happened when you tried to install.  Read the error messages on the screen and such.22:06
doctorXubuntu is installed corectly, but crash in boot22:07
doctorXi mean after installing22:07
doctorXhello cateye22:13
doctorXhow to install ubuntu on laptop olidata tehom 760122:13
unit3Ugg... just got bit with a rather severe upstream bug in md: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=49558022:48
uvirtbotDebian bug 495580 in mdadm "Kernel doesn't start a resync after adding a disk." [Normal,Open]22:48
unit3Is there a launchpad bug to track that?22:48
unit3I couldn't find anything on some simple searches, so I though I'd check here.22:49
unit3It's pretty nasty... after being removed, a new spare doesn't get resynced to a raid10 array.22:50
unit3So I'm sitting here with the right amount of drives, but md is refusing to add the spare, even though it sees it, so my data's still vulnerable. :(22:50
unit3ahh, it is on launchpad, bug #285156.22:56
uvirtbotLaunchpad bug 285156 in mdadm "mdadm RAID10 arrays cannot be rebuilt, will not use available spare drives" [Undecided,New] https://launchpad.net/bugs/28515622:56
unit3Not linked to the debian bug, but I'll fix that now.22:56
unit3Awesome. Launchpad claims that "mdadm" is not a valid source package upstream. :P22:57
unit3I guess I'll link it to the debian bug without the package name for now. :P22:58
Gemini420ehlo23:36
Gemini420wow, 151 users doing something *else* ...23:37
unit3heh23:41

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