Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: connecting to sqlplus in 9i to create db problems
Anna C. Dent wrote:
> Glen A Stromquist wrote: >
> > > Having SQL*Net functioning is NOT required to create or start a DB; > as long as you are logged onto the actual system hosting Oracle. > The only requirements are that ORACLE_SID & ORACLE_HOME be correct. >
I telneted in and here is my env:
SQL*Plus: Release 9.2.0.1.0 - Production on Wed Sep 17 19:40:08 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> startup nomount pfile="/opt/oracle/product/9ir2/dbs/initwbsarch.ora" ORA-12545: Connect failed because target host or object does not exist
So, unless I missed something in the install, I'm stumped. There was some linking errors but I did the documented changes to genclntsh file and ran it like it said. I also ran the relink all command just in case there was something else missed.
I also got some bizarre errors near the end of the installs about improper permissions when copying files, but I just found the files in /Disk3 and copied them over manually, they were only emwebsite and emca.
As an afterthought from root I ran ./oracle start from /etc/init.d and the results are:
linuxora2:/etc/init.d # ./oracle start
############################################################################# # Begin of O R A C L E startup section # #############################################################################
SETTINGS start from /etc/sysconfig/oracle - !!! MISSING !!!
Setting kernel parameters for Oracle, see file /etc/rc.config.d/oracle.rc.config for explanations.
Shared memory: SHMMAX=3294967296 SHMMNI=4096 SHMALL=2097152 Semaphore values: SEMMSL=1250 SEMMNS=32000 SEMOPM=100 SEMMNI=256 Other values: FILE_MAX_KERNEL=131072 IP_LOCAL_PORT_RANGE=1024 65000
ULIMIT values: MAX_CORE_FILE_SIZE_SHELL=unlimited FILE_MAX_SHELL=65536 PROCESSES_MAX_SHELL=16384 Kernel parameters set for Oracle: done - Starting Oracle Cluster Filesystem... unused - Starting Oracle Cluster Manager... unused - Starting Oracle GSD... unused
+ Starting Database(s)...
SQL*Plus: Release 9.2.0.1.0 - Production on Wed Sep 17 19:58:19 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> ERROR:
ORA-12545: Connect failed because target host or object does not exist
SQL> ORA-12545: Connect failed because target host or object does not exist
SQL>
Database "wbsarch" warm started.
Status of Oracle database(s) start: done - Starting Listener... done - Starting Apache... unused - Starting Agent... failed - Starting Connection Manager... unused - Starting Oracle Internet Filesystem... unused - Starting Oracle Internet Directory... unused ############################################################################# # End of O R A C L E section # #############################################################################
I'm not sure about the /etc/sysconfig MISSING error, as there is no sysconfig in /etc in this install or my 8i SuSE install (which works fine)
I did do the following however, which seems a bit odd as I thought that if a db was warm started then smon would be running.
I'm a little to used to W2k, to see if oracle is running I just look for the oracle.exe process, in 'nix I'm not sure, thought perhaps some 'nix gurus here could help me out!
cheers Received on Wed Sep 17 2003 - 21:17:36 CDT