Operating System - HP-UX
1771272 Members
1914 Online
109004 Solutions
New Discussion юеВ

Re: URGENT: Check Disk quotas

 
Ahmed M. AlShafiy
Regular Advisor

URGENT: Check Disk quotas

when i try to connect to oracle application user or oracle user it give me this message:

please checking for disk quotas
22 REPLIES 22
Ahmed M. AlShafiy
Regular Advisor

Re: URGENT: Check Disk quotas

i try to switch user under root user to the applmgr user but it go to the next line and there is no response.


and when i try to connect thru reflation X
i get this message:

Last successful login for applmgr: Sun Apr 2 10:38:27 MST7MDT 2006 on pts/7
Last unsuccessful login for applmgr: Mon Feb 6 12:09:33 MST7MDT 2006 on pts/1
Please wait...checking for disk quotas
Greg Vaidman
Respected Contributor

Re: URGENT: Check Disk quotas

the message you see is normal. if you never get back to a shell prompt, it's likely something else in your profile that is causing the problem. check the .profile of the user who is having this problem.
john korterman
Honored Contributor

Re: URGENT: Check Disk quotas

Hi,

There could be many reasons for this behaviour, for instance that the max. limit of processes for a particular user is reached.
Try checking the number of active processes for the oracle user:
# ps -ef | grep oracle| wc -l
and compare that to the kernel parameter maxuprc.

regards,
John K.
it would be nice if you always got a second chance
Ahmed M. AlShafiy
Regular Advisor

Re: URGENT: Check Disk quotas

this what i have:

# ps -ef | grep oracle|wc -l
2
# ps -ef | grep applmgr|wc -l
3


what is the way to kill it safe or foce it to be kill coz i try thru SAM but don not kill it.
john korterman
Honored Contributor

Re: URGENT: Check Disk quotas

Hi,

judging from your feedback the problem is definitely not that the system has reached the max limit for user processes; hence there is no need for killing any oracle processes.
My guess was wrong.

I suggest two other apporaches:
Investigate what causes the login sequence for oracle to hang. If oracle is a sh/ksh/posix shell user, try this as root:
# sh -x ~oracle/.profile
and see how far you get: I assume that you must get stuck somewhere.

Check also /var/adm/syslog/syslog.log and root's mail for unusual messages.

regards,
John K.
it would be nice if you always got a second chance
Ahmed M. AlShafiy
Regular Advisor

Re: URGENT: Check Disk quotas

when i run the command:
#sh -x ~oracle/.profile ==> i get ==>

+ eval export TERM; TERM=xterm;
+ export TERM
+ TERM=xterm
+ stty erase ^H kill ^U intr ^C eof ^D
+ stty hupcl ixon ixoff
+ tabs
+ set -u
+ trap echo 'logout' 0
+ EDITOR=vi
+ export EDITOR
+ umask 022
+ ORACLE_TERM=vt220
+ export ORACLE_TERM
+ . /oranas/oracle/nasdb/8.1.7/NAS.env
+ ORACLE_HOME=/oranas/oracle/nasdb/8.1.7
+ export ORACLE_HOME
+ PATH=/oranas/oracle/nasdb/8.1.7/bin:/usr/ccs/bin:/usr/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mozilla:/opt/mx/bin:/usr/sbin/diag/contrib:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:/opt/aCC/bin:/opt/langtools/bin:/sbin:/home/root
+ LD_LIBRARY_PATH=/oranas/oracle/nasdb/8.1.7/lib:/usr/dt/lib:/usr/openwin/lib
+ LIBPATH=/oranas/oracle/nasdb/8.1.7/lib:/usr/dt/lib:/usr/openwin/lib
+ LINK_CNTRL=L_PTHREADS_D7
+ SHLIB_PATH=/oranas/oracle/nasdb/8.1.7/lib:/usr/lib
+ TNS_ADMIN=/oranas/oracle/nasdb/8.1.7/network/admin/NAS
+ export PATH LD_LIBRARY_PATH SHLIB_PATH LIBPATH LINK_CNTRL TNS_ADMIN
+ unset TWO_TASK
+ unset ORA_NLS33
+ ORACLE_SID=NAS
+ export ORACLE_SID
+ NLS_LANG=American_America.AR8MSWIN1256
+ export NLS_LANG
+ NLS_DATE_FORMAT=DD-MON-RR
+ export NLS_DATE_FORMAT
+ NLS_NUMERIC_CHARACTERS=.,
+ export NLS_NUMERIC_CHARACTERS
+ NLS_SORT=binary
+ export NLS_SORT
+ echo logout
logout
#

john korterman
Honored Contributor

Re: URGENT: Check Disk quotas

Hi again,

sorry, I have not been as attentive as I should have been!
The problem concerns of course not the oracle user, but the applmgr user.
If his shell is the same as for the oracle user, try this check:
# sh -x ~applmgr/.profile

which then must hang somewhere?!

regards,
John K.

it would be nice if you always got a second chance
Bill Hassell
Honored Contributor

Re: URGENT: Check Disk quotas

When this message occurs just prior to a hang, it is quite often a bad filesystem, most likely an NFS mounted filesystem from another computer. The same hang will usually occur with bdf too. Does bdf hang? Do you hsve NFS mounts?


Bill Hassell, sysadmin
Ahmed M. AlShafiy
Regular Advisor

Re: URGENT: Check Disk quotas

it dose not hang and the result for the command:

#sh -x ~applmgr/.profile

+ test /oranas/applmgr/nascomn =
+ test a != s
+ test ! -d /oranas/applmgr/nascomn
+ test NAS.env = adsetenv.sh
+ + echo OAM_TOP:s
+ awk -F: {print $1}
adov_var_name=OAM_TOP
+ + echo OAM_TOP:s
+ awk -F: {print $2}
adov_check_type=s
+ eval adov_var_value=$OAM_TOP
+ adov_var_value=/oranas/applmgr/nascomn/java/oracle/apps
+ test /oranas/applmgr/nascomn/java/oracle/apps =
+ test s != s
+ + echo CLASSPATH:s
+ awk -F: {print $1}
adov_var_name=CLASSPATH
+ + echo CLASSPATH:s
+ awk -F: {print $2}
adov_check_type=s
+ eval adov_var_value=$CLASSPATH
+ adov_var_value=/oranas/applmgr/nascomn/util/jre/1.1.8/lib/rt.jar:/oranas/applmgr/nascomn/util/jre/1.1.8/lib/i18n.jar:/oranas/applmgr/nascomn/java/appsborg.zip:/oranas/applmgr/nascomn/java/apps.zip:/oranas/applmgr/nasora/8.0.6/forms60/java:/oranas/applmgr/nascomn/java
+ test /oranas/applmgr/nascomn/util/jre/1.1.8/lib/rt.jar:/oranas/applmgr/nascomn/util/jre/1.1.8/lib/i18n.jar:/oranas/applmgr/nascomn/java/appsborg.zip:/oranas/applmgr/nascomn/java/apps.zip:/oranas/applmgr/nasora/8.0.6/forms60/java:/oranas/applmgr/nascomn/java =
+ test s != s
+ + echo LD_LIBRARY_PATH:s
+ awk -F: {print $1}
adov_var_name=LD_LIBRARY_PATH
+ + echo LD_LIBRARY_PATH:s
+ awk -F: {print $2}
adov_check_type=s
+ eval adov_var_value=$LD_LIBRARY_PATH
+ adov_var_value=/oranas/applmgr/nasora/8.0.6/network/jre11/lib/PA_RISC/native_threads::/oranas/applmgr/nasora/8.0.6/lib:/usr/lib
+ test /oranas/applmgr/nasora/8.0.6/network/jre11/lib/PA_RISC/native_threads::/oranas/applmgr/nasora/8.0.6/lib:/usr/lib =
+ test s != s
+ test No = Yes
+ test HP9000S800 != M88OPEN
+ adov_unset_it=unset
+ eval unset adov_check_vars
+ unset adov_check_vars
+ eval unset adov_bad
+ unset adov_bad
+ eval unset adov_loop_index
+ unset adov_loop_index
+ eval unset adov_var_name
+ unset adov_var_name
+ eval unset adov_check_type
+ unset adov_check_type
+ eval unset adov_var_value
+ unset adov_var_value
+ eval unset oa_htmlbin
+ unset oa_htmlbin
+ test HP9000S800 != M88OPEN
+ unset adov_unset_it
+ FORMS60_WEB_CONFIG_FILE=/oranas/applmgr/nascomn/html/bin/appsweb.cfg
+ export FORMS60_WEB_CONFIG_FILE
+ REPORTS60_PRE=&5555
+ export REPORTS60_PRE
+ REPORTS60_POST=&5556
+ export REPORTS60_POST
+ export PERL5LIB=/oranas/applmgr/nasora/iAS/Apache/perl/lib/5.00503/PA-RISC2.0:/oranas/applmgr/nasora/iAS/Apache/perl/lib/5.00503
+ echo logout
logout