You are not logged in.
See,
[root@joshua-archlinux ~]# pacman -S apache
resolving dependencies...
looking for inter-conflicts...
Targets (1): apache-2.2.9-4
Total Download Size: 1.10 MB
Total Installed Size: 3.23 MB
Proceed with installation? [Y/n]
:: Retrieving packages from extra...
apache-2.2.9-4-x86_64 1131.5K 462.4K/s 00:00:02 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
(1/1) installing apache [#####################] 100%
Then,
[root@joshua-archlinux ~]# /etc/rc.d/httpd restart
:: Stopping HTTP Daemon [FAIL]
:: Starting HTTP Daemon [FAIL]
My bad, it never was started in the first place
[root@joshua-archlinux ~]# /etc/rc.d/httpd start
:: Starting HTTP Daemon [FAIL]
As you saw, it was a fresh install, nothing extra installed/changed. Also, Webmin (localhost:10000) does not see Apache at all. In fact, Apche Webserver is under Unused Modules. Hmph, please help a Arch Linux newbie
Meh has new account! This one left behind for history's sake...
Offline
Check your logs: /var/log/httpd/error_log.
(My guess is that you're running something else on port 80; see if `netstat -tnap | grep 80` shows anything)
Last edited by foutrelis (2008-09-15 15:08:33)
Offline
My guess: you didn't configure anything, so obviously it borks?
Manually running the actual program the daemon script calls always helps too, it's more verbose than the rc scripts, they mostly only return success/fail.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
thanx guys... ill try this stuff
EDIT:
[root@joshua-archlinux ~]# tail -f /var/log/httpd/error_log
tail: cannot open `/var/log/httpd/error_log' for reading: No such file or directory
tail: no files remaining
[root@joshua-archlinux ~]# less /var/log/httpd/error_log
/var/log/httpd/error_log: No such file or directory
[root@joshua-archlinux ~]# netstat -tnap | grep 80
tcp 0 0 0.0.0.0:8010 0.0.0.0:* LISTEN21277/kopete
tcp 0 0 192.168.1.180:41814 66.163.181.185:5050 ESTABLISHED21277/kopete
tcp 0 0 192.168.1.180:36009 209.85.163.125:5223 ESTABLISHED21277/kopete
tcp 0 0 192.168.1.180:42848 74.125.65.167:80 ESTABLISHED20722/kdeinit4: kio
tcp 0 0 192.168.1.180:58104 72.14.207.127:80 ESTABLISHED20727/kdeinit4: kio
EDIT 2#: Well, something works.... I didnt change anything, just let it sit for a while (after a pacman -Syu which did not update apache or any of its deps, as httpd was just installed bout 10EST) and now
[root@joshua-archlinux ~]# /etc/rc.d/httpd start
:: Starting HTTP Daemon [DONE]
[root@joshua-archlinux ~]# ps aux | grep httpd
root 21229 0.1 0.4 187688 4244 ? Ss 12:54 0:00 /usr/sbin/httpd -k start
http 21231 0.0 0.2 187736 2600 ? S 12:54 0:00 /usr/sbin/httpd -k start
http 21232 0.0 0.2 187688 2568 ? S 12:54 0:00 /usr/sbin/httpd -k start
http 21233 0.0 0.2 187688 2568 ? S 12:54 0:00 /usr/sbin/httpd -k start
http 21234 0.0 0.2 187688 2568 ? S 12:54 0:00 /usr/sbin/httpd -k start
http 21236 0.0 0.2 187688 2568 ? S 12:54 0:00 /usr/sbin/httpd -k start
http 21237 0.0 0.2 187688 2568 ? S 12:54 0:00 /usr/sbin/httpd -k start
root 21421 0.0 0.0 6096 672 pts/2 R+ 12:56 0:00 grep httpd
Well... something works i guess... navigating to http://localhost in konqueror displays
Index of /
Name Last modified Size Description
--------------------------------------------------------------------------------------------------
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 Server at localhost Port 80
Now i will (and know how, or at least i did in (K)Ubuntu, set it to port 8080 on my roouter so it is accesable to the world, as 80 is taken by another server in the house (my dad's)
Last edited by JoshuaK (2008-09-15 16:59:35)
Meh has new account! This one left behind for history's sake...
Offline
What version of PHP are you running?
Birger
Last edited by MindTooth (2009-09-24 14:03:36)
Offline
I had similar problem after php 5.3 update. Solution was to install php-apache.
Offline
I had similar problem after php 5.3 update. Solution was to install php-apache.
Thanks! Thats what I needed.
Any other quirks I need to be aware of regarding this package change?
ARCH x86_64 ZEN
Offline
There is a news post on archlinux.org about things you may need to do.
Matt
"It is very difficult to educate the educated."
Offline