Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to login as oracle user

837 views
Skip to first unread message

happytoday

unread,
Oct 8, 2010, 11:48:56 AM10/8/10
to oracle...@googlegroups.com
I am trying to login as oracle but I can not and the GUI login screen
returns again .
I got that error message :
Solaris 10 x86 , Oracle10g
/export/home>su - oracle
su: No directory!


Lordgnome

unread,
Oct 8, 2010, 3:33:41 PM10/8/10
to

"happytoday" <ehabaz...@gmail.com> wrote in message
news:8fd35a95-300d-4307...@l14g2000yqb.googlegroups.com...
Well does Oracle HAVE a directory?


John Gordon

unread,
Oct 8, 2010, 5:14:52 PM10/8/10
to

That error is telling you that the home directory for the oracle user
doesn't exist.

"su -" tries to change to the new user's home directory; try leaving
off the "-" option, which should leave you in the current directory.

--
John Gordon A is for Amy, who fell down the stairs
gor...@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"

happytoday

unread,
Oct 8, 2010, 7:21:04 PM10/8/10
to
On Oct 9, 1:17 am, Ed Morton <mortons...@gmail.com> wrote:
> Ah, then what you should do is find as many newsgroups as possible that mention
> UNIX, shell, solaris, Kentucky Fried Chicken, movie reviews, etc. and post to
> all of them. I think you missed a couple with this posting - no doubt you'll get
> them next time....
>
>         Ed.

Of course I post this thread with knowing that the home directory is
exist aloready. What are other possibilities ?

Ian Collins

unread,
Oct 8, 2010, 7:58:20 PM10/8/10
to

Firstly follow the sage advice above and don't post to so many random
groups!

Make sure your name service correctly maps the home directory and the
auto-mount service is running.

--
Ian Collins

Ed Morton

unread,
Oct 8, 2010, 7:17:18 PM10/8/10
to
On 10/8/2010 10:48 AM, happytoday wrote:

Ah, then what you should do is find as many newsgroups as possible that mention

Golden California Girls

unread,
Oct 8, 2010, 8:48:49 PM10/8/10
to

No permissions.

chuckers

unread,
Oct 8, 2010, 10:31:20 PM10/8/10
to
On Oct 9, 8:21 am, happytoday <ehabaziz2...@gmail.com> wrote:
> On Oct 9, 1:17 am, Ed Morton <mortons...@gmail.com> wrote:
>
> > On 10/8/2010 10:48 AM, happytoday wrote:
>
> > > I am trying to login as oracle but I can not and the GUI login screen
> > > returns again .
> > > I got that error message :
> > > Solaris 10 x86 , Oracle10g
> > > /export/home>su - oracle
> > > su: No directory!
>
[edit]

> Of course I post this thread with knowing that the home directory is
> exist aloready.  What are other possibilities ?

What does the home directory listing in /etc/password for user oracle
say it is supposed to be?

Is /etc/password where oracle user information will be retrieved
first? I.e. are you using NIS or NIS+
as well? Does 'files' appear before 'nis' in /etc/nsswitch.conf?

Are you using automount for user oracle's home directory? Is it
mounting properly?

Not really enough information to go on.

Sven Hilmer

unread,
Oct 9, 2010, 3:02:38 AM10/9/10
to happytoday, oracle...@googlegroups.com


try this

# getent passwd oracle

it gives you what the OS thinks what is oracle's home dir (6th field).
and then

# ls -ld `getent passwd oracle | cut -d: -f6`

it will show you the owner, group and permission of the oracle home dir
(if exists).
or post the output of both commands here to discuss the results.

kind regards
Sven


Sven Hilmer

unread,
Oct 9, 2010, 3:03:29 AM10/9/10
to
Message has been deleted

Sidney Lambe

unread,
Oct 9, 2010, 9:41:28 PM10/9/10
to
On comp.unix.shell, Edmund H. Ramm <ehramm(at)dk3uz.ampr.org> wrote:
> From:
> Newsgroups: comp.unix.solaris,alt.solaris.x86,comp.unix.programmer,comp.sys.sun.admin,comp.unix.shell
> Subject: Re: Unable to login as oracle user
> Date: Sat, 9 Oct 2010 20:04:45 +0000 (UTC)
> Organization: Private Linux/68k site
> Lines: 25
> Sender: ehramm(at)dk3uz.ampr.org
> Message-ID: <i8qhst$cj1$1(at)dk3uz.ampr.org>
> References: <8fd35a95-300d-4307-97a2-34f63ddb8e5e(at)l14g2000yqb.googlegroups.com> <i8o8pt$gqe$1(at)news.eternal-september.org> <bef62c67-08c2-42a8-9384-14a5ce5df818(at)z28g2000yqh.googlegroups.com> <9b3f0894-4868-4c1d-87d3-01574ecac8a6(at)g6g2000pro.googlegroups.com>
> NNTP-Posting-Host: dk3uz.ampr.org
> X-Trace: dk3uz.ampr.org 1286654685 12897 44.130.0.81 (9 Oct 2010 20:04:45 GMT)
> X-Complaints-To: usenet(at)dk3uz.ampr.org
> NNTP-Posting-Date: Sat, 9 Oct 2010 20:04:45 +0000 (UTC)
> X-No-Archive: yes

How about guessing again.

All Shift-2 (circle with an a in the center) symbols in this
person's headers (and the Subject) have been changed to "(at)" in
order to keep googlegroups from obscuring the addresses they are
a part of.

This person's headers and article are not only going to be
archived, they are going to be archived much more thoroughly than
they would otherwise have been.

If something is worth posting it's worth archiving


> X-No-HTML: yes
> User-Agent: nn/6.7.3
> Path: x-privat.org!feeder.erje.net!news.internetdienste.de!newsfeed.velia.net!news.tu-darmstadt.de!news.belwue.de!rz.uni-karlsruhe.de!inka.de!dk3uz!not-for-mail
> Xref: newsfeed.x-privat.org comp.unix.solaris:50300 alt.solaris.x86:5626 comp.unix.programmer:28013 comp.sys.sun.admin:4637 comp.unix.shell:39613

>
> In <9b3f0894-4868-4c1d...@g6g2000pro.googlegroups.com> chuckers <chuck...@gmail.com> writes:
>
>>On Oct 9, 8:21=A0am, happytoday <ehabaziz2...@gmail.com> wrote:


>>> On Oct 9, 1:17=A0am, Ed Morton <mortons...@gmail.com> wrote:
>>>
>>> > On 10/8/2010 10:48 AM, happytoday wrote:
>>>
>>> > > I am trying to login as oracle but I can not and the GUI login screen
>>> > > returns again .
>>> > > I got that error message :
>>> > > Solaris 10 x86 , Oracle10g
>>> > > /export/home>su - oracle
>>> > > su: No directory!
>>>
>>[edit]
>>> Of course I post this thread with knowing that the home directory is

>>> exist aloready. =A0What are other possibilities ?


>
>> What does the home directory listing in /etc/password for user oracle
>> say it is supposed to be?
>

>> [...]
>
> Last time I laid my hands on a Solaris system above mentioned
> information was to be found in /etc/passwd.

Sid


Message has been deleted

happytoday

unread,
Oct 10, 2010, 5:23:03 AM10/10/10
to

/>getent passwd oracle
oracle:x:104:101::/home/oracle:/bin/bash
/>ls -ld `getent passwd oracle | cut -d: -f6`
/home/oracle: No such file or directory

I do not know why the home directory has been changed from /export/
home/oracle to /home/oracle. I will switch in /etc/passwd to /export/
home/oracle
Any further suggestions ?
Thanks

Andreas Wacknitz

unread,
Oct 10, 2010, 5:38:03 AM10/10/10
to
Am 10.10.10 11:23, schrieb happytoday:
If the automount service is active, your configuration is standard.
/export/home/oracle should be automatically mounted to /home/oracle by
the automounter when /home/oracle is accessed. You most probably will
need an entry for the oracle user in /etc/auto_home, like

oracle <server name or ip>:/export/home/oracle

Replace <server name or ip> by your real server's name or ip address.
After appending such a line you should restart the autofs servive:

svcadm restart autofs

man automount
will give you some more information about automount and related tools.

Andreas

0 new messages