Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
169 views

AIX find file age in seconds no -printf with find

AIX 7.2 Looking to recreate the below on AIX. find /etc -maxdepth 1 -iname "*conf" -type f -mmin +5 -printf '%p;%T@\n' | awk -F ';' -v time="$( date +%s )" '{ print $1";&...
mdtoro's user avatar
  • 13
1 vote
1 answer
2k views

Find command in IBM AIX

I would verify that files in the location listed may not have both the other-write and any execute permissions set. This requirement to be applied recursively to files contained within subdirectories. ...
medisamm's user avatar
  • 113
0 votes
0 answers
522 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
2 answers
2k views

Error when trying to execute command with sudo su - user -- command

I am facing a problem when trying to execute a command using another user. If I do this sudo su - user direct Works perfectly Now if I do this sudo su - user -c direct I face this error -bash: ...
Antonio Costa's user avatar
0 votes
0 answers
320 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
2 votes
0 answers
137 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
  • 121
1 vote
1 answer
193 views

Need help in Installing apache in AIX7.1

I want to install apache 2.4.x in our AIX server which is having apache1.x that was installed very long back. I downloaded the apr & apr utils in sourcelib of apache then downloaded pcre and tried ...
Abdur rasheed S's user avatar
4 votes
6 answers
2k views

Find top N oldest files without printf in find command on AIX system

I am trying to find a solution similar to the one used below to find the Top N oldest files (modification time) on my AIX system starting from a given directory and digging through all sub-directories ...
pchegoor's user avatar
  • 151
1 vote
1 answer
3k views

Command to get SHA384, 256 and SHA512 hashes in AIX servers

For AIX servers to get the MD5 and SHA1 hashes, I am able to use the command: csum -h MD5 file1 csum -h SHA1 file1 But how to use the same command to get sha256, 384, 512 hashes ? Or is there some ...
dig_123's user avatar
  • 575
0 votes
1 answer
624 views

AIX 7.x inetd and tcp wrappers using chsubserver

Greetings all the guru's and those who have knowledge I am yet to gain and share. Sometime ago I configured TCP Wrappers on my AIX 7.1 & 7.2 LPAR's and it works great once you get the nuances ...
milegrin's user avatar
  • 131
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
1 vote
0 answers
55 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
2 answers
1k views

AIX 6.1 SFTP: Allow chroot'd user to access files in location outside their home

Long-winded first posting, I have tried to be succint while providing details. I am working on an AIX 6.1 server where SFTP (via WinSCP) is already used by several service accounts to access files in ...
Nick Clifton'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
1 answer
2k views

How using sed on AIX differs from using it on linux

I know that -i option doesn't exist in sed for AIX but recently I've bumped into a different issue when trying to edit the /etc/services file in AIX. I need to replace a line from this file so for ...
Stan K's user avatar
  • 25
0 votes
0 answers
55 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
243 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
125 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
1 vote
1 answer
759 views

Imfile in rsyslog running on AIX Server 7.2

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 ...
Sivaguru's user avatar
1 vote
0 answers
230 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
0 votes
1 answer
273 views

AIX migration stuck on 3% (IBM Power 740)

I'm trying to migrate AIX 7.1.5.4 to 7.2.0.0. using Base Install iso image. For exapmle, using this tutorial, I get stuck on preparation step saying progress is on 3% on "Preserving old data" step ...
Andrew's user avatar
  • 1
0 votes
1 answer
60 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
1 answer
292 views

shell: pgp: not found

I installed pgp on one of my AIX machines (AIX 7.2). When I try to run pgp from my id I get the below error: $ pgp shell: pgp: not found. But this works as expected using root account. Can ...
Anand's user avatar
  • 31
1 vote
0 answers
108 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
0 votes
0 answers
839 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
1 vote
0 answers
63 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
2 votes
0 answers
298 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
0 votes
1 answer
344 views

Formatting multiple drives on AIX

I originally got help here to figure out how to remove multiple drives from a list. I now would like to try and use that same sort of code to format multiple drives with a loop. for i in `lsdev -Cc ...
Jakekq's user avatar
  • 3
1 vote
1 answer
71 views

Setting up DNAT servers

Hi i have trouble connecting to server that i had setup with DNAT configuration. i have two listening servers 145.217 and 145.241 both have configured their gateway ip same as my loadbalancer ip 145....
user1852471's user avatar
1 vote
1 answer
810 views

Creating users across all cluster nodes

Is there a way to add a user across all cluster nodes via command line? I have the manual instructions from IBM here (and listed below) and found instructions for listing the users (cl_lsuser), but ...
duck's user avatar
  • 115
0 votes
2 answers
49 views

UNIX owner 42286?

An AIX 6.1 server with a NFS share mounted worked for years but then changed owner on all of the files and folders on the mount from sbladmin to a 5 digit code: 42286. It didn't change the group but ...
Al Zuun's user avatar
0 votes
1 answer
2k views

Removing multiple hdisk from smitty->devices ->fixed disk-> remove

Original Code that I saw I want to do the same thing but need to make sure i dont delete hdisk0 since this is my OS. photo of drives being deleted.
Jakekq's user avatar
  • 3
2 votes
1 answer
9k views

How to Identify automount mount path

I need to know all the mount points monitored by autofs/automount. I came across "automount -m" to dumpmaps and "/etc/init.d/autofs status" in the older versions. But these commands doesn't work ...
user12345's user avatar
  • 121
0 votes
1 answer
125 views

Can SU group be used on Suse as it is AIX?

I'm the admin of a large AIX environment. I utilize the SU Group attribute for users to determine who can access root, even if they know the password. If they are not in the root group then access is ...
C. Rice's user avatar
2 votes
4 answers
4k views

AIX service account - how to find who is locking it

I have a non-expiring service account on an AIX server. I use the account to connect to my database. Every couple of weeks some user or task tries to connect to the account with the wrong password, ...
Payson's user avatar
  • 21
0 votes
2 answers
7k 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
4 votes
1 answer
396 views

AIX: meaning of lslpp type-column

Running lslpp -L yields the following (shortened) output: Fileset Level State Type Description (Uninstaller) -----------------------------------------------------------------...
Per's user avatar
  • 383
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
2 answers
209 views

Deleting filtered files in Aix using Script

I need help in deleting files in one of my directories in Aix. In deletion, manually, I am using the command: to list the files: find . -mtime +5 -type f Then, if the listed files are good to ...
Jhey's user avatar
  • 1
0 votes
0 answers
590 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
2 answers
159 views

Is it possible to make UNIX FTP client and CentOS VSFTPD server working together?

I have a UNIX bull AIX client with ftp installed and a CentOS 6.2 server with vsftpd installed. Can the client connect to the server ? Cause it seems that the vsftpd server is refusing all ...
TheFrenchGuy's user avatar
0 votes
1 answer
413 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
1 vote
1 answer
6k views

String replacement shell script on AIX

I am using AIX, and there is not an -i option available in the version of sed I am using: sed: illegal option -- i Usage: sed [-n] Script [File ...] sed [-n] [-e Script] ... [-f Script_file] ...
Grv's user avatar
  • 115
0 votes
5 answers
5k views

Extract filename from file using shell script

I have a text file which has the following line: /u/tux/abc/spool/frtbla_mcdetc_0000149099_20101126135009990_1.tif I want to extract frtbla_mcdetc_0000149099_20101126135009990_1.tif; the word after ...
Grv's user avatar
  • 115
2 votes
3 answers
21k views

AIX - how to change user shell to bash?

I want to know how I can run bash automatically when I log into my AIX server. How can I do that without having to type bash every time I log into my AIX server?
Mercer's user avatar
  • 125
0 votes
1 answer
2k views

AIX 7.1 Create another user with equal privileges as root and then disable root user

I've got a weird, stupid question. I've used linux for a long time, but I know AIX is different in certain places, so my question is if I wanted to disable the root user at least from remote login I ...
user2366949'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
2k views

Verify current routing table matches AIX ODM

My task is to verify that all current routes will be preserved after a reboot of AIX 6.1 and 7.1 systems, i.e., I want to verify the system will reboot and build the current routing table with a ...
iAmJeff's user avatar
  • 142