Questions tagged [aix]

AIX (Advanced Interactive eXecutive, pronounced "ay eye ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
1k views

AIX 7.2 install on QEMU on Windows unable to accept arrow keys

I am currently trying to create an AIX 7.2 image using QEMU on Windows following these steps: http://aix4admins.blogspot.com/2020/04/qemu-aix-on-x86-qemu-quick-emulator-is.html I am now almost at the ...
Renan's user avatar
  • 131
2 votes
0 answers
288 views

AIX sudo rootsh

I'm allowed to do: sudo /usr/bin/rootsh -i -u user Additionally I want do something like: echo 'date' | sudo /usr/bin/rootsh -i -u user Here I get the answer: no tty/pty on stdin: Not a ...
Gerold's user avatar
  • 21
2 votes
2 answers
3k views

Injecting a keypress into a tool started by a bash script

I'm writing a bash script to gather some informations about disks and then start the 'nmon' tool to monitor only those specific disks. I start the nmon tool out of the bash script (with -g). To get ...
user293584's user avatar
2 votes
1 answer
115 views

PuTTY - Stack variables not updating on null line

This is going to be a bit of an odd issue to explain. I'm fairly new to terminal communication as well, being that it is way before my time, so if I mess up any terminology I apologize in advance. ...
JesterXIII's user avatar
1 vote
0 answers
115 views

Is it possible to add a partition table to an existing AIX ISO?

I've followed this tutorial to run an AIX on an x86 system: https://virtuallyfun.com/wordpress/2019/04/22/installing-aix-on-qemu/ One element of the tutorial is to get an AIX system ISO to install the ...
Fitz's user avatar
  • 111
1 vote
0 answers
49 views

Tanuki wrapper multiple unwanted instances

Using Tanuki 3.5.25 software to manage a java8 service we encounter a problem on AIX that can be observed in the following logs: STATUS | wrapper | 2019/09/08 15:07:09 | --> Wrapper Started as ...
AdrianJR's user avatar
1 vote
0 answers
212 views

imfile in rsyslog in AIX servers

AIX server's rsyslog (imfile module) is not forwarding custom application logs from a specific folder that has multiple log files generated each and every day. The log file's name pattern differs. I ...
Nikhil.J's user avatar
1 vote
0 answers
105 views

how many resources nmon command use in AIX?

I need to store in an external repository, every minute (in near realtime mode), the nmon information saved in a temporary file. So what would be the best scenario: 1) every minute I open an ssh ...
Francesco's user avatar
  • 111
1 vote
0 answers
61 views

Change the name of an object within an archive

My company has some software that uses a 3rd party library to interact with an oracle database. It hasn't been tested in a long time, and now that we need to verify that it's working, we can't get ...
mike ray's user avatar
1 vote
0 answers
1k views

AIX lspath doesn't show any output

root@xxxxx:/>lspath root@xxxxx:/>lspath -l hdisk20 lspath: 0514-538 Cannot perform the requested function because the specified device does not support multiple paths. root@xxxxx:/>...
Siddharth's user avatar
1 vote
1 answer
639 views

AIX 6.1 won't boot, I need support for make a report of incident

As I wrote the issue is now solved, but I don't understand what happened and how I've solved it! Now I have to report to my boss what exactly happened. Yesterday, after a task for tuning the ...
ilRobby's user avatar
  • 11
1 vote
0 answers
2k views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
Ajit Nair's user avatar
  • 111
1 vote
0 answers
640 views

install python on AIX no root

I found the python version is old on our cluster. How to install python on AIX without root? Could you provide some guidance. Thanks.
user6048's user avatar
  • 111
1 vote
1 answer
1k views

aix 5.3 cannot execute or load .profile automatically when login

I am using AIX 5.3, after I login as an Oracle user, I got a prompt to ask me to give the oracle home directory. If I manually type in ". .profile", it would work. My AIX team has built this new ...
Dave's user avatar
  • 11
1 vote
0 answers
113 views

AIX: a hotspare hdisk not changing the status to rebuilding

Using AIX 5.3 with TL12 I have configured a hdisk as hostspare in one vg. When I pulled a disk from the same vg it shows missing but the hotspare will never goes to rebuilding state. Your help in ...
AlBouazizi's user avatar
1 vote
0 answers
1k views

vmstat shows incorrect processor idle time

To begin with OS: IBM AIX #oslevel 5.3.0.0 lparstat #lparstat System configuration: type=Shared mode=Uncapped smt=On lcpu=12 mem=12288 psize=16 ent=3.00 %user %sys %wait %idle physc %entc ...
ring bearer's user avatar
1 vote
1 answer
2k views

How to drop the caches on AIX?

I am running a series of tests from a script that have a habit of running a box out of memory. The simple solution on other linux boxes is to echo "3" > /proc/sys/vm/drop_caches but this command doesn'...
Alex Shepard's user avatar
0 votes
0 answers
415 views

Execute sudo su - user on a ssh session

I need to execute sudo su - user on a ssh connection, because sudo su - user -c it's not available in the servers. Is there a way to do it? Thank you for the attention.
Antonio Costa's user avatar
0 votes
0 answers
245 views

find ip address of black box device

I have a device that I need to find the IP address of. I know that the device is an AIX host, but that is all I know. I don't know if the device is on a public or private IP address range, and I don't ...
Enzo Damato's user avatar
0 votes
1 answer
2k views

AIX syslog does not start after changing default port for remotely sending logs

On an AIX 7.2 machine I need to send the syslogs on a different machine and as instructed I have added my log server ip address in the /etc/syslog.conf file like this: kern.debug;mail.debug;daemon....
Stan K's user avatar
  • 25
0 votes
0 answers
52 views

How to get access of all the parameters a user used to call a shell script? Or forbid the use of * as a valid parameter?

I have a shell script that will be a such of a header to be imported by others scripts Its main goal is forbid the user of "*" and "?" as parameters. I've already tried: 1) To get access to the ...
Mauro Matsudo's user avatar
0 votes
0 answers
219 views

I got a SIGILL and JVM crashed when I booted a java application with --agentpath:libxxx.so on AIX 7.1

My dynamic shared library complied with CPPFlAGS: -q64 -G. The compiler version is IBM XL C/C++ for AIX, V11.1 (5724-X13) Version: 11.01.0000.0024 when it was started, then crashed, here is part of ...
Xiluo's user avatar
  • 1
0 votes
1 answer
1k views

Temenos T24 R19 Deployment Error

I have deployed Temenos T24 R19 on WebSphere with Oracle 12C (ExaData) on AIX platform. From Classic mode, I'm able to login to T24. But in T24 Browser, I'm getting below error. [7/25/19 9:11:56:541 ...
DeE DEe's user avatar
  • 101
0 votes
0 answers
120 views

SSH Connection Radio Silence

I have been troubleshooting this issue for quite some time now and I cannot figure out the cause of this issue. We have a job running on an AIX server that uses Perl::SFTP to connect to a Linux RHEL 7 ...
zjposz's user avatar
  • 1
0 votes
1 answer
53 views

need to copy files from one folder to another and then then touch each file to copy the access/modified time

I cant use cp -p because it also copies the user which I don't want and --preserve doesn't work because AIX apparently doesn't support that option? I get an error. Anyways, I just want to do the ...
LeperMessiah's user avatar
0 votes
0 answers
755 views

AIX Command to get LPAR entitlement usage

I would like to know with a command what is the entitlement usage in my LPARs. I have thought to the topas command: save information in a file and send it to datawarehouse. topasrec -L -c 5 -s 60 ...
Francesco's user avatar
  • 111
0 votes
1 answer
1k views

How to check used space for pvdisplay?

In AIX using lspv hdisk0, i am able to get total pps, free pps, used pps TOTAL PPs: 1119 (71616 megabytes) VG DESCRIPTORS: 2 FREE PPs: 272 (17408 megabytes) HOT SPARE: ...
Free Aac's user avatar
0 votes
2 answers
6k views

How can I send email with attachment xls file using shell script as application/xls mimetype without making the received file becoming unreadable

#!/bin/bash ATTACH1=file.xls<br> SUBJECT="subj"<br> [email protected]<br> [email protected]<br> [email protected]<br> MIME="Application/vnd.ms-excel" <br> FILE=$...
RaymonN's user avatar
0 votes
1 answer
8k views

Monitoring Run queue for AIX in NMON

I need to know about Run Queue in AIX and how to find the bottleneck of Run queue. What is the threshold value for Run Queue length?
keerthyshanmugam's user avatar
0 votes
0 answers
580 views

AIX - Memory space error when running script

I run the following: for i in `ls -ld /u03/sss/| awk '{print $9}'` do echo $i for j in `find $i -name "*.gz" | grep $send_sysdate` do count=`gunzip -c $j | wc -l` sum5=`expr $sum5 + $count` done ...
Prashant Nayyar's user avatar
0 votes
1 answer
399 views

Cannot Suspend vi with Ctrl-Z

It's on an AIX 6.1 connected via PuTTY 0.65. If I open a file and hit Ctrl-Z then. It works 1st. But when I switch back and hit Ctrl-Z again. A square cursor jumps to the bottom. I can type something ...
chingNotCHing's user avatar
0 votes
1 answer
4k views

How do you extract a file using tar in AIX?

On a NORMAL Unix distro, tar zxvf works but seems like my machine has some super old version of tar that doesn't have the right parameters. -bash-3.00$ tar zxvf qemu-1.7.0.tar.bz2 Usage: tar -{c|r|t|...
alvas's user avatar
  • 135
0 votes
0 answers
290 views

How to install a Virtual Machine that runs Ubuntu OS on an AIX machine?

I have access to an AIX machine: -bash-3.00$ uname -snlrvmaxupfFM AIX xxxx 109286105 3 5 00068392D900 powerpc IBM,8204-E8A IBM,036568392 040183749F887601 040183749F887600 How could I install an ...
alvas's user avatar
  • 135
0 votes
1 answer
338 views

IBM AIX: How do I set up SSH X forwarding on an unprivileged user with no home?

Long story short: I have an AIX server where my user is unprivileged and has no home directory, and it is not easy to fix this because OS-level management of this server is outside of my jurisdiction. ...
RAKK's user avatar
  • 355
0 votes
2 answers
10k views

Using find with -exec gzip and grep

I have a bunch of zipped up log files and I want to search them all for a string. I tried this but it's not working: find ./ -name "*.log.zip" -exec gzip -dc {} | grep ERROR \; It's giving me: ...
mluisbrown's user avatar
0 votes
0 answers
820 views

apache httpd libapr linking .a .so

Problem I need to compile and install an Apache module on AIX 6.1. This is the module A. The Apache module is available only as source. I manageg to compile the source and the .so module was created,...
Pulak Agrawal's user avatar
0 votes
2 answers
1k views

Is there an equivalent command for kctune | grep max_thread_proc in SunOS and AIX?

I need to find the maximum threads per processor in the following systems. So far 1. Redhat Linux -> cat /proc/sys/kernel/threads-max 2. HPUX 11.31 [ia64] -> kctune | grep max_thread_proc ...
AabinGunz's user avatar
  • 611
0 votes
0 answers
128 views

Overlapping lines in AIX 5.3

When I type commands and hit enter my cursor line for some reason appears on the the second line from the end of the output: tomcat [server] /home/tomcat: ls -l total 24 -rwxr-x--- 1 tomcat dev ...
Dima's user avatar
  • 145
0 votes
2 answers
770 views

bash autocompletion + command history using sudosh on AIX

We configured sudosh on AIX as login shell with /usr/bin/bash as their default shell. All is working fine except bash autocompletion and command history are not working anymore. TAB is TAB, arrows ...
user327292's user avatar