Forum Stats

  • 3,875,549 Users
  • 2,266,945 Discussions
  • 7,912,246 Comments

Discussions

Net Listener Failed to start

515213
515213 Member Posts: 3
edited Nov 24, 2010 12:46PM in Generic Linux
I have installed 10g on Fedore 5. When I run /etc/init.d/oracle-xe start I get the following error

"Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus"
«1

Comments

  • Paul M.
    Paul M. Member Posts: 10,947 Gold Trophy
    What happens if you try to start it manually ? Logon as oracle user and

    $ lsnrctl start
    and
    $ sqlplus / as sysdba
    SQL> startup

    and post the results.
  • 515213
    515213 Member Posts: 3
    Here are the results of both commands.

    Message 850 not found; No message file for product=network, facility=NL

    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
  • Paul M.
    Paul M. Member Posts: 10,947 Gold Trophy
    You may need to set ORACLE_HOME to your Oracle software directory
    This seems to be your problem. Did you set environment variables (.bash_profile) for oracle user ?
  • 515213
    515213 Member Posts: 3
    I added the following line for user oracle .bash_profile

    export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin

    But it still didn't work. Is that the right way of doing it?
  • 392393
    392393 Member Posts: 1,407
    The bin directory is one level too deep. Try this:
    export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server

    ~Jer
  • jonjac
    jonjac Member Posts: 393
    edited Oct 23, 2006 1:09PM
    After you do what Jer wrote, add this line to .bash_profile:

    export PATH=$PATH:$ORACLE_HOME/bin

    (In case it's not there already.)

    Message was edited by:
    jonjac
  • 545288
    545288 Member Posts: 1
    I did all that and i got the message when im trying to start the service:

    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.

    in my profile file:

    ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    PATH = $PATH:$ORACLE_HOME/bin

    my so is the Ubuntu.

    help will be nice plz.
  • 448132
    448132 Member Posts: 895
    Check /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log for a more comprohensive error. You should also set your ORACLE_SID env. to XE when you try to start the database manually.
  • 548119
    548119 Member Posts: 136
    What do you get when you issue a lsnrctl start command?

    If you get permission denied, try and shorten your IPC Key to a smaller value. I did mine to IPCKEY and it started up.
  • 601143
    601143 Member Posts: 1
    Hello,

    I'm using ubuntu but I can start the service. I obtain this message.



    [email protected]:# /etc/init.d/oracle-xe start
    Starting Oracle Net Listener.
    Starting Oracle Database 10g Express Edition Instance.
    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
This discussion has been closed.