Advant Environment install error
I am having some trouble installing an Advant OS station at the moment so I re-installed the software.
Firstly I tried an Ignite restore and the station starts OK on the DCN but it fails to load the environment. And if I open a hpterm, and run Environment-builder, it has a problem with Oracle.
Then after a CD installation it’s the same issue.
My only thought is that there is some hardware issue with the B2600, e.g I see a ‘LAN Interface’ error on startup yet I can ping the station remotely.
Answers
Submitted comment first, but hey, why not share my hints a little bit more visibly for others to find, later on.
Seen many HP-UX machines but only a fraction of them running MOD... just firing away what I'd try given the task to resurrect a down Advant Station.
For general installation issues, go through these log files:
# ls /var/adm/sw/
config.prev host_object products security swagentd.log swinstall.log ui
defaults ipd_mods queue sessions swagent.log swmodify.log
getdate.templ patch save software swconfig.log targets
Oracle logs to this file (this is from a running Advant Master 500 OS):
# tail /products/log/oracle/alert_advantdb.log
Successful open of redo thread 1.
Fri Jan 8 07:59:22 2021
SMON: enabling cache recovery
SMON: enabling tx recovery
Fri Jan 8 07:59:22 2021
Completed: alter database open
Fri Jan 8 07:59:22 2021
Errors in file /var/opt/advant/log/oracle/smon_666.trc:
ORA-01595: error freeing extent (0) of rollback segment (8))
ORA-01594: attempt to wrap into rollback segment (8) extent (1) which is being freed
Following the below, you can attempt to manually start up the oracle instance (this failed on my machine since Oracle is already running; you can before the startup command enter "shutdown abort" to kill whatever is running, then try a startup):
as28:/products/data/customer/OS:$ su
Password:
# su oracle
# /opt/advant/oracle7.3.2.3/bin/svrmgrl
Oracle Server Manager Release 2.3.2.0.0 - Production
Copyright (c) Oracle Corporation 1994, 1995. All rights reserved.
Oracle7 Server Release 7.3.2.3.0 - Production Release
With the distributed option
PL/SQL Release 2.3.2.3.0 - Production
SVRMGR> connect internal
Connected.
SVRMGR> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SVRMGR>
An improperly set Default Gateway can cause a range problems; clean it by editing /etc/rc.config.d/netconf or in the below working example just clear the IP-address and reset count to 0
# grep ROUTE /etc/rc.config.d/netconf
# ROUTE_DESTINATION: Destination host or network IP address in
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# ROUTE_GATEWAY: Gateway IP address in decimal-dot notation.
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# ROUTE_ARGS: Route command arguments and options. This variable
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=172.16.4.254
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Good luck!
by Stefan Stromqvist
Seen many HP-UX machines but only a fraction of them running MOD.
An improperly set Default Gateway can cause a range problems; clean it by editing /etc/rc.config.d/netconf
# grep ROUTE /etc/rc.config.d/netconf
# ROUTE_DESTINATION: Destination host or network IP address in
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# ROUTE_GATEWAY: Gateway IP address in decimal-dot notation.
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# ROUTE_ARGS: Route command arguments and options. This variable
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=172.16.4.254
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Oracle logs to this file (this is from a running MASTER 500OS)
# tail /products/log/oracle/alert_advantdb.log
Successful open of redo thread 1.
Fri Jan 8 07:59:22 2021
SMON: enabling cache recovery
SMON: enabling tx recovery
Fri Jan 8 07:59:22 2021
Completed: alter database open
Fri Jan 8 07:59:22 2021
Errors in file /var/opt/advant/log/oracle/smon_666.trc:
ORA-01595: error freeing extent (0) of rollback segment (8))
ORA-01594: attempt to wrap into rollback segment (8) extent (1) which is being freed
Following the below, you can attempt to manually start up the oracle instance (this failed on my machine since Oracle is running; you can before the startup command enter "SHUTDOWN ABORT" to kill whatever is running, then try a startup):
as28:/products/data/customer/OS:$ su
Password:
# su oracle
# /opt/advant/oracle7.3.2.3/bin/svrmgrl
Oracle Server Manager Release 2.3.2.0.0 - Production
Copyright (c) Oracle Corporation 1994, 1995. All rights reserved.
Oracle7 Server Release 7.3.2.3.0 - Production Release
With the distributed option
PL/SQL Release 2.3.2.3.0 - Production
SVRMGR> connect internal
Connected.
SVRMGR> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SVRMGR>
Add new comment