Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi My fellow linux buddies
I am new to linux and after Installing Oracle 9i Release 2 database on Red Hat linux 2.1 and try to connect to the server through lap top I ran into Oracle Listener problem. I login to the server and try to see the status of the listener or try to execute any command either as o/s root or oracle root I get this error
bash:lsnrctl status:command not found. I even try to execute the oracle installer again but no luck
well I drill down to where my script is and try to run but still the same problem. If it was a path, I should be able run the script right at the folder correct?
the problem is not with redhat but with oracle...the scripts can only be run as the oracle user, not any other use on the system. We had the same problem with oracle 7 and 8i on solaris and linux. when you installed oracle, you specified a user as part of the installation, typically "oracle". Type su - oracle and the prompt should change to $ at which time, try dbshut to park the database. Then do dbstart to bring the database back up and connect it, the issue lsnrctl start. This should bring your database and listener online, provided the listener.ora and the tnsnames.ora files are configured correctly. Also, verify that the oratab file in the /var/oracle directory is configured to make the scripts available. If you need help with that, look at the last line in the oratab file, and you will see the SID and the last character in the line will be either an uppercase N or Y. If it is an N, change it to a Y, otherwise, your scripts are available.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.