?

Log in

No account? Create an account

Previous Entry | Next Entry

another server upgrade - and FAIL

It's been a while. (a year and a half) And I've got two servers to upgrade. It's 9:15a now (Tuesday, for the record), and I've been at this for about 5 hours. Pretty deep in it.

upgrading to FC9 and FC8 (two machines, and one I couldn't trick to make the jump all the way from FC6 to FC9... the other I could get FC7 to FC9 with some fiddling). upgrading kernels to 2.6.26.5 from 2.6.18 and 2.6.17.

I want to remember to get kernels from:
http://update.pureserver.info/linux-kernel/v2.6/

If I accidentally killed my old config, I can get one at:
/proc/config.gz

(this goes in the downloaded src (/usr/local/linux/src/linux/)'s directory as .config

make oldconfig
make all
make modules_install
make install

(here I have some worries:

WARNING: No module ehci-hcd found for kernel 2.6.26.5, continuing anyway
WARNING: No module ohci-hcd found for kernel 2.6.26.5, continuing anyway
WARNING: No module uhci-hcd found for kernel 2.6.26.5, continuing anyway

)

Meanwhile: here's a kicker: imap _virtual_ accounts could access their mail, but actual unix accounts couldn't. took a bit to find that. Woof. But I think my system's good now! WHOO! WHY COULDN'T I RECORD WHAT I DID? OF COURSE IT'S HAPPENING AGAIN. At least it remembered my MTA properly this time. Okay, this is why: pam_auth_unix is failing. Now, what to do about that?

And yes, you need to recompile eAccelerator, and YES, that's why httpd isn't starting.

And ... new kernel failed on the box going to FC8, but FC8 appears happy enough anyway?

Random nifty detail--extracting single files out of an rpm:


rpm -qlp rpmfile | grep whatyourelookingfor

this tells you full path of what you're looking for....

rpm2cpio rpmfile | cpio -ivd ./ullpathandfile

Note the ./ -- that puts it relative to the current directory instead of (possibly?) overwriting your system.


Note to self: NEVER EVER _EVER_ EV4R!!11! screw up your system _while in the middle of an upgrade_. Seriously. Wow. Still hoping I can recover from some accidental problems with libc.so.6 that got much worse very quickly. I was actually probably just forgetting to do the ... erm.

it's 12:23am on Wednesday now. I'm still going. Mistakes were made.

8:47am. I got four hours of sleep, I think, waiting for /home/ to untar. It probably didn't take 4 hours (sheesh, I hope not more than 1, maybe 1.5, but I really needed it--I'd been up since Monday).

Things are looking up, despite some lost configurations, and the fact that fedora dropped support for courier-imapd/courier-authlib a long time ago. Have compiled from source and am making progress with them. Web stuffs is up, but email's not quite right yet. And then the big-scaries, I lost all my configs for tomcat for a few legacy sites. ((also lost my named.conf, but was able to reconstruct from my secondary)).

Hey, finally learned about ld.so.conf and Fedora services (well, how to build something for init.d that chkconfig recognizes).

Mind you, I didn't really want to learn this stuff. Really. Ooh. Dizzyhungry. Hmm.

Also learned about postgrey -- grey listing support for postfix. YAY! :) But oh boy, don't forget about spamassassin. EEK. Let's get that set up quick... hopefully quick... (it's 9:50a now...)

okay... 11a. postgrey is installed, spamassassin is on hold. did some db recovery (hooboy!)

11:55a -- oh, and bind needs to accept requests from non-local servers if you're going to get anywhere with doing DNS. struggling with tomcat.

12:11p -- WHOO! tomcat is up. Next: postgresql (the problem here being it's an _old_ version of postgresql, not supported anymore.)

12:51p -- postgresql is up, tomcat is talking to it, hells yeah.

Any guesses as to what I might have forgotten (besides spamassassin?)

For future reference, this looks like the be-all end-all guide to postfix.

Comments

kaolinfire
Oct. 8th, 2008 10:14 pm (UTC)
maybe? :)

Latest Month

February 2016
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
2829     

Tags

Page Summary

Powered by LiveJournal.com
Designed by chasethestars