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

jmedina:S00:00
FFForever:D00:00
jmedinaIm from the broadband generation :D00:00
FFForeversame here00:00
FFForeverbut i am not at home at the moment so i am using my phone + usb cable + netzero :)00:01
jmedinaI never used a modem for internet connection, only for fax machines00:01
FFForeveri have never used a modem for faxing00:02
FFForeveri use efax00:02
jmedinawell, last time I used a fax was 5 years ago, when I configure those machines :D00:05
jmedinafax is evil!!!!!00:05
FFForeverlol00:05
FFForeveryeah sadly businesses live by them00:05
billybigriggernetzero is still around?00:05
FFForevera lot of stuff is moving to email but not everything00:05
billybigriggeris it still free?00:05
FFForeveryeah00:06
billybigriggerright on00:06
FFForeverhttp://www.netzero.net/start/landing.do?page=www/free/index00:07
billybigriggerhmm00:08
orudieso yeah00:14
orudiestill cant find a way to to connect with ssh key when using chroot in sshd_config00:15
jmedinaorudie: have you contacted openssh people?00:25
jmedina  /j #openssh00:25
jmedina:)00:25
orudieim in there00:33
orudiethey are not saying anything00:33
orudiethis is really weired00:33
pmatulisorudie: what kind of errors are you getting when you try this?00:37
orudiepmatulis, the problem is that its not seeing ssh key00:37
pmatulisorudie: are you putting all the key location info in the chroot area of sshd_config?00:40
orudiepmatulis, that is exactly what I am trying to figure out, is where to put the authorized_keys for this user00:40
pmatulisorudie: put it in the chroot i suppose.  what i meant was, are you putting in settings like 'AuthorizedKeysFile' below 'Match'?00:44
pmatulisorudie: i'm going to try this tomorrow.  are you here often?00:45
orudiepmatulis, yes every day00:47
pmatulisorudie: i'll ping you00:47
orudiepmatulis, ok00:48
BullterdHey All00:53
BullterdIve just finished off my hosting cluster00:53
Bullterdive setup rsync to sync the /etc/apache2 folder00:54
Bullterdhow do i get apache2 to reload every so often so that it picks up the new configs ?00:54
pmatulisorudie: still there?01:19
orudiepmatulis, yup01:20
pmatulisorudie: i just got it to work at home.  nothing special done.  not sure where your problem is01:20
orudiepmatulis, with ssh key ?01:20
pmatulissshd[23736]: Accepted publickey for chrooted_user from 192.168.3.101 port 31007 ssh201:21
orudieyou  have password login disabled ?01:21
pmatulisorudie: yup01:21
orudieok, whats the path to your authorized_keys file ?01:21
pmatulislike i said, nothing special done.01:22
=== asac_ is now known as asac
orudiecan you tell me please ? i have been stuck on this01:22
pmatulisthat file is in .ssh directory of the chroot directory, which also happens to be the user's home01:23
twbIf it accepted the public key, then he got in.01:23
twbThe problem could be that bash isn't installed in the chroot.01:23
twb(And bash is his default shell.)01:23
pmatulisi surely hope he set up the shell01:23
twbpmatulis: /home/foo is his chroot?01:23
orudieyes01:24
twbpmatulis: and he's running rsync with --rsh=ssh?01:24
pmatulis/home/chrooted_user (user is chrooted_user)01:24
pmatulisso /home/chrooted_user/.ssh/authorized_keys01:24
pmatulismaybe your chroot directory is not the home directory?01:25
twbWhat are you trying to do with this chrooted ssh session?01:25
orudiesftp01:25
twbHmm.01:25
pmatulisorudie: anything else before i leave?01:26
twbI suggest you talk to #openssh about it, since I don't know if that's supposed to work, or what to do to debug it.01:26
matthewmppHi, I am new to servers.  I added a user to my server by typing: useradd -m username.  This created the user and the home directory.  Then I used: usermod -a -G admin,adm,group1,etc username. This added the new user to existing groups.  Next, I typed passwd newuser as root, which allowed me to set a password for the new user.  The problem I have is that when I login as the newuser everything...01:31
matthewmpp...in front of "$" is missing. It should show something like username@hostcomputer:directory$.  Thanks in advance, any help would be appreciated. - MatthewMPP01:31
matthewmppping01:32
oh_noesAnyone installed Zend Optimizer?  In ./install.sh it'a asking for apache httpd.  However apache2 doesnt have it01:37
twbmatthewmpp: you should be using adduser, not useradd.01:37
twbmatthewmpp: the former is a high-level wrapper that will handle most of the work.01:37
twbmatthewmpp: the reason "everything in front of the $ is missing" is because that is the default behaviour for /bin/sh, which is the default shell.01:38
twbmatthewmpp: only if you use adduser(8) will /etc/adduser.conf be used, and this is what sets the default shell to bash, and populates the new home directory with the contents of /etc/skel.01:38
orudiepmatulis, so the path is /home/chrooted_user/.ssh/authorized_keys , why doesnt it wanna work for me then ?01:38
matthewmpptwb: cool.01:40
twborudie: did you read the log files?01:40
matthewmpptwb: what syntax do I use?  adduser -m newuser?01:41
twbmatthewmpp: RTFM01:41
orudietwb, auth.log does not produce any new logs when i try to connect01:41
twborudie: is sshd running?01:41
pmatulisorudie: maybe you have bad file permissions.01:42
pmatulisorudie: .ssh in particular should be 070001:42
twbpmatulis: the log will tell you if that is the case.01:42
orudieyou know what? i'll try to create a new user and start over , i think i messed with this particular user account way too much trying to figure this out01:42
orudiei'll let you know what happens01:42
pmatulisorudie: good idea01:43
twboh_noes: sounds like your install.sh assumes RHEL; I suggest you talk to the Zend people about it.01:43
pmatulisorudie: also, make sure you can connect with password before going to key authentication01:44
orudiepmatulis, i tested on 2 boxes, one with password the other with ssh key01:46
twbas there are no entries in auth.log, there is something seriously wrong with your sshd service.  I would investigate that before trying to get the client side working.01:46
orudiepmatulis, the one with password worked like a charm , took me 2 seconds to set it up01:46
pmatulisorudie: ok01:46
orudietwb, you are wrong01:46
orudietwb, the other user with different ssh key works very well, its my company's box01:47
pmatulisorudie: i got a quick recipe for this if you're interested, you might be missing something small01:47
orudieok01:47
pmatulisorudie: will msg01:47
twborudie: if you are not seeing rejection notices in auth.log for failed login attempts, then either the service is not running, it is not writing to auth.log, or your client is not connecting to the ssh server.01:48
twbI suppose that could indicate a failure in a firewall or a misconfigured client.01:48
orudietwb, are you familiar with ssh keys ?01:48
twborudie: yes.01:48
twbReading the log files is *the* way to find out why your connection was rejected by ssh.  It deliberately does not provide any detailed information to the client.01:49
orudietwb, trust me there is nothing wrong with sshd01:49
twbWith respect, you're in here asking for advice.  That's the advice I'm giving.01:50
orudietwb, hold on01:52
orudieok01:52
orudieto begin, here is the copy paste from my sshd_config01:52
orudiehttp://pastebin.com/m87120f401:52
orudienow i'm looking here http://www.debian-administration.org/articles/59001:53
pmatulisorudie: did you at least try to just ssh (not sftp)?01:53
orudiei will create user and add him to group sftponly01:54
orudiepmatulis, yeah man01:54
orudiei did01:54
twbI agree, I'd also get basic SSH working first.01:54
orudiepmatulis, around ?02:43
twbFrom #upstart, which is asleep:02:43
twb11:42 <twb> I am looking at /etc/event.d/ on an Ubuntu Server 8.04 system.  Can someone explain why tty1 and tty2 differ in their start/stop parameters?  It looks like tty2 through 6 are only active for runlevels 2 and 3.02:43
ha1331_how can I prevent ssh session from terminating because of timeout?02:58
ha1331_I know I need to add soething to ssh_config, but what?02:59
w3wsrmnha1331_: you could set ServerAliveInterval in ssh_config on your client, and/or ClientAliveInterval in sshd_config on the server03:04
ha1331_w3wsrmn: are the units for the value seconds?03:05
w3wsrmnha1331_: yup03:05
twbha1331_: I cheat and use -o BatchMode=yes03:06
ha1331_twb: what does that do?03:07
twbIt enables TCP keepalives.03:07
twbAs a side effect, I mean03:07
twbTypically if I want keepalives, it's because the connection is unattended, e.g. ssh -w'03:07
ha1331_twb: that setting is aplicable also for sshfs?03:08
twbsshfs should do it automatically IIRC.03:08
ha1331_IIRC?03:09
twbPerhaps you want -o reconnect03:09
ha1331_oh: IIRC = If I Recall/Remember Correctly03:10
ha1331_knew lol already03:11
ha1331_:)03:11
FFForeverWhat is the best way to do a jailed shell03:59
twbFFForever: OpenVZ04:04
FFForeveri am already on a vps :P04:04
twbThen stop.  You are done.04:05
FFForeveri want to give users on my system a jailed shell04:06
twbGood luck with that.04:06
FFForeveri know there is a way04:06
twbAFAIK there's no particularly secure way.04:07
FFForeverthere has to be a bettery way then to just give them a regular shell04:09
twbWell, yes, but basically what you end up doing is approximating a VPS system in userland, insecurely.04:09
FFForeverbut they will only have access to cp, mv, rm, uptime, nano, how can they destroy that?04:10
twbFFForever: if that's all they have access to, how will they log in?04:10
FFForeverwhat do they need to login?04:11
twbFFForever: well, login(8) and sh(1).04:11
FFForevernot bash04:11
twbAnd access to /dev/pts04:11
FFForever(8)?04:12
twblogin is a chapter eight program.04:12
twbOops, it's not04:12
FFForeverwhat is a chapter program?.04:12
twbman man.04:12
ixplhey04:49
ixpli need to know if it is possible to run ettercap on my remote box via ssh04:50
ixpli got some errors and just wondering if there's a workaround04:50
ixplpossible to run ettercap remotely via ssh?04:52
matthewmppHi, In ubuntu-server 9.04 is it okay to edit the fstab file manually?05:10
matthewmppIt does look like the standard config file I am used to.05:11
matthewmppping05:11
matthewmppmistake: it does not look like the standard config file. :-(05:12
jmarsdenmatthewmpp: man 5 fstab  # describes its format06:00
FFForeverwhat is a good tutorial for quota's?, also what happens when a user runs out?06:03
matthewmppyeah, i found an answer. thanks though.06:10
FFForeverroot@chr1831:~# edquota -u meklort -f PRGMRDISK1, edquota: Cannot stat() given mountpoint PRGMRDISK1: No such file or directory, any ideas?06:22
TimReichhartcan anybody help me out is there anyway that I can hide port 8080 on url06:36
twbTimReichhart: "hide" it how?06:44
TimReichhartinstead of going to mail.domain.com:8080/rc cant I just put it like domain.com/rc06:44
TimReichhartthe webmail and webserver are on 2 different servers06:45
twbTimReichhart: that would involve putting a proxy webserver on port 8006:45
twbe.g. mod_proxy or mod_rewrite06:46
TimReichhartok06:46
twbFFForever: PRGMRDISK1 doesn't sound like a filesystem06:46
ballWhat tape backup software can I use with Ubuntu Server?06:50
balltar?06:50
twbball: tape is super yuk06:53
twbUnless you already have your tape drive and hardware, get a HDD or DVD solution instead.06:53
TimReichhartso twb can u show me what a mod_rewrite looks like06:54
twbTimReichhart: no.06:54
TimReichhartalright06:54
balltwb: it's already in place (and for many systems, DVD simply isn't large enough)06:56
ballthe drive shows up as st006:57
ball...but my usual tar incantation doesn't work.06:57
ballI lack practice with Linux06:57
twbball: right; you'd use multiple DVDs for each backup.06:57
twbBut anyway, you have tape infrastructure already.06:58
twbI don't know much about the nasty details of tape, but I would start by looking at amanda (the "overkill" end of the spectrum) and tar (the "underkill" end up the spectrum).06:58
* ball tries tar again06:59
=== |404NotFound| is now known as error404notfound
ballah, I needed the "-" for Linux06:59
twbTheoretically, TAPE=/dev/st0 tar c /etc/ or similar.07:00
twbWhich "-"?07:00
ball"tar -tf /dev/st0"07:00
ballI come from a world where there is no - there.07:00
twbYou shouldn't normally need the - there.07:00
twbUnless you have stuff before it, e.g. you can't say "tar cf /dev/st0 C /etc ppp" -- you have to say "tar cf /dev/st0 -C /etc ppp"07:01
ballI was trying *t*f, to get a table of contents.07:03
twbYes, that should work.07:07
twbI don't know why it didn't.07:08
ballI'm just backing up some files now, will compare checksums after a restore.07:09
twbIf you're making WMRN-type backups, --lzma or -j might be a nice idea to save space, at the cost of extra CPU during the backup07:23
ballstraight tar is fine07:24
ballLooks promising too.07:26
ballit was just the "-" that threw me.07:26
twbOK, cool.07:29
ballHmm... seems like I have to keep power cycling the drive though.  That's not good.07:31
twbI'm afraid I can't help with that.07:33
oh_noesAnyone awake to help me with a mdadm RAID10 problem?07:35
balldamnit.07:36
_rubenoh_noes: not unless you give us some more details on the problem07:52
oh_noesI posted my problem here:  http://forums.overclockers.com.au/showthread.php?t=78726207:53
oh_noesforum should be open to hte world07:53
oh_noesbut basically, madm has dropped my md5 RAID10 volume  and I have no idea what next steps to try07:53
balltime to reach for your backup tapes perhaps.07:54
oh_noesWhy?  All 4 disks are live and sdd1 confirms they are healthy07:59
oh_noesbut mdadm has dropped the disks07:59
oh_noes(maybe its just trying to prove why it doesnt belong in the enterprise space)07:59
ballcould be.07:59
=== FFForever is now known as FFForever-Away
_rubenlooks like all 4 are marked as spare08:01
_rubenand the 'fault removed' lines sound scary as well08:03
ballouch.08:05
twbFrom what I've seen of OCAU weenies, I wouldn't trust them to do ANYTHING linux-related.08:13
oh_noesI don't really half a choice, I bum around on that forum so i might as well ask08:14
twbYMMV, but I tend to think of them as mainly being hardware weenies -- particularly Windows gaming hardware.08:14
twbFair enough.08:14
oh_noestwb: you dont have a sec to see the state of my madm in that post?08:14
twbIncidentally, why are you using RAID10 instead of RAID5?  Are the disk pairs of different sizes?08:14
twbI make a point of not reading web forums, because they seem to have deliberately poor accessibility.08:15
balltwb: RAID1+0 may be lighter in terms of CPU load08:16
twbball: I suppose...08:16
ball(slightly ;-)08:17
twbI'd have to think about the failure more for RAID1+0, but I'd be more scared of it than RAID5 or 6.08:17
twbAssuming by 0 you mean striping and not mere catenation08:17
_rubenraid10 is atleast as safe as raid508:18
balltwb: usually it's taken to mean a stripe over mirrored pairs of disks.08:18
_rubenraid10 can sustain multiple diskfailures, as long as they're not part of the same raid1 set08:18
_rubenalso raid5 has lousy write performance08:19
twb_ruben: OK, so it's kinda 1½ parity drives :-)08:19
ssm_ruben: unless you pay big $$$ for hardware that does raid5 for you, then it _may_ be fast.08:19
_rubenraid10 doesnt do parity08:19
_rubenraid5 will *never* be as fast as raid1008:20
ssmyou don't need parity for raid1+008:20
_rubenraid5 is fine for a fileserver or so .. but for db's or vm storage, you'd need raid10 to get a bit of decent performance08:20
ballssm: that's what we did, and I rather wish we hadn't.08:20
ssm_ruben: on my EMC hardware, raid5 on 4+1 disk _is_ faster than raid10 on 4 disks.  On MD, it's not.08:21
ssmI don't like raid5 anyhow.   Stripe and mirror everything important08:21
ballI'm going to bed.08:22
ssmunless it's raid5 on ZFS, then you'll get rid of the possibility of rad5 write hole.08:22
_rubenssm: 4+1 ? thats a hotspare i assume?08:23
_rubenssm: also, workload is a very important factor here08:24
oh_noes4+1 is most SAN speak means 4 data 1 parity or 5 disk RAID508:24
ssm_ruben: 4+1 is one of the two raid5 combinations on EMC clariion, the other is 8+1.08:24
oh_noesRAID10 is typically faster for writes, RAID5 reads may beat it but with slower write performance08:24
ssmoh_noes: true08:24
_rubenif 4 data + 1 parity .. its an unfair comparison ..  4 versus 5 disks08:24
ssmoh_noes: unless you've got a good write cache, and a storage processor to layout the data to avoid disk seeks.08:25
oh_noeswhich, in our example (mdadm on sata) you don't have.08:26
_rubenmust admit i havent been lucky enough to get my hands on a EMC/EQL/EVA/etc .. just various levels of poorman's sans08:26
oh_noesI needed write speed and performance over space,so RAID10 in my use is the obvious answer08:26
oh_noesbut, why mdadm thought it would die, was not part of my asumptions08:27
_rubenoh_noes: have you tried anything to revive it? if so, what?08:28
oh_noesI havent tried anything.  I'm not familar with mdadm.08:28
_rubenodd08:28
oh_noesThats my problem, i have no idea what to try next.08:28
oh_noesheck, I don't even understand mdadm --detail and I'm not sure what state it's in08:28
_rubenas i interpret it, the seperate disks disagree on the state of the other disks08:29
oh_noeshttp://pastebin.com/m1001869408:29
twbI'd be nervous about a nine-way array with only one parity disk08:29
oh_noesthats the (non forum) output08:29
_rubenat this stage i'd be prepared to lose your data (and thus get the backups ready, if any), and try to rebuild the array, the data *might* not be lost08:32
_rubens/to lose/to have lost/08:32
jmarsdenIf you really think all disks are 100% fine, you could try using mdadm --re-add to add devices back into the array... but I'm definitely *not* an expert on this, and unless you have good backups, at this point it looks like you need an expert :)08:33
_rubenjason^: re-add wont work i think, as they're currently all listed as being part of it already and marked as spare, atleast that's my interpretation of those (S)'s08:34
_rubenjmarsden: ^08:34
_rubendamn autocomplete08:34
oh_noesthe part that I have found weird is, mdadm --detail /dev/md5 returns "mdadm: md device /dev/md5 does not appear to be active."08:34
oh_noesWhat does that mean?  it doesnt have enough active/online dev to bring it online?08:35
ssm_ruben: if you've got disk space somewhere else, you could try to dd your disks, and try to use mdadm to assemble the virtual disks08:35
oh_noesI'm trying to see a higher level 'what mdadm thinks' against all 4 disks... is it DEGRADED with 3 of the 4 disks down?08:35
_rubenssm: indeed .. (though im not the one with the problem ;))08:35
ssm_ruben: ah, it's oh_noes :P08:36
_rubenoh_noes: it depends on which disk you ask that question .. mdadm's point of view is that is sees 4 spares (i think)08:36
twboh_noes: /proc/mdstat?08:36
oh_noestwb: mdstat is at the bottom of that pastebin output08:37
oh_noes_ruben: where is it showing them as spares?08:37
_rubenmd5 : inactive sdf1[3](S) sde1[2](S) sdd1[1](S) sdc1[0](S)08:39
twboh_noes: the (S), I imagine08:39
oh_noes_ruben: I dont want to ask the disk, I want to ask mdadm..  Surely mdadm manages every IOP to ensure each dev gets the command and in the case of RAID10, ensures both dev's (the '0' part) ackowledge and return ok08:39
_rubenmdstat output08:39
_rubenmdadm's point of view is represented in /proc/mdstat08:39
sorenThat's not entirely accurate.08:45
soren/proc/mdstat is the kernel's point of view.08:45
_rubengot a point there :)08:53
twb"mdadm" is being used loosly to refer to the underlying md.ko or whatever, I think08:54
ghostlineshi all09:12
ghostlinesi was trying to run an script using sudo and it didn't run, I had to switch to root to get it to run09:13
ghostlineswhy is this?09:13
ghostlinesit was s simple script from open-vpn http://openvpn.net/index.php/open-source/documentation/howto.html#pki09:14
=== NCommander is now known as ApportRetracerPo
=== ApportRetracerPo is now known as NCommander
owhIs anyone aware of a tool that will provide me with a web based UI into a maildir directory? I'm not really looking for an full IMAP webmail client, or installing sqwebmail with courier - the only functionality I really need is to view the message in a browser so the user can manually process the message in another web based process.09:28
owhEven a command-line tool that would render a message would do the trick.09:29
twbowh: mutt -f /path/to/maildir09:31
twbOr did you actually mean CLI when you said CLI? ;-)  People tend to include charcell GUIs in that list ;-)09:32
twbStrictly speaking, cat(1) will render a message in a maildir09:32
owhWell, if it was a CLI, then I'd hope to run the magic parser command and render it within a web-frame :)09:33
owhcat doesn't qualify as a parser :)09:33
owhWell, I suppose, technically it does, parsing bits and all :)09:33
owhI mean, make a maildir message human readable :)09:33
owhAnd with human, I mean, *not* a programmer like me -- think secretary.09:34
twbChop of everything before the first \n\n sequence.09:35
owhYeah, except that lots of this mail has multi-part crap in it with funky encodings and line wraps.09:35
twbowh: haha, then you need a mime demuxer09:36
owhImagine I rewrote my question appropriately :)09:36
owhOooh, mimedecode and mpack are ringing bells.09:38
twbwhat language are you writing in?09:38
owhphp09:38
owhYes, I could write it all from scratch - I'd rather not :)09:38
owhJust for the record, I'm trying very hard not to have to use php-mail-mimedecode and decode each message manually if I can avoid it.09:40
twbSorry, I don't condone the use of PHP.09:43
owhThat's ok, it's not on your server :)09:43
owhtwb: It's not on mine either, but that's just semantics :)09:45
_rubenghostlines: without looking at the url but judging from my memory, it involves sourcing a file with variables, and with sudo you get a temp shell (afaik), so the sourcing wouldnt do what you want09:48
BrixSatis there any way to connect to a machine and administer like team viewer or log me in?10:42
_rubenok .. this is nuts .. i can resolve an internal hostname using 'host', i can ping the corresponding ip, but i cant ping the hostname: it says it cant resolve it10:49
ewookdns-missmatch.10:53
_rubenhmm .. it doesnt even attempt to contact my dns server10:53
ewookcheck what dns-servers you have set it to use.10:54
_ruben$ host vn-t-mx04.mailtest001.local ; ping vn-t-mx04.mailtest001.local10:55
_rubenvn-t-mx04.mailtest001.local has address 10.0.64.13410:55
_rubenping: unknown host vn-t-mx04.mailtest001.local10:55
BrixSatFailed to query Postfix config command to get the current value of parameter home_mailbox: /usr/sbin/postconf: fatal: open /etc/postfix/main.cf: No such file or directory10:55
_rubenhmm .. its not a local issue, other machines show the same .. lets check my dns server10:57
_rubenhmm .. the .local seems to be the issue here .. i see avahi and multicast traffic going on11:01
BrixSatis there any way to connect to a machine like team viewer or log me in, i need to bypass lots of router's and i cant port forward all?11:02
_rubenBrixSat: still dont have a clue what you're asking11:03
BrixSat:p11:04
_rubenstupid mdns stuff .. editing /etc/nsswitch.conf did the trick11:04
BrixSati used to have a machin running windows inside a huge network, and i used team viewer to administer it, now i have ubuntu server and i cant connect to it from the interner, cause it has at least 10 routers and im not the network administrator11:05
BrixSatgot it?11:05
_rubenwell, you'd need atleast a single port opened to it in order to be able to connect it .. and routers arent the problem, its most likely firewalls that are interfering11:06
BrixSati have port 22 ssh11:09
BrixSatbut how can i reach the machine from the outside world?11:09
stanman1hi, i'd like to run postfix as a relayhost for an exchange (sbs 2003) server, anyone done this before?11:09
stanman1or knows a tut11:10
BrixSat_ruben?11:23
_rubenstanman1: inbound or outbound?11:50
_rubenBrixSat: ask the network admin(s) to open up port 2211:51
BrixSat[_ruben] lool dont you think i have done that before? he wont open!!11:51
BrixSatteamviewer did not need that and log me in was the same! no port opening on router11:52
_rubenteamviewer would need atleast one port to be open as well .. atleast to (for example, as i dont know that tool) a teamviewer server11:55
_rubenif no inbound connections are allowed, then its probably for good reason11:56
_rubenhaving the box initiate an outbound vpn connection to a known place *might* do the trick, assuming outbound isnt filtered11:58
stanman1_ruben: both in- and outbound11:59
_rubenstanman1: the biggest challange is telling postfix the list of valid email addresses, tho there's quite a few scripts out there on the net that dump the AD info into a file that postfix understands12:19
ewooknot that hard.12:31
_rubenprobably not, indeed12:51
ewookpull the addys from ad, and insert into file/db.12:51
ewookand the format for postfix is already defined. so, ya.12:52
=== cemc1 is now known as cemc
qiyongcan I use php cgi, withouth #! ?14:00
qiyonghow do i install a pkg without installing its depends?14:19
PhotoJimqiyong: if the depends aren't installed, your package won't work.  if they're already installed, they won't be reinstalled.14:19
qiyongPhotoJim: my package can work14:20
qiyonglibapache2-mod-passenger depends on mpm worker, but i don't like to use worker14:20
qiyongPhotoJim: ^14:20
orudiequestin. how do i view the keys on my host ?14:21
PhotoJimqiyong: you may need to install from source, then.  or convince the libapache2-mod-passenger developer that the dependent package is not actually required.14:21
qiyongcan i ignore the depends?14:21
PhotoJimthat depends on whether that dependency is actually required or not.14:22
sorenqiyong: I told you already.. You don't have to change anything in your php scripts or directory layout or anything to use php via fastcgi.14:24
sorenAll you need it to change your apache configuration a tiny bit.14:24
qiyongsoren: sorry, i can't get my apache confed properly for fastcgi14:25
sorenI use libapache2-mod-fcgid myself. See http://fastcgi.coremail.cn/ for docs.14:25
iulianCan someone please point me to a list of server specific merges that should be done?  I remember seeing a wiki page about this but unfortunately I cannot find it anymore and google is no help :-(14:26
soreniulian: I don't know if we maintained such a list this time around.14:26
soreniulian: Ask mathiaz when he shows up.14:26
sorenProbably within the next hour or so.14:27
iuliansoren: OK, I will then check on launchpad for packages that need to be merged.14:28
iulianI mean, where -server is subscribed.14:28
iulianAha! https://bugs.edge.launchpad.net/~ubuntu-server/+packagebugs14:29
* iulian hopes they are not all in main.14:29
sorenMost are, I'm afraid.14:30
sorenPlease don't let that stop you.14:30
iulianIt doesn't matter, I will just attach the debdiff to the bug.14:30
sorenMyself, mathiaz, and kirkland can all sponsor stuff for you.14:30
sorenas well as any other core-dev.14:31
iulianIndeed.14:31
iulianThat's odd.  I'm wondering why bacula has as the Maintainer the MOTU developers and the package is actually in main.14:42
soreniulian: Probably because noone bothered to fix the maintainer when it was promoted.... three releases ago. :)14:43
iuliansoren: Yeah, well, in 2.2.8-4ubuntu1 they modified the Maintainer.14:44
sorenFrom what to what?14:44
iulianNo idea, that was back in Hardy.  The changelog only mentions that the maintainer field has been modified.14:45
iulianAh14:46
iulianIt was first modified in Gutsy, 2.0.3-4ubuntu1.14:47
iulianBlah, it doesn't matter when it was modified, we just need to update it, that's all.14:47
* iulian shakes head.14:48
=== pschulz01_away is now known as pschulz01
pschulz01Greetings.. I'm not going to be able to join the meeting, but I have been looking into the VirtualBox OSE repository (svn).. and their Debian packaging.14:52
pschulz01Is dkms the 'prefered' way to include modules these days?14:53
=== pschulz01 is now known as pschulz01_away
sorenpschulz01_away: Yes.15:10
LordDicraniusis there a way to make Courier-IMAP deliver to an external mailbox (of the same name locally) using the MX records (rather than just dropping it off locally)?15:22
uvirtbotNew bug: #385221 in apache2 (main) "Error 403 after changing default root" [Undecided,New] https://launchpad.net/bugs/38522115:35
iulianzul: Ah, I've just been preparing the nut merge :-)15:52
zuliulian: sorry :)15:53
iulianHeh, no worries.15:53
joe-mac1helloy all, i've created a custom repo with reprepro and it works pretty great, except i get a warning from apt on my nodes when they run an update saying expected distro hardy but got ), presumably just an empty string. i looked at the distributions file and it looks set... any ideas?15:55
orudiewhy am i having so much trouble with ssh keys ?15:55
fbc-mxIS there no equivalent in Ubuntu-server that announces/broadcasts nfs shares like samba does for it's shares?15:56
Jeeves_fbc-mx: Does that even exist for nfs?15:56
fbc-mxMy desktops can only see the windows shares but not nfs shares15:56
fbc-mxJeeves_, I dunno, that's why I'm asking.15:56
fbc-mxJeeves_, I mean there has to be a way of making them show up to my desktops.15:57
Jeeves_fbc-mx: Yes, by mounting them15:58
fbc-mxJeeves_, I'll try to download one of those UBUNTU PDFs from some torrent site. Maybe I can get some insight as to how it's supposed to be done in a network environment.15:59
Jeeves_fbc-mx: afaik, nfs does not broadcast15:59
Jeeves_neither does samba, afaik15:59
Jeeves_showmount -p can do some stuff with nfs15:59
Jeeves_but that is to be run from the client, asking the server which mounts he has16:00
fbc-mxJeeves_, NFS does not broadcast??? Neither does samba?? Then every desktop goes out and port scans every computer to find shares? That's very ineffecient.16:00
Jeeves_fbc-mx: No, a desktop will broadcast to see which computers reply16:00
fbc-mxJeeves_, There has to be a broadcast of services by Samba. It would be so inefficient for every Machine to do that.16:01
fbc-mxJeeves_, ahh.16:02
Jeeves_fbc-mx: Ok, whatever you want16:02
* Jeeves_ will shutup now16:02
=== pace_t_zulu_ is now known as pace_t_zulu
fbc-mxJeeves_, ah, ok  so a desktop puts out a special query packet that the samba server responds to with a list of shares. Is that correct?16:02
Jeeves_no16:03
Jeeves_the client asks which other samba clients there are16:03
Jeeves_those clients show up in the 'windows networking' stuff16:03
Jeeves_and than you click further and further16:03
jmarsdenhttp://www.ubiqx.org/cifs/Browsing.html may be a relevant chapter of "Implementing CIFS" ?16:04
fbc-mxJeeves_, so back to the problem. I have to go to every computer mounting NFS shares every morning when they boot up? There has to be a better way.16:04
Jeeves_vi /etc/fstab16:05
Gena01hi16:07
Jeeves_hi16:07
jmarsdenfbc-mx: Are you aware of autofs ?  https://help.ubuntu.com/community/Autofs16:07
Gena01I am running Ubuntu Server 9.04 and apache+php.. and when I change apache2/php.ini error_log=/var/log/apache2/php_err.log it's not working.. I tried chown root.adm and 666, but it keeps writing errors to error.loh16:08
Gena01error.log i mean16:08
Gena01is it a known issue or I am doing something stupid?16:08
jmarsdenGena01: Did you restart Apache?16:08
Gena01yup16:08
Gena01the cli works. it's able to write to the file.. it's 666 now... but apache still doesn't16:12
Gena01should I file a bug?16:14
jmarsdenI'd see if you can get someone else to duplicate it first, but you could if you want.  I have to head out to work so I can't help further right now, I'm afraid.  I generally use syslog logging rather than direct-to-file logging on "my" servers, so I don't have much experience with using error_log=16:16
Gena01jmarsden: for us it helps to have 1 error log file for both apache and cli apps16:18
jmarsdenSure, but can't the cli apps also log via syslog?16:19
Gena01i want all php errors to go there.. they could.. if they can catch and redirect things.. but that's more complicated16:19
orudiecan someone help me ssh key ?16:20
Gena01and some errors are not possible to catch from php..16:20
jmarsdenIf you just set error_log = syslog   then whatever would have gone to your file goes via syslog... right?16:21
Gena01jmarsden: mmm.. i guess it could work.. but then I have to change syslog and redirect php errors out to a separate file and fix permissions so that devs can read the file16:21
jmarsdenProbably.  man 5 syslog.conf16:22
Gena01jmarsden: still weird that it's not working16:22
jmarsdenYes, it should work your way too.  But I need to get out of here... sorry :)16:23
Gena01jmarsden: np, thanks for your help16:23
jmarsdenorudie: See http://ubuntuforums.org/showthread.php?t=3070916:24
uvirtbotNew bug: #385251 in php5 (main) "apache2/php.ini error_log=/var/log/apache2/php_err.log not working" [Undecided,New] https://launchpad.net/bugs/38525116:46
jmarsdenGena01: One more thought: check permissions on /var/log itself.  Or try error_log = /tmp/php_err.log as a test.16:48
Gena01jmarsden: but that would only matter if that file doesn't exist.. right?16:50
tomsdale_there is a command to force a file not to get overriden by the system but I forgot. trying to make my resolv.conf unchangable.16:51
Gena01jmarsden: mmm... ok..  /tmp/php_err.log works..16:53
tomsdale_ chattr +i  that's it. Makes a file unchangable16:54
jmarsdenSo you have a permissions issue in /var/log, I would strongly suspect.  Syslog handles that for you :)16:54
jmarsdentomsdale_: Better to tell your dhcp client to leave DNS info alone that do strange things like that, surely?16:54
tomsdale_jmarsden: it's temporarily so I'll change it back.16:56
jmarsdenYour choice.  Editing /etc/dhcp3/dhclient.conf to do a supercede for the domain info seems more logical to me...16:57
=== jussi01 is now known as jussio1
=== jussio1 is now known as Android
=== Android is now known as Tuhina
=== Tuhina is now known as jussi01
iulianWould anyone like to sponsor bug#385262?17:07
tomsdalecan anyone explain this. host www.mydom.com => IP1     ping www.mydom.com => IP2.   Why is the name resolution via hostfile disregarded by some programs?17:43
tomsdaleI have an extra entry in my /etc/hosts for www.mydom.com. Ping resolvs via the /etc/host17:43
mathiaztomsdale: ping uses the libc library (and thus nsswitch+resolv.conf) while host doesn't use the libv resolver but talks *directly* to dns servers17:47
mathiaztomsdale: host is a utility to query dns servers and debug them17:48
tomsdalethx, that makes sense mathiaz17:50
uvirtbotNew bug: #385262 in tomcat6 (main) "Merge tomcat6 6.0.20-1 from Debian unstable" [Wishlist,Fix committed] https://launchpad.net/bugs/38526218:20
muszekhi... I'm trying to do a remote backup using ninjabackup.  It uses rdiff-backup.  I have hardy on production server and jaunty on home server.  ninjabackup complains that rdiff-backup has a different version on each computer and doesn't want to proceed.  Any solutions?  There's no rdiff-backup in hardy-backrports18:32
muszekor maybe you can recommend some other backup solution?  needs to handle mysql and regular files.18:33
=== FFForever-Away is now known as FFForever
=== FFForever is now known as FFForever-Away
=== FFForever-Away is now known as FFForever
iulianmathiaz: Thanks.18:45
shadow98what is the best way to have an active/active failover for our webserver/mysql server18:50
orudiehow do you specify port with scp ?18:51
PhotoJimorudie: scp -P xxxx18:54
orudiecan someone have a look at this and maybe hint me on whats wrong ? http://pastebin.com/d5a3338fd19:14
alex_muntadaorudie: it seems that the remote server is closing the connection19:23
orudiealex_muntada-> yeah but why ?19:23
alex_muntadait will be very helpful to see the logs on the other side19:24
alex_muntadaorudie: you can try increasing verbosity level as in sftp -vvv ...19:24
jared555what are the advantages/disadvantages of ubuntu server with kvm vs centos 5.3 with xen?  I have mostly used centos with xen19:34
shadow98what is the best way to have an active/active failover for our webserver/mysql server19:51
ivoksdrbd19:55
ivoksand mysql in master-master replication19:56
ivoksdrbd for web site19:56
pmatulis_ivoks: don't you need a ha component?20:01
ivoksdepends on setup20:02
ivoksif you have two nodes in 'cluster'20:02
ivoksand both serve the same stuff20:02
ivoksthen drbd in primary/primary should be enough for web site20:02
ivoksand mysql in master/master replication for mysql20:03
ivokshopefully, you have a loadbalancer that can load the traffic on them20:03
ivoksif you don't have it, then you need to manage IP failover20:03
ivokson top of drbd you can have ocfs2 or gfs2 (if you want gfs2, then you need redhat cluster suite)20:04
orudieivoks-> hi, are you familiar with sftp when using ssh key ?20:05
pmatulis_orudie: you still didn't get it working?20:06
orudieno but i'm getting a different error this time20:06
orudiehow did you configure your sshd_config ?20:06
pmatulis_orudie: last time you were trying to chroot with ssh, is this the same now?20:07
orudieyeah exactly20:07
pmatulis_orudie: did you try to use just ssh (not sftp) with the simplest config (no groups, etc)?20:07
pmatulis_ivoks: thank you for your answer20:08
orudiepmatulis_-> yes ssh worked with ssh key i figured that out20:09
pmatulis_orudie: in chroot right?20:09
orudienope not in chroot20:09
orudiestill having a problem with chroot20:09
pmatulis_orudie: so sftp problem is not related to chroot right?20:10
Hillaballoohey all, I need some emergency help- after a reboot, libvirtd is hanging repeatedly20:11
Hillaballoo9.04 64x8620:11
Hillaballoohangs pegging one CPU core...but after it manages to kick off the KVM machines that are auto-start20:12
ivoks'night20:12
yann2_hi20:16
yann2_W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-i386/Packages.bz2  Hash Sum mismatch20:16
yann2_I've been getting this for weeks - am I the only one?20:16
phoenixzWhat are the max. specs on CPU and memory for ubuntu-server?20:18
phoenixzas in, howmany CPU's could it support20:19
phoenixzand howmuch memory?20:19
phoenixzWhat are the max. specs on CPU and memory for ubuntu-server?20:19
jmedinaphoenixz: from the ubuntu oficial site: http://www.ubuntu.com/files/server/UbuntuServerBrochure804LTS.pdf20:22
phoenixzthanks!20:22
jmedinaups20:22
jmedinait is not there20:23
jmedinahttp://www.ubuntu.com/getubuntu/download-server20:23
phoenixzjmedina: just a detail... 9.04 specs are equal to 9.04 specs? I need the 9.04 limits.20:23
jmedinathgere is a link to  Installation requirements"20:23
jmedinaphoenixz: I dont know I dont use 9.04 for servers, only LTS20:23
steffanjmedina: If I recall correctly those are minimum requirements? phoenixz is asking for maximum20:24
phoenixzsteffan: correct20:24
phoenixzI need maximum supported..20:24
LMJphoenixz  : ubuntu is a kind of bundeled open source softwares with one famous called Linux : the kernel. Is the one who deals with hardware, check on the Linux kernel max specs instead (according to the ubuntu kernel version) You will see limits are pretty huge20:24
phoenixzWe're looking at as sweeet 24 core IBM server which probably will run some 500+GB memory... I'd like to be sure that ubuntu-server will keep running on it20:25
jmedinaphoenixz: and that will depend on the arch20:25
phoenixzLMJ: I know the kernel limits yeah, thats pretty high.. but I dunno if ubuntu itself has some lower specs of that?20:25
phoenixzjmedina: i386 architecture20:25
LMJphoenixz : pretty sure : no, maybe you could have some sysctl tweaks or a custom ubuntu kernel to optimize the ressource utilisation20:26
phoenixzLMJ: pretty sure: it will work, or pretty sure: it will not work?20:27
phoenixzIts not very clear :)20:27
LMJit will ;)20:27
jmedinaphoenixz: so what do you expect?20:27
jmedinado you already have a requirement?20:27
LMJ500GB : nice, but i'm wondering why you are not running AIX crap on this hardware to have full support from IBM, ubuntu is kinda exotic20:27
jmedinaups, /me scrolling up20:28
shadow98ivoks: sorry i stepped a way for a bit and just got your message20:28
shadow98ivoks: ok so I am going to use drdb and mysql replication master/master20:28
shadow98what is the purpose of the new filesystem ocfs2?20:29
LMJcluster oriented shadow98, developped by oracle iirc20:29
phoenixzLMJ: its sweet yeah, but its still all planning.. Using ubuntu because.. it simply works :) Going to do virtualization with it.. correction bout the memory by the way, its going to be more like 100 - 200 GB..20:29
jmedinaphoenixz:  what are you planning to use for virtualization?20:30
LMJit may work but you should use 64bits architecture is CPU can handle it20:30
LMJif*20:31
phoenixzlooking at kvm based solutions.. We've done quite a bit of testing, looks good so far20:31
phoenixzLMJ: it should be 64 bit yeah.. if the CPU could not handle that, I doubt the server would be able to exist in the first place :)20:31
LMJyou have an efficient storage too? That's the typical virtualisation bootleneck20:31
phoenixzLMJ: Fiberoptic SAN.. probably multiple cards per server to be able to sustain high throughoutput (how do you write that again?)20:33
phoenixzanother thing we're working on.. it should be possible to "bundle" multipe (say 4) network cards together to access them like if they were only one network card, right?20:33
shadow98so are the majority in agreement the best bet for an active/active failover is drdb20:33
phoenixzLMJ: ubuntu server also supports fiberoptic cards like Qlogic and Emulex?20:34
jmedinaphoenixz: for storage is multipath, IBM has a RDAC drivers wich is not supported in ubuntu, you can use kernel DM-Multipath which works fine20:34
jmedinaand channel bonding for network interfaces20:35
orudiepmatulis_-> pm20:35
phoenixzso we should not have a problem with the fiberoptic cards under ubuntu?20:35
jmedinait depends, I have used QLogic HBAs20:36
phoenixzjmedina: and that worked fine... ?20:37
phoenixzqlogic..20:37
jmedinayeap20:37
jmedinaI have IBM bladecender H20:37
jmedinawell my customer :)20:38
Sam-I-Amjmedina: the launchpad ops have yet to fix my PPA issue so i dont have those packages up yet... but they're done.20:40
jmedinaSam-I-Am: good, can I get them from other site?20:41
Sam-I-Ami dont have any place to put them unfortunately20:41
jared555how is ubuntu/kubuntu's virtualization compared to centos? I know ubuntu uses kvm and centos is xen.  I only have experience with xen so I could use some info from real world usage (not just benchmarks)20:41
Sam-I-Ambut i have openldap-2.4.16-cvs w/ gnutls and openssl... dhcp, bind9, samba, and miscellaneous libraries backported from jaunty to hardy20:42
yann2_jared555 > exciting but new and not very stable20:42
Sam-I-Amoh, and heimdal20:42
jmedinabind9 with ldap?20:42
jared555if I am going to be using virtualization heavily would you suggest centos for the server side then?20:42
phoenixzjmedina: I just checked in the linux channel.. They say if the motherboard supports it, the linux kernel will support it.. So ubuntu will also support a 24CPU/256G server?20:42
yann2_would recommend waiting or very, very properly testing if it is for prod20:42
Sam-I-Amjmedina: well, i'm rolling out a bunch of newer apps for hardy... bind9 is one of them.20:43
yann2_jared555 > I don't know centos - but I am unsure about kvm in jaunty20:43
jmedinaSam-I-Am: good, I need bind9+ldap20:43
Sam-I-Amgot em :)20:43
Sam-I-Amthey both need my rebuilt db4.7 libs... also included in the mix20:44
yann2_jared555 > the most serious issues may have been fixed by now though20:44
jmedinaand what bout samba? do I need new version to support new libldap?20:45
Sam-I-Amno, i didnt force bind to need libldap 2.4.1620:45
jared555well, my entire home network will be relying on the virtualization heh20:45
zoopsterjared555: centos is a bit behind jaunty for kvm - kvm was a focal point in Jaunty because of ubuntu enterprise cloud20:45
Sam-I-Ami'm trying to keep most of the apps as non-interdependent as possible20:45
yann2_its probably good enough for home network :)20:45
jared555well I meant centos's xen20:45
phoenixzWhat is the larges (known) server running ubuntu-server? largest as in, highest hardware specs ?20:45
jared555basically I will be running either xen on centos or kvm on ubuntu server20:47
zoopsterjared555: well xen in centos is well behind kvm in jaunty...if you have vt extensions...kvm in jaunty would be a better option20:48
shadow98exit20:48
jared555ok, thank you20:48
phoenixzWhat is the larges (known) server running ubuntu-server? largest as in, highest hardware specs ?20:52
Sam-I-Ami've run it on 8 cores and 64 gigs of ram...20:52
phoenixzSam-I-Am: If all goes as planned, I'll probably run it on a whee bit more than 8 cores20:55
Sam-I-Amjust a few?20:57
phoenixzSam-I-Am: 2420:58
phoenixznot more than that, simply because I can not find anything bigger on the i386 platform :)20:58
Sam-I-Amwhat needs 24 cores?21:05
steffanphoenixz: I'll have an account on this server, okay :)21:07
phoenixzSam-I-Am: virtualization21:07
Sam-I-Ami'd recommend against more than 8 cores or so in an x86 box21:07
phoenixzsteffan: You have any idea on what the largest known ubuntu-server installation might be, hardware wise?21:07
Sam-I-Amx86 is just too bandwidth-limited21:07
Sam-I-Amyou'd be much better off with 3 eight-core boxes21:07
jmedinaphoenixz: why dont you send a message to ubuntu server mailing lists21:10
phoenixzSam-I-Am: well, virtualization usually means larger == better21:10
phoenixzjmedina: I may just do that, yeah21:10
steffanphoenixz: Follow philosphy (as you are in a Linux channel) and push it too it's extreme :)21:10
steffanphoenixz: You will soon find out that way.21:11
phoenixzsteffan: as in, you think its too extreme?21:12
steffanphoenixz: No, I think you should try it.21:14
phoenixzsteffan: we'll probably get the server anyway, its just a question of what operating system. Because of very good experiences with ubuntu on servers (and  very bad ones with RHEL, SLES, etc), I want to give it the chance it deserves..21:15
Sam-I-Amlinux is linux though... rather, its just a kernel21:16
Sam-I-Amthe kernel probably scales fine to 24 cores, but x86 itself does not.21:16
mathiazkees: hey - I saw you made a bunch of upload around May 11th: No-change rebuild to gain FORTIFY defaults.21:45
mathiazkees: what is this for exactly?21:45
ajmitchis there a new default compiler option for gcc?21:46
ajmitchfunny, launchpad has gone back to the original joining date for ubuntu-server for me, in 2005 :)21:47
mathiazajmitch: launchapd remembers *everything* for *ever*21:47
ajmitchyeah I know21:48
* ajmitch is just reading over the meeting log now21:48
orudiei followed this guide http://www.debian-administration.org/articles/590 , but i cant write with chrooted user21:48
orudiehow can i check what the user's home directory is set to ?22:00
littleendianwho wants to help a noob with postifx?22:01
littleendianbetter make that postfix22:01
littleendianfatal: no SASL authentication mechanisms22:02
littleendianpostfix and dovecot / I followed the guide at https://help.ubuntu.com/8.10/serverguide/C/postfix.html#postfix-configuration22:09
keesmathiaz: it was to catch things that had not been rebuilt in main since the hardening options were introduced in intrepid.22:15
ajmitchthat was a little while ago22:15
keesmathiaz: the goal for 100% of main being covered by the next LTS22:16
keesajmitch: yup, but still a lot of ELF packages hadn't been rebuilt.22:16
* ajmitch isn't too surprised about that22:16
mathiazkees: oh ok. So not a new feature.22:16
keesmathiaz: right22:16
mathiazkees: just making sure that everything will be covered for the next LTS.22:17
* kees nods22:17
littleendianfatal: no SASL authentication mechanisms can anyone help me with this?22:18
muszekhi... how do I disable the stuff printed out to STDOUT when I log in via ssh?  This output prevents rdiff-backup from working properly22:31
uvirtbotNew bug: #385373 in samba (main) "Segfault in smbd" [Undecided,New] https://launchpad.net/bugs/38537323:17
=== hggdh is now known as hggdh_
=== hggdh_ is now known as hggdh__
=== hggdh__ is now known as hggdh
_cpod_i want to put a bigger hard drive in my server but don't want to lose any files/configurations. what is the best way to copy everything from the old drive to the new one?  (both are currently mounted)23:51
* _cpod_ is sure that's a noob question23:52
phoenixz_cpod_: cp -a /path/to/source /path/to/destination23:54
dinger2006is it raided?23:54
_cpod_no, ive got an old 30GB IDE drive that i want to replace with a 320GB IDE drive.  no raid or sata23:55
phoenixzNew verbs.. I raid, you raid, we raid, we raided, we were raided...23:55
_cpod_lol23:55
phoenixz_cpod_: mv /path/to/source /path/to/destination cleans the source right away as well23:55
dinger2006ok23:55
jmedinaI prefer rsync23:56
jmedinarsync -a /path/to/source /path/to/destination23:56
_cpod_oh, and the old drive will be removed.  if that matters23:56
jmedinaif cp fails you have to start from the begining23:56
orudiejmedina, i'm tired of fighting with chroot, can you recommend a secure ftp modality ?23:57
_cpod_jmedina/phoenixz: ok i'll give those a try. and how would i copy/redo my MBR?23:57
jmedinaorudie: I use pure-ftpd with virtual users23:57
jmedina_cpod_: you use dd23:58
phoenixz_cpod_: you want to have like an image? use dd23:58
phoenixz_cpod_: dd if=/dev/sda1 of=/dev/sdb1 for example23:58
jmedinaI think is dd if=/dev/hda of=/dev/sda bs=512 count=123:58
jmedinaI prefer to reinstall grub in the new drive23:58
_cpod_alright thanks guys i think thats exactly what i need23:59
phoenixzjmedina: you have to specify block and count for dd? I thought for those operations you could just dd if= .... of=.... and done23:59
jmedinadd will also copy partition table23:59
orudiejmedina, can you give a link with instructions on setting that up ?23:59
jmedinaphoenixz: well that way wil only copy MBR23:59
phoenixz_cpod_: dd copies on block level.. basically on the lowest level you can get23:59
jmedinadd is really slow, it copies even empty blocks23:59

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