[Spacewalk-list] Spacewalk Changing /etc Permissions?

Cem Vedat ISIK cem.isik at bitbrains.nl
Tue Dec 2 14:17:12 UTC 2008


Thanks Jan, indeed it is. Would you see any relation between /etc
permissions and "oracle not running-failed installation attempt"? 

<spacewalk-setup says>

** Activating Satellite.
There was a problem validating the satellite certificate: 1

</spacewalk-setup says>


<The installation log says>

# These two directives allow tomcat and apache to invoke CONFIG_RHN
RHN 19091 2008/12/02 08:07:44 +02:00: ('Connection attempt failed',
12537, 'ORA-12537: TNS:connection closed\n')

ERROR: unhandled exception occurred:
Traceback (most recent call last):
  File "/usr/bin/rhn-satellite-activate", line 45, in ?
    sys.exit(abs(mod.main() or 0))
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line
610, in main
    rhnSQL.initDB(CFG.DEFAULT_DB)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 70, in initDB
    __init__DB(db)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 48, in
__init__DB
    __DB.connect()
  File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 324, in
connect
    raise apply(sql_base.SQLConnectError, err_args)
server.rhnSQL.sql_base.SQLConnectError: (12537, 'ORA-12537:
TNS:connection closed\n', 'xe', 'Connection_Connect(): server attach')

</The installation log says>

Just after the failed installation attempt, I got, 

[root at vm905 ~]# sqlplus spacewalk/spacewalk at xe

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 21 11:38:26 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12541: TNS:no listener


The following actions seem to get oracle up and running again. 


[root at vm905 ~]# chmod 755 /etc
[root at vm905 ~]# /etc/init.d/oracle-xe restart
Shutting down Oracle Database 10g Express Edition Instance.
Stopping Oracle Net Listener.

Starting Oracle Net Listener.
Starting Oracle Database 10g Express Edition Instance.

[root at vm905 ~]# sqlplus spacewalk/spacewalk at xe

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 21 11:39:05 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> exit





More information about the Spacewalk-list mailing list