LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2013, 08:38 AM   #1
f4drvr
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
sudo error


when attempting to su to an application ID, get the following error message

su: cannot set user id: Resource temporarily unavailable

anyone know the root cause. in the past, rebooting the system has fixed it for a short period of time
 
Old 09-18-2013, 09:19 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by f4drvr View Post
when attempting to su to an application ID, get the following error message

su: cannot set user id: Resource temporarily unavailable

anyone know the root cause. in the past, rebooting the system has fixed it for a short period of time
You don't tell us what application ID you're trying to use, on what version/distro of Linux, what application(s) that server is running, in what environment. There's no way for us to even guess without any useful details.

Wild guess: check your ulimits.
 
Old 09-18-2013, 12:28 PM   #3
f4drvr
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Sorry Redhat 6.3 2.6.32-279.22.1.el6.x86_64 running on vmware attempting to su to a vtier account ID. the only application running on the server is Websphere WAS 8.5, Java is 1.7
 
Old 09-18-2013, 01:34 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
on RHEL6 "sudo" is not normally set up
you have to do that if you want to use sudo to allow some people SOME of the root access to SOME programs

by default you use "su" and "su - "
 
1 members found this post helpful.
Old 09-18-2013, 01:41 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by f4drvr View Post
Sorry Redhat 6.3 2.6.32-279.22.1.el6.x86_64 running on vmware attempting to su to a vtier account ID. the only application running on the server is Websphere WAS 8.5, Java is 1.7
Ok...so as suggested, check your ulimits for that user. The user has probably reached their limit for max processes as specified in etc/security/limits.conf.

As root, these commands can give you a clue as to the the number of processes and of open files for the given user:

ps -U username | wc -l
lsof | grep username | wc -l

Again, to fix the issue, you have to increase the soft limit in the /etc/security/limits.conf file.


Also, you're using Red Hat Enterprise on VMware with Websphere...every piece is a commercial, pay-for product. Have you contacted Red Hat or IBM support, since you're paying for it?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
sudo to solve this error "tar: Error exit delayed from previous errors" ? xombboxer Linux - Newbie 7 03-13-2012 02:26 AM
[SOLVED] error of sudo sandyrouge Linux - Newbie 4 03-07-2011 11:33 PM
sudo error mouse46 Ubuntu 7 03-07-2009 06:20 AM
sudo gethostbyname() error angustia Debian 2 03-26-2004 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration