Hi,
I am installing ACS4.6 on RedHat8.0 with AOLserver/3.3.1+ad13.
I am having some strange problems with installing OpenAcs Kernel Data Model during the installation process. I followed the instructions from Install Guide that comes with the distribution. Somehow, when the html page shows up showing kernel installation, nothing happens. I am using inittab file to control Aolserver.
I included in my /etc/inittab this line:
nss1:2345:respawn:/usr/local/aolserver/bin/nsd-postgres -i -u nsadmin -g web -t /home/nsadmin/web/wide-open/nsd.tcl
My postgres log shows nothing, not even an attempt to connect to a database.
My aolserver error.log shows the following error which to me indicates that there is a problems with the access to my database leading to unabillity to create some of the initially needed data blocks.
[15/Feb/2003:06:50:03][1478.65545][-nssock-] Notice: nssock: accepting connections
[15/Feb/2003:06:53:54][1478.24580][-conn0-] Error: Ns_PgExec: result status: 7 message: ERROR: Relation "apm_package_db_types" does not exist
[15/Feb/2003:06:53:54][1478.24580][-conn0-] Error: Error sourcing /home/nsadmin/web/wide-open/packages/acs-bootstrap-installer/installer/install-data-model.tcl:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")
while executing
"ns_pg_bind 0or1row nsdb0 {
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types}"
("uplevel" body line 1)
invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql"
invoked from within
"db_exec 0or1row $db $full_name $sql"
invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle db {
set selection [db_exec 0or1row $db $full_name $sql]
}"
(procedure "db_string" line 7)
invoked from within
"db_string db_types_exists "
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types""
invoked from within
"set apm_db_types_exists [db_string db_types_exists "
select case when count(*) = 0 then 0 else 1 end from apm_package_db_types"]"
(file "/home/nsadmin/web/wide-open/packages/acs-bootstrap-installer/installer/install-data-model.tcl" line 40)
invoked from within
"source $__file "
Strangely enough, when I use the same line from inittab file from my command prompt without the first few parameters, everything works like a charm.
That is the line:
/usr/local/aolserver/bin/nsd-postgres -i -u nsadmin -g web -t /home/nsadmin/web/wide-open/nsd.tcl
This way, I can get ACS4.6 going, but I would rather have it controlled by innittab to assure that server is always running.
Thanks for help.
Walter