- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudo su - takes too long to execute.
Operating System - HP-UX
1758568
Members
2188
Online
108872
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО04-24-2008 03:28 PM
тАО04-24-2008 03:28 PM
sudo su - takes too long to execute.
Hi people!
I'm having this weird issue when trying to do "sudo su -" in a 11iv2 HPUX Itanium Server.
The thing is that it takes too long to ask me for password...
Sudo version is 1.6.9p11.
I've also tried "tusc sudo su -" to see if at some point it sleeps... but all I get are lots of lstat:
lstat("/cdrom/PHKL_32630/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32631/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32634/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32635/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32637/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32645/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32646/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32653/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32714/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32876/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33024/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33025/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33029/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33052/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33069/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33161/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
these are the lasts lines:
fcntl(29, F_SETLK, 0x40005530) ............................................... ERR#13 EACCES
fstat(29, 0x7ffff7f0) ........................................................ = 0
ioctl(0, TIOCGWINSZ, 0x7ffffd30) ............................................. = 0
time(0x7ffffd2c) ............................................................. = 1209077438
lseek(29, 4060, SEEK_SET) .................................................... = 4060
read(29, 0x7ffff900, 1024) ................................................... = 0
sigprocmask(SIG_BLOCK, 0x7ffffc90, 0x7ffffcb0) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7ffffcb0, NULL) ................................... = 0
sigprocmask(SIG_BLOCK, 0x7ffffc90, 0x7ffffcb0) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7ffffcb0, NULL) ................................... = 0
sigprocmask(SIG_BLOCK, 0x7ffffbc0, 0x7ffffbe0) ............................... = 0
ioctl(0, TIOCGWINSZ, 0x7ffffbb0) ............................................. = 0
sigprocmask(SIG_SETMASK, 0x7ffffbe0, NULL) ................................... = 0
sigvector(SIGCLD, 0x7ffff860, 0x7ffff870) .................................... = 0
waitpid(-1, 0x7ffff890, WNOHANG|WUNTRACED) ................................... ERR#10 ECHILD
sigvector(SIGCLD, 0x7ffff860, 0x7ffff870) .................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffe310, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe310) ............................. = 0
write(2, "h b 1 p c i 1 / r o o t > ", 16) ............................. = 16
sigprocmask(SIG_SETMASK, 0x7fffe310, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe310) ............................. = 0
ioctl(2, TCGETATTR, 0x40008ff0) .............................................. = 0
ioctl(2, TCSETATTRD, 0x40009050) ............................................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
read(0, 0x7fffe2d0, 1) ....................................................... [sleeping]
I'm attaching the tusc output for anyone who are willing to help me :P
Thanks in advance!
I'm having this weird issue when trying to do "sudo su -" in a 11iv2 HPUX Itanium Server.
The thing is that it takes too long to ask me for password...
Sudo version is 1.6.9p11.
I've also tried "tusc sudo su -" to see if at some point it sleeps... but all I get are lots of lstat:
lstat("/cdrom/PHKL_32630/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32631/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32634/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32635/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32637/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32645/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32646/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32653/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32714/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_32876/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33024/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33025/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33029/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33052/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33069/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
lstat("/cdrom/PHKL_33161/emacs", 0x7fffce60) ................................. ERR#2 ENOENT
these are the lasts lines:
fcntl(29, F_SETLK, 0x40005530) ............................................... ERR#13 EACCES
fstat(29, 0x7ffff7f0) ........................................................ = 0
ioctl(0, TIOCGWINSZ, 0x7ffffd30) ............................................. = 0
time(0x7ffffd2c) ............................................................. = 1209077438
lseek(29, 4060, SEEK_SET) .................................................... = 4060
read(29, 0x7ffff900, 1024) ................................................... = 0
sigprocmask(SIG_BLOCK, 0x7ffffc90, 0x7ffffcb0) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7ffffcb0, NULL) ................................... = 0
sigprocmask(SIG_BLOCK, 0x7ffffc90, 0x7ffffcb0) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7ffffcb0, NULL) ................................... = 0
sigprocmask(SIG_BLOCK, 0x7ffffbc0, 0x7ffffbe0) ............................... = 0
ioctl(0, TIOCGWINSZ, 0x7ffffbb0) ............................................. = 0
sigprocmask(SIG_SETMASK, 0x7ffffbe0, NULL) ................................... = 0
sigvector(SIGCLD, 0x7ffff860, 0x7ffff870) .................................... = 0
waitpid(-1, 0x7ffff890, WNOHANG|WUNTRACED) ................................... ERR#10 ECHILD
sigvector(SIGCLD, 0x7ffff860, 0x7ffff870) .................................... = 0
sigprocmask(SIG_SETMASK, 0x7fffe310, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe310) ............................. = 0
write(2, "h b 1 p c i 1 / r o o t > ", 16) ............................. = 16
sigprocmask(SIG_SETMASK, 0x7fffe310, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe310) ............................. = 0
ioctl(2, TCGETATTR, 0x40008ff0) .............................................. = 0
ioctl(2, TCSETATTRD, 0x40009050) ............................................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
read(0, 0x7fffe2d0, 1) ....................................................... [sleeping]
I'm attaching the tusc output for anyone who are willing to help me :P
Thanks in advance!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2008 07:26 PM
тАО04-24-2008 07:26 PM
Re: sudo su - takes too long to execute.
At what point while using 'tusc' did you notice the long pause? that would tell you where the problem is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2008 03:31 PM
тАО04-25-2008 03:31 PM
Re: sudo su - takes too long to execute.
Hi Venkatesh ... this are the lasts lines of tusc:
hb1pci1 /root > write(2, "h b 1 p c i 1 / r o o t > ", 16) ............................. = 1
sigprocmask(SIG_SETMASK, 0x7fffe310, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe310) ............................. = 0
ioctl(2, TCGETATTR, 0x40008ff0) .............................................. = 0
ioctl(2, TCSETATTRD, 0x40009050) ............................................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
read(0, 0x7fffe2d0, 1) ....................................................... [sleeping]
Received signal 23, SIGWINCH, in read(), [caught], no siginfo
read(0, 0x7fffe2d0, 1) ....................................................... = 0
sigvector(SIGWINCH, 0x7fff91e0, 0x7fff91f0) .................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff90b0, 0x7fff90d0) ............................... = 0
ioctl(0, TIOCGWINSZ, 0x7fff90a0) ............................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff9050, 0x7fff9070) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, NULL) ................................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff90d0, NULL) ................................... = 0
Received signal 23, SIGWINCH, in read(), [caught], no siginfo
read(0, 0x7fffe2d0, 1) ....................................................... = 0
sigvector(SIGWINCH, 0x7fff91e0, 0x7fff91f0) .................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff90b0, 0x7fff90d0) ............................... = 0
ioctl(0, TIOCGWINSZ, 0x7fff90a0) ............................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff9050, 0x7fff9070) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, NULL) ................................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff90d0, NULL) ................................... = 0
read(0, 0x7fffe2d0, 1) ....................................................... [sleeping]
Would sombedoy shed some light on this? THX!!!
hb1pci1 /root > write(2, "h b 1 p c i 1 / r o o t > ", 16) ............................. = 1
sigprocmask(SIG_SETMASK, 0x7fffe310, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe310) ............................. = 0
ioctl(2, TCGETATTR, 0x40008ff0) .............................................. = 0
ioctl(2, TCSETATTRD, 0x40009050) ............................................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe330, 0x7fffe350) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fffe350, 0x7fffe330) ............................. = 0
read(0, 0x7fffe2d0, 1) ....................................................... [sleeping]
Received signal 23, SIGWINCH, in read(), [caught], no siginfo
read(0, 0x7fffe2d0, 1) ....................................................... = 0
sigvector(SIGWINCH, 0x7fff91e0, 0x7fff91f0) .................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff90b0, 0x7fff90d0) ............................... = 0
ioctl(0, TIOCGWINSZ, 0x7fff90a0) ............................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff9050, 0x7fff9070) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, NULL) ................................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff90d0, NULL) ................................... = 0
Received signal 23, SIGWINCH, in read(), [caught], no siginfo
read(0, 0x7fffe2d0, 1) ....................................................... = 0
sigvector(SIGWINCH, 0x7fff91e0, 0x7fff91f0) .................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff90b0, 0x7fff90d0) ............................... = 0
ioctl(0, TIOCGWINSZ, 0x7fff90a0) ............................................. = 0
sigprocmask(SIG_BLOCK, 0x7fff9050, 0x7fff9070) ............................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, NULL) ................................... = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9050, 0x7fff9070) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff9070, 0x7fff9050) ............................. = 0
sigprocmask(SIG_SETMASK, 0x7fff90d0, NULL) ................................... = 0
read(0, 0x7fffe2d0, 1) ....................................................... [sleeping]
Would sombedoy shed some light on this? THX!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2008 09:11 PM
тАО04-25-2008 09:11 PM
Re: sudo su - takes too long to execute.
>this are the lasts lines of tusc:
read(0, 0x7fffe2d0, 1) ....... [sleeping]
>Would somebody shed some light on this?
It is doing several 1 char reads from stdin. Did you forget to type in your password?
If you are going to use tusc, use:
tusc -fp -o tusc.out command ...
read(0, 0x7fffe2d0, 1) ....... [sleeping]
>Would somebody shed some light on this?
It is doing several 1 char reads from stdin. Did you forget to type in your password?
If you are going to use tusc, use:
tusc -fp -o tusc.out command ...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP