Rapache- What's up?
19
comments
|
Add Comment
|
Question: Is the server actually running? (the "httpd" daemon?) You have to explicitly enable Linux to run a service...
. I was going by the "Document Root: /var/www" from the graphic in the OP. But there could be a Base URL setting somewhere.
.
. Sounds like there's a good chance the server isn't running. I'm not very familiar with *nix; can you tell him how to find out if the server is actually running or not?
ps -A
if httpd is running, it'll show up there.
"Document root" is on the host machine--the file location that will act as the http protocol root (http://). It's defined in that "default" file. That, and the other config filse indicate that the server should be listening on port 80.
Re: starting the service-- it will depend on the particular Linux variant. Might as well do it the easiest way possible... I'm not familiar with Rapache, but it does look as it can start/stop the server, and show the status.
I ran the ps -A thing and came up with this.
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5 ? 00:00:00 watchdog/0
6 ? 00:00:00 events/0
7 ? 00:00:00 cpuset
8 ? 00:00:00 khelper
9 ? 00:00:00 netns
10 ? 00:00:00 async/mgr
11 ? 00:00:00 kintegrityd/0
12 ? 00:00:00 kblockd/0
13 ? 00:00:00 kacpid
14 ? 00:00:00 kacpi_notify
15 ? 00:00:00 kacpi_hotplug
16 ? 00:00:00 ata/0
17 ? 00:00:00 ata_aux
18 ? 00:00:00 ksuspend_usbd
19 ? 00:00:00 khubd
20 ? 00:00:00 kseriod
21 ? 00:00:00 kmmcd
22 ? 00:00:00 bluetooth
23 ? 00:00:00 khungtaskd
24 ? 00:00:00 pdflush
25 ? 00:00:00 pdflush
26 ? 00:00:00 kswapd0
27 ? 00:00:00 aio/0
28 ? 00:00:00 ecryptfs-kthrea
29 ? 00:00:00 crypto/0
33 ? 00:00:00 scsi_eh_0
34 ? 00:00:00 scsi_eh_1
35 ? 00:00:00 scsi_eh_2
37 ? 00:00:00 scsi_eh_3
38 ? 00:00:00 scsi_eh_4
40 ? 00:00:00 scsi_eh_5
44 ? 00:00:00 kstriped
45 ? 00:00:00 kmpathd/0
46 ? 00:00:00 kmpath_handlerd
47 ? 00:00:00 ksnapd
48 ? 00:00:00 kondemand/0
49 ? 00:00:00 kconservative/0
50 ? 00:00:00 krfcommd
255 ? 00:00:00 usbhid_resumer
379 ? 00:00:00 kjournald2
380 ? 00:00:00 ext4-dio-unwrit
422 ? 00:00:00 mountall
436 ? 00:00:00 upstart-udev-br
438 ? 00:00:00 udevd
610 ? 00:00:00 udevd
611 ? 00:00:00 udevd
697 ? 00:00:00 kgameportd
714 ? 00:00:01 phy0
757 ? 00:00:00 dd
759 ? 00:00:00 rsyslogd
777 ? 00:00:00 dbus-daemon
796 ? 00:00:00 hald
797 ? 00:00:00 NetworkManager
798 ? 00:00:00 avahi-daemon
801 ? 00:00:00 avahi-daemon
806 ? 00:00:00 modem-manager
813 ? 00:00:00 console-kit-dae
882 ? 00:00:00 hald-runner
905 ? 00:00:00 wpa_supplicant
978 ? 00:00:00 hald-addon-rfki
1005 ? 00:00:00 hald-addon-acpi
1011 ? 00:00:00 gdm-binary
1017 ? 00:00:00 hald-addon-stor
1018 ? 00:00:00 hald-addon-stor
1027 ? 00:00:00 hald-addon-inpu
1106 tty4 00:00:00 getty
1110 tty5 00:00:00 getty
1115 tty2 00:00:00 getty
1116 tty3 00:00:00 getty
1118 tty6 00:00:00 getty
1125 ? 00:00:00 acpid
1126 ? 00:00:00 anacron
1128 ? 00:00:00 atd
1133 ? 00:00:00 cron
1189 ? 00:00:00 cupsd
1275 ? 00:00:00 devkit-power-da
1302 ? 00:00:00 proftpd
1386 ? 00:00:00 apache2
1387 ? 00:00:00 apache2
1388 ? 00:00:00 apache2
1417 ? 00:00:00 apache2
1522 tty1 00:00:00 getty
1545 ? 00:00:00 gdm-simple-slav
1549 tty7 00:00:05 Xorg
1583 ? 00:00:00 dbus-launch
1602 ? 00:00:00 gdm-session-wor
1627 ? 00:00:00 gnome-keyring-d
1642 ? 00:00:00 gnome-session
1684 ? 00:00:00 ssh-agent
1687 ? 00:00:00 dbus-launch
1688 ? 00:00:00 dbus-daemon
1692 ? 00:00:00 pulseaudio
1695 ? 00:00:00 gconf-helper
1697 ? 00:00:00 gconfd-2
1704 ? 00:00:00 gnome-settings-
1709 ? 00:00:00 seahorse-daemon
1711 ? 00:00:00 gvfsd
1721 ? 00:00:00 gvfs-fuse-daemo
1726 ? 00:00:00 notify-osd
1736 ? 00:00:00 compiz
1807 ? 00:00:02 compiz.real
1808 ? 00:00:01 gnome-panel
1809 ? 00:00:00 sh
1810 ? 00:00:00 gtk-window-deco
1812 ? 00:00:01 nautilus
1814 ? 00:00:00 bonobo-activati
1817 ? 00:00:00 gdu-notificatio
1819 ? 00:00:00 gnome-volume-co
1820 ? 00:00:00 update-notifier
1822 ? 00:00:00 devkit-disks-da
1823 ? 00:00:00 devkit-disks-da
1825 ? 00:00:00 bluetooth-apple
1826 ? 00:00:00 polkit-gnome-au
1827 ? 00:00:00 nm-applet
1831 ? 00:00:01 vino-server
1835 ? 00:00:00 python
1837 ? 00:00:00 gnome-power-man
1839 ? 00:00:00 polkitd
1840 ? 00:00:00 evolution-alarm
1848 ? 00:00:00 trashapplet
1851 ? 00:00:00 gvfs-gdu-volume
1853 ? 00:00:00 gvfs-gphoto2-vo
1860 ? 00:00:00 gvfsd-trash
1862 ? 00:00:00 gnome-screensav
1865 ? 00:00:00 gvfsd-computer
1872 ? 00:00:00 dhclient
1886 ? 00:00:00 gnome-keyboard-
1888 ? 00:00:00 stickynotes_app
1898 ? 00:00:00 gvfsd-burn
1925 ? 00:00:00 gvfsd-metadata
2120 ? 00:00:01 rapache
2129 ? 00:00:00 evolution-data-
2133 ? 00:00:00 evolution-excha
2154 ? 00:00:00 aptd
2162 ? 00:00:00 gnome-terminal
2163 ? 00:00:00 gnome-pty-helpe
2164 pts/0 00:00:00 bash
2183 pts/0 00:00:00 ps
Anything there that would hint at what's wrong? Also, when i try to save anything like settings or restart the server from within rapache it freezes up.
Are you trying to access the server from your local network (intranet) or outside your network over the larger internet?
I would definitely run with a static IP. How you set that up depends on the distribution you're running. In my experience home routers leave the range of IP addresses between 2-99 out of the pool, so you can use one of those.
There should be a relatively simple way to reconfigure to a static address (locally.) It won't effect your internet browsing, etc.
The IP will be something like this: 192.168.1.24 -- you will chose it manually (the actual net/subnet will depend on the router); a dynamic address will be more like 192.168.1.101
These are local network addresses only--unless you're paying extra for a static IP on the provider's network (but that static IP will be used in the router, not your local network.)
You can use a service like dyndns to create a usable URL for a dynamic IP address. A LARGE number of routers are setup to facilitate this, built-in.
But your service provider might be blocking port 80. Dyndns has some ways around that (some for $$.)
This is from when i start it up from when it crashes when i try to restart it from within.
-- Loading plugins --
checking plugin folder : /usr/bin/plugins
checking plugin folder : /usr/lib/rapache/plugins
error loading plugin ssl
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/RapacheCore/PluginManager.py", line 45, in __add
module = __import__(folder + ".plugin")
ImportError: No module named plugin
loaded plugin : basic_authentication
loaded plugin : advanced
checking plugin folder : /home/username/.rapache/plugins
** (rapache:2350): WARNING **: expected enumeration type PangoWrapMode, but got GtkWrapMode instead
reloading vhosts..
reloading modules..
Errors status: -1
** (rapache:2350): WARNING **: Lock taken by pid: 2120. Exiting.
This is from start to crash when i try to save.
-- Loading plugins --
checking plugin folder : /usr/bin/plugins
checking plugin folder : /usr/lib/rapache/plugins
error loading plugin ssl
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/RapacheCore/PluginManager.py", line 45, in __add
module = __import__(folder + ".plugin")
ImportError: No module named plugin
loaded plugin : basic_authentication
loaded plugin : advanced
checking plugin folder : /home/username/.rapache/plugins
** (rapache:2358): WARNING **: expected enumeration type PangoWrapMode, but got GtkWrapMode instead
reloading vhosts..
reloading modules..
Errors status: -1
** (rapache:2358): WARNING **: Lock taken by pid: 2120. Exiting.
What do i need to do?
But there's always other ways to start or stop a particular service...
You might try an alternative like webmin to administer Apache. Webmin is a set of scripts that you access via a browser.
![]() |

















Vancouver Mini Maker Faire 2012
Rebuilding NordicTrack ski machine drive rollers
Looking for New Zealand-based Instructables authors for conference on August 27 in Wellington
Call to makers - Brighton Mini Maker Faire
Milk Crates - not as green as you think
TEDxBaghdad - Iraq - violence, dust storms and open sourced manufacturing
UK Mini Maker Faire - The Derby Silk Mill - New Poster to Share!







