People who code: we want your input. Take the Survey

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
0
votes
0answers
17 views

What tests can I run to test the integrity and consistency of a Python installation?

I'm preparing to pitch an upgrade of the Python interpreter on my client's IBM AIX machines, since the current installation is severely obsolete (v2.5). I'll have to use the AIX tool installp to ...
1
vote
0answers
18 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 ...
1
vote
1answer
30 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 ...
2
votes
4answers
349 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 ...
1
vote
1answer
46 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 ...
0
votes
0answers
331 views

Using /dev/tcp in Bash script to send a POST request to RESTful API and process the result in json

I am using bash script to send POST request to RESTful API and would process the result in json. (curl, netcat wget are not available...) POST request should be in FORM and the API will return with a ...
0
votes
0answers
8 views

How to maximize RSYNC 3.1.3 real throughput across a 10 GigE network

Using RSYNC to replicate many TB of files from an AIX server across country to another AIX server. My other current method uses /usr/bin/tar over a Connect:Direct (NDM) pipe, and can hit and sustain ...
0
votes
1answer
198 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 ...
1
vote
0answers
340 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 ...
1
vote
0answers
18 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 ...
1
vote
2answers
440 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 ...
0
votes
1answer
679 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....
0
votes
1answer
599 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 ...
0
votes
0answers
47 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 ...
0
votes
0answers
138 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 ...
0
votes
1answer
767 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 ...
0
votes
0answers
56 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 ...
1
vote
1answer
247 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 ...
1
vote
0answers
88 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 ...
0
votes
1answer
107 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 ...
0
votes
1answer
43 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 ...
0
votes
1answer
70 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 ...
1
vote
0answers
60 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 ...
0
votes
0answers
482 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 ...
0
votes
1answer
613 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: ...
1
vote
0answers
45 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 ...
2
votes
0answers
221 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 ...
0
votes
1answer
231 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 ...
1
vote
1answer
62 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....
1
vote
1answer
357 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 ...
0
votes
2answers
45 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 ...
0
votes
1answer
1k 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.
2
votes
1answer
5k 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 ...
0
votes
1answer
77 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 ...
2
votes
3answers
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, ...
0
votes
2answers
4k 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=$...
4
votes
1answer
301 views

AIX: meaning of lslpp type-column

Running lslpp -L yields the following (shortened) output: Fileset Level State Type Description (Uninstaller) -----------------------------------------------------------------...
0
votes
0answers
493 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 ...
0
votes
2answers
155 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 ...
0
votes
1answer
303 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 ...
1
vote
1answer
5k 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] ...
0
votes
5answers
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 ...
2
votes
2answers
16k 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?
0
votes
1answer
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 ...
1
vote
0answers
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:/>...
1
vote
1answer
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 ...
1
vote
2answers
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 ...
1
vote
2answers
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|...
0
votes
1answer
189 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 ...
1
vote
1answer
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 ...