Questions tagged [aix]
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.
292
questions
17
votes
5
answers
158k
views
How do I tell which AIX version am I running?
How do I tell which AIX version am I running?
13
votes
6
answers
15k
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 ...
12
votes
14
answers
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
3
answers
8k
views
How to catch DNS request using 'netstat' in Unix
I am working in a bank where 'netcat' is not there. I am having problem wherein one DNS server of the two going down is causing impact. In order to troubleshoot, I need to catch the request (incoming ...
8
votes
3
answers
34k
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 ...
8
votes
2
answers
4k
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. ...
7
votes
4
answers
57k
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 ...
6
votes
7
answers
14k
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?
6
votes
4
answers
5k
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 ...
6
votes
2
answers
499
views
Is IBM's OS V7R2 the same as AIX?
Im working with a an iSeries Power 7+ server and the operating system is V7R2, is this a version of AIX or a completely different OS?
6
votes
6
answers
43k
views
What is the best TERM type on AIX for use with PuTTY, and which PuTTY settings should be tweaked?
I manage many AIX machines, generally version 5.3.
Basic terminal function works just fine, but it seems like some things don't. For example nmon displays lqqx instead of the line drawing characters.
...
5
votes
3
answers
55k
views
Command to determine type of AIX hardware
I want to know whether the given IBM -AIX box is pseries or iseries.
If there is a command or set of commands that can give me the information for the same.
5
votes
6
answers
33k
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 filesystem(s)...
5
votes
3
answers
18k
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
bash-4.2-11.aix5.1.ppc....
5
votes
2
answers
28k
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 ...
4
votes
5
answers
9k
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
3
answers
6k
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
2
answers
18k
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 ...
4
votes
2
answers
6k
views
How to identify ancient KornShell version?
We had a guy retire on us, and the documentation left behind is a little on the light side. Need a little help identifying and using part an older client-server system.
The server itself is ...
4
votes
3
answers
7k
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 (...
4
votes
4
answers
21k
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
4
answers
58k
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?
4
votes
5
answers
574
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
1
answer
15k
views
What is the rootvg in AIX?
What is the rootvg in AIX? Is it something that is unique to AIX?
4
votes
1
answer
4k
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 ...
4
votes
1
answer
10k
views
Proftpd configuration to run ftp/ftes ftps and sftp at the same time on different port
I have compile version of proftpd 1.3.4d with ftp, ftps, sftp and mysql authentication.
So far I can have working at the same time on port 210: ftp and ftpes and on port 211 the sftp.
ServerName ...
4
votes
5
answers
7k
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
1
answer
292
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
3
answers
20k
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 ...
4
votes
1
answer
2k
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
2
answers
2k
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 upgraded?
...
4
votes
1
answer
315
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 ...
4
votes
1
answer
157
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 ...
4
votes
0
answers
2k
views
TCP connection timeouts that persist - listener queue backlog?
I have an app running on AIX 6.1 that has a single server process that listens for and polls tcp connections and simply forwards on messages to another process using an IPC message queue. It's been ...
3
votes
3
answers
8k
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
2
answers
6k
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
5
answers
10k
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 ...
3
votes
3
answers
8k
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 ...
3
votes
1
answer
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
1
answer
6k
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
1
answer
400
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
1
answer
744
views
How to Migrate LPAR between 2 power trough SAN from VIOs mapped LUN to NPIV
I'm trying to migrate LPAR from a power to another.
Since my company doesn't have any IBM licence for their migration solution I have to do it trough SAN (using IBM SVC and brocade SAN switches).
A ...
3
votes
1
answer
3k
views
List environment variables of a running process on AIX without character limit
Today I was trying to debug an issue where a process was not picking up the correct environmental variable. It took us hours before we realized that it wasn't picking up the correct variable.
I tried ...
3
votes
2
answers
7k
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
2
answers
4k
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 ...
3
votes
1
answer
3k
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 ...
3
votes
4
answers
2k
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
1
answer
379
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
3
answers
996
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
0
answers
365
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 ...