- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- login problem on HP-UX 11.00 client
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
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
11-03-2003 02:19 AM
11-03-2003 02:19 AM
login problem on HP-UX 11.00 client
Situation : HP-UX 11.00 clients Workstation with a HP-UX Server. The $HOME is mounted on the client via NFS soft mount.
Problem :
I log in (with a user X) on the client. This is ok. I've got all my personal session (colors...). But any terminal windows don't give the prompt back ! The .profile is read, that's sure, but then it doesn't gi further.
If i log in as root and make a "su -", same problem : the terminal windows don't give the prompt...
Seems like he waits or search for something.
I really don't know what's happening !!
Any help is welcome.
Thanks
JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:23 AM
11-03-2003 02:23 AM
Re: login problem on HP-UX 11.00 client
Check if the shell in /etc/passwd for this user is correct and it is in /etc/shells
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:27 AM
11-03-2003 02:27 AM
Re: login problem on HP-UX 11.00 client
the user is ok because i can login with this user on other HP-UX clients. We have NIS.
Something must be wrong on this workstation.
HP-people told me it could be a NFS problem, but i haven't found anything wrong so far...
It worked, then i had to boot the WS and now it doesn't work anymore.
JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:29 AM
11-03-2003 02:29 AM
Re: login problem on HP-UX 11.00 client
Check the /etc/profile and .profiles. As this happens to all the users, the problem might be in /etc/profile. It may be waiting on a script that is called by /etc/profile.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:38 AM
11-03-2003 02:38 AM
Re: login problem on HP-UX 11.00 client
- .profile of the $HOME is ok, because the users can log in on other WS.
It works with no user on this workstation.
I think it isn't a profile problem... before rebooting did the WS work without problems.
JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:39 AM
11-03-2003 02:39 AM
Re: login problem on HP-UX 11.00 client
I know this sounds weird but it works for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:52 AM
11-03-2003 02:52 AM
Re: login problem on HP-UX 11.00 client
One more observation :
if i login on the WS with root and make a "su user", it works.
But "su - user" doesn't work...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:22 AM
11-03-2003 03:22 AM
Re: login problem on HP-UX 11.00 client
su - invokes the .profile of the user. There are 2 possibilities.
$HOME is not mounted at all and the nfs client is waiting indefinitely for the server to respond. So .profile cannot be executed.
$HOME is mounted but there is some problem in .profiles which is taking longer time to respond.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 04:38 AM
11-03-2003 04:38 AM
Re: login problem on HP-UX 11.00 client
set -xv
PS4='${0##*/}:$LINENO: '
typeset -f $(typeset +f)
to your .profile script. This will display each line and line number of the script as it is executed. Then you may be able to see where the process is hanging.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 06:10 AM
11-03-2003 06:10 AM
Re: login problem on HP-UX 11.00 client
Reboot workstation in single user mode and
test following
Reboot ws in single usermode.
login to the server .
manually start your rc scripts for level 2
now only start rc scripts for nfs and nis,
now try to mount your home directory manually.
If you can successed their everything should be fine..
else you are not able to reach to nfs server..
Thanks
Rahul Mehat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 06:18 PM
11-03-2003 06:18 PM
Re: login problem on HP-UX 11.00 client
- the NFS-mounts seems to be ok. When i log in as root, i can reach the data in the mounted FS.
Thanks all fot these ideas !
JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 06:46 PM
11-03-2003 06:46 PM
Re: login problem on HP-UX 11.00 client
Is it static or dynamic, like does it contain a PWD variable or something like that?
In that case, try making it static, only containing your hostname:
PS1="`hostname` $"
Also, what you could do is try to login to the system the way it works and run the .profile in the current shell (. ./.profile, and remember the
Hope this gives some more light on the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 06:55 PM
11-03-2003 06:55 PM
Re: login problem on HP-UX 11.00 client
- i've tried to modify the PS1. It doesn't help.
- i log in as root and open a terminal window. I go in the user xxx directory and make ". ./.profile" : it works !
I have my prompt, PS1 ans so on...
Then i'm making "su - xxx" (in the same Window): doesn't work...
It is the strangest problem i've ever seen !
JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 02:41 AM
11-04-2003 02:41 AM
Re: login problem on HP-UX 11.00 client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 02:43 AM
11-04-2003 02:43 AM
Re: login problem on HP-UX 11.00 client
JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 02:46 AM
11-04-2003 02:46 AM
Re: login problem on HP-UX 11.00 client
# Set up the terminal:
# comment this line if [ "$TERM" = "" ]
if [ "$TERM" = "" -o "$TERM" = "hp" ] # add this line
then
# comment this line too eval ` tset -s -Q -m ':?hp' `
eval ` tset -h -s -Q ` # add this line
else
eval ` tset -s -Q `
fi
watch the line wraps and remember this posts without benefit of indents.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2003 03:21 AM
11-04-2003 03:21 AM
Re: login problem on HP-UX 11.00 client
How about the directory permission for the user on the client. Is the user allowed to create files on the nfs soft mount $home once it is mounted on the client.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 02:43 AM
11-10-2003 02:43 AM
Re: login problem on HP-UX 11.00 client
HISTFILE=/tmp/.sh_history
export HISTFILE
... this was missing...
Regards
JFS