服务器 频道

AIX常见问题整理 (6)

  【IT168 服务器学院】如何解决"device busy"问题
  
  环境 产品: AIX
  平台: RS6000
  
  问题 如何解决"device busy"问题
  解答 当我们对网络或网卡进行操作时,经常会遇到"device busy", 而不让我们进行操作.
  
  例如:
  
  rmdev -l ent1
  Method error (/etc/methods/ucfgdevice):
  0514-062 Cannot perform the requested function because the
  specified device is busy.
  
  1.首先我们要确认网络接口已经"down"及 "detached".
  使用以下脚本文件可以"down"及"detach"所有TCP/IP网络接口.
  
  interfaces=`lsdev -Cc if -F name | grep -v lo0`
  for interface in $interfaces
  do
  ifconfig $interface down
  ifconfig $interface detach
  done
  
  2. 检查是否下列应用正在运行:
  
  1) SNA : lssrc -g sna (检查SNA是否运行)
  stopsrc -g sna(中断)
  stopsrc -f -s sna(强行中断)
  如果以上两条命令都不起作用: /usr/bin/sna -stop sna -t forced
  如果仍不能中断: /usr/bin/sna -stop sna -t cancel
  
  2) IPX: ps -ef |grep npsd
  ps -ef |grep sapd (IPX是否运行)
  /usr/lpp/netware/bin/stopnps (中断)
  
  3) Netbios: ps -ef | grep netbios (是否运行)
  mcs0 unload (中断)
  
  
  以上步骤对于大部分"device busy"问题都可解决.
  
  
  
  IPCS Limitation
  
  环境 产品: RS/6000;
  平台: AIX 3.2.5 -- AIX 4.3.2
  问题 IPCS Limitation
  解答 本文列示了从AIX 3.2.5 到 AIX 4.3.2版本中,信号量(Semaphore)/消息队列(Message Queue)/共享内存(Shared Memory)
  的限定值。这些数值在AIX系统中是动态调整的,不需人工干预。
  
  
  AIX VERSIONS 3.2.5 4.2.x 4.3.0 4.3.1 4.3.2 ------ ------ ------ ------ ------Semaphores:Maximum number of semaphore IDs 4096 4096 4096 4096 131072Maximum semaphores per semaphore ID 65535 65535 65535 65535 65535Maximum operations per semop call 1024 1024 1024 1024 1024Maximum undo entries per process 1024 1024 1024 1024 1024Size in bytes of undo structure 8208 8208 8208 8208 8208Semaphore maximum value 32767 32767 32767 32767 32767Adjust on exit maximum value 16384 16384 16384 16384 16384 Message Queues: Maximum message size 65535 4MB 4MB 4MB 4MBMaximum bytes on queue 65535 4MB 4MB 4MB 4MB Maximum number of message queue IDs 4096 4096 4096 4096 131072Maximum messages per queue ID 8192 524288 524288 524288 524288 Shared Memory:Maximum segment size 256MB 256MB 256MB 2GB 2GBMinimum segment size 1 1 1 1 1 Maximum number of shared memory IDs 4096 4096 4096 4096 131072Maximum number of segments per process 10 11 11 11 11
  
0
相关文章