=== 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 | ||
mwalsh | WHen 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 |
---|---|---|
nothlit | to disc you mean? | 04:02 |
nothlit | are you trying to make an iso from a disc or burn an iso to a disc | 04:02 |
=== nothlit_ [n=nothlit@pcd341169.netvigator.com] has joined #ubuntu-classroom | ||
nothlit | making an iso is dd if=/dev/cdrom of=/home/user/file.iso | 04: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 | ||
jenda | Mez: 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 | ||
Linuturk | mnoir: | 05:32 |
mnoir | hi | 05:32 |
Linuturk | nice and quiet | 05:32 |
mnoir | better for extended conversation and i detect a need for a lesson | 05:32 |
Linuturk | :) yes please | 05:32 |
mnoir | 1. the utility less would be a good vchoice if you have not yet installed most | 05: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 [] | ||
mnoir | try ' less messages' | 05:33 |
mnoir | tell me if you get a screenfull | 05:34 |
Linuturk | I get a single line | 05:34 |
mnoir | ?? | 05:34 |
mnoir | paste line? | 05:34 |
Linuturk | Jan 26 11:19:35 FAIA-CACTI syslogd 1.4.1#17ubuntu7: restart. | 05:34 |
Linuturk | the restart of my machine, apparently | 05:34 |
mnoir | that is it in the file messages? | 05:34 |
Linuturk | yes | 05:34 |
mnoir | ok - ls -l | grep messages please | 05:35 |
Linuturk | ok | 05:35 |
mnoir | you get several? | 05:35 |
Linuturk | we have 5 messages files | 05:35 |
mnoir | try less messages.0 | 05:35 |
mnoir | log rotate automatically is filing them | 05:36 |
mnoir | note the older ones are compressed | 05:36 |
Linuturk | got a bunch | 05:36 |
Linuturk | a bunch of information | 05:36 |
mnoir | messages.0 is the most recent - ru lessing it? | 05:36 |
Linuturk | yes, I am viewing it via less | 05:37 |
mnoir | ok - some of the keystrokes available in less | 05:37 |
mnoir | type a capital G | 05:37 |
Linuturk | Jan 26 00:34:54 FAIA-CACTI -- MARK -- << that is the last entry before our restart | 05:37 |
Linuturk | takes me to the end? | 05:37 |
mnoir | yes | 05:38 |
mnoir | slash followed by a string searches | 05:38 |
mnoir | # followed by G goes to that line | 05:38 |
Linuturk | searches down, correct? | 05:38 |
mnoir | yes | 05:38 |
mnoir | there is a go back but i forgot it - plus up and down arrows work | 05:38 |
Linuturk | lowercase g takes me to the top | 05:39 |
mnoir | 'most' is a better version | 05:39 |
mnoir | cool - i didnt know that - probably g is search backwards | 05:39 |
mnoir | no number means highest (or lowest :) ) | 05:39 |
Linuturk | ok, I think I got this | 05:39 |
mnoir | ok - you got a big gap | 05:40 |
Linuturk | now, the messages log isn't helping | 05:40 |
Linuturk | b/c of the gap | 05:40 |
mnoir | often it does not | 05:40 |
mnoir | you can look at system and daemon | 05:40 |
mnoir | but i bet you find nothing | 05:40 |
mnoir | feels like a mobo, ram ot diak problem | 05:40 |
mnoir | ot diak= or disk | 05:41 |
mnoir | done memtest yet? | 05:41 |
Linuturk | before I installed | 05:41 |
Linuturk | yes | 05:41 |
mnoir | you might want to use tune2fs to set fsck to occur every boot | 05:41 |
mnoir | how old is machine? | 05:42 |
Linuturk | the actual hardware is fairly used and old | 05:42 |
Linuturk | but the install is fairly new | 05:42 |
mnoir | there can be weaknesses in drivers for very old systems plus hardware is suspect | 05:42 |
mnoir | i figured that install was new | 05:43 |
Linuturk | ok | 05:43 |
Linuturk | I've looked in the syslog | 05:43 |
mnoir | also, linux tends to drive hardware harder | 05:43 |
mnoir | anything interesting? | 05:43 |
Linuturk | the last activity is a snmp request to localhost | 05:43 |
mnoir | around time of failure? | 05:43 |
Linuturk | from the cacti install I have | 05:43 |
Linuturk | yes | 05:43 |
mnoir | hmm - snmp stuff is fairly low level | 05:44 |
mnoir | it is possible hat sumpin in it was not very happy | 05:44 |
mnoir | hat=that | 05:44 |
Linuturk | well, I can't imagine what | 05:44 |
mnoir | why? | 05:45 |
Linuturk | there is plenty of drive space | 05:45 |
Linuturk | the system has run fine for the last few weeks | 05:45 |
mnoir | might not be due to running out of space... | 05:45 |
Linuturk | what other logs did you say check? | 05:45 |
mnoir | the reason i started with ls -latr is it shows you reverse update order | 05:46 |
mnoir | this gives you a start on which logs are most active | 05:46 |
mnoir | on a treasure hunt like this, you need educated guesses | 05:46 |
mnoir | nothing is set in stone. | 05:47 |
mnoir | since the issue is clearly very sporadic you will be meditating for a while before you find the pattern | 05:47 |
mnoir | unless it get worse. | 05:47 |
mnoir | or never happens again :) | 05:47 |
Linuturk | so there isn't much I can do but wait for it to happen again/ | 05:48 |
Linuturk | ? | 05:48 |
mnoir | that is what i think | 05:48 |
mnoir | except making the system do some extra checking like fsck every boot for a while | 05:48 |
mnoir | and run some memtests using the special boot from grub | 05:49 |
Linuturk | o, I have a question real quick | 05:49 |
mnoir | k | 05:49 |
Linuturk | how do I check free drive space via the cli? | 05:49 |
mnoir | df -h is the most popular way | 05:49 |
Linuturk | thank god | 05:49 |
mnoir | ?? | 05:50 |
Linuturk | I have been looking for that forever | 05:50 |
mnoir | it is a simple question :) | 05:50 |
mnoir | also remember thar man is your friend at the cli | 05:50 |
mnoir | thar=that | 05:50 |
Linuturk | yes, I agree | 05:50 |
mnoir | type man df | 05:50 |
mnoir | oh - you know about man | 05:50 |
Linuturk | but if I type man drive space | 05:50 |
mnoir | good | 05:50 |
Linuturk | lol | 05:51 |
Linuturk | ;p | 05:51 |
Linuturk | I have to know the command before I can learn about it | 05:51 |
mnoir | no - only works for commands, configs etc | 05:51 |
mnoir | :) | 05:51 |
mnoir | consider installing most | 05:51 |
Linuturk | well, thanks, you've helped | 05:51 |
mnoir | it is more like a text editor but assumes no editing | 05:51 |
mnoir | or no changing | 05:52 |
mnoir | k - 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 | ||
warlock | gonna see if it workde | 09:36 |
LjL | warlock: this time i've tried it, and it seemed to | 09:36 |
warlock | ye works mate | 09:37 |
warlock | thanks, you saved me 4hours | 09:37 |
warlock | BIG thanks. | 09:37 |
LjL | you're quite welcome :) want to know the specifics of that command's parts? | 09:37 |
warlock | else i'd have to edit all files manually | 09:37 |
warlock | sure | 09:37 |
warlock | would help :) | 09:38 |
LjL | warlock: 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 |
LjL | warlock: of course, every time it sets VariableName to the name of the relevant file (i've called that variable File) | 09:39 |
warlock | oi | 09:39 |
=== Turgon [n=Turgon@unaffiliated/turgon] has joined #ubuntu-classroom | ||
warlock | I always tend to learn something new :p | 09:39 |
LjL | warlock: "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 |
LjL | warlock: the "s/blah/blah/" syntax contains regular expressions... in general, s/blah1/blah2/ changes "blah1" into "blah2" | 09:40 |
LjL | warlock: in that command specifically, mytest= is just mached, then the .* means "match anything" ("." is "any character", and "*" is "any number of times") | 09:41 |
LjL | warlock: then the $ means "end of line" (probably reduntant) | 09:41 |
warlock | ooh | 09:41 |
LjL | warlock: the round brackets ( ) mean "remember this part" (they needed to be escaped with \, so \( and \), but this is not really important) | 09:41 |
LjL | warlock: and in fact, the .* part is remembered, and recalled by "\1" later - \1 means "recall the first thing you remembered" | 09:42 |
LjL | warlock: so, if you had mytest=abcdefg, it will repeat mytest= and the abcdefg again | 09:42 |
warlock | oic | 09:42 |
LjL | warlock: then the ",something2" is simply added | 09:42 |
warlock | perfect :) | 09:43 |
LjL | so, s/ mytest= ( .* ) / mytest= \1 ,something2 / | 09:43 |
LjL | the final "g" simply means "repeat this for every instance", so if there's more than one "mytest=", it'll work for all of them | 09:43 |
LjL | then "$File" of course is that File variable we defined in the "for" command | 09:43 |
LjL | (when using variables - as opposed to declaring them - you need to prefix a $) | 09:44 |
warlock | :o | 09: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!