- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot find Oracle .login script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 09:51 PM
03-22-2006 09:51 PM
I am having trouble finding the start up shell script for the oracle user. I can login as the user but cannot find the .login anywhere.
Thanks in advance for any help.
HP-UX 11.11
Oracle 10g release 2
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 09:54 PM
03-22-2006 09:54 PM
Re: Cannot find Oracle .login script
$ touch .login
$ chmod 644 .login
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 09:55 PM
03-22-2006 09:55 PM
SolutionYou have to build the file yourself.
I recommend against using c shell for oracle user. You are better off with posix or korn shell, which use .profile
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 09:59 PM
03-22-2006 09:59 PM
Re: Cannot find Oracle .login script
You can create your own .login for Oracle user.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:01 PM
03-22-2006 10:01 PM
Re: Cannot find Oracle .login script
I shall create my own .profile for the Oracle user.
May I be cheeky and ask where I will put the file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:03 PM
03-22-2006 10:03 PM
Re: Cannot find Oracle .login script
Usually, .login file will be under $HOME
For Oracle, It should be under home directory of oracle user.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:06 PM
03-22-2006 10:06 PM
Re: Cannot find Oracle .login script
$ touch $HOME/.login
Generally, /home/oracle then /home/oracle/.login is correct location. See csh man page more.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:07 PM
03-22-2006 10:07 PM
Re: Cannot find Oracle .login script
check first how the startup shell of the oracle user is defined in /etc/passwd
# grep oracle /etc/passwd
If the last field ends in "csh" the startup shell is of type "c" and it will make use of .login
If the last field ends in "sh" or "ksh", .login is ignored and .profile used instead.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 10:31 PM
03-22-2006 10:31 PM
Re: Cannot find Oracle .login script
It turned out that the home directory for the oracle user wes /u/oracle, so i dumped in a default .profile file, as it was ksh in the passwd file, and now I can continue working.