- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swinstall slow for users with _ in username
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
06-15-2006 03:38 AM
06-15-2006 03:38 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 03:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 03:44 AM
06-15-2006 03:44 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 03:51 AM
06-15-2006 03:51 AM
Re: swinstall slow for users with _ in username
I changed name for one of my users and don't see any change: the command works with the same speed. Do you see anything in
#>dmesg -
or in /var/adm/syslog/syslog.log ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 03:52 AM
06-15-2006 03:52 AM
Re: swinstall slow for users with _ in username
What is your user management (/etc/passwd or NIS or ...)?
Did you logged on with this user or just "su"?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 03:52 AM
06-15-2006 03:52 AM
Re: swinstall slow for users with _ in username
I then ran swlist and saw no noticeable time lag. It completed very quickly.
Do you have all of the latest SW* patches installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:03 AM
06-15-2006 04:03 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:04 AM
06-15-2006 04:04 AM
Re: swinstall slow for users with _ in username
-nothing related in dmesg or syslog
-I'm using /etc/passwd, no NIS on this server, dns only non-files entry in nsswitch.conf
-all the users I tested with have home directories
-I do not have the latest patches installed, on the particular server I've been testing with but I get the same behaviour on numberous servers. I will compare patch levels and explicitly check patch bulletins (tried general searches for HP and google before posting)
-I logged on directly with each user
-one of the users I used was tst_use, it was slow, tstuse user was not.
-Environments for users I tested with were identical (default for server with useradd).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:11 AM
06-15-2006 04:11 AM
Re: swinstall slow for users with _ in username
-Home directories are local
My setup is quite simple, and the problem surprised me. My analysis went nowhere, I found the problem by trial and error (user question: why is swlist so slow for user x_y?). On the other hand I haven't done much HP-UX in the last ~5 years so I may be missing something obvious.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:14 AM
06-15-2006 04:14 AM
Re: swinstall slow for users with _ in username
As a simple test try to replace _ with -
Look on /etc/profile. May be there is a test for usernames, which is not intended for ggg_fff structure.
It's really strange 8((((
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:15 AM
06-15-2006 04:15 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:20 AM
06-15-2006 04:20 AM
Re: swinstall slow for users with _ in username
Any messages in /var/adm/sw/swagentd.log?
Username less than 8 characters?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:23 AM
06-15-2006 04:23 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:24 AM
06-15-2006 04:24 AM
Re: swinstall slow for users with _ in username
None in the last month.
I did not test with any users with usernames longer than 8 characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:34 AM
06-15-2006 04:34 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:40 AM
06-15-2006 04:40 AM
Re: swinstall slow for users with _ in username
# hostname
and name resolution
# nslookup
What could be different between the users beside the name?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:45 AM
06-15-2006 04:45 AM
Re: swinstall slow for users with _ in username
I would install PHCO_30243 and PHCO_34539.
You might find that simply restarting swagentd after stopping pwgrd cures you all by itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:49 AM
06-15-2006 04:49 AM
Re: swinstall slow for users with _ in username
Hmm, from another post:
Avoid the characters that have special meaning to the 'getty(1M)' login process.
These characters are #, @, /, !, _, backspace, ^U, ^D, or &.
See the manpages for 'getty(1M)' for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 05:36 AM
06-15-2006 05:36 AM
Re: swinstall slow for users with _ in username
tusc -o /var/tmp/badtusc.txt -T '' /usr/sbin/swlist
executing as one of your "bad" users. The timestamps in the tusc output should help you find the hang especially if you compare it to a run under a "good" user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 06:04 AM
06-15-2006 06:04 AM
Re: swinstall slow for users with _ in username
A tusc swlist by pid run by an underscored username gives a lot of
[27288] poll(0x7f7f4848, 1, 0) ........................... = 0
[27288] gettimeofday(0x7f7f4bb8, 0x7f7f4c18) ............. = 0
[27288] gettimeofday(0x7f7f4e58, 0x7f7f4e98) ............. = 0
[27288] gettimeofday(0x7af7ceb0, 0x7f7f4f98) ............. = 0
[27288] set_userthreadid(2) .............................. = 0
[27288] gettimeofday(0x7af7ceb0, 0x400c1748) ............. = 0
[27288] select(8, 0x7af7d930, 0x7af7d830, 0x7af7d730, 0x400c1680) = 0
[27288] gettimeofday(0x7af7ceb0, 0x400c1748) ............. = 0
[27288] select(8, 0x7af7d930, 0x7af7d830, 0x7af7d730, 0x400c1680) = 0
[27288] gettimeofday(0x7af7ceb0, 0x400c1748) ............. = 0
[27288] set_userthreadid(1) .............................. = 0
[27288] poll(0x7f7f4848, 1, 0) ........................... = 0
[27288] gettimeofday(0x7f7f4bb8, 0x7f7f4c18) ............. = 0
[27288] gettimeofday(0x7f7f4e58, 0x7f7f4e98) ............. = 0
[27288] gettimeofday(0x7af7ceb0, 0x7f7f4f98) ............. = 0
but I don't see an obvious problem (other than the fact that there are so many gettimeofday calls).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 07:16 AM
06-15-2006 07:16 AM
Re: swinstall slow for users with _ in username
tusc -T '' /usr/sbin/swlist
should work as a "bad" user and you should then be able to see what the holdup is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 07:24 AM
06-15-2006 07:24 AM
Re: swinstall slow for users with _ in username
tusc /usr/sbin/swlist as non-root gives (in the output):
ERROR: Could not initialize security. This process does not have
super-user privilege.
and both the tusc and the swlist fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 07:32 AM
06-15-2006 07:32 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 07:34 AM
06-15-2006 07:34 AM
Re: swinstall slow for users with _ in username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 07:40 AM
06-15-2006 07:40 AM
Re: swinstall slow for users with _ in username
The gettimeofdays go on for a long time, and then I get output. I suspect I miss the cause in the delay between the start of the command and the time tusc starts to trace. I will try scripting it...