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
0 answers
26 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 ...
user avatar
  • 111
1 vote
1 answer
80 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 ...
user avatar
2 votes
4 answers
612 views

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

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 though all sub-directories ...
user avatar
  • 131
1 vote
1 answer
505 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 ...
user avatar
  • 536
0 votes
1 answer
340 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 ...
user avatar
3 votes
0 answers
629 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 ...
user avatar
  • 131
1 vote
0 answers
32 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 ...
user avatar
1 vote
2 answers
595 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 ...
user avatar
0 votes
1 answer
1k 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....
user avatar
  • 25
0 votes
1 answer
856 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 ...
user avatar
  • 25
0 votes
0 answers
51 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 ...
user avatar
0 votes
0 answers
151 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 ...
user avatar
  • 1
0 votes
1 answer
888 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 ...
user avatar
  • 101
0 votes
0 answers
81 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 ...
user avatar
  • 1
1 vote
1 answer
342 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 ...
user avatar
1 vote
0 answers
134 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 ...
user avatar
0 votes
1 answer
137 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 ...
user avatar
  • 1
0 votes
1 answer
45 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 ...
user avatar
0 votes
1 answer
115 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 ...
user avatar
  • 11
1 vote
0 answers
73 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 ...
user avatar
  • 111
0 votes
0 answers
523 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 ...
user avatar
  • 111
0 votes
1 answer
706 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: ...
user avatar
1 vote
0 answers
55 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 ...
user avatar
2 votes
0 answers
244 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 ...
user avatar
  • 21
0 votes
1 answer
268 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 ...
user avatar
  • 3
1 vote
1 answer
66 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....
user avatar
1 vote
1 answer
448 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 ...
user avatar
  • 115
0 votes
2 answers
46 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 ...
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.
user avatar
  • 3
2 votes
1 answer
6k 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 ...
user avatar
  • 121
0 votes
1 answer
81 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 ...
user avatar
2 votes
3 answers
2k 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, ...
user avatar
  • 21
0 votes
2 answers
5k 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> FROM=me@domain.com<br> TO=you@domain.com<br> CC=them@domain.com<br> MIME="Application/vnd.ms-excel" <br> FILE=$...
user avatar
4 votes
1 answer
316 views

AIX: meaning of lslpp type-column

Running lslpp -L yields the following (shortened) output: Fileset Level State Type Description (Uninstaller) -----------------------------------------------------------------...
user avatar
  • 313
0 votes
0 answers
510 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 ...
user avatar
0 votes
2 answers
157 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 ...
user avatar
0 votes
1 answer
310 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 ...
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] ...
user avatar
  • 15
0 votes
5 answers
4k 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 ...
user avatar
  • 15
2 votes
2 answers
17k 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?
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 ...
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:/>...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 142
1 vote
2 answers
3k views

Can I manually replace password hashes in the AIX /etc/security/passwd file?

Can I safely replace the password hash in the AIX /etc/security/passwd file? Are there any AIX quirks that would stand in the way of me just using vi to replace the hash? I want to consolidate the ...
user avatar
  • 142
1 vote
2 answers
4k views

AIX 5.3 Tar - Exctact to a different directory

I am trying to extract a untar a file to a different directory on a AIX 5.3 box tar -xvf -C /tmp/ ./MyFile.tar tar: -C: No such file or directory tar -C /tmp -xvf ./MyFile.tar Usage: tar {c|r|t|u|...
user avatar
  • 113
0 votes
1 answer
208 views

Using chuser and stopudt without root

I am trying to create a user account that can preform certain commands via command line without having to login as root. The commands I want to run are stopudt, chuser, chpasswd. What I have tried is ...
user avatar
  • 115
1 vote
1 answer
3k views

Password less ssh AIX Linux

I tried to configure password less SSH from AIX to Linux. I executed the command. scp .ssh/id_rsa.pub root@10.170.163.74:/root/.ssh/authorized_keys When I execute the command and try to connect from ...
user avatar
0 votes
1 answer
796 views

cd to newest directory

Not strictly bash, but rather Bourne shell if possible. How can I programmatically cd to the newest directory? I want to install the latest package of whatever software, which is located in the newest ...
user avatar
  • 2,064
0 votes
1 answer
654 views

Cron jobs on IBM i 7.1

I just found out today that on an IBM i system I am able to use SSH to get to a Unix-like terminal (AIX/PASE) and would like to use this to schedule automated tasks using crontab. Does anyone know if ...
user avatar
  • 206
1 vote
1 answer
322 views

How to store password for switch user in my .profile

I usually connect to my AIX server using putty via my regular account and then do "su - otherAccount". This way I've to enter password twice, one for my account and one for the otherAccount. I've ...
user avatar
  • 111