Hi All,<br><br>I am installing the spacewalk on rhel6.1 i got stuck in the middle of the below link procedure<br><a href="https://fedorahosted.org/spacewalk/wiki/OracleXeSetup">https://fedorahosted.org/spacewalk/wiki/OracleXeSetup</a><br>

where we have to test the connectivity to the XE<br><br>Below is the error and details of config<br><br>===========================================<br><br>[root@rhel6 ~]# sqlplus 'sys/redhat@//localhost/XE as sysdba'<br>

<br>SQL*Plus: Release 11.2.0.2.0 Production on Tue Nov 29 01:59:09 2011<br><br>Copyright (c) 1982, 2010, Oracle.  All rights reserved.<br><br>ERROR:<br>ORA-12514: TNS:listener does not currently know of service requested in connect<br>

descriptor<br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>[root@rhel6 ~]# /etc/init.d/oracle-xe status<br><br>LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-NOV-2011 01:52:41<br>
<br>
Copyright (c) 1991, 2005, Oracle.  All rights reserved.<br><br>Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))<br>STATUS of the LISTENER<br>------------------------<br>Alias                     LISTENER<br>

Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production<br>Start Date                29-NOV-2011 01:25:35<br>Uptime                    0 days 0 hr. 27 min. 5 sec<br>Trace Level               off<br>Security                  ON: Local OS Authentication<br>

SNMP                      OFF<br>Default Service           XE<br>Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora<br>Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log<br>

Listening Endpoints Summary...<br>  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))<br>  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rhel6.1)(PORT=1521)))<br>Services Summary...<br>Service "PLSExtProc" has 1 instance(s).<br>

  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...<br>The command completed successfully<br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>

[root@rhel6 ~]# tail /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log<br>29-NOV-2011 01:25:35 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=rhel6.1)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0<br>

29-NOV-2011 01:25:44 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=rhel6.1)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0<br>29-NOV-2011 01:49:42 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus@rhel6.1)(HOST=rhel6.1)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=35352)) * establish * XE * 12514<br>

TNS-12514: TNS:listener does not currently know of service requested in connect descriptor<br>29-NOV-2011 01:50:32 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=rhel6.1)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0<br>

29-NOV-2011 01:52:09 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus@rhel6.1)(HOST=rhel6.1)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=43619)) * establish * XE * 12514<br>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor<br>

29-NOV-2011 01:52:41 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=rhel6.1)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0<br>29-NOV-2011 01:59:09 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus@rhel6.1)(HOST=rhel6.1)(USER=root))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=54635)) * establish * XE * 12514<br>

<b style="color: rgb(255, 0, 0);">TNS-12514: TNS:listener does not currently know of service requested in connect descriptor</b><br>===============================================================================<br><br><br>

Please help me to setup the oracle XE for spacewalk<br><br><br>Regards & thanks in advance,<br><br>Kshitij Mali<br><a href="mailto:kshitij.mali@orange.com">kshitij.mali@orange.com</a><br><br><br><br><br>