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

learn more… | top users | synonyms

12
votes
14answers
1k views

Why pay for UNIX?

I'm fairly new to Unicies. With the advent of GNU/Linux and BSDs, what are the reasons for companies to prefer AIX, Solaris and other commercial systems?
10
votes
5answers
2k views

Where do you normally keep your UNIX/Linux scripts?

There are numerous scripts that I have written for my server. Some of them are in my ~/scripts and some of them are in application directories. I am just wondering is there a directory that you would ...
7
votes
2answers
1k views

Does SCP lock the file it is transfering?

Have a situation where we have an application log sitting out on an AIX server. The log is being continually written to from the application, and we have users on Windows who want to view the file. ...
5
votes
4answers
2k views

How to tell if a file is older than 30 minutes on AIX?

I'd like to write a shell script in ksh or bash which exits with 1 if a specific file is older than 30 minutes. (Last modification time is older than half hour). It would be easy on a Linux or a ...
5
votes
6answers
15k views

How can I tell what filesystems are on a disk in AIX?

I use the tool "topas" to get a quick peek at CPU, memory, and disk statistics on an AIX machine. I understand the numbers on the disk section, but what I don't know is how to tell which ...
4
votes
5answers
3k views

Unable to remove file using 'rm'

In one of our severs (IBM AIX), we have a file in path /data/1002/ which we were not able to remove or delete using the 'rm' command. The error message we got is "rm: S1208001.002: A file or directory ...
4
votes
3answers
2k views

How to find all executable files? (AIX)

example -rwxr--r-- 1 me users 0 May 27 13:58 file_0 -rw-rwxrw- 1 me users 0 May 27 13:58 file_1 -rw-rw-rwx 1 me users 0 May 27 13:59 file_2 ...
4
votes
4answers
12k views

Patching AIX systems - patches are where? how to apply?

I'm not an AIX guru.....I've been assigned to patch my systems up to the latest patch level. First, where do I get the patches for AIX 5.1 and 5.3? Second, how are they generally installed (i.e. ...
4
votes
5answers
260 views

How to rename libc.a back

I am working on AIX 6.1 and inadvertently renamed /usr/lib/libc.a to usr/lib/libc.a_ Just as I renamed I realized my stupid mistake. Almost all of the commands mv, cp, ftp etc ( except cd ) have ...
4
votes
7answers
5k views

Is it possible and how to mount an AIX disk into Linux?

I have a disk from a AIX server that I need to explore in order to recover some data (the server is down). Is it possible to mount AIX partitions on Linux? How?
4
votes
1answer
187 views

Perl script error: byteloader version mismatch

I have perl script for TSM reporting which was working fine in AIX version 5. After upgrading AIX to version 6, the script is not working. I'm getting this error: byteloader version mismatch expected ...
4
votes
1answer
249 views

Does AIX support Advanced Format (4k sector size) SAN LUNs?

I am working with an EMC XtremIO storage array that utilizes SSD devices that use a native 4 KB sector size instead of the traditional 512 B size. I am attaching an IBM AIX 7.1 server to the array. I ...
4
votes
1answer
896 views

How do I know the old os level in AIX?

I am stuck to find what was the older/previous version of my AIX OS? To find the current OS version we use :- oslevel -s what is the command to find the previous version from which it was ...
4
votes
1answer
113 views

Duplicate PV in VG listing

I have a server that's had a bit of trouble with it's disks (hdisk10/hdisk11/hdisk15 failed, hdisk7 failing) in the past little while but it's happy now. No data loss thankfully as the vanished/stale ...
3
votes
4answers
18k views

How do I tell which AIX version am I running?

How do I tell which AIX version am I running?
3
votes
1answer
2k views

Cheap 'n' easy AIX hosting services? [closed]

I'm working on a product that's written in generic, cross-platform-friendly Java. However, this Java component plugs into a natively-compiled, platform-specific third-party SDK. A potential customer ...
3
votes
2answers
8k views

Alternatives to CURL, WGET

Is anyone aware of any alternatives to curl and wget? The key functional requirement I'm looking for is to be able to execute an HTTPS GET request against a known URL. The reason I'm looking for an ...
3
votes
4answers
3k views

Cannot set target directory when extracting an archive using tar

I'm trying to extract a tar archive to a specific directory. I've tried using -C flag but it doesn't work as expected. Here is the commandline I'm using tar xvf myarchive.tar -C mydirectory/ This ...
3
votes
1answer
3k views

AIX update environment after .profile change

I am running AIX 5.3. I have made changes to a user's .profile file (added a couple of environment variables). Is there a command that I can use to re-process the .profile file for a particular ...
3
votes
1answer
310 views

AIX: is it somehow possible to get a ForeignAddress/PID pair like we are able to get in Linux with netstat?

In Linux (RHEL), we are able to get a ForeignAddress/PID pair with "netstat -ntp" command: [root@rhel ~]# netstat -ntp Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address ...
3
votes
4answers
951 views

Unix and Triggering MS SQL Server Integration Services Jobs

We have an AIX server which contains a lot of data, and once a night we dump that data to CSV for import into MS SQL Server for reporting reasons. At the moment, each step in the process is unlinked, ...
3
votes
1answer
94 views

Best approach to generate and use ssh key pairs

New to ServerFault, but have been on StackOverflow for a few months and loving it. I work on a daily basis on 5 servers I have been setting up for some time now. These servers are all AIX 7.1, and ...
3
votes
2answers
2k views

While loop read multiple lines from a grep

I'm writing a script in AIX 5.3 that will loop through the output of a df and check each volume against another config file. If the volume appears in the config file, it will set a flag which is ...
3
votes
3answers
815 views

Authenticating AIX Users Against OID (Oracle Internet Directory)

We have a need to authenticate local users on an AIX server against OID using LDAP. We have a branch within OID where we've placed and synchronized Active Directory users. We've also configured ...
3
votes
1answer
71 views

How do I properly build a volume group and logical volume for 500GB in AIX?

I've been fiddling around with AIX 5.3.7 for hours today, and I was able to build a VG and LV, but I'm having difficulty using all the space in the LUN I carved out (500GB). I'm not sure if i'm ...
2
votes
3answers
3k views

What is the most similar AIX-like linux/unix OS available? [closed]

The question tells everything :) What is the most similar AIX-like linux/unix that is free and also capable to be installed on a VM so that i can do some practice? I need to do some testing before ...
2
votes
3answers
1k views

Hypervisors that support AIX as a guest OS?

I am trying to find out what hypervisors are out there that can support running AIX guests. I know that IBM PowerVM can do it, but I would like to explore other options. There is also AIX WPARs ...
2
votes
1answer
7k views

What is the rootvg in AIX?

What is the rootvg in AIX? Is it something that is unique to AIX?
2
votes
2answers
692 views

ctrl-v key on AIX

I'm new to AIX and I miss some tricks that work well on other *nix flavors. I need a CTRL sequence in a ksh scripts, like ^[ (CTRL-[) and to do that I'm habit to use the ctrl-v[ , but here it doesn't ...
2
votes
2answers
3k views

ldd equivalent in AIX?

I'm used to do a ldd -d libxxx.so in Linux but it doesn't work in this AIX machine, I looked and I found some places to download the ldd program, but I actually want to know if there is a default ...
2
votes
2answers
112 views

What do the 2 leading underscores indicate in these alias lines for .kshrc?

I am configuring ksh88 on AIX 5.3L and came across a few lines that are supposed to enable the arrow keys for command history navigation. alias __A=$(print -n "\020") alias __B=$(print -n "\016") ...
2
votes
1answer
373 views

AIX 7.1 .kshrc ignored

I've created .kshrc file in my home directory, but all my custom settings are ignored. ENV variable is not set. How can I force ksh to read .kshrc? Here is my .kshrc: set -o emacs export ...
2
votes
3answers
354 views

How can I return to nohup after logout?

I'm working on an AIX and cannot install screen but want to use its capabilities. Basically I want to be able to run a session (maybe logout), then the same user but logged in again to be able to get ...
2
votes
1answer
2k views

Named on AIX (5.3) - DIG won't find hosts without FQDN?

Ok I'm a newb to AIX and Named, so hopfully I'm just missing something easy. :) The goal is to just have smooth DNS lookups in this goofy Windows workgroup/AIX DNS setup (it will change eventually, ...
2
votes
1answer
2k views

VMware or Xen support for AIX on pSeries architecture

I tried to find an explicit confirmation on VMware website if there is any chance we could virtualize AIX running on pSeriese architecture (P5, P6 and P7), but in vain. so far we have only one ...
2
votes
1answer
1k views

NFSv4 permissions on AIX

I am attempting to use an NFSv4 mount across two systems that do not share UID/GIDs. This is for a system migration where the old environment used whatever UID/GIDs were available, and they now ...
2
votes
1answer
338 views

same file different size in Linux and AIX

we have file in Linux and copied to AIX. same file smaller size in AIX. Linux - ext3 file system AIX - jfs2 file system both file systems in same block size 4k size in Linux du -sk ...
2
votes
1answer
202 views

AIX - rename oldest file in a directory

I have a situation where several files may accumulate a folder for some processing and the processing routine can only handle one file at a time, and it must have a specific filename. I need to be ...
2
votes
3answers
4k views

How to install rsync on AIX machine

I have a machine running AIX. I'm looking to install rsync on it. Does rsync support AIX? If so, where might I download it? In case it matters: I will be using rsync to copy a filesystem from my ...
2
votes
1answer
398 views

Re-Configuring TCP IP of an AIX system ( LPAR P770/AIX 5.3)

I have serverA and serverB (AIX LPARS on SystemP) I want to switch hostname and IP configurations between serverA and serverB. Is it enough to perform the changes via smitty mktcpip or do I have to ...
2
votes
4answers
21k views

How can I determine how much memory a process is using in AIX?

How can I determine how much memory a process is using in AIX?
2
votes
1answer
297 views

Bind telnetd to specific IP on AIX 5.3?

Is it possible to bind telnetd to a specific IP on AIX 5.3? I know telnet is evil. Unfortunately, we have to have it listening on one interface for a specific application, but I want to make sure ...
2
votes
2answers
1k views

AIX sed parsing error 0602-404 but works with Linux sed?

I have this sed working in Linux and have a few AIX servers I need to use it on as well but keep getting this error and I can't find any information on it even though it's specific. Got the following ...
2
votes
2answers
964 views

AIX 5.3 On Power4 Hardware Wouldn't Boot

We have a old Power4 server with AIX version 5.3 installed. Upon boot up, it hangs right after the AIX welcome screen. On the diagnostic load progress LED indicator, I saw that it stopped at '0c32' ...
2
votes
2answers
1k views

PS command ouput with fixed width for each column

I am trying to execute some PS commands on IBM AIX and Solaris. The output I get is not properly formatted, I want to see the values for each column with some fixed width. Is there anyway I can ...
2
votes
1answer
1k views

AIX: iscsi volumes disappear after reboot

We have an IBM P505 AIX box, with two internal disks and a defined iSCSI volume. The iSCSI volume is defined in it's own volume group, and is connected to an IBM iSCSI DS3300 disk array via the ...
2
votes
2answers
46 views

IBM WebSphere Application Server SSO does not set REMOTE_USER on Cognos BI 10.2.2

Very similar issue was posted here, I do not believe they are the same. IBM WebSphere Application Server SSO sets REMOTE_USER incorrectly We are running IBM Cognos Business Intelligence Server ...
2
votes
0answers
125 views

Is it possible to check current value of device attribute in AIX 5.3?

In AIX, if i want to change device attribute, i can use 2 different ways: Change attribute and reconfigure device. Attribute will be changed immediately. But if devices is used ( for example, fs ...
2
votes
1answer
53 views

Function body defined in /etc/profile appears in shell history on login

We run IBM AIX here (currently 7100-03-03-1415) that is missing a fair amount of the utility preset in other versions of UNIX. One of the things that we need to do on a semi-regular basis is convert ...
2
votes
1answer
5k views

How do you configure X11 forwarding over SSH on AIX?

Here is what I've tried. I've edited /etc/ssh/sshd_config on the remote AIX system X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes as well as set $DISPLAY DISPLAY=localhost:10.0 export ...