/srv/irclogs.ubuntu.com/2009/06/01/#ubuntu-server.txt

superfirelord42:) wizardslovak, better than what i am going threw...00:00
superfirelord42*through00:01
geniistorrgie: md0_d0p1 will be for instance disk0 of the array, partition1 within that disk00:03
superfirelord42genii, so far irqpoll is the only thing that has shown results, except for the crashing issue, should i try manually setting the irqs?00:03
superfirelord42in the BIOS00:03
storrgiegenii: I have never had it do this before, I can create the array just fine but when I restart I get a bunch of silly md devices00:04
geniisuperfirelord42: Some bios have PNP on/off settings. (sometimes they have PNP types like win98 win2000 , etc as well) When PNP is set off, usually it then specifically will set IRQs for all attached devices00:05
superfirelord42Hmm, PNP, i will take a look. i didnt see it a bit ago, but i sorta rushed through it00:06
storrgiegenii: any idea?00:09
poseidonAnyone know how I could install a driver for the d-link dwa-130 wireless usb card?00:09
geniistorrgie: If result of: mount          just shows md0 mounted where you wanted it, don't worry about the component devices00:10
superfirelord42genii, didnt see that option, saw an IRQ routing option for PCI, currently set to smart, other option is fixed. disabled IRQ sharing on slot 4 which was being shared with the card on 5, booting now00:10
storrgienoo00:10
storrgiethe array wont even initialize when I reboot00:10
storrgieit tries to mount the array to another device and fails00:10
storrgieits a 5x1tb array00:10
storrgieit will grab 1 or two of the drives and then fail00:10
geniistorrgie: Were these disks previously in a *BSD box?00:10
storrgieso I am dd'ing all the drives to zero00:10
storrgienope00:11
storrgiebut dding is taking forever00:11
geniistorrgie: I usually use fdisk to set the partition type to raid autodetect00:11
storrgienever heard of that...00:12
storrgieI usually just make a each drive have a ext partition then add them to the array00:12
storrgieim dding them to zero to see if i can erase the superblock00:12
arrrghhhanyone use ebox?  it's only looking at / and /home... i'd like it to look at other devices!00:19
superfirelord42anyone know how to tell the kernel not to mess with ata devices? when irqpoll tries to detect ata, it causes a kernel panic...00:24
storrgiegenii: any idea on chunk size? its a 5tb array00:31
storrgiei was thinking 12800:31
storrgiei know 64 is default00:31
geniistorrgie: I usually make the chunks same as block sizes00:33
storrgiehow can I check the block sizes?00:33
geniistorrgie: I usually take the line like: Units = cylinders of 16065 * 512 = 8225280 bytes       from result of : sudo fdisk -l       and use that. So 512 in this case00:34
storrgieI hear the rule of thumb is big I/0 = small chunk sizes00:34
storrgiethis is a fileserver with files ranging from 4m to 10GiB00:35
Alex_21Hi, all,00:41
Alex_21How do you mount an HD that is HFS+00:41
Alex_21?00:41
Alex_21Please00:41
Alex_21How do you mount a FW drive that doesn't show up in /Media/00:46
Alex_21?00:46
geniiAlex_21: packages hfsplus, hfsprogs, and hfsutils need to be installed. You will also need the hfs kernel module loaded. For regular hfs, the module is named hfs. For hfs+ the module is named hfsplus. To load the module use: sudo modprobe hfsplus    ..if the modulename is put in /etc/modules then the system should be able to auto-mount the drive after next boot.00:48
geniiAlex_21: For write access to HFS+ drives, journalling for it needs to be turned off from within MacOS00:49
Alex_21Oh No.00:50
Alex_21I'll just replace the drive for now00:50
Alex_21I need to recover data from it00:50
pygmalion\leave00:56
arrrghhhanyone use funambol on ubuntu-server?00:58
superfirelord42genii, just fyi, i gave up on the box, to much time, we are going to use it for parts, we believe a raid channel has an issue anyways. thanks for your help.01:01
geniisuperfirelord42: No problem. Sorry to hear it's too much a pain in the a** to bother with now though01:02
Alex_21Hi,01:03
Alex_21What do you recomend for a production server as far as drive setup?01:03
Alex_21Please01:03
geniiraid1 for boot, raid5 for data01:03
geniiAlthough others will likely have other preferences01:04
arrrghhhAlex_21, it really depends on what you need to achieve.  raid5 so you can swap disks01:04
Alex_21But my only problem is that I can't do that because I need To continually add drives. Or can I?01:04
arrrghhhi think you can.  you may have to build another array, i'm not certain.01:05
arrrghhhthere's raid6, but that just allows for 2 disk removals w/o breaking the array.01:05
Alex_21I wanted to use LVM. Is this recomended?01:05
Alex_21I'll try to explain. I have a production server that has hourly backups to a low-power server using RSnapshot. What is recomended for a system where disks are constantly added01:06
Alex_21?01:06
Alex_21Please01:06
arrrghhhraid1 would probably be the easiest in terms of adding disks.  1 disk just clones to another.01:06
arrrghhhbut you have to break the array to replace a disk01:07
arrrghhhAlex_21, i think you would be able to add disks to either, but raid1 would probably be easier to add disks too.01:07
Alex_21Hmmmmmmmmmm01:07
arrrghhhjust keep in mind you have to break the array to replace faulty disks01:07
Alex_21Is LVM possible then?01:07
arrrghhhi don't see why not.  unfortunately i don't have experience with that, just hardware raid.01:09
arrrghhhor are you talking about using LVM to do software raid?01:09
Alex_21I think I have hardware raid. I just want to be able to continually add disks.01:11
Alex_21I am constantly aquiring disks. I can fit six in this box, ... but I constantly have to add and upgrade the disks01:13
Alex_21Plus after six, ... the next will be FW and then USB01:13
Alex_21I want to do a Hiarchy where the most used disks are fastest and the rest are slower with less used data01:14
arrrghhhhrm01:15
arrrghhhi dunno about putting usb/fw disks into a raid array.01:16
arrrghhhjust sounds like a baaaad idea.01:16
arrrghhhif it's even possible.01:16
Alex_21I don't care if they are in Aray on the FW/USB because there is backups of that stuff. I basically want all of them to show up as /archive/01:16
arrrghhhhrm01:17
Alex_21I basically have a VM that I want on the FW/USB drives. Each one is an acrive of sites. Backup Apache servers if you will01:18
Alex_21I just want to be able to fix thengs when they break01:18
Alex_21On another note, ... Can you use scp to copy folders? If so, ... How01:20
Alex_21?01:20
Alex_21Please01:20
Alex_21I need to backup a drive01:20
Alex_21Never Mind01:23
Alex_21I figured that one out01:23
Alex_21How best to do the drives then?01:23
jmarsdenAlex_21: scp -pr folder user@host:/path/to/destinationfolder/01:46
Alex_21Ok01:47
Alex_21Thanks01:47
Alex_21Does this keep the file structure?01:47
jmarsdenDrives?  LVM sounds like what you need to add a bunch of drives and make them one huge partition.01:47
Alex_21Just curious01:47
jmarsdenYes, the -r is recursive, just like cp -r is for straight copying.01:48
Alex_21Ok Thanks01:48
jmarsdenNo problem.01:48
Alex_21About drives. I am just afraid of losing data. I'm told Raid is fairly safe. Idon't know if the two solutions can be combined01:49
jmarsdenSounds complicated... I don't know either.  Can you just mount each drive as /archive/2008 /archive/2009 and so forth (or whatever scheme you want)?  If so maybe you can simply always create two drives for each subset of the data (/archive/2008 and /archive/2008-2 ) and then copy one to the other.  if this is an archive and the data won't be changing, you can even umount the 2008-2 drive later so noone can accidental01:52
jmarsdenly delete it?  No need for lvm that way.01:52
Alex_21But for the current Data, ... What is the best. Drives need to constantly be added and all I currently have for backup is a mirror using Rsnapshot01:53
jmarsden"The best" might be a RAID10 array, and make new RAID10 arrays (adding 4 disks at a time) when you need more space.  How many Terabytes/month is the dataset growing by??01:54
jmarsdenI need to go... apparently we're going out to eat... sorry... bad timing :)01:55
Alex_21No problem01:55
Alex_21No idea how much it will grow by. I currently have four 320 GB drives01:55
arrrghhhraid10 huh01:59
arrrghhhAlex_21, this isn't so much a room for raid... wikipedia has a great article on it.  it's a good starting point for terms and what the different features, pros/cons of the different types.02:00
Alex_21I'm expanding by a lot though. This is just my starter set02:00
Alex_21I plan to have close to 10 TB by the end of the summer02:01
arrrghhhi'd say either raid1 or raid5/602:01
arrrghhhi would imagine adding disks is possible with any, but raid1 would probably be the easiest to add disks to.02:02
Alex_21But then how can I add disks as parto f the same File System?02:02
Alex_21I'm not sure :(02:02
arrrghhhAlex_21, i'm not sure what you mean "part of the same file system"...02:03
arrrghhhyou can format your drives in any file system, i'd probably recommend ext3 if it's a pure linux server/02:03
arrrghhhif you want the drives to appear as one drive, then RAID would not be what you want.02:04
Alex_21Ok. Then how do I get started with Raid 1? I want to continually add drive?02:04
arrrghhhJBOD is what you would want, and is NOT for data redundancy.02:04
arrrghhhyou'd add drives in pairs Alex_2102:04
arrrghhhone disk for data, the other disk has a mirrored copy for data redundancy.02:05
Alex_21Can this be combined with ZFS or something to make it one big happy drive?02:05
Alex_21Or LVM?02:05
arrrghhhdude02:06
arrrghhhone big drive = no data redundancy.02:06
arrrghhhare you an admin?  what do you mean "production system"?02:06
Alex_21It is a production server. I'm an admin. I'm fairly confident with web server administration. Just not Data Redundancy02:07
twbThere is no point using RAID1 unless you have exactly two disks.02:07
arrrghhhwell maybe you shouldn't be the admin of this side of things...02:07
twbIf you have more than two disks, RAID5 is better in every way.02:07
arrrghhhyea, raid1 goes in pairs02:07
Alex_21And I'm running out of ways to keep from loosing a VM or two if a drive goes02:07
arrrghhhraid5 is nice as you can have a drive fail and not need to break the array.02:08
Alex_21I agree I shouldn't be doing this. I'm however the only admin currently in the employ of my organization02:08
arrrghhhbut you must replace that drive or data corruption will occur.02:08
Alex_21I have two drives but I plan to add six or so more02:08
arrrghhhyou can't do raid5 with 2 drives02:08
arrrghhhyou need at least 3.02:09
arrrghhhplease read the wikipedia article on raid, or something like that.  you need to do some research and LEARN about what the terms mean and advantages/disadvantages of the different types.02:09
twbAlex_21: if you're going to buy another four drives, you can set up RAID5 on that quartet, then copy the data from the original two, and finally merge the original two into the new RAID5 array.02:09
arrrghhhthe two most commonly used are raid1 and raid5.02:09
arrrghhhcorrect.  but with two drives you can only do raid0/102:10
arrrghhhsooooo any funambol users :D02:12
thierry_hi02:12
arrrghhhi can't get it to start.  the installation seems super easy, but it just won't run.02:12
twb!anyone02:12
ubottuA large amount of the first questions asked in this channel start with "Does anyone/anybody..."  Why not ask your next question (the real one) and find out?02:12
twbarrrghhh: did you install it via apt?02:13
twbarrrghhh: or is this one of those ridiculous cowboy PHP things?02:13
arrrghhhtwb, i didn't think it was in apt.  i installed it via the bin file on their website.02:13
arrrghhhlmao, doesn't seem like a ridiculous cowboy php thing.  torrentflux-b4rt was that and i was able to get that working.02:13
thierry_hello, I'm able to use ssh/http locally on my server but can't get it to work remotely, my iptables is empty and I'm pretty sure my port forwarding works properly02:14
twbAh, it's a dual-licensed Java thingy for blackberrys.02:14
giovanithierry_: were you the one here yesterday?02:14
arrrghhhblackberry's and everything else that does syncML.02:14
thierry_giovani : yes :) got my server up locally but remotely is still a mess02:15
arrrghhhthierry_, you need to setup firewall rules.  i use ufw, cuz it's a heckuva lot easier than iptables.02:15
giovaniarrrghhh: no, he doesn't02:15
arrrghhhand then if it's setup in your router you're good02:15
arrrghhhgiovani, oh?02:15
giovanihe doesn't need a firewall02:15
arrrghhhok...02:15
giovanihis router has one, that's fine ... that's not the issue02:15
arrrghhhi have ufw and a hardware firewall, so what.02:15
thierry_k, so how can I find the source of my problem?02:15
giovaniand that's fine ... but it has nothing to do with his problem, and will only complicate things02:16
arrrghhhhrm02:16
arrrghhhif you say so.02:16
giovanithierry_: this is a networking problem02:16
giovaniif you have truly cleared your firewall02:16
giovaniplease pastebin "sudo iptables -L"02:16
thierry_giovani : http://pastebin.com/d40f1e76a02:17
thierry_my iptables is clean02:17
giovaniindeed02:18
thierry_I tought it my be my router firewall stopping connections even with the port forward but I'm not sure02:18
giovanithat's very possible02:18
giovanisome firewalls suck02:18
giovaniI assure you that if the port is listening, and you have no local firewall, this is an external problem02:18
giovaniso it's either a networking issue on your LAN, or a firewall issue at your router02:19
giovanior your ISP is blocking the connection02:19
thierry_I checked the doc of my router and it says the firewall blocks all incoming connections from the outside but I can use a DMZ to allow the connections to one specific computer on my network (which I did) and nothing changed02:19
arrrghhhyou could try dmz just for troubleshooting but not recommended for extended use.02:19
arrrghhhand yes, your ISP could be blocking the traffic.  who is your ISP?02:19
thierry_videotron (Canada, Quebec province)02:19
arrrghhhthierry_, dmz puts that machine outside of the firewall completely.  do you have a static IP on the server?02:20
giovanithierry_: mind sending me the IP you're trying and isn't working (in a pm if you prefer)?02:20
arrrghhhhrm, i wouldn't know.02:20
giovanivideotron does do some filtering02:20
giovaniI don't remember what, exactly02:20
giovaniblocking port 22 (ssh) is extremely uncommon02:20
thierry_giovani : yes no problem, but it simply times out02:20
giovanithierry_: ok, well let me test it out myself02:21
Alex_21I think I'll do Raid 5. However, ... is their a Howto specific for a new install of Ubuntu?02:21
Alex_21Hardy of course02:21
Alex_21Please02:21
giovaniAlex_21: you'll need a minimum of 3 drives02:21
giovanithe install is self-explanatory, I think02:21
arrrghhhAlex_21, if you do hardware raid it's independent of os.02:21
Alex_21I have four02:21
arrrghhhi wouldn't recommend software raid for this very reason.02:22
twbAlex_21: RAID5 is a little tedious to set up in the installer, but not hard.02:22
giovanithere's nothing wrong with software raid, honestly02:22
thierry_giovani : I'm retarted with irc, how could I open a PM?02:22
twbarrrghhh: and if you use software raid it's independent of hardware!02:22
giovanithierry_: depending on your client /msg giovani yourmessagehere02:22
Alex_21I don't know. I think I'll do software raid02:22
twbarrrghhh: which are you more likely to replace?  Linux, or your raid controller?02:22
arrrghhhtwb, well that's if he's just running linux... and my raid controller is onboard.02:22
twbarrrghhh: that's fake raid.02:22
giovanitwb: hardware raid controllers have components that fail regularly ... good luck recovering that02:23
arrrghhhwhat if he wants to run multiple oses?02:23
twbarrrghhh: you should never ever use fakeraid.02:23
pmatulisthierry_: i'm familiar with videotron, i know they block incoming port 80 and 2502:23
arrrghhhtwb, i'm not using fakeraid, thank you.02:23
twbgiovani: exactly, so you're looking at 2×$300 or so, for the spare controller.02:23
giovanitwb: not if it breaks the raid array when it fails02:23
giovaniwhich happens regularly02:23
twbgiovani: aha, yes.02:23
giovanisoftware and hardware raid each have advantages02:24
twbI am very glad that we accidentally bought our last IBM with the wrong BIOS, and so went with software raid.02:24
Alex_21So is there a software raid install proceedure?02:24
thierry_pmatulis : no kidding? but I'm also stuck with ssh so I don't think the problem is the isp02:24
arrrghhhthe PERCs we run at work have been great.  the netware crap we run on top, not so much.02:24
thierry_giovani : th-server.dynalias.net point to my ip02:24
giovaniAlex_21: yes, it's self-explanatory in the installer02:24
giovanithierry_: yes, I got it02:24
twbIMO the chief advantage of hardware raid is that it's faster -- so really it's only valuable for large enterprises.02:24
thierry_giovani : k great, so what's your opinion?02:24
giovanion modern cpus02:24
Alex_21I rather not use hardware radi02:24
giovanithe speed difference is minor02:24
Alex_21Raid02:24
PhotoJimtwb: s/faster/usually faster/ :)02:24
giovanithierry_: give me a few minutes02:24
twbgiovani: exactly.02:24
giovanitwb: exactly, so speed is rarely a gain with hardware these days02:25
twbI guess it's also useful if your server is runing w2k3 or something instead of Linux.02:25
Alex_21I am still stuck here with my Alternate installer CD and no instructions02:25
Alex_21Waiting, ... :(, ... Lol02:25
giovanithierry_: this is very annoying ...02:26
twbAlex_21: you want to install RAID now?02:26
giovaniyour SSH port is completely accessible, and accepting connections02:26
twbAlex_21: how many disks do you have *right now*?02:26
giovanithere is NO problem whatsoever02:26
Alex_21Three that can go into the machine at this moment02:26
giovanixxx@lithium:~$ ssh 96.23.224.1002:26
giovaniThe authenticity of host '96.23.224.10 (96.23.224.10)' can't be established.02:26
giovaniRSA key fingerprint is 7c:01:c0:d6:50:f4:23:70:7a:1e:bc:88:ca:bf:ec:44.02:26
twbAlex_21: are they all the same size?02:26
giovanithierry_: there's nothing wrong, so I'm not sure what you're complaining about02:26
giovaniyour port 80 is being filtered, this is typical with residential ISPs02:27
Alex_21Which ISP02:27
twbarrrghhh: actually, you can make a RAID5 with two drives initially -- you just make it with zero parity disks (i.e. start in a degraded state) :-)02:27
giovanivideotron02:27
Alex_21I think they are all 320 GB02:27
thierry_giovani : mmm wait, does trying so ssh th-server.dynalis.net from my local network could be the problem?02:27
arrrghhhtwb, lol well then you really aren't getting raid5 are you?02:27
giovanithierry_: of course ...02:27
giovaniyour local network doesn't use an internet IP02:27
giovaniand that DNS name resolves to an internet IP02:27
arrrghhhthierry_, lol how could you have remote problems if you're not testing it remotely?02:27
giovanisigh02:27
* arrrghhh facepalms02:28
giovanipeople should not be running servers who haven't gone through networking 10102:28
twbAlex_21: are you installing with the ubuntu server CD?02:28
Alex_21Well, ... I have two ready to go in the machine. I can install a third if need be but I rather not.02:28
arrrghhhpretty much.02:28
thierry_giovani : OMG I'm so sorry to have bugged you, I tought ssh-ing to the thw web adress was the same as remotely02:28
giovanithierry_: no, your router likely doesn't handle looped connections like that02:28
giovanithierry_: if you want to rest remote connections, you'll have to be remote ... as in ... not internal02:29
Alex_21I have the problem that I noticed that one of my SATA cables is missing02:29
giovaniif you want to test internal connections, use the server's LAN IP02:29
thierry_giovani : wow, probably the most stupid problem I ever had02:29
giovanithierry_: however, as I said, your web server on port 80 IS being blocked by your ISP02:29
giovaniso you'll have to move it to another port02:29
arrrghhhhrm i can ssh from a machine on my local network to my externally reachable dyndns address... were you trying to ssh from the local machine back into the local computer?02:29
Alex_21So I have two drives. I plan to expand to ten or eight. However, ... I think the other six or four will be 1.5 TB02:30
giovaniarrrghhh: your router handles looped connections02:30
giovaniarrrghhh: many do not02:30
arrrghhhfancy02:30
thierry_giovani : k, while reading for my problem I've encountered doc on that so I should be able to do it :)02:30
twbAlex_21: you don't really want to have ten or eight drives in one machine.02:30
twbAlex_21: apart from anything else, you'll have airflow issues.02:30
arrrghhhAlex_21, unless you have the freakin room sheesh.02:30
Alex_21Why?02:30
giovaniarrrghhh: the solution to this is to run an internal dns server where you resolve that same address to an internal ip02:30
arrrghhhgiovani, meh02:30
giovaniso that when you're external, it resolves to the external ip, and when you're internal, it resolves to the internal ip02:31
twbAlex_21: RAID5 requires all disks in the array to be the same size; extra size in some drives will just be thrown away.02:31
giovanimost companies do this02:31
thierry_anyway I'm off to bed thanks for all the all and patience02:31
Alex_21Ok.02:31
arrrghhhAlex_21, and i told you, putting the usb/firewire drives into the array, if even possible just seems like a bad idea.02:31
Alex_21I won't put FW and USB. That is seperate02:31
arrrghhhgiovani, yea, i think we do.  we have a proxy server tho, it bypasses local stuff.02:31
giovaniarrrghhh: what do you mean it bypasses local stuff?02:32
Alex_21I have six bays. I'm going to try and add at least two drives02:32
Alex_21I mean two more bays02:32
giovaniyour proxy server is not likely to proxy ssh connections ...02:32
arrrghhhgiovani, the proxy is bypasses if the site is local... nvm doesn't really matter anyways.02:32
twbIt is possible to put external drives into an array.  It is extremely nightmarish.02:32
arrrghhhtwb, wow.  yea, just sounds like a horrible idea.02:32
Alex_21What should I do with my server?02:33
Alex_21I am going to need to be able to run all my virtual machines off this space02:33
twbAlex_21: OK, if you plan to end up with ≥3 drives (of identical size), you should put three in and do a RAID5 install using the ubuntu server CD.02:34
Alex_21How should I partition it02:34
Alex_21How about two drives.02:35
Alex_21I need to get the machine back online by midnight and I'm missing a SATA jumper02:35
arrrghhhlmao02:35
twbYou could make a RAID1 now, and then later buy four 1.5TiB drives and replace the RAID1 with a RAID5 of those new four drives.02:35
twbThat is probably what I'd do if I didn't need the space up-front.02:35
Alex_21Ok. How do I do a Raid 1?02:35
twbAlex_21: in all cases, go through the server install until you get to the partitioner.  Then we'll talk.02:36
Alex_21Ok. I'm there02:36
giovaniarrrghhh: you mean YOU bypass the proxy if the destination is local ... of course, why would you proxy internal connections?02:36
giovanithe proxy doesn't bypass :)02:36
Alex_21Virtually anyways02:36
twbAlex_21: OK, now decide if you're making a RAID1 or RAID5.02:37
giovaniheh02:37
twbAlex_21: btw, it's easier for me to pay attention if you preface remarks to me with "twb: ".02:38
Alex_21I guess Raid 1 for now02:39
Alex_21I'll upgrade later when I get the TB drives02:39
twbAlex_21: OK, choose "manually partition", then select each drive and choose to create a new partition table.02:40
Alex_21I may just get six or eight TB drives and replace all the 320 GB drives02:40
Alex_21Ok02:40
Alex_21I have02:40
Alex_21Virtually02:40
twbAlex_21: then, create a single partition on each, the whole size of the disk.  Choose "use as RAID volume".02:40
Alex_21Ok.02:40
Alex_21Next02:40
Alex_21Please02:40
twbNow at the top of the partition screen, is "configure raid".02:40
Alex_21Which screen?02:41
twbThe one where you see the partitions of all drives listed.02:41
Alex_21The main one that says to Guided use entire disk, ... ETC?02:41
Alex_21Ok.02:41
twbNo, we have already passed that to choose "manually partition"02:41
Alex_21I virtually clicked that02:41
twbPick "configure RAID", then choose to create a RAID array, level 1, 2 disks, 0 parity disks.02:41
Alex_21Ok.02:42
Alex_21Then what?02:42
twbThen select the two partitions you just created and click next.02:42
Alex_21What about Boot?02:42
twbAlex_21: it's a RAID1, so you don't need a separate /boot.02:42
Alex_21How do you select two?02:42
twbThey'll be check boxes.02:42
Alex_21Ok.02:42
Alex_21then what?02:42
twbOK, then you'll be taken back to the main screen, and there's be a new partition listed.02:43
twbSelect it, and choose "use as LVM physical volume".02:43
Alex_21Ok.02:43
Alex_21Then what?02:43
twbThen again back to the main screen, and choose "configure LVM" at the top of the screen.02:43
twbCreate an LVM volume group using the one physical volume.02:43
twbThen create logical volumes for root, swap, and anything else you want (e.g. a separate /home and /srv).02:44
Alex_21Then what?02:44
twbFinally, go back to the main screen and you will see these logical volumes listed like partitions.  Make each one ext3 (except for swap), and choose where to mount them.02:45
Alex_21Ok.02:45
Alex_21That is it?02:45
twbThat's it.02:45
Alex_21Thanks a million02:45
twbYou should also grab a copy of the install guide while you're at it, as it covers a lot of this.02:45
Alex_21Where?02:46
twbI dunno, on Ubuntu's website somewhere.02:46
Alex_21Thanks for all the help03:13
Alex_21Good night03:13
genii!ssh03:15
ubottuSSH is the Secure SHell protocol, see: https://help.ubuntu.com/community/SSHHowto for client usage. Putty is an SSH client for Windows; see: http://www.chiark.greenend.org.uk/~sgtatham/putty/ for it's homepage. For setting up the SSH server, please see: https://help.ubuntu.com/9.04/serverguide/C/openssh-server.html . Advanced SSH uses: https://help.ubuntu.com/community/SSH/OpenSSH/Advanced . See also !scp (Secure CoPy)03:15
=== MTeck is now known as MTecknology
twbWhy isn't there an ubuntu-server metapackage?03:53
ScottKIt's done through tasksel, IIRC.03:55
twbAny particular reason it's different from ubuntu-standard and friends?03:55
twbI guess a "base" server basically *is* just ubuntu-standard...03:55
ScottKBecause of that number of options, also.03:56
oh_noesI just addded "local1.info    /var/log/out.log" (with a tab) to my syslog.conf -- but it's not working04:50
oh_noeslogger -p local1.info test04:51
oh_noesam I doing something wrong?  I CAN however see it go into the default /var/log/syslog04:51
twbMaybe you have to restart syslog?04:57
twbAre you using syslogd, or rsyslog?04:57
oh_noesYep, no luck04:57
oh_noessyslog-ng04:57
twbsyslog-ng doesn't read syslog.conf04:57
twbBut I'd recommend rsyslog over it, because it has been adopted by Debian.04:57
oh_noeshrmm, your right.  Weird that I have syslog-ng actively running, but /etc/syslog.conf05:02
twboh_noes: that would be because something like base-files fucked up05:03
twbOr because sysklogd is still configured, though not installed.05:03
twbi.e. you removed it instead of purging it.05:03
oh_noesta05:03
oh_noeswhy would I have a /etc/init.d/syslog-ng script, even though apt-get remove syslog-ng stays its not installed?05:05
=== lokix is now known as lokixza
ragsany one know how I can check the amout of data trnsfered through ssh? I am using Unison to sync data between two machines. Unisons doesn't provide any switch for tht.08:42
jmarsdenrags: I think unison logs statistics like that if you give it the -log and -logfile options??08:46
jmarsdenI've not used it for a while, but... I *think* unison can be made to tell you how much work it did :)08:47
ragsjmarsden: ya I do have a log file, but no data tranfer info..:(. It just gives the list of coflicts and the files trnsfered.08:47
jmarsdenThen there's a another switch that adds them to that log... let me look for it... did you read /usr/share/doc/unison/unison-manual.txt.gz for info about this?08:48
ragsI just raed the online manual...although my version is older.08:49
ragsI have just used teh logfile switch...not -log...should I use both..-log as well as -logfile?08:50
ragsmaybe tht would make a diff...but I think -log is implicit when I mention -logfile08:51
jmarsdenWouldn't hurt to try both.  Also you could try debug, although that might get you too much info :)08:52
ragsya...I'll try them...thx.08:53
jmarsdenNo problem.  You can try adding -v or -vv or -vvv to the ssh command too, but I think getting unison to tell you the info is better if you can do it :)08:57
twbrsync, at least, has summary options.08:57
twbBut obviously unison/rsync won't include the ssh overhead.08:57
=== yann2_ is now known as yann2
twbAny idea why 9.04, unlike 8.04, tries to read /proc/modules repeatedly when creating a ramdisk?10:09
twbI'm inside a chroot; there is no /proc.10:09
twbI wish Ubuntu would stop shipping CDs with broken /vmlinuz and /initrd.img symlinks in the squashfs.10:10
twbWTF is vmcoreinfo-2.6.28-11-generic10:15
twbHmm, apparently no kernel in there.10:15
=== tuxlinux_ is now known as tuxlinux
bubbagood evening fellow. I need help in setting up a virtual host. any one?10:31
bubbaanybody out here?10:32
twbbubba: no10:32
bubbai c10:33
bubbahow do you change channels?10:33
twbI am busy trying to get JEDGAR to accept my mail-order anthrax business.10:33
twbbubba: /join #foo10:34
bubbahow?10:34
subcheehello everybody11:41
dazmanHi11:46
* dazman is in and out at the moment11:46
=== tuxlinux_ is now known as tuxlinux
=== asac_ is now known as asac
sczgilaehello everybody14:58
sczgilaei have an installation with LDAP configured. Now im configuring the users profile. i want to configure the "K" panel to all users and lock the desktop, but i dont know where is the file to configure that. anoybody knows?14:58
sczgilaeanybody?15:02
geniisczgilae: Since this is also a KDE question you may want to enquire in #kde15:04
sczgilaegenii: thanks15:04
BrixSathello ;:)15:11
sczgilaehi15:11
BrixSatis there any torrent client with web interface?15:11
sczgilaeutorrent?15:11
BrixSati dont have gui15:11
BrixSatit need to be shell15:11
BrixSatrtorrent ;d15:18
SuperRoachI've got a vps setup remotely with ubuntu server 8. When I ssh in as root, ls shows all area's as empty. Is that normal behaviour? I was expecting to see at least the var and www folders.15:27
mdzkirkland: your related_packages call picks up ikvm, which (afaik) is unrelated to kvm15:41
mdzand libikvm-native15:41
mdzkirkland: kvm* rather than *kvm* might give you what you want with less noise15:41
mathiazjdstrand: what's the state of auth-client-config?15:48
mathiazjdstrand: is it still maintained and should its usage be pushed/recommended?15:48
jdstrandmathiaz: I do maintain it, but I am not actively developing it15:51
jdstrand(it does what it needs to for those who want it)15:51
mathiazjdstrand: IIRC you've added support for the new pam-auth-update that landed in interpid15:52
jdstrandmathiaz: generally, people should be using pam-auth-update, and when that doesn't work, can consider auth-client-config15:52
jdstrandmathiaz: I did not add support-- I made sure to get out of pam-auth-update's way15:52
mathiazjdstrand: ok - however pam-auth-update only deals with the pam stack15:52
mathiazjdstrand: the nss stack still needs to be taken care of separately.15:53
jdstrandmathiaz: that is correct. slangasek mentioned at one point that he might do something similar with nss, but I don't know the status of that15:53
jdstrandthe last I talked to him about it was UDS for Jaunty, and IIRC, you were present15:54
mathiazjdstrand: ok.15:54
mathiazjdstrand: considering that configuration a system to leverage a directory requires both modification to pam and nss I'm considering using auth-client-config15:55
* jdstrand nods15:55
mathiazjdstrand: *configuring* a system15:55
mathiazjdstrand: ok - so dropping profiles in /etc/auth-client-config/profiles.d/ and then using auth-client-config is the best option for karmic15:56
jdstrandI can't speak to the 'best option' part, but it will work15:56
kirklandmdz: k16:00
mdzkirkland: not a big deal, just a suggestion to keep it clean and readable16:00
kirklandmdz: right, thanks16:02
Max007Is there something special to configure bind9 as a caching dns server ?16:03
applexhelo16:04
kirklandmdz: fix uploaded to karmic, cheers16:06
RoAkSoAxttx, ping16:15
zoopsterMax007: no...a standard bind install is caching - just need to setup forwarders16:18
Max007zoopster: should I use the root servers or forwarders ? Which is quicker ?16:18
zoopsterMax007: never use them as forwarders...use your local isp's servers16:19
Max007zoopster: i dont use them as forwarder... bind uses them by default16:19
zoopsterMax007: not sure who "them" is, but a forwarder is who you pass requests to initially...it should NEVER be direct to root servers16:21
Max007Max007: by default, bind uses root servers (them16:23
Max007Max007: by default, bind uses root servers (them) to resolve. There's no forwarders. Should I keep it that way or use ISP dns as forwarder ?16:23
jmedinaMax007: dont use root servers, they are a few, if you can use your ISP, or opends,.org16:26
=== simplexi1 is now known as simplexio
zoopsterMax007: forwarders by default are blank afaik, use a local ISP or opendns as jmedina mentions...you want your initial forward to be as close as possible to you or you will notice slowness in browsing16:28
Max007okay16:34
Max007thanks16:34
sczgilaei have an installation with LDAP configured. Now im configuring the users profile. i want to configure the "K" panel to all users and lock the desktop, but i dont know where is the file to configure that16:41
jmedinasczgilae: have you look at kde kiosk?16:44
sczgilaewhat's that?16:45
sczgilaejmedina: could you help me compañero?16:48
jmedinasczgilae: I thinks this questions go in #kde channel16:50
jmedinathis is server channel16:50
TJ`hey guys im wondering if anyone can help me out with pptpd17:00
TJ`basically ive installed and it connects fine and registers on the network ok too17:00
TJ`only thing is it disconnects when i try to request a web page on the same server? (apache + pptpd are on the same box)17:01
TJ`any idea why?17:01
TJ`anyone?17:06
uvirtbotNew bug: #377555 in mysql-dfsg-5.0 (main) "MySQL lacks IPv6 support" [Wishlist,Confirmed] https://launchpad.net/bugs/37755517:37
phoenixzI need to know the *name* of a process that every now and then is changing a file.. How can I monitor that file to get that process name?I need to know the *name* of a process that every now and then is changing a file.. How can I monitor that file to get that process name?17:52
sczgilaephoenixz maybe if you install "iotop" can you see17:54
phoenixzsczgilae: well, the change is very quick.. a rewrite actually.. the file is a small config file and is copied over.. I need to know what process does this..17:59
simplexiophoenixz: fuser could be one you are looing for18:06
BrixSatany one here uses rtorrent?18:58
phaidrosBrixSat: I used to19:08
giovani|workBrixSat: yes19:09
BrixSat[phaidros]: why dont you use anymoere?19:09
BrixSatim having problems setting it up :S19:09
giovani|workbe more specific19:09
giovani|workBrixSat: did you use the ubuntu package, first of all?19:09
phaidrosnot doing torrent on server anymore, took it back on dektop, hm, doing not much torrent lately19:09
BrixSatgiovani|work:yes19:09
giovani|workBrixSat: then be specific about "having problems setting it up"19:10
BrixSatapt-get install rtorrent19:10
BrixSati wanted to use wtorrent (web interface for rtorrent)19:10
BrixSatbut i cant connect booth19:10
giovani|workok, wtorrent is not "setting up rtorrent" though19:10
giovani|workis rtorrent functioning on its own?19:10
giovani|workit needs to be functioning before you add other things on19:11
BrixSatit runs19:11
giovani|workok, so there is no problem with rtorrent?19:11
giovani|workcontrary to what you said initially19:11
BrixSatbut the directive scgi_port = localhost:5000 is not making efect on rtorrent.rc19:11
BrixSatthat is why i say the problem is in rtorrent19:11
giovani|workconsult #rtorrent19:12
BrixSati never knew the had a channel19:12
giovani|workrtorrent is functioning properly in the ubuntu sense -- it sounds like you need help on a specific wtorrent configuration19:12
giovani|workthe vast majority of open source projects do ...19:12
BrixSat:D19:12
hollmanhello all, i have a problem trying to update my Ubuntu Server19:16
hollmanhttp://ubuntu.pastebin.com/m64f3ce8819:16
hollmansomeone can help me ?19:16
phaidroshollman: that's a sources.list, I can see no problem with it19:17
zoopsterhollman: what is the question/problem?19:17
hollmanphaidros, zoopster excuseme19:18
hollmanhttp://ubuntu.pastebin.com/m7c82f2d019:18
jbernard__kirkland: have you seen the recent dpkg-divert error in byobu?19:18
jbernard__ http://ubuntu.pastebin.com/d70298c9a19:18
hollmanphaidros, zoopster any idea ?19:20
zoopsterhollman: in spanish? looks like an invalid request?19:21
hollmanyes in spanish, im Colombian :P19:22
uvirtbotNew bug: #382501 in samba (main) "CIFS File Transfer from Ubuntu to Windows Share results in 0 Bytes File ! The File is LOST" [Undecided,New] https://launchpad.net/bugs/38250119:26
kirklandjbernard__: ?19:31
kirklandjbernard__: what error is that?19:31
RoAkSoAxkirkland, I have a quick question :) that i'm sure you can help me with. I'm merging openvpn. Should I drop lsb-base from debian/control if debian has dropped it too?? Or it needs to be there to support status_of_proc()19:36
jbernard__kirkland:  http://ubuntu.pastebin.com/d70298c9a19:37
kirklandRoAkSoAx: probably the latter19:37
kirklandjbernard__: i'm on it19:37
jbernard__kirkland: awesome, quick fix? or shall i file a bug?19:38
RoAkSoAxkirkland, cool thanks :)19:38
kirklandjbernard__: already there19:38
kirklandBug 38246219:38
uvirtbotLaunchpad bug 382462 in byobu "byobu 2.6 fails to install" [Undecided,Confirmed] https://launchpad.net/bugs/38246219:38
darkpixelhi there, im looking for a php-based webmail but i need the users to logging in without a email account, i need to have users, like user1, pass user1, and once logged in they would access to a preconfigured email account. Is there something like this out there?19:52
kirklandjbernard__: okay, i just uploaded a fix19:57
kirklandjbernard__: could you test byobu-2.7 when its available?19:57
kirklandjbernard__: ie, when the build completes?19:57
kirklandjbernard__: btw, had a good discussion at uds about update-motd and inotify19:57
kirklandjbernard__: keybuk is adding inotify watch capability to upstart very soon19:57
kirklandjbernard__: we'll use that as soon as he finishes it19:58
kirklandjbernard__: then we won't have to deal with MIR'ing one of the inotify daemons19:58
kirklandjbernard__: and we won't need an init script;  just a config file that upstart would process19:58
W8TAHcan ubuntu server boot from an LVM partition?20:07
giovani|workW8TAH: I haven't tested -- I presume not20:18
giovani|workthat's a (relatively) modern feature of grub20:18
jbernard__kirkland: im on it20:24
jbernard__kirkland: update went smooth, no failures20:25
jbernard__kirkland: for byobu, all looks well20:30
W8TAHok - thanks - i ended up going with an ext3 boot partition and / on a raid 521:09
giovani|workW8TAH: ext2 for /boot, sir21:10
giovani|workjournaling is a waste of space on /boot21:10
giovani|workW8TAH: just fyi, 9.04 worked fine with an LVM /boot21:39
giovani|workI guess 9.04 went to lilo without me realizing?21:39
=== MTeck is now known as MTecknologyu
=== MTecknologyu is now known as MTecknology
[DeViL_KiLLs]Hello ! i need some file from ubuntu 9.04 /desktop edition/ apache /etc/apache2/sites-enabled/default23:55
[DeViL_KiLLs]Please help me23:57

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