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
2k 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?
11
votes
5answers
3k 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
2k 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. ...
6
votes
4answers
40k views

How do I tell which AIX version am I running?

How do I tell which AIX version am I running?
5
votes
4answers
3k 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
7answers
6k 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?
5
votes
6answers
20k 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
5k 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
4k 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
15k 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
311 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
2answers
12k 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 ...
4
votes
5answers
4k 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 ...
4
votes
1answer
215 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
550 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
1k 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
148 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
3answers
4k 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 ...
3
votes
2answers
4k 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 ...
3
votes
1answer
3k 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
3k 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, ...
3
votes
1answer
3k 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 ...
3
votes
1answer
4k 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
339 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
29k 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?
3
votes
3answers
4k views

RPM ignore conflicts

is there a way to ignore rpm version conflicts by keeping the latest version installed? For example. I want to install gawk in AIX. I have all the required rpms in a folder ...
3
votes
4answers
1k 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
122 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
3k 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
834 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
0answers
45 views

Mirroring on external SCSI and iSCSI disks inside same volume group

On IBM P5 505 (maint level 5300-07) servers there is a concurently accessed external storage, which is connected using external Ultra320 SCSI port (DAS). External storage is detected as hdisk2 which ...
3
votes
1answer
98 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
4answers
22k views

AIX: how to change a password as root without setting the ADMCHG flag?

I'd like to change the password of another user, as root, but don't want the user to be prompted to change their password when the log in. As far as I can tell, any mechanism to change the password ...
2
votes
3answers
2k 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
2answers
7k views

How to do the equivalent of rpm -qf in AIX? (Which package does this file belong to?)

So. I have a binary in /opt/freeware/bin in an AIX PPC machine whose origin I don't know. It could be an RPM -- most open-source AIX RPMs install in /opt/freeware. But no such luck. It must have been ...
2
votes
1answer
9k views

What is the rootvg in AIX?

What is the rootvg in AIX? Is it something that is unique to AIX?
2
votes
2answers
781 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 ...
2
votes
5answers
4k views

How to detect if a machine is virtualized or not

I have Linux, AIX, SunOs & HP-UX machines, I want to detect if the machine is virtual or not. So far I found this article which helped me get this information on Linux: dmesg | grep -i virtual ...
2
votes
2answers
118 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
3k views

Send Apache Access Logs to syslog

We have IBM HTTP Servers (Based on Apache 2.0) and want to send the access logs to syslog. (in addition to error logs which does work) The config we are using is as follows: ErrorLog ...
2
votes
1answer
523 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
3k views

Delete key not working when PuTTYed in to AIX box using Korn shell

I manage an AIX box at work using PuTTY. I'm using ksh in vi-mode. When I press the Delete key (not backspace) the case of following characters is toggled instead of the character under the cursor ...
2
votes
3answers
369 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
101 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
2k 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
444 views

Compiling Apache 2.2.11 on AIX 6.1, .so files not genereated

I am compiling Apache 2 (2.2.11 yeh, Its old...but its a requirement) on AIX 6.1 with GCC 4.2.0. I am using the configure options: ./configure \ --enable-module=rewrite\ --enable-module=log_referer\ ...
2
votes
1answer
453 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
233 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
6k 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
436 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 ...