I have CentOS 5 and DirectAdmin installed on my dedicated server.
Yesterday I needed to add a script to run for a site I have on the box, now the script needed python-mysqldb to work properly and Python 2.6. The box only had v2.4 which was not compatible with the script. So I managed to install python26 but everytime I try to install the MySQL-python or python-mysqldb it says no package available.
I tried loading multiple repos from various sources but nothing worked. I can get mysql-python to install for v2.4 just not 2.6. I tried various fixes I found while scouring the internet such as updating, editing yum.conf to include httpd and mysql updates (which I fear is where I went wrong), compiling from source.
After I edited yum.conf and updated, it updated apache and my sites still worked afterward, so I thought that everything went smoothly. But now a couple hours later, none of the sites on the server work. If I try to restart httpd, I get:
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 29 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Any ideas on how to fix this?
Thanks in advance.
Yesterday I needed to add a script to run for a site I have on the box, now the script needed python-mysqldb to work properly and Python 2.6. The box only had v2.4 which was not compatible with the script. So I managed to install python26 but everytime I try to install the MySQL-python or python-mysqldb it says no package available.
I tried loading multiple repos from various sources but nothing worked. I can get mysql-python to install for v2.4 just not 2.6. I tried various fixes I found while scouring the internet such as updating, editing yum.conf to include httpd and mysql updates (which I fear is where I went wrong), compiling from source.
After I edited yum.conf and updated, it updated apache and my sites still worked afterward, so I thought that everything went smoothly. But now a couple hours later, none of the sites on the server work. If I try to restart httpd, I get:
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 29 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Any ideas on how to fix this?
Thanks in advance.