Forum OpenACS Q&A: Re: after installation how to access

Collapse
Posted by James Godrej on
Ok I formatted the machine and it is a fresh Ubuntu install.Now I did first apt-get install postgresql
and then apt-get install openacs.

root@ubuntu:~# aptitude install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
libpq5{a} postgresql postgresql-8.4{a} postgresql-client-8.4{a} postgresql-client-common{a} postgresql-common{a}
0 packages upgraded, 6 newly installed, 0 to remove and 240 not upgraded.
Need to get 0B/4,939kB of archives. After unpacking 20.5MB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package libpq5.
(Reading database ... 124160 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_8.4.7-0ubuntu0.10.04_i386.deb) ...
Selecting previously deselected package postgresql-client-common.
Unpacking postgresql-client-common (from .../postgresql-client-common_106ubuntu1_all.deb) ...
Selecting previously deselected package postgresql-client-8.4.
Unpacking postgresql-client-8.4 (from .../postgresql-client-8.4_8.4.7-0ubuntu0.10.04_i386.deb) ...
Selecting previously deselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_106ubuntu1_all.deb) ...
Selecting previously deselected package postgresql-8.4.
Unpacking postgresql-8.4 (from .../postgresql-8.4_8.4.7-0ubuntu0.10.04_i386.deb) ...
Selecting previously deselected package postgresql.
Unpacking postgresql (from .../postgresql_8.4.7-0ubuntu0.10.04_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libpq5 (8.4.7-0ubuntu0.10.04) ...

Setting up postgresql-client-common (106ubuntu1) ...
Setting up postgresql-client-8.4 (8.4.7-0ubuntu0.10.04) ...
update-alternatives: using /usr/share/postgresql/8.4/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode.

Setting up postgresql-common (106ubuntu1) ...
Adding user postgres to group ssl-cert
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
en_au
en_ca
en_gb
en_us
en_za

Setting up postgresql-8.4 (8.4.7-0ubuntu0.10.04) ...
Creating new cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main)...
Moving configuration file /var/lib/postgresql/8.4/main/postgresql.conf to /etc/postgresql/8.4/main...
Moving configuration file /var/lib/postgresql/8.4/main/pg_hba.conf to /etc/postgresql/8.4/main...
Moving configuration file /var/lib/postgresql/8.4/main/pg_ident.conf to /etc/postgresql/8.4/main...
Configuring postgresql.conf to use port 5432...
update-alternatives: using /usr/share/postgresql/8.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
* Starting PostgreSQL 8.4 database server [ OK ]

Setting up postgresql (8.4.7-0ubuntu0.10.04) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

root@ubuntu:~#
root@ubuntu:~# aptitude install openacs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
aolserver4-core{a} aolserver4-daemon{a} aolserver4-doc{a} aolserver4-nspostgres{a} aolserver4-nssha1{a} aolserver4-xotcl{a} openacs tcl{a} tcllib{a}
tclthread{a} tdom{a} wwwconfig-common{a} xotcl{a}
0 packages upgraded, 13 newly installed, 0 to remove and 240 not upgraded.
Need to get 0B/18.4MB of archives. After unpacking 87.4MB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package aolserver4-core.
(Reading database ... 124530 files and directories currently installed.)
Unpacking aolserver4-core (from .../aolserver4-core_4.5.1-12_i386.deb) ...
Selecting previously deselected package aolserver4-daemon.
Unpacking aolserver4-daemon (from .../aolserver4-daemon_4.5.1-12_i386.deb) ...
Selecting previously deselected package aolserver4-doc.
Unpacking aolserver4-doc (from .../aolserver4-doc_4.5.1-12_all.deb) ...
Selecting previously deselected package aolserver4-nspostgres.
Unpacking aolserver4-nspostgres (from .../aolserver4-nspostgres_4.5-3_i386.deb) ...
Selecting previously deselected package aolserver4-nssha1.
Unpacking aolserver4-nssha1 (from .../aolserver4-nssha1_0.1-3_i386.deb) ...
Selecting previously deselected package tcl.
Unpacking tcl (from .../archives/tcl_8.4.16-2_all.deb) ...
Selecting previously deselected package xotcl.
Unpacking xotcl (from .../xotcl_1.6.5-1.2_i386.deb) ...
Selecting previously deselected package aolserver4-xotcl.
Unpacking aolserver4-xotcl (from .../aolserver4-xotcl_1.6.5-1.2_all.deb) ...
Selecting previously deselected package tclthread.
Unpacking tclthread (from .../tclthread_1%3a2.6.5-3_i386.deb) ...
Selecting previously deselected package tcllib.
Unpacking tcllib (from .../tcllib_1.12-dfsg-2_all.deb) ...
Selecting previously deselected package wwwconfig-common.
Unpacking wwwconfig-common (from .../wwwconfig-common_0.2.1_all.deb) ...
Selecting previously deselected package tdom.
Unpacking tdom (from .../tdom_0.8.3~20080525-3_i386.deb) ...
Selecting previously deselected package openacs.
Unpacking openacs (from .../openacs_5.5.1-2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 26 changed 6 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up aolserver4-core (4.5.1-12) ...
Setting up aolserver4-daemon (4.5.1-12) ...
* Starting web server aolserver4 [22/Feb/2011:06:12:38][5916.3078538944][-main-] Notice: prebind: bound: 127.0.0.1:80
[ OK ]
[22/Feb/2011:06:12:38][5917.3078538944][-main-] Error: log: failed to re-open log file '/var/log/aolserver4/aolserver4.log': 'Permission denied'
[22/Feb/2011:06:12:38][5917.3078538944][-main-] Fatal: log: failed to open server log '/var/log/aolserver4/aolserver4.log': 'Permission denied'
chmod: cannot access `/var/www/index.adp': No such file or directory

Setting up aolserver4-doc (4.5.1-12) ...
Setting up aolserver4-nspostgres (4.5-3) ...
Setting up aolserver4-nssha1 (0.1-3) ...
Setting up tcl (8.4.16-2) ...
update-alternatives: using /usr/bin/tclsh-default to provide /usr/bin/tclsh (tclsh) in auto mode.

Setting up xotcl (1.6.5-1.2) ...
Setting up aolserver4-xotcl (1.6.5-1.2) ...
Setting up tclthread (1:2.6.5-3) ...
Setting up tcllib (1.12-dfsg-2) ...
Setting up wwwconfig-common (0.2.1) ...
Setting up tdom (0.8.3~20080525-3) ...
Setting up openacs (5.5.1-2) ...
NOTICE: SYSID can no longer be specified
CREATE ROLE
* Reloading PostgreSQL 8.4 database server [ OK ]
* Starting web server aolserver4 [22/Feb/2011:06:12:43][6400.3078764224][-main-] Notice: prebind: bound: 127.0.0.1:80
[ OK ]
* Starting AOL instance openacs [22/Feb/2011:06:12:44][6414.3077936832][-main-] Notice: prebind: bound: 127.0.0.1:8000
[ OK ]
[22/Feb/2011:06:12:44][6415.3077936832][-main-] Notice: nsd.tcl: starting to read config file...
[22/Feb/2011:06:12:44][6415.3077936832][-main-] Notice: nsd.tcl: using threadsafe tcl: 1
[22/Feb/2011:06:12:44][6415.3077936832][-main-] Notice: nsd.tcl: finished reading config file.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

How ever while install postgresql it did not asked me to create any admin user account or so.While entering details which openacs installer asked I entered a username and password which for postgresql I had not created.

Any how this time I was able to see the openacs thing on http://localhost:8000
but same was not visible on http://192.168.1.3:8000/
as most of the time it will be a ssh based access.While installation was going on at localhost I by mistake pressed Esc and it stopped it is not beginning again what should I do for this situation?