when trying to use oracle database with different user, not oracle

---------------------------
ERROR:
ORA-01034 (See ORA-01034.ora-code.com): ORACLE not available
ORA-27123 (See ORA-27123.ora-code.com): unable to attach to shared memory 
segment Linux Error: 13:
Permission denied 

This may be solved following way:

# chmod 6751 $ORACLE_HOME/bin/oracle 


when trying to use oracle database with different, not oracle user
with following errors:

---------------------------------------------
# sqlplus /nolog

ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 13: Permission denied
Additional information: 9925
ORA-01017: invalid username/password; logon denied
---------
Then


Add user to dba group
# gpasswd -a user dba
Then 
# cd $ORACLE_HOME/rdbms/
# chmod -R g+w audit
---------------
That should solve an issue
with following output

SQL>  connect sys/change_on_install as sysdba
Connected to an idle instance

Now you can start or stop database :)

--------------------------------------------




 start database

--------------------------
dbstart
-------------------------


shutdown database

-------------------------
dbshut
-----------------------


How to tart listener

----------------------------
# lsnrctl

LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 04-MAY-2006 17:41:05

Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> 
------------------------
Then type start or stop :)








    Source: geocities.com/n0rayr/tips/apps

               ( geocities.com/n0rayr/tips)                   ( geocities.com/n0rayr)