Results 1 to 10 of 30
Ok I've got the following apache packages on my box: Code: apache2 apache2-devel apache2-doc apache2-example-pages apache2-jakarta-tomcat-connectors apache2-mod_auth_mysql apache2-mod_fastcgi apache2-mod_macro apache2-mod_perl apache2-mod_python apache2-mod_ruby apache2-mod_prefork apache2-worker apache-ant libapr0 i downloaded all of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-31-2004 #1
Problems setting up Apache on SuSE 9.1
Ok I've got the following apache packages on my box:
apache2 apache2-devel apache2-doc apache2-example-pages apache2-jakarta-tomcat-connectors apache2-mod_auth_mysql apache2-mod_fastcgi apache2-mod_macro apache2-mod_perl apache2-mod_python apache2-mod_ruby apache2-mod_prefork apache2-worker apache-ant libapr0
Since this is my first time trying to use apache (so it would be useful if you could post some sites on it, Ihave looked around but with the overwhelming amount of material it's difficult to know what's good) I'm a bit lost.
So I installed the above files, and have found my index files under /srv/www/htdocs and the httpd.conf in /etc/apache2/httpd.conf and I see that the port is set to port 80.
But when I open a web browser I type http://localhost I get the following error:The connection was refused when attempting to contact localhostCode:
inux:/home/dylunio # httpd -k start bash: httpd: command not found
<edit> I'll add the return fromCode:
linux:/home/dylunio # pidof httpd linux:/home/dylunio #
Anything I try with httpd at the begining or apachectl (these are the two commands I've tried with various things after them) get the 'command not found' error on both user and root.
So what have I done wromg, or have to do to get apache up and running?
- 12-31-2004 #2Code:
- 12-31-2004 #3
Ok this is the return from whereis httpd:Code:
inux:~ # whereis httpd httpd: /etc/httpdCode:
inux:~ # /etc/httpd start bash: /etc/httpd: is a directory linux:~ #Code:
linux:~ # /etc/apache2/httpd.conf start bash: /etc/apache2/httpd.conf: Permission denied
- 12-31-2004 #4
go to the /etc/httpd directory.
what's in there?
it sounds like you didn't install apache correctly
- 12-31-2004 #5
and the dir 'modules' which contains:
I'm suprised that apache is installed incorrectly, usualy YaSt does a good job of this.
If you don't have any more suggestions I might try and reinstall via yast, and if I stall have trouble I'll compile the source;
- 12-31-2004 #6
yes, Yast usually does do a good job
go ahead and reinstall
- 12-31-2004 #7
I seem to be going someware with a httpd2 file I found:Code:
linux:~ # httpd2 start Usage: httpd2 [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|graceful|stop] [-v] [-V] [-h] [-l] [-L] [-t] [-S] Options: -D name : define a name for use in <IfDefine name> directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c "directive" : process directive after reading config files -e level : show startup errors of level (see LogLevel) -E file : log startup errors to file -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled in modules -L : list available configuration directives -t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings) -S : a synonym for -t -D DUMP_VHOSTS -t : run syntax check for config files linux:~ # httpd2 -k start httpd2: could not open document config file /etc/apache2/sysconfig.d/include.conf
- 12-31-2004 #8
well it's a start
go ahead with the reinstall though
- 12-31-2004 #9
- 12-31-2004 #10
I have the same problem after re-installing from YaST, which is that a file (/etc/apache2/sysconfig.d/include.conf) dosn't exist so the httpd2 -k start ill not work;
I'll have a bash at installing the source;