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
0answers
27 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
14 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
142 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
224 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
207 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
44 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
99 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
536 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
92 views

Protobuf 2.5.0 compile error

To compile Hadoop 3.2.0 I needed to first have Protobuf 2.5.0 present. As I am building for AIX 7.1 I have had to build the protocol buffer from the source codes in github. I don't do a lot of ...
0
votes
0answers
24 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 ...
0
votes
0answers
60 views

IBM Edge components IPv4 IPv6 loadbalancer routing traffic to only one backend server

I am using IBM Edge to balance incoming traffic between two IBM IHS Web Servers but all traffic is being routed to only one server. This is an example configuration that I am using: dscontrol set ...
1
vote
0answers
128 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
71 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
89 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
42 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
47 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
48 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
416 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
436 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
41 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
191 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
123 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
59 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
280 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
41 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
4k 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
74 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
2answers
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
3k 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
274 views

AIX: meaning of lslpp type-column

Running lslpp -L yields the following (shortened) output: Fileset Level State Type Description (Uninstaller) -----------------------------------------------------------------...
0
votes
0answers
456 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
294 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
2k 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
14k 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
1k 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
919 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
168 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 ...
0
votes
1answer
581 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 ...
0
votes
1answer
490 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 ...
1
vote
1answer
302 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 ...
1
vote
1answer
599 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 ...
0
votes
3answers
828 views

Zero sized tar.gz file found inside a tar.gz file

My current directory contains a single file like this- $ls -l -rw-r--r-- 1 root staff 8 May 28 09:10 pavan Now, I want to tar and gzip this file like $tar -cvf - * 2>/dev/...
0
votes
2answers
484 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 ...