Messmaster
Technical User
After working all weekend, I have a mess on my hands with trying to install WebEvent software. This program requires the perl module DBD Msql-Mysql. However I'm having serious difficulty getting this module to install because certain MySQL files (namely mysql.d and libmysqlclient.so) are not in the folders the module wants (usr/include and usr/shared). After many attemps to install the module (including using CPAN) and reading much documentation on this issue I determined that I would just uninstall MySQL and start over. I'm using RedHat 8 and Apache 2.0. This work is being done on a production server.
A bit of background....
First, I am only barely adequate in expertise when dealing with Linux/Apache. Everytime I go back to work on the server, I drag all my books and documentation with me. That being said, when I first installed MySQL, I compiled it from the binaries along with PHP. The database and the scripting language each worked fine. MySQL ended up being installed in usr/src/php-4.3.2/ext/mysql/blah. The mysql.d was in usr/sbin.
So, in trying to uninstall MySQL, I made my first mistake. I believe the lesson here is that binaries do not an rpm make. I used the command 'rpm --erase Mysql-blah' to get rid of MySQL. When I got the command prompt back with no errors, I thought I'd been successful. So I downloaded the rpms for MySQL server,client, and shared and since the RPM GUI kept freezing on me I installed them using the command line. I forget what happened that made me have to reboot but after rebooting, Apache didn't work. When I tried to restart it, it said httpd (pid 769) was already running. However, I knew it wasn't because it wasn't serving any pages. So I did a ps -aux (I think) to get the list of all the PIDs that were running and it said 769 was being used by MySQL. I also saw several other instances of MySQL in the PID list. In the end, I had to rename the mysql.d file in usr/sbin and reboot in order to get Apache to start.
So after all this, I still don't have the DBD Msql-Mysql module installed, and now I don't have MySQL working at all. I'm going backwards.
This is my plan.
1. To find out from this forum how, exactly, to get rid of all instances of MySQL from the system (binary and rpm flavors).
2. After re-installing MySQL and getting it running (again), I'm turning to the DBD/DBI forum to get help with that frustrating module.
3. Then I look to support for WebEvent to finally get their software installed. They have been trying to help me the past couple of days, but even though they require the two perl modules for their software to work, they don't seem to have very much expertise with installation issues concerning them.
If you folks have a better plan I'd sure be glad to listen as I'm seriously running out of ideas here. Thanks.
Carol Andrejak
Webmaster![[rednose] [rednose] [rednose]](/data/assets/smilies/rednose.gif)
Delaware State University
A bit of background....
First, I am only barely adequate in expertise when dealing with Linux/Apache. Everytime I go back to work on the server, I drag all my books and documentation with me. That being said, when I first installed MySQL, I compiled it from the binaries along with PHP. The database and the scripting language each worked fine. MySQL ended up being installed in usr/src/php-4.3.2/ext/mysql/blah. The mysql.d was in usr/sbin.
So, in trying to uninstall MySQL, I made my first mistake. I believe the lesson here is that binaries do not an rpm make. I used the command 'rpm --erase Mysql-blah' to get rid of MySQL. When I got the command prompt back with no errors, I thought I'd been successful. So I downloaded the rpms for MySQL server,client, and shared and since the RPM GUI kept freezing on me I installed them using the command line. I forget what happened that made me have to reboot but after rebooting, Apache didn't work. When I tried to restart it, it said httpd (pid 769) was already running. However, I knew it wasn't because it wasn't serving any pages. So I did a ps -aux (I think) to get the list of all the PIDs that were running and it said 769 was being used by MySQL. I also saw several other instances of MySQL in the PID list. In the end, I had to rename the mysql.d file in usr/sbin and reboot in order to get Apache to start.
So after all this, I still don't have the DBD Msql-Mysql module installed, and now I don't have MySQL working at all. I'm going backwards.
This is my plan.
1. To find out from this forum how, exactly, to get rid of all instances of MySQL from the system (binary and rpm flavors).
2. After re-installing MySQL and getting it running (again), I'm turning to the DBD/DBI forum to get help with that frustrating module.
3. Then I look to support for WebEvent to finally get their software installed. They have been trying to help me the past couple of days, but even though they require the two perl modules for their software to work, they don't seem to have very much expertise with installation issues concerning them.
If you folks have a better plan I'd sure be glad to listen as I'm seriously running out of ideas here. Thanks.
Carol Andrejak
Webmaster
![[rednose] [rednose] [rednose]](/data/assets/smilies/rednose.gif)
Delaware State University