Results 1 to 10 of 13
hey, i can't find any fo the Apache (1.3) config files. they are not where they usally are.... running slackware 10. thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-19-2004 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
Apache config files on slackware?
hey, i can't find any fo the Apache (1.3) config files. they are not where they usally are.... running slackware 10. thanks
- 12-20-2004 #2Just Joined!
- Join Date
- Nov 2004
- Location
- WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
- Posts
- 65
try /etc/apache/
- 12-20-2004 #3Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
very odd.... i thought i check there. so i set php to work with apache, now
why is it not going to index.php, only index.html? how would i change this?
- 12-21-2004 #4Just Joined!
- Join Date
- Nov 2004
- Location
- WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
- Posts
- 65
U should scan and change the following in ur httpd.conf file:
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
Notice that order means priority, so in this case apache would first serve index.php and than if it doesn't exeist it would try to serve index.html
- 12-21-2004 #5Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
what can i say, your the best.
one last problem/question. when ever i start mysql, (or it starts itself on boot), it immediately shutsback down. how do i get it to keep running?
- 12-22-2004 #6Just Joined!
- Join Date
- Nov 2004
- Location
- WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
- Posts
- 65
glad i could help....
now about mysql problem, well u could try and check error log of mysql, but i never used mysql so i don't know where it puts log files, but u can check /var/log ....
- 12-22-2004 #7Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
no luck...... i searched google for the erorr logs, but i couldn't find the location of them there either. This is the error i get when i try to start it up:
Code:ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
- 12-24-2004 #8Just Joined!
- Join Date
- Nov 2004
- Location
- WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
- Posts
- 65
well google for it
try typing mysql "ERROR 2002" or something similar, i don't use mysql so i don't know.
I use PostgreSQL, so if u have any problems with it u can ask me ...
- 12-25-2004 #9Just Joined!
- Join Date
- Dec 2004
- Location
- Dallas
- Posts
- 10
I'm guessing you're getting this error when you try to start the client and not the server? That message means that the server is most likely not up. Try typing as root:
Originally Posted by forceflow501
(note: you may have to give the correct permissions to rc.mysqld, so do this if you get permission denied)Code:cd /etc/rc.d ./rc.mysqld start
If you don't get any error messages after doing ./rc.mysqld start, then mysql is working. But chances are, if this is a clean installation, you won't get it running because for some reason slackware 10 doesnt come mysql-out-of-the-box ready. Try this series of commands (as root)Code:chmod a+x rc.mysqld
What that just did was install the base database for the mysql user, and then give the mysql user permissions to the mysql folder in /var/lib. This fixes the problem of mysql failing to start. So after you do all of the go back to the first step and try again:Code:mysql_install_db --user=mysql cd /var/lib chown -R mysql mysql
If you don't get any errors then mysql is up and running!Code:cd /etc/rc.d ./rc.mysqld start
- 12-26-2004 #10Just Joined!
- Join Date
- Dec 2004
- Posts
- 49
yeah it seems even though i did a full install slackware had not installed the nessary mysql stuff. i have it running, but seem unable to connect.... i'm using root as username and nothing as the password.......thanks, that helped alot


Reply With Quote
