00:02.52 | nombyte | infobot user interaction python |
01:31.23 | *** join/#fredlug nombyte (n=nomb@c-71-62-232-167.hsd1.va.comcast.net) |
01:31.54 | nombyte | never mind i got it |
01:31.58 | nombyte | python is tuff |
02:23.27 | nombyte | stickster: you available? |
03:35.39 | nombyte | IrishWolf: hello |
03:35.44 | IrishW0lf | plarsen: found the answer to the misterious VPN tunneling. it is installed via tcp/ip ver 6 |
03:35.58 | IrishW0lf | nombyte: hello to you |
03:36.42 | IrishW0lf | have you followed my ipconfig problem dialog? |
03:37.02 | nombyte | i have not im afraid it was up on my server but i closed it out |
03:37.54 | IrishW0lf | well, my wifes computer showed a vpn when i ran ipconfig |
03:38.10 | IrishW0lf | could'nt figure out where it cam from |
03:38.26 | nombyte | and the find? |
03:38.34 | IrishW0lf | found out it is installed through tcp/ip ver 6 |
03:38.51 | nombyte | oh instead of 4? |
03:38.53 | IrishW0lf | deleted that protocol and all went away |
03:39.02 | nombyte | or u mean a package of v 6? |
03:39.03 | IrishW0lf | yes |
03:39.31 | IrishW0lf | both running at the same time 4 and 6 together |
03:39.47 | IrishW0lf | under winxp |
03:40.12 | nombyte | ah |
03:40.21 | IrishW0lf | lol |
03:40.23 | nombyte | who uses xp still? |
03:40.31 | nombyte | :D |
03:40.49 | nombyte | i taught myself python today |
03:41.03 | IrishW0lf | that's great |
03:41.21 | nombyte | and made my first python program to do all the hard work concerning makeing dm-crypt & luks encrypted containers |
03:41.54 | nombyte | jsmith and stickster conviced me yesterday to switch from c/c++ to python |
03:42.05 | IrishW0lf | way ahead of me... |
03:42.16 | IrishW0lf | better? |
03:42.22 | nombyte | its weird actually |
03:42.31 | nombyte | but i do like it |
03:42.40 | IrishW0lf | how so, weird |
03:43.10 | nombyte | im used to more structured languages where everything is inclosed into brackets or what not |
03:43.30 | nombyte | in python it know what a function is because after the def statement which decleares it |
03:43.36 | nombyte | everything else is indented |
03:43.59 | nombyte | so everything after that def statement if it is indented the same amount of time that is all part of the function |
03:44.12 | nombyte | as soon as u change the indention the function is done |
03:44.14 | IrishW0lf | makes sense |
03:44.20 | nombyte | it does |
03:44.27 | nombyte | just not what im used to i guess |
03:44.45 | nombyte | and the dictionaries are a weird way to use variables |
03:45.12 | nombyte | but all in all its exciting learning something new |
03:45.29 | IrishW0lf | i did a little programing in dbase and progress a while ago |
03:45.41 | nombyte | programming is fun |
03:45.49 | IrishW0lf | well it keeps the mind active |
03:45.54 | nombyte | very true |
03:46.08 | nombyte | which distro r u using? |
03:46.30 | IrishW0lf | opensuse 10.2 |
03:46.45 | nombyte | do u do anything with luks and dm-crypt? |
03:46.50 | IrishW0lf | works well |
03:47.26 | nombyte | have u tried dm-crypt and luks? |
03:47.33 | IrishW0lf | actually i'm a newbi to linux and haven't a clue as to what they are |
03:47.39 | nombyte | oh |
03:48.09 | IrishW0lf | i assume dm-crypt is an encryption program |
03:48.11 | nombyte | basically u make a file and use that file as a enctypted 'brief-case' for private materials |
03:48.22 | IrishW0lf | gotcha |
03:48.34 | IrishW0lf | how abt lucs |
03:48.34 | nombyte | ya and luks is (linux unified key setup) |
03:48.46 | IrishW0lf | ah, ok |
03:48.49 | nombyte | luks keeps all the things like passwords in the header of the file |
03:48.56 | nombyte | so you can add and remove them at will |
03:49.01 | IrishW0lf | cool |
03:49.02 | nombyte | and the file transports flawlessly |
03:49.40 | IrishW0lf | i think bccrypt for windows is basicly like that |
03:49.50 | nombyte | i just started my website where i want to put linux howtos if you want to try using dm-crypt and luks |
03:49.51 | nombyte | it is |
03:49.57 | nombyte | www.nombyte.com/enc.html |
03:50.14 | IrishW0lf | thanks, i'll take a look |
03:50.27 | IrishW0lf | have you been to the fredlug mtgs |
03:50.27 | nombyte | the open source version for windows of dm-crypt and luks is called truecrypt |
03:50.33 | nombyte | only 1 |
03:50.51 | nombyte | i had to pick up a 3rd job cause my son will be here in under a week and my wife can't work atm |
03:50.54 | IrishW0lf | i missed the last two |
03:51.36 | IrishW0lf | three jobs, that's rough |
03:51.49 | nombyte | its not so bad i don't mind working |
03:52.28 | IrishW0lf | i have a lot of honey-dos to keep my busy |
03:53.49 | IrishW0lf | i also hav fc6, but am not running it at present |
03:54.37 | nombyte | i have fc6 (primary) and im running xp, opensuse 10.2, debian, puppy, ubuntu and damn small linux as virtual machines |
03:55.41 | IrishW0lf | a lot of vms |
03:55.46 | nombyte | ya |
03:55.55 | nombyte | i like to mess around a lot |
03:56.54 | IrishW0lf | i was running fc6 and suse 10.1 as vms under xp on one of my boxes |
03:57.35 | IrishW0lf | changed to a duel boot suse 10.2 and xp on my other box |
03:57.53 | IrishW0lf | just running 10.2 on this one |
03:58.16 | nombyte | on my other box im running fc6 as a web/ftp server |
03:58.19 | IrishW0lf | duel boot is on two separate hd |
03:58.31 | IrishW0lf | cool |
03:58.38 | nombyte | :D |
03:58.50 | nombyte | so how old r u? |
03:59.07 | IrishW0lf | we just got broadband (satelite) last year |
03:59.30 | nombyte | awsome im sure your enjoying that |
03:59.33 | IrishW0lf | well, i'm too old |
03:59.40 | nombyte | how old is too old? |
03:59.46 | IrishW0lf | i think we are out of sink |
03:59.58 | IrishW0lf | past retirement |
04:00.12 | nombyte | people usually retire at 65 right? |
04:00.12 | IrishW0lf | but have my own business |
04:00.19 | IrishW0lf | yes |
04:00.29 | nombyte | so your older than 65? |
04:00.37 | IrishW0lf | i did it at 55, required |
04:00.42 | nombyte | ah |
04:00.43 | IrishW0lf | yep |
04:00.52 | nombyte | does that mean u don't own ur buisness anymore? |
04:01.16 | IrishW0lf | still working at it, and my gov pension |
04:01.37 | nombyte | oh |
04:01.48 | nombyte | retired from your gov job, and work your buisness |
04:01.53 | IrishW0lf | don't advertise all word of mouth |
04:01.59 | IrishW0lf | yes |
04:02.02 | nombyte | gotcha |
04:02.23 | nombyte | very neat what is your buisness? |
04:02.58 | IrishW0lf | check out my web page: www.virtuallibrarian.com/datasleuths |
04:03.56 | nombyte | very cool that would be a fun job |
04:04.00 | IrishW0lf | computer forensics, i find all those files no one wants found |
04:04.12 | nombyte | there was a great program i used to use for that... |
04:04.24 | nombyte | linux based |
04:05.28 | IrishW0lf | i switched to linux cause i find it has all of the tools built in and is FREE |
04:06.20 | nombyte | im trying to remember that one program i used to use and i can't |
04:06.24 | IrishW0lf | pretty neat stuff |
04:06.29 | nombyte | i wanna say it had disk in its name |
04:06.32 | nombyte | can u think of any? |
04:06.42 | nombyte | cause i need to dl it again |
04:07.28 | IrishW0lf | one that comes to mind is autopsey |
04:08.38 | IrishW0lf | most run off of bootable CD's |
04:09.16 | nombyte | i don't think that was it |
04:10.11 | IrishW0lf | ISO's can be found on the web |
04:10.57 | nombyte | it was a stand-alone program you compiles from source |
04:10.59 | IrishW0lf | i know the sites but it's late and my mind is not functioning |
04:12.19 | nombyte | i think this was it http://www.cgsecurity.org/wiki/TestDisk |
04:12.35 | IrishW0lf | ok |
04:13.12 | nombyte | TestDisk can find lost partitions for all of these file systems: |
04:13.12 | nombyte | <PROTECTED> |
04:13.12 | nombyte | <PROTECTED> |
04:13.12 | nombyte | <PROTECTED> |
04:13.12 | nombyte | <PROTECTED> |
04:13.12 | nombyte | <PROTECTED> |
04:13.14 | nombyte | <PROTECTED> |
04:13.16 | nombyte | <PROTECTED> |
04:13.18 | nombyte | <PROTECTED> |
04:13.20 | nombyte | <PROTECTED> |
04:13.24 | nombyte | <PROTECTED> |
04:13.26 | nombyte | <PROTECTED> |
04:13.28 | nombyte | <PROTECTED> |
04:13.30 | nombyte | <PROTECTED> |
04:13.32 | nombyte | <PROTECTED> |
04:13.34 | nombyte | <PROTECTED> |
04:13.36 | nombyte | <PROTECTED> |
04:13.38 | nombyte | <PROTECTED> |
04:13.40 | nombyte | <PROTECTED> |
04:13.42 | nombyte | <PROTECTED> |
04:13.44 | nombyte | <PROTECTED> |
04:13.46 | nombyte | <PROTECTED> |
04:14.26 | IrishW0lf | damn, that's a lot of os's |
04:14.47 | nombyte | ya it works well |
04:14.51 | IrishW0lf | i'll grab it |
04:15.07 | nombyte | then there is http://www.cgsecurity.org/wiki/PhotoRec |
04:15.13 | nombyte | which does more individual files |
04:15.41 | nombyte | don't let the photo in its name fool u it can do more than that |
04:17.10 | nombyte | there is a testdisk live cd http://www.cgsecurity.org/wiki/TestDisk_Livecd' |
04:17.17 | nombyte | shoot take of the last ' |
04:17.18 | nombyte | http://www.cgsecurity.org/wiki/TestDisk_Livecd |
04:17.50 | IrishW0lf | ok, i bookmarked the page and will get back to it |
04:18.00 | IrishW0lf | brb |
04:18.38 | IrishW0lf | got to med the cats and close up the house |
04:18.47 | nombyte | k |
04:25.26 | nombyte | wow using photorc ive recovered over 2000 files |
04:26.35 | nombyte | not that i wanted them back mind u |
04:27.22 | nombyte | if i knew how to hook up my old ide harddrive into my laptop like an ide to usb or something if they made those that would be so cool |
04:39.46 | nombyte | ive found 10000 files on my flash drive alone |
05:00.37 | nombyte | well goodnight |
05:17.44 | *** join/#fredlug IrishW0lf (n=william@70-41-145-17.cust.wildblue.net) |
09:22.57 | *** join/#fredlug nomb_ (n=nomb@c-71-62-232-167.hsd1.va.comcast.net) |
16:37.07 | *** join/#fredlug nombyte (n=nomb@c-71-62-232-167.hsd1.va.comcast.net) |
16:37.20 | nombyte | plarsen i need some help if your not busy |
16:37.46 | nombyte | plarsen: hopefully u know a trick i don't |
17:03.26 | plarsen | hey nombyte |
17:03.28 | plarsen | what's up? |
17:18.32 | nombyte | OH awsome your hear |
17:18.51 | nombyte | something happened to my fc6 laptop and now during bootup it hangs at the starting quotas |
17:19.03 | nombyte | even tho im not using quotas in my fstab file |
17:19.08 | nombyte | i don't know how to fix it |
17:19.18 | nombyte | hitting I will not give me interactive startup |
17:19.25 | nombyte | :'( |
17:21.37 | nombyte | stickster: or maybe you would be able to help me as well? |
17:21.40 | stickster | nombyte: Are you actualy seeing the message "Checking local filesystem quotas:" ? |
17:22.09 | nombyte | yes i am |
17:22.14 | nombyte | and it doesn't move past that |
17:22.37 | stickster | Are you sure it's that message, and not "Enabling local filesystem quotas:" ? |
17:22.45 | nombyte | wait let me check |
17:23.21 | plarsen | I'm back .. .sorry, I got too many windows and no sound on this thing ;) |
17:23.25 | stickster | np |
17:23.38 | nombyte | it gets stuck at 'Enabling local filesystem quotas: [OK] |
17:23.44 | plarsen | nombyte: any additional messages in dmesg? |
17:23.55 | plarsen | nombyte: [OK] means it was done. That means it's stuck at the next one |
17:23.57 | stickster | If you see the [OK] message, it's passed that point successfully. |
17:24.04 | plarsen | gmta stickster :) |
17:24.20 | stickster | nombyte: It's likely in need of a relabeling for SELinux. |
17:24.32 | plarsen | nombyte: most "hung" systems I've seen have been network/driver related. |
17:24.36 | stickster | nombyte: Try booting using the "emergency" keyword at the end of the boot line in GRUB. |
17:24.53 | stickster | nope, just read /etc/rc.sysinit. |
17:25.43 | stickster | nombyte: After you boot "emergency," you will be root. Just run "touch /.autorelabel" to create that hidden file in the root. |
17:25.52 | stickster | Then reboot to enable auto-relabeling. |
17:25.57 | plarsen | stickster: is "emergency" the new "single" ? |
17:26.25 | stickster | emergency keeps /etc/rc.sysinit from running IIRC |
17:26.38 | stickster | Since that's possibly where the hangup is, might be wise to avoid |
17:26.52 | stickster | I say possibly because there are a number of "invisible" things that happen after quotacheck. |
17:26.58 | stickster | One of them is RHGB startup. |
17:28.09 | plarsen | stickster: rhgb is started right after udev?? so you get the gui boot thing |
17:28.11 | stickster | Network is in there too |
17:28.11 | nombyte | i can't get anywhere to check dmest |
17:28.14 | nombyte | dmesg |
17:28.39 | plarsen | nombyte: from emerg you should be able to see /var/log/boot.log - same thing at this level. |
17:30.32 | nombyte | im confused guys |
17:30.32 | plarsen | nombyte: do the boot stickster is talking aout |
17:30.42 | stickster | plarsen: Right re: udev -> rhgb, in most cases |
17:31.09 | stickster | Sorry, I was confusing rhgb with rhgb-client :-) |
17:31.15 | plarsen | stickster: quotas isn't enabled until root goes rw? |
17:31.20 | plarsen | ahhh |
17:31.21 | plarsen | :) |
17:31.26 | nombyte | so start fc6 and when it gets to where i choose the kernel hit a and type emergency? |
17:31.32 | stickster | plarsen: I think that's partly dependent on early-login. |
17:31.57 | stickster | nombyte: I thought it was 'e', but whatever you need to edit the kernel line for booting FC6. |
17:32.10 | stickster | 'a' might be append, I forget. |
17:32.20 | stickster | You get in the habit of using certain keystrokes. |
17:32.34 | nombyte | and just type emergency? |
17:32.45 | stickster | Put the word "emergency" at the end of the kernel boot line. |
17:32.46 | plarsen | yeeah |
17:32.59 | plarsen | nombyte: don't overwrite any of the existing parameters |
17:33.02 | stickster | It'll probably be after the word "quiet" IIRC |
17:33.03 | nombyte | ok let me try that |
17:33.34 | plarsen | stickster: I'm trying out fc7-test2 ... |
17:33.40 | plarsen | mixed mixed feeling I must say :( |
17:33.47 | nombyte | ok cool command prompt |
17:33.50 | nombyte | so now what? |
17:34.09 | plarsen | nombyte: check your log files ... /var/log/boot* ... and /var/log/messages |
17:34.17 | plarsen | there may be some suggestions in there. |
17:36.16 | nombyte | there isn't anythig that stands out |
17:36.23 | stickster | nombyte: Also look at the startup scripts to try and narrow down where the problem happens. /etc/rc.sysinit is the script that runs at boot time. Do not edit it. But you can look at it, against your boot and message logs, to determine what is happening. |
17:36.23 | nombyte | altho i don't know what im looking for |
17:36.41 | stickster | nombyte: Why don't you pastebin pieces of your log where the last (not this) boot stopped? |
17:37.07 | stickster | http://pastebin.com/ |
17:37.19 | nombyte | i don't have anything in my boot.log or my boot.log.1 |
17:37.22 | plarsen | stickster: he has no network etc. on the box ;) he'll have to type it al |
17:37.40 | stickster | plarsen: Transfer it via floppy or USB key, you'll just have to mount manually |
17:38.03 | nombyte | there isn't anything in the boot.log |
17:38.07 | plarsen | no usb drivers either if you boot without starting services? |
17:38.18 | plarsen | nombyte: what about boot.log.1 etc? |
17:38.34 | nombyte | nothing |
17:38.48 | nombyte | well three lines from mar 5th actually |
17:38.58 | stickster | /var/log/messages? |
17:39.13 | nombyte | a lot but i don't know what to look for |
17:39.32 | plarsen | brb |
17:39.42 | nombyte | maybe i can mount my thumb drive and give u that file |
17:40.54 | nombyte | it says special device /dev/sdb1 does not exist |
17:40.55 | nombyte | same for sdb |
17:41.33 | nombyte | i did |
17:41.50 | nombyte | mount -t vfat /dev/sdb1 /media/iso |
17:41.53 | nombyte | iso is just a folder |
17:42.02 | nombyte | and also the same thing for /dev/sdb |
17:42.14 | stickster | nombyte: When you plugged in your thumb drive, did you see a message spit out about sdb? |
17:42.38 | nombyte | ya |
17:42.49 | nombyte | sdb: assuming drive cache: write through |
17:42.58 | nombyte | adb: assuming drive cache: write through |
17:43.14 | nombyte | second one is sdb as well |
17:43.55 | stickster | nombyte: If you do 'lsmod' do you see the usb_storage module? |
17:44.44 | nombyte | i see one line |
17:44.47 | nombyte | that might be it |
17:44.52 | plarsen | stickster: no devices should be loaded in single/emergency mode |
17:44.59 | plarsen | stickster: you skipped all those steps, remember? lol |
17:45.01 | stickster | Right, no udev or hal etc |
17:45.18 | plarsen | udev yes ... or you couldn't mount / |
17:45.18 | nombyte | scsi_141805 3 usb_storage, libata,sd+Mod |
17:45.37 | plarsen | stickster: basically anything that's in initrd is loaded; that's it. |
17:45.43 | nombyte | scsi_mod 141805 3 usb_storage, liata,sd_mod |
17:46.02 | nombyte | oh wait |
17:46.09 | nombyte | there is a usb_storage there' |
17:46.15 | stickster | nombyte: Do you have the /dev/sdb1 file? Probably not. |
17:46.29 | nombyte | i dont' know what that is im afraid |
17:46.31 | plarsen | nombyte: what does dmesg | grep usb tel lya? |
17:47.23 | nombyte | ok here it goes you'll see where i unplugged it and plugged it in again |
17:47.40 | nombyte | usb 5-7: new high speed usb device using ehci_hcd and address 3 |
17:47.46 | stickster | plarsen: The USB module is loading, so he should be able to just make the /dev/sdb1 node |
17:47.55 | nombyte | usb 5-7: configuration #1 chosen from 1 choice |
17:48.08 | nombyte | usb-storage: device found at 3 |
17:48.21 | stickster | nombyte: You should be able to do 'mknod /dev/sdb1 b 8 17' |
17:48.22 | nombyte | usb-storage: waiting for device to settle before scanning |
17:48.31 | nombyte | usbcore: registered new interface driver usb-storage |
17:48.40 | nombyte | k let me try that |
17:48.54 | nombyte | ok now what mount it? |
17:49.00 | stickster | I think I have that node right... 8 0 is sda, 8 1 is sda1.... 8 16 is sdb, 8 17 is sdb1 |
17:49.32 | stickster | Then you can try mounting /dev/sdb1 again |
17:49.43 | nombyte | bing-go |
17:49.49 | nombyte | k which files do u guys want? |
17:49.53 | stickster | /var/log/messages |
17:50.11 | stickster | plarsen: See, the only thing not working is the auto-parsing and creation of nodes for /dev |
17:50.21 | stickster | Well, the only thing we needed for this particular purpose ;-D |
17:50.31 | nombyte | lol |
17:50.33 | nombyte | dmesg? |
17:51.05 | stickster | nombyte: /var/log/dmesg is good, sure |
17:51.16 | stickster | That won't have been overwritten in this boot because we didn't run rc.sysinit |
17:51.25 | plarsen | uhmmm - I guess that's one of the differences then. Never seen "emergency" before. Just single. It's served me well for years ;) |
17:51.27 | nombyte | do u want the rc.sysinit file? |
17:51.36 | stickster | No |
17:51.39 | nombyte | k |
17:51.43 | nombyte | just those two then |
17:51.43 | stickster | It would be the same as mine, I'd think :-) |
17:51.45 | nombyte | ill umount now |
17:51.50 | nombyte | do i have to delete the node? |
17:51.53 | stickster | no |
17:52.14 | nombyte | i wish i knew as much as u guys do |
17:52.41 | stickster | plarsen: The problem with single is that you run /etc/rc.sysinit, and since that might have what's causing the problem, best to skip it here |
17:53.52 | plarsen | well, correct - if the whole file is out. However, single barely runs anything but disk mounts. |
17:54.38 | nombyte | do i need to open something in my firewall? |
17:54.46 | stickster | nombyte: To do what? |
17:54.59 | nombyte | im trying to send u guys those two files |
17:55.06 | nombyte | through xchat |
17:55.08 | stickster | Send how, via DCC? |
17:55.26 | plarsen | "unsupported feature" ;) |
17:55.26 | nombyte | i opened conversation windows for both of u and clicked send |
17:55.32 | plarsen | pastebin would work |
17:55.40 | nombyte | i dont' know what that is |
17:56.02 | plarsen | http://pastebin.com |
17:57.20 | stickster | Hmm, don't usually get files here either. I usually refer to pastebin |
17:57.30 | nombyte | im doing that |
17:57.43 | nombyte | i transer aaron files this way all the time |
17:57.45 | stickster | Once it sends, you paste the URL that comes back right here |
17:58.05 | nombyte | too big? |
17:58.06 | nombyte | Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2144609 bytes) in /home/pastebin/lib/pastebin/db.mysql.class.php on line 353 |
17:58.09 | stickster | nombyte: It depends a lot upon the client each of us uses, and each of our firewall setups. |
17:58.23 | stickster | nombyte: don't paste the whole file, just the timeframe from the last boot up until it broke. |
17:58.33 | stickster | for messages, that is... dmesg is probably not that long. |
17:58.51 | nombyte | ok ill just do todays |
18:00.00 | nombyte | sure takes a long time |
18:01.01 | nombyte | im setting it to only be up there for a day |
18:01.06 | stickster | sure |
18:01.43 | nombyte | fire fox is just sitting there spinning |
18:02.00 | stickster | Could take a while depending on how much you ended up posting |
18:02.06 | nombyte | true |
18:02.07 | stickster | I have no idea what the PHP code on the back end is doing |
18:02.22 | stickster | At least, IIRC it's a PHP app |
18:02.40 | nombyte | im about to just put it on a webbage off of my site :D |
18:02.51 | plarsen | pastebin is quite slow .... there's an alternative site; but I recan't remember it :( |
18:03.08 | nombyte | i could just make u guys ftp accounts and put them into your home directory |
18:03.16 | stickster | http://rafb.net/paste/ |
18:03.22 | plarsen | hehe - that's it ;) |
18:03.23 | stickster | nombyte: Try that URL instead |
18:04.42 | nombyte | messages - http://rafb.net/p/zEjPRG56.html |
18:05.26 | stickster | nombyte: When did you last boot your system and have this problem? |
18:05.37 | nombyte | dmesg - http://rafb.net/p/vEGIb791.html |
18:05.41 | plarsen | io errors? |
18:05.54 | nombyte | when i got up this morning i noticed a black square in the center of my screen |
18:06.01 | nombyte | and things werent responding all that well |
18:06.07 | nombyte | so i rebooted and down it went |
18:06.57 | stickster | nombyte: Was the hard drive active? |
18:08.39 | stickster | Hmm, this dmesg looks relative complete. |
18:08.54 | nombyte | ya the hdd was fine |
18:08.55 | stickster | s/relative/relatively/ |
18:09.05 | nombyte | my torrents were downloading and everything |
18:09.17 | stickster | Uh, what makes you think this was a boot problem then? |
18:09.24 | stickster | Did I miss something? |
18:09.56 | stickster | I thought your system didn't complete the boot process |
18:10.08 | nombyte | it wont complete the boot process now |
18:10.22 | nombyte | actually it wouldn't shutdown this morning either |
18:10.28 | nombyte | so i used the button >:D |
18:10.35 | nombyte | now it wont complete the boot process |
18:10.43 | nombyte | to come back up |
18:11.07 | nombyte | it hangs after the quota |
18:12.27 | nombyte | you guys should come over and fix it :D |
18:12.28 | stickster | Hm, well if the quota meesage you talked about happens, the file systems have been mounted OK. |
18:12.39 | stickster | So what happens after that in /etc/rc.sysinit? Let's look. |
18:12.57 | nombyte | ok i tried to look and don't understand it do u want me to post that? |
18:12.58 | stickster | Line 728 is where the fs quota message happens. |
18:13.06 | nombyte | oh ok let me check |
18:13.21 | stickster | After that it checks to see if SELinux needs to be relabeled, and then does it. |
18:13.27 | nombyte | crap no line numbers in vi |
18:13.31 | nombyte | is there a jump to line command? |
18:13.32 | stickster | Do you have a file /.autorelabel in your root directory? |
18:13.38 | stickster | <line_no>G |
18:13.41 | stickster | like, 728G |
18:13.58 | nombyte | no an editor command |
18:14.03 | stickster | Oh, that may be :728G |
18:14.13 | nombyte | thats what i did |
18:14.14 | stickster | sorry |
18:14.23 | stickster | Try it not in command mode then |
18:14.45 | stickster | Don't use the : |
18:14.45 | nombyte | no .autorelabel |
18:15.14 | nombyte | k |
18:15.17 | stickster | So the next thing is to start RHGB |
18:15.25 | nombyte | the thing after /sbin/quotaon |
18:15.25 | stickster | if it hasn't happened yet |
18:15.27 | nombyte | is |
18:15.40 | nombyte | # Check to see if a full relabel is needed |
18:15.49 | stickster | nombyte: Yes, I just went over that part |
18:15.54 | stickster | Good reading though |
18:15.56 | plarsen | nombyte: I saw some IO errors mentioned. Very bad IO stuff can "halt" and make your system wierd. |
18:16.06 | nombyte | sorry looking at two monitors |
18:16.09 | plarsen | nombyte: ctrl-g in vi gives you the current linenumber |
18:16.22 | nombyte | oh cool |
18:16.42 | stickster | plarsen: Those IO errors were because he removed an extra drive without umounting properly, probably a USB |
18:16.49 | nombyte | so i need to run RHGB |
18:16.55 | plarsen | nombyte: another "trick" - to go to a particular line number, type in the line number and hit G (capital G) |
18:17.06 | stickster | Right, that's the one I mentioned |
18:17.07 | plarsen | stickster: ohhh ... ok. never mind then. |
18:17.43 | nombyte | um, where would it be? |
18:17.51 | nombyte | in the file it has /.autorelavel |
18:17.57 | nombyte | well relabel |
18:18.21 | stickster | where would what be? |
18:18.28 | nombyte | how do i relabel it |
18:18.31 | nombyte | if that file isn't there |
18:18.33 | stickster | No, you don't need to do that. |
18:18.38 | nombyte | oh |
18:18.39 | nombyte | ok |
18:18.44 | nombyte | whats next |
18:18.53 | stickster | But if you wanted to, you could just create /.autorelabel as an empty file and reboot |
18:18.56 | stickster | It's not necessary here. |
18:19.03 | stickster | I mean, you don't need to do that. |
18:19.15 | stickster | the next thing that happens is RHGB starts |
18:19.26 | nombyte | oh ok i see that |
18:20.02 | stickster | So if you have an X configuration error I suppose it's possible that could cause a problem, but I thought that in that event, booting continued at the normal text prompt with a typical error message. |
18:20.23 | nombyte | that would make sense |
18:21.44 | stickster | You probably will want to start bringing up parts of your file system to do the next bit. |
18:22.00 | stickster | Try: mount -f -o remount,rw / |
18:22.11 | nombyte | k |
18:22.38 | nombyte | ok |
18:22.40 | nombyte | did that |
18:22.53 | stickster | If that worked OK, do: mount -f /proc |
18:23.17 | stickster | Do you have a separate partition for /usr? |
18:23.28 | nombyte | not usre it is in lvm |
18:23.43 | stickster | Pastebin your /etc/fstab at http://rafb.net/paste/ |
18:23.50 | stickster | Then I can take a look and advise appropriately |
18:24.04 | plarsen | why not just mount -a ? |
18:24.05 | nombyte | its not giving me error messages when i mount the things but doint touch /.autorelabel gives a read-only error |
18:24.12 | stickster | Hm. |
18:24.13 | nombyte | does that ment the first mount didn't work? |
18:24.16 | stickster | Yes |
18:24.48 | stickster | plarsen: I didn't want to mount e.g. /home in case of, y'know, OE |
18:25.36 | nombyte | what is OE |
18:25.41 | plarsen | u could umount it after mount -a / |
18:25.42 | stickster | Operator Error :-D |
18:25.44 | plarsen | ? |
18:26.01 | stickster | I don't know what else is in his fstab. Discretion is the better part of valor. |
18:26.04 | plarsen | or Outlook Express ... same thing ;) |
18:26.16 | plarsen | uhmm - ok |
18:26.48 | plarsen | when I play around like this i usually do it from recovery boot prompts ... gives me more freedom (to screw up) lol |
18:28.27 | stickster | Still waiting for pastebin |
18:29.03 | plarsen | stickster: btw. we never got a topic for Tuesday did we (I know you wont be there) |
18:29.48 | stickster | plarsen: Crap, I had a draft email done and forgot to finish sending it |
18:30.04 | stickster | There it goes |
18:31.40 | nombyte | what do i need to do? |
18:32.02 | nombyte | should i do the mount -a / |
18:32.25 | stickster | nombyte: Pastebin your /etc/fstab please |
18:32.31 | nombyte | oh ok |
18:32.38 | nombyte | back to the mounting thing again |
18:32.54 | nombyte | is the nod still there? |
18:33.17 | stickster | Should be |
18:33.32 | stickster | You can do an 'ls' to find out, right? |
18:33.57 | plarsen | hey, check out fredlug.tux.org :) |
18:34.05 | nombyte | ok pasteing it now |
18:35.38 | nombyte | my desktop has created 4 dvd drives and my mem stick wont mount on here now either ... |
18:35.56 | stickster | plarsen: cool |
18:38.07 | nombyte | jeez im gettin pissed |
18:38.44 | nombyte | one sec im gonna restart |
18:38.55 | plarsen | lol |
18:39.58 | plarsen | time to get some food. brb |
18:42.30 | *** join/#fredlug nombyte (n=nomb@c-71-62-232-167.hsd1.va.comcast.net) |
18:42.34 | nombyte | ok back in buisness |
18:43.30 | stickster | cool |
18:46.25 | *** join/#fredlug nomb_ (n=nomb@c-71-62-232-167.hsd1.va.comcast.net) |
18:46.45 | nomb_ | my computer had froze on me... |
18:47.48 | nomb_ | ok here is my fstab |
18:47.49 | nomb_ | http://rafb.net/p/ToiSmC76.html |
18:48.30 | nomb_ | u guys here or is my computer being stupid again? |
18:48.42 | stickster | nomb_: Try 'mount -o remount,rw /' without the -f |
18:49.15 | stickster | Sorry, I thought I was using 'force' and I was instead using 'fake' |
18:49.19 | nomb_ | is it ,rw/' or ,rw / |
18:49.28 | stickster | Just as I typed it, rw<space>/ |
18:49.34 | nomb_ | ok so no ' |
18:49.36 | stickster | right |
18:49.49 | stickster | yeah, quoting command lines in IRC confusing. sorry |
18:50.02 | nomb_ | bingo touch /.autorelabel worked |
18:50.06 | nomb_ | now what :D |
18:50.24 | stickster | OK, remove that file, you don't want it on there unless you want to be waiting a l--o--n--g time at next boot |
18:52.12 | nomb_ | k removed |
18:52.48 | stickster | All right |
18:52.55 | stickster | Now let's try checking the X configuration then. |
18:53.02 | nomb_ | ok |
18:53.08 | stickster | I see you're using ATI and proprietary drivers |
18:53.22 | nomb_ | i know my xorg.conf file is fine cause i wrote it myself |
18:53.28 | nomb_ | is there more to it? |
18:53.42 | nomb_ | yup |
18:53.47 | nomb_ | dri working and everything |
18:54.08 | nomb_ | my xorg.conf file is on my sites ati howto at the end |
18:54.14 | nomb_ | www.nombyte.com/ati.html |
18:54.23 | stickster | Hang on.. checking a couple possibilities |
18:54.23 | nomb_ | well more or less |
18:55.37 | stickster | OK, do this |
18:55.45 | stickster | Edit the file /etc/sysconfig/init |
18:55.58 | stickster | Find the line that says "BOOTUP=color" and put a # sign in front of it to comment it out |
18:56.05 | stickster | Add another line right below it that says: |
18:56.07 | stickster | BOOTUP=verbose |
18:57.04 | nomb_ | k |
18:57.06 | nomb_ | done |
18:57.36 | stickster | Oh crap, I thought that function worked differently. |
18:57.38 | stickster | Never mind. |
18:57.47 | stickster | Remove the line we added, and uncomment the "BOOTUP=color" mode. |
18:58.35 | stickster | Let's try booting again, but we'll do it without RHGB |
18:58.39 | nomb_ | ok |
18:58.49 | stickster | reboot that system, and edit the boot configuration when GRUB comes up |
18:58.57 | stickster | remove the part of the kernel line that says "rhgb quiet" |
18:59.01 | stickster | Just those two words |
19:00.40 | plarsen | doesn't look like he got the last msgs |
19:01.54 | plarsen | I need an eye doc or glasses |
19:02.07 | plarsen | I've been missing things on my screen for weeks now; like two numb*s online :( |
19:02.59 | nomb_ | no im still here |
19:03.51 | nombyte | rebooting |
19:04.17 | nombyte | i got a lot of stuff |
19:05.01 | nombyte | hey |
19:05.06 | nombyte | seg fault |
19:05.25 | stickster | nombyte: Um, during boot? |
19:05.29 | plarsen | found the culpret ;) |
19:05.34 | stickster | heh |
19:05.42 | stickster | Wow. Just.... wow. |
19:06.41 | plarsen | nombyte: all you need to do is find out what part of the setup seg faulted, and take it out. |
19:06.55 | plarsen | then you can boot back, restore/recover that area and try again :) |
19:07.23 | stickster | I would suggest that a segfault during boot is entirely abnormal and we first need to make sure we have updates applied. |
19:07.31 | stickster | nombyte: Is that the case? Have you been keeping this box yum updated? |
19:07.51 | nombyte | of course i update |
19:07.52 | nombyte | :D |
19:08.06 | stickster | What's your current 'rpm -qa kernel' say? |
19:09.00 | stickster | Before you start taking things out -- meaning removal? -- from a software-managed system, there are some other ways to fix. |
19:09.45 | stickster | One possible procedure: |
19:09.47 | nombyte | /etc/rc.d/rc.sysinit: line 927: 1831 Segmentation fault rm -rf /tmp/ .X*-unix /tmp/ .ICE-unix /tmp/ .font-unix /tmp/hsperfdata_* /tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-* /tmp/scrollkeeper-* /tmpssh-* /dev/.in_sysinit |
19:09.54 | stickster | Uh yeah, |
19:10.00 | stickster | rm should never be segfaulting like that |
19:10.04 | plarsen | stickster: no, I meant using chkconfig and "disable" the thing. No delete/erase here. |
19:10.05 | nombyte | whatever that means |
19:10.13 | plarsen | stickster: it will if the stdlibs are bad |
19:10.17 | stickster | Not a possibility here obviously |
19:10.27 | plarsen | stickster: you need to use a static link to be almost 100% |
19:10.47 | stickster | yeah, this is clearly a point where I would say, drop back and use a rescue CD then.l |
19:10.51 | stickster | s/l$// |
19:11.26 | stickster | heh |
19:11.32 | nombyte | when u use a rescue cd everything is read-only |
19:11.45 | stickster | nombyte: No, you can remount read-write as we did before |
19:11.47 | plarsen | nombyte: no |
19:12.35 | stickster | Then you can do e.g. 'rpm -Va --root=/<my_mountpoint>' and see if you have problems |
19:13.15 | plarsen | ok, gotta go. Be back later tonight. |
19:15.04 | stickster | nombyte: If you have problems in your rpm database, you can download fresh copies and replace the packages in question |
19:15.18 | nombyte | ok one sec let me boot into the rescue cd real quick |
19:15.25 | stickster | You have to be careful at that point, because you don't want to forcibly "downgrade" anything if possible |
19:16.06 | nombyte | u know there was one package which had upgraded i think and i hadn't turned my comp of since then |
19:17.33 | stickster | You rarely need to reboot after a package upgrade. Usually only for something like a kernel |
19:17.42 | stickster | Or maybe glibc-common |
19:18.13 | nombyte | I wanted to ask u what is the point in compiling the kernel from source if you then have to install everything from source |
19:18.20 | stickster | Huh? |
19:18.35 | stickster | You don't have to install everything from source if you run a kernel from source. |
19:19.04 | stickster | However, if you compile your own kernel from vanilla sources (as opposed to rebuilding the RPM with a tweaked config), you should probably not count on getting a lot of help from Fedora folks |
19:19.22 | stickster | There's a lot of things it's possible to break by doing that, and some of them are subtle and not easily discerned. |
19:19.36 | nombyte | i guess i just don't how to do it the right way |
19:19.41 | stickster | Is there a specific purpose you have in building your own kernel? |
19:20.08 | stickster | i.e., does the stock kernel not have a particular piece you need or want? |
19:20.33 | nombyte | because for some reason i can't use make menuconfig and recompile the rpm that yum installed with my processor type |
19:20.47 | nombyte | plus i wanted to put the book i got from the last fred-lug meeting to work |
19:20.55 | nombyte | ok im at a rescue prompt |
19:21.14 | stickster | So your system is mounted at /mnt/sysimage then? |
19:22.03 | nombyte | yes |
19:23.02 | stickster | All right, do: rpm -Va --root=/mnt/sysimage |
19:23.20 | stickster | If you start seeing a lot of output, that indicates a problem. |
19:23.57 | stickster | We should probably also check your 'df' output for free disk space |
19:24.33 | stickster | Since you have everything essentially on a single partition, a disk space problem is going to spill over into lots of ugly symptoms, esp. if you have a lot of junk in /tmp that's filled up the file syste |
19:24.37 | stickster | s/syste$/system/ |
19:24.49 | nombyte | um, crap? |
19:24.56 | nombyte | things are flying up the screen |
19:24.57 | stickster | heh |
19:25.04 | stickster | Hit Ctrl+S to pause |
19:25.12 | stickster | Then name me some of the files |
19:25.40 | nombyte | want me to output it all to a file? cause it looks like almost everytihing |
19:25.52 | nombyte | some on the screen now are |
19:25.56 | nombyte | /sbin/halt |
19:25.58 | nombyte | /sbin/init |
19:26.00 | stickster | Yikes!!! |
19:26.02 | nombyte | /sbin/killall5 |
19:26.08 | nombyte | /sbin/shutdown |
19:26.13 | nombyte | /sbin/sulogin |
19:26.20 | nombyte | /usr/bin/last |
19:26.22 | nombyte | /usr/bin/mesg |
19:26.24 | nombyte | .... |
19:26.42 | stickster | OK, what's the code at the beginning for those? |
19:26.57 | stickster | Do you see a "5", for instance? |
19:27.32 | nombyte | S.5..... |
19:27.36 | stickster | Yup. |
19:27.38 | stickster | That's a HUGE problem. |
19:28.47 | stickster | All those files you quoted me are part of the SysVinit package. |
19:29.12 | stickster | Hang on a sec |
19:33.39 | nombyte | there is a lot more |
19:33.40 | stickster | nombyte: Try this... first: rpm -qa > /tmp/pkglist |
19:33.59 | stickster | nombyte: You can Ctrl+C to quit that old process, by the way |
19:37.45 | stickster | nombyte: Is that done? |
19:40.29 | nombyte | one sec brb |
19:40.53 | stickster | nombyte: Once you've made the /tmp/pkglist (see above), you can do this: |
19:45.09 | stickster | for i in $(cat /tmp/pkglist); do rpm -Va $i >/dev/null || echo $i ; done |
19:45.23 | stickster | That's all one line, BTW |
19:53.45 | stickster | Hm, you might want instead: |
19:53.50 | stickster | for i in $(cat /tmp/pkglist); do rpm -Va $i >/dev/null || echo $i ; done > /tmp/badpkgs |
19:53.56 | stickster | Sorry, want to read it later :-D |
19:58.10 | stickster | back in a min |
20:08.50 | stickster | Yikes, another stupid mistake, should be: |
20:08.57 | stickster | for i in $(cat /tmp/pkglist); do rpm -V $i >/dev/null || echo $i ; done > /tmp/badpkgs |
20:09.05 | stickster | That Benadryl is really knocking me out here. |
20:55.42 | *** join/#fredlug jsmith (n=jsmith@000-176-826.area3.spcsdns.net) |
20:55.51 | nombyte | sorry |
20:55.55 | nombyte | trouble with the wife |
21:00.09 | nombyte | dman laptop froze |
21:00.49 | nombyte | stickster: still with me? |
21:01.33 | nombyte | hey there jsmith |
21:01.43 | nombyte | we've been trying to fix my laptop |
21:01.58 | stickster | nombyte: I'm back |
21:02.03 | nombyte | woot |
21:02.06 | stickster | nombyte: Have you made the files above? |
21:02.18 | nombyte | i just finished working things out with the wife |
21:02.24 | stickster | Try these: |
21:02.28 | stickster | rpm -qa > /tmp/pkglist |
21:02.43 | stickster | for i in $(cat /tmp/pkglist); do rpm -V $i >/dev/null || echo $i ; done > /tmp/badpkgs |
21:02.47 | jsmith | Hey nombyte |
21:03.25 | stickster | Note not evertyhing in /tmp/badpkgs will be truly "bad." Some changes are good but trigger verification messages, like configuration files that have changed. |
21:03.34 | nombyte | do i have to remount ? |
21:03.42 | nombyte | in order to write? |
21:03.42 | stickster | No, you can do this manually. |
21:03.46 | stickster | Oh crap, one change: |
21:03.57 | stickster | rpm -qa --root=/mnt/sysimage > /tmp/pkglist |
21:04.18 | stickster | for i in $(cat /tmp/pkglist); do rpm --root=/mnt/sysimage -V $i >/dev/null || echo $i ; done > /tmp/badpkgs |
21:04.31 | stickster | wait... |
21:04.32 | jsmith | stickster: So, my son and I are trying this FC7 Test LiveCD |
21:04.46 | jsmith | stickster: I think there's a bug in gnome-sudoku :-) |
21:04.52 | nombyte | i was just about to hit enter :D |
21:05.07 | stickster | jsmith, yeah, that game is now part of gnome-games and not my package in F7 |
21:05.33 | nombyte | can i run the rpm command? |
21:05.38 | jsmith | stickster: I just thought it was funny that my *son* is now finding bugs for us ;-) |
21:05.43 | stickster | awesome |
21:07.23 | nombyte | stickster: were u saying wait to me? |
21:07.46 | stickster | nombyte: Sorry, don't know where the "wait..." came from. |
21:07.51 | nombyte | ok |
21:07.52 | stickster | nombyte: Oh yeah |
21:08.00 | stickster | nombyte: What's on this box that you care about? |
21:08.08 | nombyte | a lot actually |
21:08.10 | stickster | OK |
21:08.13 | nombyte | music and suck |
21:08.17 | stickster | Good, then it's worth the time to fix |
21:08.35 | nombyte | if u don't want to i can copy my home directory over to my external |
21:08.38 | stickster | No |
21:08.43 | stickster | Go ahead and run the above |
21:08.47 | nombyte | ok |
21:09.02 | nombyte | um |
21:09.09 | nombyte | the rpm -qa command gives a seg fault |
21:09.19 | stickster | You booted off the *rescue* disk for this? |
21:09.28 | nombyte | ya |
21:09.36 | stickster | did you "chroot /mnt/sysimage" by any chance? |
21:09.42 | nombyte | no |
21:09.44 | stickster | Hm. |
21:09.45 | nombyte | do i need to |
21:09.48 | stickster | No |
21:09.52 | stickster | Specifically, you don't want to. |
21:10.09 | stickster | nombyte: Do a "df -h" and tell me how much space is left in your /mnt/sysimage mounted system |
21:10.30 | nombyte | rpm -qa --root=/mnt/sysimage just sits there |
21:10.49 | nombyte | bah ctrl-c wont break out of it |
21:10.52 | jsmith | That might take a while... |
21:11.06 | nombyte | it isn't displaying anything tho |
21:11.15 | stickster | nombyte: That's because you're sending it to a file. |
21:11.20 | jsmith | (Worse comes to worse, we can do a "rpm --rebuilddb --root=/mnt/sysimage" |
21:11.26 | nombyte | no im not |
21:11.30 | stickster | Oh. |
21:11.35 | nombyte | if i use the redirect to a file it seg fualts |
21:11.35 | stickster | Well that's what I asked you to type, anyway. ;-) |
21:11.46 | stickster | OK, let's do this then. |
21:11.48 | nombyte | so i tried with out that part and it is just sitting there |
21:11.58 | stickster | jsmith: Yup, that's probably next. |
21:12.19 | stickster | jsmith: Your session's been open, yes? So you can look back through the log... |
21:12.32 | stickster | There are definitely bad problems on this box, looks like an aborted update transaction. |
21:12.34 | nombyte | i can't get a command prompt |
21:12.44 | stickster | nombyte: Try Ctrl-\ |
21:12.54 | nombyte | no |
21:12.55 | nombyte | pe |
21:13.05 | nombyte | enter gives another blank line but nothing is happening |
21:13.10 | stickster | If that doesn't work, reboot the rescue disk. The file system is still mounted read-only and it won't hurt anything. |
21:13.37 | stickster | No sense in fighting this just to lose time. |
21:13.47 | nombyte | k bootin back up |
21:13.54 | stickster | After you reboot, we need to try rebuilding the rpmdb like jsmith advised. |
21:14.05 | nombyte | ok |
21:14.12 | nombyte | do i need to remount with rw permissions? |
21:14.15 | stickster | Once you get back to a prompt for "real work" again... |
21:14.27 | stickster | ...do "mount -o remount,rw /mnt/sysimage" |
21:14.53 | stickster | Or... wait... I think it'll be mounted read-write already unless you *choose* read-only yourself. |
21:15.04 | nombyte | ok then I do a ./fixcomputer right? |
21:15.11 | stickster | right, that takes care of everything. |
21:15.16 | nombyte | :D |
21:15.20 | stickster | Make sure you use the "--makecoffee" switch |
21:15.41 | stickster | Once it's up, you'll do this: |
21:15.57 | stickster | rm -f /mnt/sysimage/var/lib/rpm/__db.* |
21:16.07 | stickster | rpm --root=/mnt/sysimage --rebuilddb |
21:17.43 | nombyte | error: temporary database /mnt/sysimage/var/lib/rpm already exists |
21:18.05 | stickster | Check your typing there |
21:18.21 | nombyte | rm it? |
21:18.28 | stickster | /var/lib/rpm/<two underlines>db.* |
21:18.41 | stickster | Sorry, don't know if your xchat mangles that. |
21:18.51 | nombyte | i did |
21:19.04 | nombyte | rm -f /mnt/sysimage/var/lib/rpm/__db.* |
21:19.07 | stickster | OK |
21:19.15 | nombyte | and it gives the error |
21:19.33 | stickster | do 'ls /mnt/sysimage/var/lib/rpm/' |
21:19.50 | stickster | What do you see? Are the temp files still there? |
21:20.33 | stickster | __db.* that is |
21:20.41 | nombyte | among other things there is a __db.000 |
21:20.48 | stickster | OK, that should *not* be there. |
21:20.50 | stickster | remove it |
21:21.07 | stickster | That should have already happened, maybe it's touched from the rebuild before the error occurred. |
21:21.18 | nombyte | cannot remove '__db.000': No such file or directory |
21:21.21 | stickster | Heh |
21:21.21 | nombyte | but it is there |
21:21.37 | stickster | Do 'lsattr /mnt/sysimage/var/lib/rpm/__db.000' |
21:22.03 | nombyte | ------------- |
21:22.05 | stickster | OK |
21:22.34 | stickster | Try 'unlink /mnt/sysimage/var/lib/rpm/__db.000' |
21:22.49 | stickster | Then see if it's still there. |
21:22.52 | nombyte | k now its gone |
21:22.58 | stickster | All right. |
21:23.00 | stickster | Now try this again: |
21:23.05 | stickster | rpm --root=/mnt/sysimage --rebuilddb |
21:23.43 | nombyte | error: temporary database /mnt/sysimage/var/lib/rpm already exists |
21:23.47 | stickster | Well crap. |
21:24.07 | nombyte | now __db.000 is back |
21:24.07 | stickster | If you do 'df', what do you see for the /mnt/sysimage file system/ |
21:24.09 | stickster | ? |
21:24.14 | stickster | nombyte: Yeah, I expected that. |
21:25.11 | nombyte | /dev/VolGroup00/LogVol00 34312000 21456996 11083896 66% /mnt/sysimage |
21:26.37 | stickster | OK, so it's not a space problem. |
21:26.37 | stickster | What about 'df -i'? |
21:26.37 | stickster | (Just in case.) |
21:26.38 | stickster | This is probably going to be a very small %. |
21:26.38 | stickster | At least, it *should* be. |
21:26.39 | nombyte | /dev/VolGroup00/LogVol00 8862784 213036 8649748 3% /mnt/sysimage |
21:26.39 | stickster | OK |
21:26.39 | stickster | that's good, now we can move on with a little more confidence |
21:26.45 | stickster | You have plenty of spare disk space, and inodes too. |
21:26.56 | nombyte | ah -i was for inodes |
21:27.21 | stickster | Ah |
21:27.34 | stickster | No, never mind |
21:28.02 | stickster | nombyte: Let's try this instead: |
21:28.15 | stickster | 'unlink /mnt/sysimage/var/lib/rpm/__db.000' |
21:28.19 | stickster | Then try this: |
21:28.29 | stickster | rpm --dbpath=/mnt/sysimage/var/lib/rpm --rebuilddb |
21:29.14 | nombyte | --dbpath=/mnt/sysimage/var/lib/rpm: unknown option |
21:29.27 | stickster | Oh sorry, make that '=' equal sign a space instead. |
21:29.56 | stickster | Thanks jbj! |
21:30.29 | stickster | Does this appear to be doing something? (i.e. hard disk activity) |
21:32.10 | nombyte | --dbpath: unknown option |
21:32.45 | stickster | I used to *use* that option regularly |
21:34.00 | nombyte | i dont' see it under rpm --help |
21:34.06 | nombyte | man doesn't seem to be working |
21:34.12 | stickster | nombyte: No, it wouldn't. |
21:34.18 | stickster | What about rpmdb --help? |
21:34.38 | stickster | Hm, done via popt |
21:34.57 | nombyte | nothing |
21:35.03 | stickster | OK |
21:35.41 | stickster | jsmith: Any ideas? |
21:36.14 | stickster | We know that there is something really borked on his system, he has *numerous* packages that don't verify correctly anymore (major binaries come up with MD5 errors, for example) |
21:36.26 | stickster | the SysVinit package was one of them ;-) |
21:36.40 | stickster | He was getting segfaults on commands from coreutils, such as "rm" |
21:36.54 | stickster | Possibly a messed up glibc{,-common}? Anyway... |
21:37.16 | stickster | It will take way longer to talk nombyte through fixing this than it would for him to (1) backup files, (2) reinstall, and (3) restore. |
21:37.29 | stickster | nombyte: Do you have anything important stored outside /home and /etc? |
21:37.38 | stickster | Like SQL databases, web sites, etc.? |
21:38.27 | nombyte | no my site is in home |
21:38.39 | nombyte | was the commmand u were thining of --initdb /... |
21:38.48 | stickster | nombyte: No, that erases the entire rpmdb. Not good. |
21:39.00 | stickster | At least, it won't help fix anything in this case. |
21:39.21 | stickster | Or... I suppose there is something we could try... |
21:39.30 | stickster | You'd still want to back up your stuff first. |
21:40.05 | nombyte | ok |
21:40.09 | stickster | Oh wait... no, that won't work. |
21:40.12 | nombyte | let me get my 80gb |
21:40.26 | jsmith | stickster: If you're getting segfaults on core binaries *and* the RPMs don't verify, I'd suspect hardware problems |
21:40.44 | stickster | Well, it could be RAM, right? |
21:40.45 | jsmith | I'd run memtest86+ first |
21:40.48 | jsmith | Yup |
21:40.56 | stickster | jsmith: That's the sort of thing I was looking for... i.e. what I forgot :-D |
21:41.32 | stickster | nombyte: You can run that off the install disc (or rescue, I think?)... when you boot, use the option for memtest at the boot: prompt |
21:41.36 | nombyte | memtest86+ command not found |
21:41.55 | stickster | No, it's not a command. |
21:41.57 | jsmith | memtest |
21:41.58 | stickster | You have to boot off the disc. |
21:42.02 | jsmith | or memtest86 |
21:42.10 | nombyte | im still in rescue |
21:42.14 | jsmith | I think it's just memtest right after you boot off the rescue CD |
21:42.19 | jsmith | (instead of typing "rescue") |
21:42.23 | stickster | jsmith: right |
21:42.28 | nombyte | oh |
21:42.34 | nombyte | let me back stuff up first |
21:42.39 | nombyte | how do i do that node thing again? |
21:42.54 | stickster | nombyte: mknod /dev/sdb1 b 8 17 |
21:44.13 | stickster | nombyte: Although, you may not have to do that this time. You had to do it last time because you were running in a different environment, remember? |
21:44.27 | stickster | The 'emergency' runlevel. |
21:44.28 | nombyte | i am now |
21:44.48 | nombyte | im doing emergency again |
21:44.55 | stickster | Well, you didn't have to |
21:45.04 | stickster | You could have just attached your drive in the rescue environment and mounted it there |
21:45.07 | stickster | But whatever |
21:45.38 | stickster | nombyte: If you're running off the broken system and not the rescue CD, how do you expect you can guarantee your backup will work? |
21:45.47 | stickster | On the other hand, if you have bad RAM, you can't guarantee anything, can you?" |
21:45.51 | stickster | heh :-) |
21:46.22 | nombyte | my ram shouldn't be bad |
21:46.23 | stickster | I would remove the hard disk, attach it to a working system, and back it up from there. |
21:46.33 | stickster | Well, you don't know until you test it, that's the whole problem |
21:46.47 | stickster | I've had this happen before with sticks that were only ~5 months old |
21:46.53 | nombyte | cp nomb /media/iso |
21:46.56 | stickster | Defects happen, fact of life unfortunately. |
21:47.01 | nombyte | cp: omitting directory 'nomb' |
21:47.07 | stickster | *sigh |
21:47.24 | stickster | cp -a |
21:47.34 | jsmith | rsync -av /home/nomb/ /media/iso/nomb |
21:47.39 | stickster | jsmith: rsync++ |
21:47.42 | stickster | That's what I use. |
21:47.52 | stickster | I didn't want to spring another command on him, but I like yours better |
21:47.54 | jsmith | And rsync --partial --progress /home/nomb/ /media/iso/nomb/ is even better |
21:48.13 | stickster | Or like I do, rsync -Pavy --delete-after /home/pfrields /media/Backups/pfrields |
21:48.16 | jsmith | (make sure you get get the slashes on the end of *both* paths) |
21:48.31 | jsmith | What's the 'y' for? |
21:48.35 | stickster | fuzzy matching |
21:48.41 | jsmith | fuzzy? |
21:48.44 | jsmith | Interesting... |
21:48.47 | stickster | Cuts down on some transfers if you have a similar filename |
21:48.58 | stickster | Helpful for, e.g. repository backups for Rawhide |
21:49.02 | jsmith | ;-) |
21:49.10 | stickster | where pkg-0.1.29-1 becomes pkg-0.1.29-2 |
21:49.33 | stickster | But the server has to support the new protocol to do that, so sites running e.g. CentOS 4 won't handle it. |
21:50.00 | stickster | Or is it sites *other* than CentOS 4? Maybe they do have the new rsync. Some don't, meh. |
21:50.13 | jsmith | Yeah, I gotcha |
21:50.34 | stickster | All right, I'm bailing for a bit. |
21:50.35 | nombyte | do either of you have a good kickstart file for 6? |
21:54.02 | nombyte | stickster: thank you for your help |
21:56.24 | nombyte | anyone still here? |
21:58.27 | nombyte | well im running the memtest |
21:58.37 | jsmith | Ok, I'm back |
21:58.43 | nombyte | woot |
21:58.46 | nombyte | im not alone :D |
21:58.50 | jsmith | I don't have a good FC6 kickstart |
21:58.56 | jsmith | All mine are for CentOS |
21:59.01 | nombyte | i hate getting stuff i don't need |
21:59.06 | nombyte | and missing things i do |
21:59.21 | jsmith | You could backup your current one |
21:59.43 | nombyte | i din't make one i don't think |
21:59.50 | nombyte | my main thing is i like virtualization |
21:59.51 | jsmith | You don't have to |
22:00.00 | jsmith | Whenever you install, it creates a kickstart file ;-) |
22:00.08 | nombyte | but i ended up having to use virtualbox cause nothing else works |
22:00.11 | nombyte | or is free |
22:00.14 | jsmith | /root/anaconda-ks.cfg |
22:00.16 | nombyte | oh cool |
22:00.24 | jsmith | Xen is free |
22:00.26 | jsmith | KVM is free |
22:00.29 | nombyte | xen doesn't work |
22:00.29 | jsmith | QEMU is free |
22:00.36 | nombyte | kvm/qemu doesn't work |
22:00.38 | jsmith | Works fine on FC6 and FC7 |
22:00.43 | nombyte | not on mine |
22:00.46 | jsmith | :-( |
22:00.50 | nombyte | it takes away my eth ports |
22:01.37 | nombyte | and doesn't want to let me use my wlan0 as the interface for the vms |
22:02.08 | nombyte | kvm/qemu made me have to do 3 re-installs so im very weary of it |
22:03.38 | nombyte | what is your recomendation for vms? |
22:05.02 | nombyte | gone away again i guess |
22:05.08 | jsmith | Sorry, coming and going |
22:05.12 | nombyte | ah |
22:05.20 | jsmith | Trying to do five things at once |
22:05.26 | jsmith | (as is typical for me) |
22:05.31 | nombyte | understandable |
22:06.18 | nombyte | should i not use lvm and instead create partitions for swap root and home? |
22:06.45 | jsmith | I use LVM for root and home |
22:06.48 | jsmith | But not for swap |
22:07.18 | nombyte | and ur swap should be as much as u have ram? |
22:11.11 | jsmith | Yup |
22:11.19 | jsmith | Back later... gotta go grocery shopping |
22:11.36 | nombyte | oh ok |
23:32.24 | nombyte_away | stickster: how long does the memtest go for |