/srv/irclogs.ubuntu.com/2007/01/26/#ubuntu-classroom.txt

=== selinuxium [n=selinium@80-193-7-210.cable.ubr02.sout.blueyonder.co.uk] has joined #ubuntu-classroom
=== coNP [n=conp@pool-00a7b.externet.hu] has left #ubuntu-classroom ["c-x]
=== AlinuxOS [n=AlinuxOS@host238-125-dynamic.6-87-r.retail.telecomitalia.it] has joined #ubuntu-classroom
=== n2diy_ [n=darryl@ppp-42d4281d.wlks.losch.net] has joined #ubuntu-classroom
=== mnoir [n=bos@nwlnnhbas01-pool0-a41.nwlnnh.tds.net] has joined #ubuntu-classroom
=== mnoir [n=bos@nwlnnhbas01-pool0-a41.nwlnnh.tds.net] has left #ubuntu-classroom ["Time]
=== dougsko__ [n=doug@c-71-206-215-227.hsd1.pa.comcast.net] has joined #ubuntu-classroom
=== dougsko_1 [n=doug@c-71-206-215-227.hsd1.pa.comcast.net] has joined #ubuntu-classroom
=== macconline [n=macconli@190.37.38.102] has joined #ubuntu-classroom
=== hybrid [n=x@easyubuntu/supporter/hybrid] has joined #ubuntu-classroom
=== macconline [n=macconli@190.37.38.102] has joined #ubuntu-classroom
=== |Crusher| [n=You@124-254-93-204-dsl.ispone.net.au] has joined #ubuntu-classroom
=== jrib [n=jasonr@upstream/dev/jrib] has joined #ubuntu-classroom
=== macconline [n=macconli@190.37.38.102] has joined #ubuntu-classroom
=== macconline [n=macconli@190.37.38.102] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd648209.netvigator.com] has joined #ubuntu-classroom
=== pipedream [n=pipedrea@kingklip.aims.ac.za] has joined #ubuntu-classroom
=== ash211 [n=andrew@user-1121dvu.dsl.mindspring.com] has joined #ubuntu-classroom
=== jenda [n=jenda@ubuntu/member/jenda] has joined #ubuntu-classroom
=== mwalsh [n=chatzill@ool-44c2311e.dyn.optonline.net] has joined #ubuntu-classroom
mwalshWHen I try to write a .iso file "to disk," only a write to image option is listed, not one of my drives. Can anyone help me with this?03:53
nothlitto disc you mean?04:02
nothlitare you trying to make an iso from a disc or burn an iso to a disc04:02
=== nothlit_ [n=nothlit@pcd341169.netvigator.com] has joined #ubuntu-classroom
nothlitmaking an iso is dd if=/dev/cdrom of=/home/user/file.iso04:06
=== Ubugtu [n=bugbot@ubuntu/bot/ubugtu] has joined #ubuntu-classroom
=== ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-classroom
=== ash211 [n=andrew@user-1121dvu.dsl.mindspring.com] has joined #ubuntu-classroom
=== nothlit_ [n=nothlit@pcd341069.netvigator.com] has joined #ubuntu-classroom
=== nothlit__ [n=nothlit@pcd341006.netvigator.com] has joined #ubuntu-classroom
=== hedix [i=usr47247@c1.edrana.lt] has joined #ubuntu-classroom
=== eternalswd [n=eternals@wcnat-41-43.wheaton.edu] has joined #ubuntu-classroom
=== nalioth [i=nalioth@freenode/staff/ubuntu.member.nalioth] has joined #ubuntu-classroom
=== hedix [i=usr47264@c1.edrana.lt] has joined #ubuntu-classroom
=== DerXero [n=patrick@dslb-082-083-128-110.pools.arcor-ip.net] has joined #ubuntu-classroom
=== eternalswd [n=eternals@wcnat-41-43.wheaton.edu] has left #ubuntu-classroom ["Leaving"]
=== n2diy [n=darryl@ppp-42d42811.wlks.losch.net] has joined #ubuntu-classroom
=== jackrazz [n=jackrazz@209-144-237-46-dyndsl.oplink.net] has joined #ubuntu-classroom
=== BuffaloSoldier [n=integral@ubuntu/member/BuffaloSoldier] has joined #ubuntu-classroom
=== nohlp [n=nohlp@ip-217-24-122-2.parma.ru] has joined #ubuntu-classroom
=== nohlp [n=nohlp@ip-217-24-122-2.parma.ru] has left #ubuntu-classroom []
=== tonyy [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-classroom
=== Mez -> bed
=== cassidy [n=cassidy@host-213-189-171-21.brutele.be] has joined #ubuntu-classroom
=== cassidy_ [n=cassidy@host-213-189-171-21.brutele.be] has joined #ubuntu-classroom
=== coNP [n=conp@pool-00a7b.externet.hu] has joined #ubuntu-classroom
=== coNP [n=conp@pool-00a7b.externet.hu] has left #ubuntu-classroom ["c-x]
=== silwol [n=silwol@193.170.68.74] has joined #ubuntu-classroom
=== lamakungfu [n=bill@c-24-14-129-6.hsd1.il.comcast.net] has joined #ubuntu-classroom
=== pipedream [n=pipedrea@kingklip.aims.ac.za] has joined #ubuntu-classroom
=== mode/#ubuntu-classroom [+o jenda] by ChanServ
=== mode/#ubuntu-classroom [+b *!*@ubuntu/member/mez] by jenda
=== mode/#ubuntu-classroom [-o jenda] by ChanServ
jendaMez: muted till you turn off public away.12:35
=== emonkey [n=emonkey@adsl-89-217-0-177.adslplus.ch] has joined #ubuntu-classroom
=== apokryphos [n=francis@unaffiliated/apokryphos] has joined #ubuntu-classroom
=== silwol [n=silwol@193.170.68.74] has joined #ubuntu-classroom
=== TheOddOne [n=hgibson@hgibson.ee.sun.ac.za] has joined #ubuntu-classroom
=== TheOddOne [n=hgibson@hgibson.ee.sun.ac.za] has left #ubuntu-classroom ["Kopete]
=== silwol [n=silwol@193.170.68.74] has joined #ubuntu-classroom
=== silwol [n=silwol@193.170.68.74] has joined #ubuntu-classroom
=== EDVINAS_ [i=usr5@c1.edrana.lt] has joined #ubuntu-classroom
=== silwol [n=silwol@193.170.68.74] has joined #ubuntu-classroom
=== silwol [n=silwol@193.170.68.74] has left #ubuntu-classroom []
=== mode/#ubuntu-classroom [+o Mez] by ChanServ
=== mode/#ubuntu-classroom [-b *!*@ubuntu/member/mez] by Mez
=== LjL [n=ljl@81-208-36-87.ip.fastwebnet.it] has joined #ubuntu-classroom
=== hedix [i=usr36@c1.edrana.lt] has joined #ubuntu-classroom
=== neuratix [n=lorents@ti521110a080-5884.bb.online.no] has joined #ubuntu-classroom
=== macconline [n=macconli@190.37.37.111] has joined #ubuntu-classroom
=== jikanter [n=jordan@c-24-12-220-77.hsd1.il.comcast.net] has joined #ubuntu-classroom
=== mode/#ubuntu-classroom [+o jenda] by ChanServ
=== mode/#ubuntu-classroom [-o jenda] by ChanServ
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom
=== mode/#ubuntu-classroom [-o Mez] by ChanServ
=== _eric_ [n=eric@140.38-65-87.adsl-static.isp.belgacom.be] has joined #ubuntu-classroom
=== mnoir [n=bos@nwlnnhbas01-pool0-a41.nwlnnh.tds.net] has joined #ubuntu-classroom
=== Linuturk [n=Linuturk@mail.faia.com] has joined #ubuntu-classroom
Linuturkmnoir:05:32
mnoirhi05:32
Linuturknice and quiet05:32
mnoirbetter for extended conversation and i detect a need for a lesson05:32
Linuturk:) yes please05:32
mnoir1.  the utility less would be a good vchoice if you have not yet installed most05:33
=== joe4 [n=joe@pool-70-106-199-232.chi.dsl-w.verizon.net] has joined #ubuntu-classroom
=== joe4 [n=joe@pool-70-106-199-232.chi.dsl-w.verizon.net] has left #ubuntu-classroom []
mnoirtry ' less messages'05:33
mnoirtell me if you get a screenfull05:34
LinuturkI get a single line05:34
mnoir??05:34
mnoirpaste line?05:34
LinuturkJan 26 11:19:35 FAIA-CACTI syslogd 1.4.1#17ubuntu7: restart.05:34
Linuturkthe restart of my machine, apparently05:34
mnoirthat is it in the file messages?05:34
Linuturkyes05:34
mnoirok - ls -l | grep messages please05:35
Linuturkok05:35
mnoiryou get several?05:35
Linuturkwe have 5 messages files05:35
mnoirtry less messages.005:35
mnoirlog rotate automatically is filing them05:36
mnoirnote the older ones are compressed05:36
Linuturkgot a bunch05:36
Linuturka bunch of information05:36
mnoirmessages.0 is the most recent - ru lessing it?05:36
Linuturkyes, I am viewing it via less05:37
mnoirok - some of the keystrokes available in less05:37
mnoirtype a capital G05:37
LinuturkJan 26 00:34:54 FAIA-CACTI -- MARK -- << that is the last entry before our restart05:37
Linuturktakes me to the end?05:37
mnoiryes05:38
mnoirslash followed by a string searches05:38
mnoir# followed by G goes to that line05:38
Linuturksearches down, correct?05:38
mnoiryes05:38
mnoirthere is a go back but i forgot it - plus up and down arrows work05:38
Linuturklowercase g takes me to the top05:39
mnoir'most' is a better version05:39
mnoircool - i didnt know that - probably g is search backwards05:39
mnoirno number means highest (or lowest :) )05:39
Linuturkok, I think I got this05:39
mnoirok - you got a big gap05:40
Linuturknow, the messages log isn't helping05:40
Linuturkb/c of the gap05:40
mnoiroften it does not05:40
mnoiryou can look at system and daemon05:40
mnoirbut i bet you find nothing05:40
mnoirfeels like a mobo, ram ot diak problem05:40
mnoirot diak= or disk05:41
mnoirdone memtest yet?05:41
Linuturkbefore I installed05:41
Linuturkyes05:41
mnoiryou might want to use tune2fs to set fsck to occur every boot05:41
mnoirhow old is machine?05:42
Linuturkthe actual hardware is fairly used and old05:42
Linuturkbut the install is fairly new05:42
mnoirthere can be weaknesses in drivers for very old systems plus hardware is suspect05:42
mnoiri figured that install was new05:43
Linuturkok05:43
LinuturkI've looked in the syslog05:43
mnoiralso, linux tends to drive hardware harder05:43
mnoiranything interesting?05:43
Linuturkthe last activity is a snmp request to localhost05:43
mnoiraround time of failure?05:43
Linuturkfrom the cacti install I have05:43
Linuturkyes05:43
mnoirhmm - snmp stuff is fairly low level05:44
mnoirit is possible hat sumpin in it was not very happy05:44
mnoirhat=that05:44
Linuturkwell, I can't imagine what05:44
mnoirwhy?05:45
Linuturkthere is plenty of drive space05:45
Linuturkthe system has run fine for the last few weeks05:45
mnoirmight not be due to running out of space...05:45
Linuturkwhat other logs did you say check?05:45
mnoirthe reason i started with ls -latr is it shows you reverse update order05:46
mnoirthis gives you a start on which logs are most active05:46
mnoiron a treasure hunt like this, you need educated guesses05:46
mnoirnothing is set in stone.05:47
mnoirsince the issue is clearly very sporadic you will be meditating for a while before you find the pattern05:47
mnoirunless it get worse.05:47
mnoiror never happens again :)05:47
Linuturkso there isn't much I can do but wait for it to happen again/05:48
Linuturk?05:48
mnoirthat is what i think05:48
mnoirexcept making the system do some extra checking like fsck every boot for a while05:48
mnoirand run some memtests using the special boot from grub05:49
Linuturko, I have a question real quick05:49
mnoirk05:49
Linuturkhow do I check free drive space via the cli?05:49
mnoirdf -h is the most popular way05:49
Linuturkthank god05:49
mnoir??05:50
LinuturkI have been looking for that forever05:50
mnoirit is a simple question :)05:50
mnoiralso remember thar man is your friend at the cli05:50
mnoirthar=that05:50
Linuturkyes, I agree05:50
mnoirtype man df05:50
mnoiroh - you know about man05:50
Linuturkbut if I type man drive space05:50
mnoirgood05:50
Linuturklol05:51
Linuturk;p05:51
LinuturkI have to know the command before I can learn about it05:51
mnoirno - only works for commands, configs etc05:51
mnoir:)05:51
mnoirconsider installing most05:51
Linuturkwell, thanks, you've helped05:51
mnoirit is more like a text editor but assumes no editing05:51
mnoiror no changing05:52
mnoirk - back to the playpen :)05:52
=== Linuturk [n=Linuturk@mail.faia.com] has left #ubuntu-classroom []
=== mnoir [n=bos@nwlnnhbas01-pool0-a41.nwlnnh.tds.net] has left #ubuntu-classroom ["Time]
=== darich [n=trickyki@host86-144-145-60.range86-144.btcentralplus.com] has joined #ubuntu-classroom
=== tonyyserver [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-classroom
=== tonyyarusso [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-classroom
=== tonyyserver [n=anthony@ubuntu/member/tonyyarusso] has joined #ubuntu-classroom
=== neuratix_ [n=lorents@ti521110a080-4451.bb.online.no] has joined #ubuntu-classroom
=== n2diy [n=darryl@66.212.43.162] has joined #ubuntu-classroom
=== ShakaGoldSaint [n=eleazar@190.37.13.36] has joined #ubuntu-classroom
=== ompaul [n=ompaul@gnewsense/friend/ompaul] has joined #ubuntu-classroom
=== fernando__ [n=fernando@189.0.132.246] has joined #ubuntu-classroom
=== emonkey-p [n=emonkey@static-pro-212-101-27-121.adsl.solnet.ch] has joined #ubuntu-classroom
=== warlock [i=w@81.216.76.10] has joined #ubuntu-classroom
warlockgonna see if it workde09:36
LjLwarlock: this time i've tried it, and it seemed to09:36
warlockye works mate09:37
warlockthanks, you saved me 4hours09:37
warlockBIG thanks.09:37
LjLyou're quite welcome :) want to know the specifics of that command's parts?09:37
warlockelse i'd have to edit all files manually09:37
warlocksure09:37
warlockwould help :)09:38
LjLwarlock: well, the first part if a for loop.   for VariableName in ShellPattern ; do     .................     ; done     repeats the "..." for every file matched by ShellPattern (*.conf in this case)09:38
LjLwarlock: of course, every time it sets VariableName to the name of the relevant file (i've called that variable File)09:39
warlockoi09:39
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom
warlockI always tend to learn something new :p09:39
LjLwarlock: "sed" is used in this case to change text into other text. the "-i" option means it changes a file "in place" (i.e. it just changes the files, not output the changes to the console)09:39
LjLwarlock: the "s/blah/blah/" syntax contains regular expressions... in general, s/blah1/blah2/ changes "blah1" into "blah2"09:40
LjLwarlock: in that command specifically, mytest= is just mached, then the .* means "match anything" ("." is "any character", and "*" is "any number of times")09:41
LjLwarlock: then the $ means "end of line" (probably reduntant)09:41
warlockooh09:41
LjLwarlock: the round brackets ( ) mean "remember this part" (they needed to be escaped with \, so \( and \), but this is not really important)09:41
LjLwarlock: and in fact, the .* part is remembered, and recalled by "\1" later - \1 means "recall the first thing you remembered"09:42
LjLwarlock: so, if you had mytest=abcdefg, it will repeat mytest= and the abcdefg again09:42
warlockoic09:42
LjLwarlock: then the ",something2" is simply added09:42
warlockperfect :)09:43
LjLso, s/   mytest=   ( .* )  /   mytest=  \1  ,something2   /09:43
LjLthe final "g" simply means "repeat this for every instance", so if there's more than one "mytest=", it'll work for all of them09:43
LjLthen "$File" of course is that File variable we defined in the "for" command09:43
LjL(when using variables - as opposed to declaring them - you need to prefix a $)09:44
warlock:o09:45
=== maploin [n=oin@86.123.200.16] has joined #ubuntu-classroom
=== jikanter [n=jordan@cs-user79.wireless.uic.edu] has joined #ubuntu-classroom
=== coNP [n=conp@pool-00a7b.externet.hu] has joined #ubuntu-classroom
=== coNP [n=conp@pool-00a7b.externet.hu] has left #ubuntu-classroom ["c-x]
=== ryanakca [n=ryan@d226-26-139.home.cgocable.net] has joined #ubuntu-classroom
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom
=== DBO [n=DBO@unaffiliated/dbo] has joined #ubuntu-classroom
=== hybrid [n=x@easyubuntu/supporter/hybrid] has joined #ubuntu-classroom

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