I am going to be trying to fix several issues with our server software configuration tonight. One of our mail monitoring modules is failing and causing a restart of either Apache or the module every 10 minutes. This results in me getting 2 emails and may be causing other issues. Also there was the problem with the CGI cached pages not coming up earlier.
So I am likely going to be doing a rebuild of the Apache software and adding Mod_Perl (for you server geeks out there). This is hopefully going to allow me to finally get the Resources section underway as I want to use a powerful content management engine to do this and it requires Mod_Perl.
You have been warned.
Jim
Site Talk
Site announcements, comments, or feedback about the site.
Site announcements, comments, or feedback about the site.
Hosted by Darren Baker, Jim Starkweather
Site Stability: May be outages tonight
Posted: Monday, April 12, 2004 - 02:43 PM UTC
firemann816
Alabama, United States
Joined: September 14, 2003
KitMaker: 790 posts
Armorama: 0 posts
Joined: September 14, 2003
KitMaker: 790 posts
Armorama: 0 posts
Posted: Monday, April 12, 2004 - 03:05 PM UTC
Jeepney
Philippines
Joined: July 22, 2002
KitMaker: 1,538 posts
Armorama: 0 posts
Joined: July 22, 2002
KitMaker: 1,538 posts
Armorama: 0 posts
Posted: Monday, April 12, 2004 - 03:15 PM UTC
Scary
Have fun Jim
Have fun Jim
Tony_Frey
Missouri, United States
Joined: May 03, 2003
KitMaker: 272 posts
Armorama: 142 posts
Joined: May 03, 2003
KitMaker: 272 posts
Armorama: 142 posts
Posted: Monday, April 12, 2004 - 03:17 PM UTC
Well, I didn't understand most of that, but, good luck! :-)
Posted: Monday, April 12, 2004 - 03:37 PM UTC
This stuff is so frustrating. When one thing gets out of whack and you try to fix it, your efforts seem to fix that issue and cause 2 others. Now I can't access phpmyadmin (if gives me a wrong username/passoword). I think all these damn issues go back to this mysql.sock file problem as each application on the server seems to be having trouble always finding this info (which from what I understand has the encrypted username/password). Arggg.....
Jim
BroAbrams
Washington, United States
Joined: October 02, 2002
KitMaker: 1,546 posts
Armorama: 1,081 posts
Joined: October 02, 2002
KitMaker: 1,546 posts
Armorama: 1,081 posts
Posted: Monday, April 12, 2004 - 03:42 PM UTC
Sounds like you got a shot muffler bearing and a bent mantle flange to me.
rob
rob
Halfyank
Colorado, United States
Joined: February 01, 2003
KitMaker: 5,221 posts
Armorama: 1,245 posts
Joined: February 01, 2003
KitMaker: 5,221 posts
Armorama: 1,245 posts
Posted: Tuesday, April 13, 2004 - 12:36 AM UTC
Quoted Text
Sounds like you got a shot muffler bearing and a bent mantle flange to me.
Nah, I think it's jus that he's not holding his magic wand right. This stuff is just one step below magic as far as I'm concerned.
Graywolf
Senior Editor
Izmir, Turkey / Türkçe
Joined: December 01, 2001
KitMaker: 6,405 posts
Armorama: 1,850 posts
Joined: December 01, 2001
KitMaker: 6,405 posts
Armorama: 1,850 posts
Posted: Tuesday, April 13, 2004 - 12:49 AM UTC
Honestly I didnt understand what has to be done exactly but figured it out. if you need a covering fire while doing that we can support you :-)
USArmy2534
Indiana, United States
Joined: January 28, 2004
KitMaker: 2,716 posts
Armorama: 1,864 posts
Joined: January 28, 2004
KitMaker: 2,716 posts
Armorama: 1,864 posts
Posted: Tuesday, April 13, 2004 - 01:55 AM UTC
Remember, if its broken, just give it a good beating. If it doesn't help it'll just break something already broken.
TreadHead
Colorado, United States
Joined: January 12, 2002
KitMaker: 5,000 posts
Armorama: 2,868 posts
Joined: January 12, 2002
KitMaker: 5,000 posts
Armorama: 2,868 posts
Posted: Tuesday, April 13, 2004 - 02:07 AM UTC
...just remember Jim, when you wave that magic wand of yours it's 'swish and flick', not 'flick and swish' .
Tread.
firemann816
Alabama, United States
Joined: September 14, 2003
KitMaker: 790 posts
Armorama: 0 posts
Joined: September 14, 2003
KitMaker: 790 posts
Armorama: 0 posts
Posted: Tuesday, April 13, 2004 - 03:36 AM UTC
Quoted Text
I think all these damn issues go back to this mysql.sock file problem as each application on the server seems to be having trouble always finding this info (which from what I understand has the encrypted username/password). Arggg.....
Jim
If you upgraded or recompiled mysql at all
(or at anytime before these hairy boogers emerged) there is a mysql default username and password that the installation routine puts in.
It can break phpmyadmin and any other php includes that use authentication to talk to the php server.
I can write you a SQL query that will parse the db for the users and their privs, but I dont want to post it because if some surfer sees it I dont want them guessing our sites usernames and passwords to get to the db.
I got a PDF from mysql.org a while back and read through most of it
It talked about setting up accounts, privileges, etc to admin the server
the chapter you'll be most interested in is Administration
its available from -
http://dev.mysql.com/doc/
Try this
mysql -u 'root' -h'localhost -p
(enter your mysql root password here)
than try
'use database mysql;' (w/o quotes)
than
select * from mysql.user; (to view the users and privs in the mysql db
To validate your passwords do this -
SELECT PASSWORD('your_password_here');
To change priviledges add a new user do this -
SET PASSWORD FOR 'user'@'localhost' = PASSWORD('new_password');
This is all done from the mysql command line to get you around why the PHPMyAdmin GUI wont work, until you get that going again.
Slick tool,
I use it on a BSD box here at work (whenever the boss is out so I can surf Armorama)
HTH
Cheers
Posted: Tuesday, April 13, 2004 - 02:04 PM UTC
I got it fixed. Long story but suffice to say the final piece was uninstalling cpanel and reinstalling it. This was (I think) where the user access issues were coming from. I still had an issue with Eximstats, but finally found a workaround. That being...
% service cpanel stop
% service cpanel start
Don't know why that made eximstats start working. Apparently it will likely fail again when the server reboots.
Thanks for the above info though. I still didn't brave recompiling Apache with Mod_Perl support. I am a little worried about that as I don't know exactly how my current Apache install is configured. Seems kind of a hokey way to do this stuff.
Jim
% service cpanel stop
% service cpanel start
Don't know why that made eximstats start working. Apparently it will likely fail again when the server reboots.
Thanks for the above info though. I still didn't brave recompiling Apache with Mod_Perl support. I am a little worried about that as I don't know exactly how my current Apache install is configured. Seems kind of a hokey way to do this stuff.
Jim
firemann816
Alabama, United States
Joined: September 14, 2003
KitMaker: 790 posts
Armorama: 0 posts
Joined: September 14, 2003
KitMaker: 790 posts
Armorama: 0 posts
Posted: Tuesday, April 13, 2004 - 02:15 PM UTC
Your box or an ISPs???
Posted: Tuesday, April 13, 2004 - 02:37 PM UTC
Our server is in Atlanta. It's a dedicated unit though.
Thanks,
Jim
Thanks,
Jim
Halfyank
Colorado, United States
Joined: February 01, 2003
KitMaker: 5,221 posts
Armorama: 1,245 posts
Joined: February 01, 2003
KitMaker: 5,221 posts
Armorama: 1,245 posts
Posted: Tuesday, April 13, 2004 - 02:51 PM UTC
Is it just me or does it sound like Jim and Fireman are speaking Klingon or something?
Just as long as its fixed Jim, you don't have to tell us all the gory details. Not that I, for one, would understand a word of it anyway.
Just as long as its fixed Jim, you don't have to tell us all the gory details. Not that I, for one, would understand a word of it anyway.