Operating System - HP-UX
1820695 Members
2444 Online
109627 Solutions
New Discussion юеВ

230-No directory! Logging in with home=/

 
SOLVED
Go to solution
Grayh
Trusted Contributor

230-No directory! Logging in with home=/

when I ftp i get this error
230-No directory! Logging in with home=/
230 User oracle logged in.

Looks like I didn't add home directory... Could you give me the command to add the home directory to the user oracle...

user oracle already exists on the system
13 REPLIES 13
Ganesan R
Honored Contributor
Solution

Re: 230-No directory! Logging in with home=/

Hi,

Edit /etc/password file and enter the home directory for oracle user. Make sure home directory is created already.

You can use usermod -d command as well to add the new home directory.

Best wishes,

Ganesh.
Grayh
Trusted Contributor

Re: 230-No directory! Logging in with home=/

I have the following in my passwd file
oracle:dvNU8uqtCcup2:106:103::/home/oracle:/sbin/sh

looks like home directory exists...

could you give me the exact path when I have to edit please






Ganesan R
Honored Contributor

Re: 230-No directory! Logging in with home=/

Hi Grayh,

Looks home dir entry is there in passwd file. No need to modify.

Could you verify this directory exist on filesystem?

Are you able to telnet as oracle user?In which directory you are in when you login?
Best wishes,

Ganesh.
Grayh
Trusted Contributor

Re: 230-No directory! Logging in with home=/

Hi Ganesan

Sorry.. I could not understand you..

I am able to telnet as a oracle user

$ pwd
/
$

Is there anything I should Do

/dev/vg01/oracle 81920 1133 75745 1% /data --------> This is the mount point



Torsten.
Acclaimed Contributor

Re: 230-No directory! Logging in with home=/

Your passwd entry says

/home/oracle

is the home dir - so you need to have

/home/oracle

or modify the passwd line to something else (existing directory and owned by oracle user).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ganesan R
Honored Contributor

Re: 230-No directory! Logging in with home=/

Hi Grayh,

See the pwd after you logged in. You are placed into / directory not the /home/oracle as specified in passwd file. It means /home/oracle directory not exist on the server.

Which path you want to set as home directory for oracle user? currently it is set to /home/oracle. If you want to use this as home directory for oracle user create it.

#mkdir /home/oracle
#chown oracle: /home/oracle

Now it should work.

Best wishes,

Ganesh.
Grayh
Trusted Contributor

Re: 230-No directory! Logging in with home=/


/dev/vg01/oracle 98304 1133 91105 1% /data

# lvextend -L 167216 /dev/vg01/oracle /dev/dsk/c0t1d0
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg01/oracle" could not be extended.
Failure possibly caused by strict allocation policy

I want it to have 80Gb ... how can I extend it

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 280576 762056 27% /
/dev/vg00/lvol1 1835008 85536 1735912 5% /stand
/dev/vg00/lvol8 8912896 2085536 6775720 24% /var
/dev/vg00/lvol7 7340032 2519816 4782624 35% /usr
/dev/vg00/lvol4 524288 18440 501904 4% /tmp
/dev/vg00/lvol6 2981888 1384928 1584520 47% /opt
/dev/vg00/lvol5 131072 8504 121616 7% /home
/dev/vg01/oracle 98304 1133 91105 1% /data
#

Torsten.
Acclaimed Contributor

Re: 230-No directory! Logging in with home=/

If you want to have 80gig, why you try to extend to 167gig?

see

man lvextend

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Grayh
Trusted Contributor

Re: 230-No directory! Logging in with home=/

Ok... Just to extend to 10 Gig... what is the command plz...
Grayh
Trusted Contributor

Re: 230-No directory! Logging in with home=/

# lvextend -l 500 /dev/vg01/oracle
Logical volume "/dev/vg01/oracle" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.con
f

# lvextend -L 400 /dev/vg01/oracle
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
Torsten.
Acclaimed Contributor

Re: 230-No directory! Logging in with home=/

I think the messages are self-explanatory.

post "vgdisplay -v vg01"

and read the man page!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Grayh
Trusted Contributor

Re: 230-No directory! Logging in with home=/

thanks u
Gokul Chandola
Trusted Contributor

Re: 230-No directory! Logging in with home=/

Hi,
Please use ...
#SAM to easy use of extend size of your FS.

This will make actual impact after reboot your Server.

#lvextend -L +[additional-size] [PV-name]


Regards,
Gokul Chandola
There is always some scope for improvment.