chaitanya@chaitanya-laptop:~$ sudo su
[sudo] password for chaitanya:
root@chaitanya-laptop:/home/chaitanya# /etc/init.d/ejabberd start
Starting jabber server: ejabberd already running.
root@chaitanya-laptop:/home/chaitanya# /etc/init.d/memcached start
Starting memcached: memcached is already running.
memcached.
root@chaitanya-laptop:/home/chaitanya# osrf_ctl.sh -l -a start_all
osrf_ctl.sh: command not found
root@chaitanya-laptop:/home/chaitanya# su - opensrf
opensrf@chaitanya-laptop:~$ osrf_ctl.sh -l -a start_all
OpenSRF Router already started : 4407 4408
Starting OpenSRF Perl
Perl processes are either already running, or were not correctly shut down.
Now clearing any stale PID files and restarting Perl processes.
Smart clearing PID files...
Removing stale PID file: /openils/var/run/opensrf/osrf_perl.pid
* starting all services for localhost
* opensrf.settings is already running
* open-ils.acq is already running
* open-ils.booking is already running
* open-ils.cat is already running
* open-ils.supercat is already running
* open-ils.search is already running
* open-ils.circ is already running
* open-ils.actor is already running
* open-ils.storage is already running
* open-ils.penalty is already running
* open-ils.collections is already running
* open-ils.ingest is already running
* open-ils.reporter is already running
* open-ils.permacrud is already running
* open-ils.trigger is already running
* open-ils.fielder is already running
* open-ils.vandelay is already running
* open-ils.serial is already running
OpenSRF C (host=localhost) not started, but PID file exists, removing file and starting
opensrf@chaitanya-laptop:~$ /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[fail]
opensrf@chaitanya-laptop:~$ exit
logout
root@chaitanya-laptop:/home/chaitanya# /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
root@chaitanya-laptop:/home/chaitanya# cd /home/opensrf/Evergreen-ILS-2.0.9
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# cp Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# cp Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# cp Open-ILS/examples/apache/startup.pl /etc/apache2/
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# mkdir /etc/apache2/ssl
mkdir: cannot create directory `/etc/apache2/ssl': File exists
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# cd /etc/apache2/ssl
root@chaitanya-laptop:/etc/apache2/ssl# openssl req -new -x509 -days 365 -nodes -out server.crt -keyout server.key
Generating a 1024 bit RSA private key
.++++++
.......++++++
writing new private key to 'server.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]: