/srv/irclogs.ubuntu.com/2006/12/09/#ubuntu-classroom.txt

=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd340089.netvigator.com] has joined #ubuntu-classroom
=== Limulf [n=Limulf@62.42.31.56] has joined #ubuntu-classroom
=== stalefries [n=stalefri@static-66-15-213-236.bdsl.verizon.net] has joined #ubuntu-classroom
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== nothlit [n=nothlit@pcd416188.netvigator.com] has joined #ubuntu-classroom
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@n218103252160.netvigator.com] has joined #ubuntu-classroom
=== anuragJ [n=fre4k@59.92.48.7] has joined #ubuntu-classroom
=== xinchuan [n=xinchuan@bb219-75-24-161.singnet.com.sg] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@n218103252160.netvigator.com] has joined #ubuntu-classroom
=== stalefries [n=stalefri@pool-71-121-157-20.sttlwa.dsl-w.verizon.net] has joined #ubuntu-classroom
=== ash211 [n=andrew@user-11faskq.dsl.mindspring.com] has joined #ubuntu-classroom
=== ash211 [n=andrew@user-11faskq.dsl.mindspring.com] has joined #ubuntu-classroom
=== MrKeuner [n=kudo@unaffiliated/mrkeuner] has joined #ubuntu-classroom
=== MrKeuner [n=kudo@unaffiliated/mrkeuner] has left #ubuntu-classroom ["Ex-Chat"]
=== somerville32 [n=somervil@fctnnbsc15w-156034095008.nb.aliant.net] has joined #ubuntu-classroom
=== somerville32 [n=somervil@fctnnbsc15w-156034095008.nb.aliant.net] has left #ubuntu-classroom ["Leaving"]
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== pradeep [n=pradeep@59.92.57.46] has joined #ubuntu-classroom
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== DerXero [n=patrick@dslb-082-083-136-068.pools.arcor-ip.net] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd249153.netvigator.com] has joined #ubuntu-classroom
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== cafuego_ [n=cafuego@ppp87-68.lns2.mel3.internode.on.net] has joined #ubuntu-classroom
DerXerorausch ausschlafen03:18
mahSollst du Deutsch sprechen? :)03:19
DerXeroja03:19
=== Chris7mas [n=floydian@89.39.4.39] has joined #ubuntu-classroom
=== xerxas_ [n=R67894@mut38-5-82-246-190-19.fbx.proxad.net] has joined #ubuntu-classroom
=== cafuego_ [n=cafuego@ppp187-179.lns2.mel4.internode.on.net] has joined #ubuntu-classroom
=== nothlit [n=nothlit@pcd548204.netvigator.com] has joined #ubuntu-classroom
=== pradeep [n=pradeep@59.92.46.193] has joined #ubuntu-classroom
=== shawarma [n=sh@atlas.linux2go.dk] has joined #ubuntu-classroom
=== Vilhelm1 [n=muipetus@GMMMCCCXVIII.dsl.saunalahti.fi] has joined #ubuntu-classroom
=== xeros [i=xeros@fan194.internetdsl.tpnet.pl] has joined #ubuntu-classroom
=== Arigato [n=William@S0106001731d55e7d.cg.shawcable.net] has joined #ubuntu-classroom
=== Chris7mas [n=floydian@89.39.4.39] has joined #ubuntu-classroom
=== hybrid [n=x@72.169.30.254] has joined #ubuntu-classroom
=== shiv [n=shiv@c-65-96-200-131.hsd1.ma.comcast.net] has joined #ubuntu-classroom
=== tom47 [n=tom@unaffiliated/tom47] has joined #ubuntu-classroom
=== nothlit [n=nothlit@n219077160136.netvigator.com] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@n219077170177.netvigator.com] has joined #ubuntu-classroom
=== nothlit_ is now known as ghost
=== ghost is now known as nothlit
=== nothlit_ [n=nothlit@pcd548252.netvigator.com] has joined #ubuntu-classroom
=== hendrixski [n=bienkows@cpe-66-66-81-124.rochester.res.rr.com] has joined #ubuntu-classroom
=== hendrixski [n=bienkows@cpe-66-66-81-124.rochester.res.rr.com] has left #ubuntu-classroom ["Leaving"]
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd548252.netvigator.com] has joined #ubuntu-classroom
=== nothlit__ [n=nothlit@n219077169220.netvigator.com] has joined #ubuntu-classroom
=== nothlit__ is now known as nothlit
=== cafuego_ [n=cafuego@ppp81-25.lns2.mel3.internode.on.net] has joined #ubuntu-classroom
=== netjoined: irc.freenode.net -> anthony.freenode.net
=== shift [n=shift@82-39-32-20.cable.ubr01.benw.blueyonder.co.uk] has joined #ubuntu-classroom
=== mah [n=marcel@85.25.52.135] has joined #ubuntu-classroom
=== ys76 [i=ys76@linoa.etherkiller.de] has joined #ubuntu-classroom
=== heikki [i=heikki@a81-197-9-9.elisa-laajakaista.fi] has joined #ubuntu-classroom
=== StoneTable [n=stone@ethos.battleaxe.net] has joined #ubuntu-classroom
=== popey [n=alan@bishop.popey.com] has joined #ubuntu-classroom
=== tonyyarusso [n=anthony@d235-240-148.home1.cgocable.net] has joined #ubuntu-classroom
=== enzo_ [n=enzo@75.80.30.108] has joined #ubuntu-classroom
=== DBO [n=DBO@unaffiliated/dbo] has joined #ubuntu-classroom
=== STiKi-_ [i=stiki@narkotyk.net] has joined #ubuntu-classroom
=== tonyyserver [n=anthony@d235-240-148.home1.cgocable.net] has joined #ubuntu-classroom
=== ChanServ [ChanServ@services.] has joined #ubuntu-classroom
=== Chris7mas [n=floydian@89.39.4.39] has joined #ubuntu-classroom
=== jos [n=jos@muffin.jeriko.se] has joined #ubuntu-classroom
=== jaba_ [n=jaba@jaba.mbnet.fi] has joined #ubuntu-classroom
=== andrew [n=andrew@72.20.221.32] has joined #ubuntu-classroom
=== lionel [n=lionel@ip-61.net-82-216-103.rev.numericable.fr] has joined #ubuntu-classroom
=== zarathustra [n=ich@pacific3.fi-p.unam.mx] has joined #ubuntu-classroom
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-classroom
=== cyphase [n=cyphase@c-67-180-20-241.hsd1.ca.comcast.net] has joined #ubuntu-classroom
=== xeruno [n=xeruno@cable200-116-26-129.epm.net.co] has joined #ubuntu-classroom
=== poningru [n=poningru@ip72-209-68-178.ga.at.cox.net] has joined #ubuntu-classroom
=== atoponce [n=aaron@oalug/member/atoponce] has joined #ubuntu-classroom
=== croppa [n=stuart@135.27.233.220.exetel.com.au] has joined #ubuntu-classroom
=== luisbg_ [n=LuisB_G@87.217.147.243] has joined #ubuntu-classroom
=== rhkfin [n=rhk@a88-114-123-46.elisa-laajakaista.fi] has joined #ubuntu-classroom
=== ryanakca [i=ryan@unaffiliated/ryanakca] has joined #ubuntu-classroom
=== gdb [n=cbell@circe.inetdb.com] has joined #ubuntu-classroom
=== mc__ [n=mc@62.218.230.197] has joined #ubuntu-classroom
=== emonkey [n=emonkey@static-pro-212-101-27-121.adsl.solnet.ch] has joined #ubuntu-classroom
=== JanC [n=janc@lugwv/member/JanC] has joined #ubuntu-classroom
=== elkbuntu [n=melissa@ubuntu/member/elkbuntu] has joined #ubuntu-classroom
=== flummoxd [i=dilly@CPE0014bf831bd9-CM00111ae70dee.cpe.net.cable.rogers.com] has joined #ubuntu-classroom
=== andrewACM [n=andrew@acmns.pct.edu] has joined #ubuntu-classroom
=== istenber [n=istenber@kosh.hut.fi] has joined #ubuntu-classroom
=== floating [i=vnaatane@rhea.oamk.fi] has joined #ubuntu-classroom
=== cafuego_ [n=cafuego@ppp81-25.lns2.mel3.internode.on.net] has joined #ubuntu-classroom
=== nothlit [n=nothlit@n219077169220.netvigator.com] has joined #ubuntu-classroom
=== tom47 [n=tom@unaffiliated/tom47] has joined #ubuntu-classroom
=== Arigato [n=William@S0106001731d55e7d.cg.shawcable.net] has joined #ubuntu-classroom
=== Limulf [n=Limulf@62.42.31.56] has joined #ubuntu-classroom
=== php-freak [n=php-frea@74.133.97.232] has joined #ubuntu-classroom
=== |Crusher| [n=You@124-254-124-71-dsl.ispone.net.au] has joined #ubuntu-classroom
=== sfllaw [i=sfllaw@debian/developer/coleSLAW] has joined #ubuntu-classroom
=== elvstone [n=elvis@h251n2fls33o879.telia.com] has joined #ubuntu-classroom
=== Skymaker [n=sky@m6s02.vlinux.de] has joined #ubuntu-classroom
=== kabtoffe [n=kbergstr@vipunen.hut.fi] has joined #ubuntu-classroom
=== Jon [n=jon@redmars.org] has joined #ubuntu-classroom
=== xeros [i=xeros@fan194.internetdsl.tpnet.pl] has joined #ubuntu-classroom
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-classroom
=== Fac51_ [n=Fac51@69.242.172.159] has joined #ubuntu-classroom
=== paran [n=paran@cl-56.sto-01.se.sixxs.net] has joined #ubuntu-classroom
=== jrib [n=jasonr@unaffiliated/jrib] has joined #ubuntu-classroom
=== Ubug2 [n=bugbot@ubuntu/bot/ubugtu] has joined #ubuntu-classroom
=== vvl_ [i=vvl@furious.wellfish.fi] has joined #ubuntu-classroom
=== stgraber [i=stgraber@unaffiliated/stgraber] has joined #ubuntu-classroom
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom
=== jaba [n=jaba@jaba.mbnet.fi] has joined #ubuntu-classroom
=== andrew [n=andrew@72.20.221.32] has joined #ubuntu-classroom
=== schiele [n=robert@p54ABF3C9.dip.t-dialin.net] has joined #ubuntu-classroom
=== Jono____ [n=two@CPE-124-189-208-226.nsw.bigpond.net.au] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd342011.netvigator.com] has joined #ubuntu-classroom
=== MarkoKaa [n=MarkoKaa@a80-186-146-185.elisa-laajakaista.fi] has joined #ubuntu-classroom
=== hybrid_ [n=x@72.169.30.254] has joined #ubuntu-classroom
=== Chris7mas [n=floydian@89.39.4.39] has joined #ubuntu-classroom
=== Chris7mas [n=floydian@89.39.4.39] has joined #ubuntu-classroom
=== floating [i=vnaatane@rhea.oamk.fi] has left #ubuntu-classroom []
=== nothlit_ [n=nothlit@pcd340119.netvigator.com] has joined #ubuntu-classroom
=== DerXero [n=patrick@dslb-082-083-136-068.pools.arcor-ip.net] has joined #ubuntu-classroom
=== Jordan_U [n=jordan@h-68-165-170-228.snvacaid.dynamic.covad.net] has joined #ubuntu-classroom
=== owh [n=onno@59.154.24.148] has joined #ubuntu-classroom
=== mdm1000 [n=durr1000@CPE0011093021d0-CM0012c90fb280.cpe.net.cable.rogers.com] has joined #ubuntu-classroom
=== genii [n=chatzill@host6411912762.biz.tor.fcibroadband.com] has joined #ubuntu-classroom
mdm1000Hello.  anyone able to help me find out where Disk Manager went in Edgy, and how to add items to the Places list in nautilus?09:28
=== m0dY [n=m0dy@62.139.160.210] has joined #ubuntu-classroom
owhmdm1000: You should be in #ubuntu for that question, here we're going to see if we can help m0dY09:28
=== jackrazz [n=jackrazz@209-144-236-189-dyndsl.oplink.net] has joined #ubuntu-classroom
mdm1000ok, sorry09:29
m0dYowh, :)09:29
m0dYso now i have cloned sysctl.conf & passwd & shadow09:29
owhOk, can I set some rules, or will someone smack me if I suggest that?09:30
=== jackrazz [n=jackrazz@209-144-236-189-dyndsl.oplink.net] has joined #ubuntu-classroom
=== flikkeh [n=Matt@d207-81-186-112.bchsia.telus.net] has joined #ubuntu-classroom
owhFor those sitting around, m0dY has done rm -rf /etc/*09:30
Jordan_UI always like a good "bring a comp back from the edge of death by it's bootstraps" challenge :)09:30
owhI strongly suspect that m0dY has already done too much "fixing" to recover it, but we'll see.09:30
owhI'd like to suggest that m0dY takes no actions until we are certain that the action won't make things worse.09:31
owhCan we agree on that?09:31
m0dYexactly at owh kindly stated, so for now althought i have passwd & shadow when i do reset the root password it gets changed in the shadow file but won't let me login with it through ssh09:31
Jordan_UI'm good with that09:31
owhOk, first of all, I understand that m0dY's machine is Fedora, not Ubuntu. So bear that in mind if you make suggestions.09:32
m0dYowh,Jordan_U, im now in a stay still situation09:32
owhLet's get some data first.09:32
=== Chris7mas [n=floydian@89.39.4.39] has joined #ubuntu-classroom
m0dYsure09:32
owhWhere is the machine physically, is it with you?09:32
m0dYno, i only have ssh access to it through one session which im dying for not to loose it09:33
owhIs the machine in any way physically accessible by you?09:33
m0dYno way09:33
=== xinchuan [n=xinchuan@bb219-75-24-161.singnet.com.sg] has joined #ubuntu-classroom
owhYou like making things hard don't you?09:33
owhOk, is this machine mission critical?09:34
m0dYnot my choice :(09:34
m0dYyes09:34
owhGive me a $ per day figure if you can.09:34
m0dYi actually was having about 7 ssh sessionn opened and mis choosed the right window and gone through my way09:34
nothlitIf you can't log in as root, its probably because the sshd_config isn't set to allow that09:35
nothlitbut thats not a safe thing to do09:35
owhThat's because there is no /etc directory left :-)09:35
nothlitoh09:36
m0dYnothlit, no, i have this option enabled in sshd_config09:36
owhSo, are we talking big fish, or really annoying if we completely break it?09:36
owhm0dY: Not anymore you don't.09:36
nothlitm0dY, you shouldn't, you can always su/sudo09:36
m0dYno no, i have all FOLDERS in /etc/ but lost all FILES only09:36
nothlitpeople know the root account exists09:36
owhm0dY: Then you didn't do rm -rf /etc/*09:37
nothlitjust reinstall all the progs that are missing configs09:37
nothlitor dpkg-reconfigure them09:37
owhBecause if you did. there would be no directories.09:37
Jordan_UNo he said he did an rm -f /etc/*09:37
owhnothlit: Can you please read back to what we started with?09:37
m0dYnothlit, i have ssh access tighted for one ip only which is my personal one09:37
m0dYowh, yes, only rm -f /etc/*09:37
owh*excellent*09:37
=== owh checks something...
nothlitoh sorry09:38
owhBack in a tick.09:38
m0dYi now have /etc/{fstab,mtab,passwd,shadow,sysctl.conf,yum.conf} in place09:39
owhHmm, that means that the *only* files missing are the ones in /etc/ directly, not any files in the sub directories.09:39
owhWait up.09:39
m0dYi also check the proper permissions for those files when creating them09:39
owhThat's not our immediate problem. Your users and password file is the first problem.09:40
m0dYowh, no.. thanks god sub directories wasn't touched09:40
owhLet me explain.09:40
m0dYyeah sure09:40
owhEach user when it is created gets assigned a number, called the UID.09:40
m0dYyeah, know that09:40
owhThat number is used to allocate permissions to *all* the files on the system.09:40
m0dYyes09:41
owhIf you just stuff any users into the machine, all the permissions will be broken.09:41
owhIncluding the permissions used to boot the machine.09:41
owhSo, you cannot just create a user/password/group file and cross your fingers.09:41
Jordan_U( curious ) including single user mode?09:41
m0dYowh, ok09:41
nothlitsingle user mode = root only09:42
=== Darst [n=chatzill@210-84-36-215.dyn.iinet.net.au] has joined #ubuntu-classroom
owhIn fact, the more users you create, the worse it gets.09:42
m0dYsure09:42
owhHi Darst m0dY has just removed all the files in /etc :-)09:42
Jordan_Unothlit: I know, I was asking if you would still be able to boot in single user mode if you screwed up permissions09:42
m0dYi added only what was in,, i hardly used my memory to remember all09:42
DarstHey Owh... m0dy... ouch...09:42
owhNow, the suggestion of booting into single user mode is valid, but only if there is enough information to boot.09:42
m0dYDarst, =(09:43
Jordan_UDarst: But none of the directories luckily09:43
owhBecause the machine is remote, we cannot just stick a CD in the drive, boot into rescue mode and cross our fingers.09:43
nothlitall your init files are still intact?09:43
owhYes09:43
DarstSo we have the ability to rebuild ... make it stronger, faster?09:43
Darst:D09:43
nothlitbut the service configs arent09:43
owhCorrect.09:43
m0dYnothlit, all are in yes09:44
owhAnd stuff like resolv.conf, etc.09:44
owhWhich we'll all need if we're going to be able to remote connect to this machine ever again.09:44
owhSo, we won't be just fiddling :)09:44
nothlitcan you grep the disc for those files?09:44
owhNot really.09:45
nothlitwhat filesystem are you using09:45
m0dYext309:45
owhThere are undelete tools for ext2 file systems, but they require that the software is installed, we're not at that point yet :-)09:45
owhAlso, they require that the drive is unmounted, bit hard if we're running off it.09:45
owhSo, that's not yet an option.09:46
owhAlso m0dY didn't help by starting to fix things :-)09:46
Jordan_Uowh: Possibly eventually clever use of toram09:46
m0dYi only started cloning files with their default contents from another machine which have almost the same configuration and added users09:47
owhHmm, if we can launch stuff, but likely we won't be able to do.09:47
owhm0dY: Which files have you now created?09:47
owh(You can run the ls command :-)09:47
=== genii [n=chatzill@host6411912762.biz.tor.fcibroadband.com] has left #ubuntu-classroom []
m0dYpasswd,shadow,sysctl.conf,resolv.conf,yum.conf,group,updatedb.conf09:48
m0dYshells,vimrc09:48
nothlitwhat about that military recovery tool on sourceforge09:48
m0dYsudoers09:48
m0dYnothlit, got no idea about it09:49
owhnothlit: How do you propose to use that if you cannot boot off a rescue cd, cannot get to the machine physically, and have one working ssh session left?09:49
nothlitcan't install anything?09:49
nothlitI don't know how yum works so09:49
owhOk, I'm opening up the floor for suggestions, keep it short, give some extra details if we need to understand your proposal.09:50
m0dYnothlit, well, all u need to know about yum is that you can't do a re-install-all-pkgs just like that09:50
=== Darst puts up hand to be next in line for a diagnosis of a problem...
Jordan_Uowh: Is there any chance that the files which are still in use ( and thus not yet really deleted ) can somehow be recovered?09:50
owhSo, one suggestion is to do the equivalent of dpkg-reconfigure --all.09:50
m0dYalso yum checks BUNCH of files under /etc so i don't suggest touching it also09:50
owhExcellent suggestion Jordan_U, I was reading about that last week.09:51
owhSo, that's the second suggestion.09:51
owhAny other takers?09:51
owhI suppose one suggestion is to recreate each file manually.09:51
owhIf we can get ssh working, we can copy stuff across.09:52
=== ompaul [n=ompaul@gnewsense/friend/ompaul] has joined #ubuntu-classroom
owhOk, how does the room feel about attempting to ssh out of the broken box back to our console? Anyone know of any files that will break?09:53
m0dYowh, yeah i think that will be the most safe way and if i just could get ssh to work back again i could then restore each file even in a month but i won't be afraid of loosing totaly root access09:53
nothlitso why doesn't grepping the disc work?09:53
owhnothlit: Because the disc is live and has been written to, besides, Jordan_U's suggestion of recovering files that are open is a good one.09:54
m0dYowh, recover by using ?09:54
Jordan_Uowh: If they are open they havn't been written over and therefore should be grepable09:54
nothlitthat should work for some of the files09:54
owhExactly. The ones that are open still.09:54
owhOk, stop for a moment.09:55
owhDoes anyone recall the process using /proc or /sys, or do I need to google that?09:55
m0dYowh, that's a briliant one09:56
owhOk, m0dY on the broken machine, run the command "lsof|grep /etc"09:56
owhWhat that will do is list the open files in etc.09:57
m0dYok09:57
Jordan_UDoes that include open but "deleted" files?09:57
m0dYok09:57
m0dYhttp://pastebin.ca/27280409:58
owhI expect it to.09:58
m0dYnothing good in that09:58
owhHmm funnily enough, that's identical to mine :-)09:59
owhOk, read this for background information: http://www.hackinglinuxexposed.com/articles/20020507.html10:00
m0dYi c10:00
m0dYok10:01
owhHmm.10:02
owhAs I investigate my own machine, I notice no processes that appear to have any files open in /etc/10:02
m0dYso actually there could be places storing files under etc ?10:02
owhHuh?10:02
owhI do not understand what you are asking me.10:03
m0dYi mean under /proc there could be files loading some info from files under /etc/ so i could get what was in back10:03
cafuego_there are no files in /proc10:04
m0dYpointers or something?!10:05
cafuego_not quite, but you can think of them like that10:05
m0dYyeah10:05
owhNo, proc is the representation of information in memory, including inodes which exist on disk, which is where the file still exists until it's closed.10:05
cafuego_they're hooks into the kernel that cause the kernel to print info when they're accessed10:05
owhOk, on the broken machine, can you ping the Internet?10:06
cafuego_if you deleted an open file, then indeed the kernel won't free the disk space10:06
m0dYowh, after restoring resolv.conf, yes i can10:06
owhHave you already done that?10:06
m0dYyes10:07
owhSo, you can now ping the Internet?10:07
m0dYyes10:07
owhOn your working machine, is there a file called /etc/hosts.equiv10:07
m0dYonly ..... "host.conf    hosts        hosts.allow  hosts.deny"10:08
owhDid you have the locate command installed on the broken machine?10:09
m0dYyes and i managed to bring it back to life10:09
m0dYboth locate & find are now working10:09
owhHow *exactly*?10:09
m0dYwell, restored the updatedb config file and added the line for the users slocate and ran updatedb10:10
owhFUCK.10:10
owhAll was fine until you ran updatedb.10:11
m0dY:S10:11
owhAt that point you destroyed the list of files in /etc/10:11
m0dYwhat da hell have i done !?10:11
owhSigh.10:11
owhOk, well, onwards and upwards. Sorry for the expletive.10:11
m0dYwell, i think i cant tell what files exactly was under /etc/10:11
owhNo, your computer could, you're just guessing.10:12
m0dYim hittin my head to the wall now anyhow10:12
=== owh takes a deep breath.
m0dYno i can get it from the current machine10:12
m0dYthe working one10:12
m0dYjust the problem is in the contents10:12
owhNo, they are different.10:12
m0dYdifferent in names ?10:13
owhThe OS is a different version, anything that is the same is accidental.10:13
owhI mean, that's overstating it, but essentially true.10:13
m0dYyeah with u in that10:13
owhThe problem is this. The files in your /etc directory might have been modified since they were installed, either by you, by someone else, or by another application coming along and tweaking it when it was being installed.10:14
owhSo, we have a problem.10:14
m0dYyes im awar of that10:14
m0dY*aware10:15
owhOk.10:15
owhOn the broken machine, try to ssh from the broken computer to the working computer. Nothing fancy, just an ssh.10:15
nothlithe just wants to restore basic functionality first though10:15
m0dYbut actually if i even get the machine to its state as a newly installed machine then i would easily add the newly added stuff10:15
m0dYok10:16
owhnothlit: Sure, but that basic functionality also includes the layout of his drives, essential services and usernames and passwords.10:16
owhnothlit: All of which are different from a standard config file.10:16
owhSo, a newly installed machine might be what you think you want, but it isn't really.10:17
owhSo, does the ssh out of the broken box work?10:17
nothlitits mostly the services really10:17
nothlitwhat was this machine's purpose?10:17
owhnothlit: Some of which we'll require to connect to it again.10:17
m0dYowh, no ssh out of box not working10:17
owhm0dY: What does it do?10:17
m0dYno, it works.10:18
owhSay that again, the ssh out of the broken box works?10:18
m0dYim in the working machine now through the broken one10:18
m0dYyes, it works10:18
owhExcellent.10:18
nothlitm0dY, did you recreate your fstab yet?10:18
owhHold on, one thing at a time.10:19
m0dYyes, fstab & mtab10:19
owhm0dY: Go to the /root directory10:19
owhThat is on the broken machine.10:19
m0dYin it10:19
nothlitwell he's not unmounting the disc and using recovery tools, its better to do it now so he doesn't miss it10:19
owhSo, you'll need to close the ssh session from the broken to the working machine, then go to the /root directory10:20
m0dYyes, i got u on that10:20
owhWhat I intend to do is copy the files from the working computer onto a backup directory on the broken machine, then deal with them one at a time. Any objections?10:21
m0dYnow in the /root of the broken machine10:21
m0dYscp maybe ?10:21
owhJust to be sure, we're not talking /, we're talking the home directory of the root user.10:21
m0dYyeah man10:21
m0dY:)10:21
owhOk, make a directory /root/working10:22
m0dYok10:22
owhGo into it.10:22
m0dYok10:22
owhscp -r root@working:/etc/ .10:23
owhThat will copy the whole /etc tree from the working machine.10:23
owhWe're going to do that to get a sense of differences between the two.10:23
m0dYok10:24
owhDone?10:24
m0dYfixing some ssh issue and will be done now..10:25
owhNow we'll make a different directory with just the files we're going to play with: cd /root && mkdir working-files && cd working-files && scp root@working:/etc/* .10:26
owhThat will copy just the files in /etc, not the directories.10:26
=== owh is going to be called away to dinner in five minutes.
owhThe intention is to diff the /etc on the working machine with that of the broken machine, so you can determine what things are different, that is, differences in configurations, packages, etc. Don't think of it in terms of actual options, think big picture.10:28
m0dYok its now transferring10:29
owhThe next step is to one by one move a file from working-files into /etc and fix them locally one at a time.10:29
owhThat won't get everything done, but it should be most of it.10:29
owhAre there any comments people want to make?10:29
m0dYthat would be the good way to go10:29
owhAny thing I've forgotten?10:30
owhAs nothlit suggests, make sure that fstab and mtab are correct, without them nothing will mount.10:30
nothlitnah, pretty great simple solution to get a working system10:30
owhThe fdisk -l command should help you determine your mount points.10:31
nothlitm0dY, do you remember any services you may have installed on this broken machine that aren't on the working one?10:32
owhI'm going to be eating dinner shortly, I'll leave this session open. I'll be back after some digestion. Feel free to stick around. Anyone who needs to reach me: http://itmaze.com.au/10:32
m0dYnothlit, both are almost clones in all services/settings/configurations10:32
nothlitalso make absolutely sure all the networking files are set up correctly10:32
owhMy single recommendation is to take it very slowly, do one file at a time, nothing in bulk, check and re-check, assume the worst.10:32
m0dYoh yeah10:32
owhOh, and do a backup :-)10:33
m0dYowh, definitely will =''(10:33
owhHave fun :-)10:33
m0dYowh, bunch of THANKS for sticking along with me all this10:34
m0dYand many big THANKS for all in this room10:34
m0dYill go with my way now and will update if i faced any problems10:34
nothlitthat sucks that yum can't resolve those issues10:35
m0dYnothlit, thats suck that im using fedora on a production box10:35
m0dYwhich i would definitely won't be doing anymore10:35
Jordan_UWhat sucks is that you neglected to back up, which you DEFINATELY won't be doing any more :)10:40
m0dYJordan_U, i will be doing backups in future10:46
nothlitmondo is a great tool for backups, cd, dvd, tape, nfs10:47
m0dYwill check it out10:48
nothlitits gpl10:49
nothlit' Mondo is in use by Lockheed-Martin, Nortel Networks, Siemens, HP, IBM, NASA's JPL, the US Dept of Agriculture, dozens of smaller companies, and tens of thousands of users.'10:49
m0dYand gpl !?10:50
nothlityup :)10:50
m0dYwww.mondorescue.org/ ?10:50
nothlitand the rescue discs it burns are bootable/restore themselves and yep10:51
nothlityou might be able to install it with yum10:52
nothlitafter you finish doing all your recovery10:52
m0dYyeah im wokrin on it10:54
nothlitquintuple check your work10:55
nothlitalso you can use make recovery isos to burn10:56
owhSo, how did it go?11:07
nothliti think hes still working on it11:11
owhCool, well I'll be off for the evening if that's the case.11:11
=== owh wipes brow :-)
owhThanks for your input nothlit and Jordan_U!11:12
=== owh waves bye.
=== nothlit [n=nothlit@pcd340119.netvigator.com] has joined #ubuntu-classroom
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== Ubugtu [n=bugbot@ubuntu/bot/ubugtu] has joined #ubuntu-classroom
m0dYfor all who helped me out here, the trick is done and box is fully functional again =D11:48
m0dYthanks owh, nothlit, Jordan_U....11:49
=== nothlit_ [n=nothlit@n219077160013.netvigator.com] has joined #ubuntu-classroom
=== immortalxak [n=imm@ns1.zrlocal.net] has joined #ubuntu-classroom
=== cassidy [n=cassidy@host-213-189-171-21.brutele.be] has joined #ubuntu-classroom
=== thebigearl [n=koptein@dslc-082-082-083-138.pools.arcor-ip.net] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd551180.netvigator.com] has joined #ubuntu-classroom
=== christel [i=christel@freenode/staff/gentoo.christel] has joined #ubuntu-classroom
=== Maikel [i=ma1kel@cp305656-b.tilbu1.nb.home.nl] has joined #ubuntu-classroom
=== Maikel [i=ma1kel@cp305656-b.tilbu1.nb.home.nl] has joined #ubuntu-classroom
=== Neonightmare [n=neonight@68.116.77.83.cust.bluewin.ch] has joined #ubuntu-classroom
=== Neonightmare [n=neonight@68.116.77.83.cust.bluewin.ch] has left #ubuntu-classroom []
=== Czubek [n=Damian@82.160.179.2] has joined #ubuntu-classroom
=== LjL [n=ljl@81-208-36-87.ip.fastwebnet.it] has joined #ubuntu-classroom
=== apokryphos [n=apokryph@87-194-86-227.bethere.co.uk] has joined #ubuntu-classroom
=== dhaumann [n=dhaumann@c83-252-76-129.bredband.comhem.se] has joined #ubuntu-classroom
=== dhaumann [n=dhaumann@c83-252-76-129.bredband.comhem.se] has left #ubuntu-classroom ["Konversation]
=== DBO [n=DBO@unaffiliated/dbo] has joined #ubuntu-classroom
=== ken [n=chatzill@59.95.201.150] has joined #ubuntu-classroom
kenhi05:16
jribbye05:30
=== adomanski [n=adomansk@p54AF92BC.dip0.t-ipconnect.de] has joined #ubuntu-classroom
=== adomanski [n=adomansk@p54AF92BC.dip0.t-ipconnect.de] has left #ubuntu-classroom []
naliothjrib: you about?06:12
jribnalioth: yep06:12
jribwhat's up?06:12
=== mode/#ubuntu-classroom [+o jrib] by ChanServ
naliothyou wanted something fixed ?06:12
nalioth1165682117 10:35 < jrib> Can someone add a link to the schedule in -classroom?06:13
=== ..[topic/#ubuntu-classroom:jrib] : Ubuntu Open Week has now finished - thanks , everyone! | The classroom schedule is located at: https://wiki.ubuntu.com/Classroom | Transcripts and logs are at: https://wiki.ubuntu.com/ClassroomTranscripts and http://www.tonyyarusso.is-a-geek.com/irclogs/openweek/ - actually down atm for hardware troubleshooting (bloody clock..)
naliothyou can deop yourself when you're done  :)06:14
=== mode/#ubuntu-classroom [-o jrib] by jrib
jribthanks06:14
naliothfanks?06:19
=== JurB [n=jurb@153.185-240-81.adsl-dyn.isp.belgacom.be] has joined #ubuntu-classroom
JurBirc.gnome.org06:34
=== JurB [n=jurb@153.185-240-81.adsl-dyn.isp.belgacom.be] has joined #ubuntu-classroom
=== stgraber [i=stgraber@unaffiliated/stgraber] has left #ubuntu-classroom []
=== MarkoKaa [n=MarkoKaa@a80-186-146-185.elisa-laajakaista.fi] has joined #ubuntu-classroom
=== mode/#ubuntu-classroom [+o apokryphos] by ChanServ
=== ..[topic/#ubuntu-classroom:apokryphos] : Ubuntu Open Week has now finished - thanks , everyone! | The classroom schedule is located at: https://wiki.ubuntu.com/Classroom | Transcripts and logs are at: https://wiki.ubuntu.com/ClassroomTranscripts and http://www.tonyyarusso.is-a-geek.com/irclogs/openweek/
=== mode/#ubuntu-classroom [-o apokryphos] by apokryphos
=== Maikel [i=ma1kel@cp305656-b.tilbu1.nb.home.nl] has joined #ubuntu-classroom
=== kalon33_ [n=kalon33@i02v-62-34-145-118.d4.club-internet.fr] has joined #ubuntu-classroom
=== kalon33_ [n=kalon33@i02v-62-34-145-118.d4.club-internet.fr] has joined #ubuntu-classroom
=== mirko [n=mirko@smin198-136.vdial.verat.net] has joined #ubuntu-classroom
=== kalon33_ [n=kalon33@i02v-62-34-145-118.d4.club-internet.fr] has joined #ubuntu-classroom
=== Limulf [n=Limulf@62.42.31.56] has joined #ubuntu-classroom
=== hybrid_ [n=x@72.169.30.254] has joined #ubuntu-classroom
=== mirko [n=mirko@smin198-136.vdial.verat.net] has left #ubuntu-classroom ["Ex-Chat"]
=== stalefries [n=stalefri@pool-71-121-157-20.sttlwa.dsl-w.verizon.net] has joined #ubuntu-classroom
=== conreyt [n=conreyt@dsl.76.240.networkiowa.com] has joined #ubuntu-classroom
=== conreyt [n=conreyt@dsl.76.240.networkiowa.com] has joined #ubuntu-classroom
=== MarkoKaa [n=MarkoKaa@a80-186-146-185.elisa-laajakaista.fi] has joined #ubuntu-classroom
=== tonyyarusso [n=anthony@d235-240-148.home1.cgocable.net] has joined #ubuntu-classroom
=== _osh [n=osh@81-229-112-185-no21.tbcn.telia.com] has joined #ubuntu-classroom
=== DerXero [n=patrick@dslb-082-083-155-027.pools.arcor-ip.net] has joined #ubuntu-classroom
=== croppa [n=stuart@135.27.233.220.exetel.com.au] has joined #ubuntu-classroom
=== dou213 [n=x@e180241131.adsl.alicedsl.de] has joined #ubuntu-classroom
=== Czubek [n=Damian@82.160.179.2] has joined #ubuntu-classroom
=== Jordan_U [n=jordan@h-68-165-170-228.snvacaid.dynamic.covad.net] has left #ubuntu-classroom []

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