Tagged Questions

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

1
vote
0answers
501 views

AIX multihomed multicast

On my AIX machine if I run netstat -ia I get: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0 ...
6
votes
2answers
854 views

How to mass change password attributes in AIX uname -rv=3 5 for all users but root

I want to do a mass change on all users but root in AIX for the following "password attributes": Weeks before password reuse: 15 Password min length: 6 Can it be done, or do I need to do them one ...
1
vote
3answers
734 views

What should a Linux Server Admin know about Solaris and AIX

I'm being considered for a new Linux Server Engineer position, but I'm told by an insider that there is a little Solaris and AIX in-house. I spend most of my time in the Debian Family, have some ...
3
votes
1answer
1k views

How do I know that FXP is enabled or not? (AIX FTPD)

# grep -i ftp inetd.conf ftp stream tcp nowait root /usr/sbin/ftpd # oslevel -s 6100-06-05-1115 So I have an AIX 6 server. How can I check if FXP is enabled on the FTPD or ...
3
votes
1answer
1k views

Unset Read Only Variables

Is it possible to unset or change a readonly variable in Korn Shell? I am using AIX 5.
5
votes
2answers
779 views

Immutable bit on AIX?

Under Linux I can: chattr +i SOMEFILE so that even root can't modify the SOMEFILE. Are there any similar solutions for AIX?
0
votes
1answer
66 views

what does “serial=${serial##*.}” do? [duplicate]

Possible Duplicate: How do ${0##/} and ${0%/} work? 0:root@SERVER:/ # 0:root@SERVER:/ # serial=$(lscfg -vl hdisk1 | awk '/Serial Number/') 0:root@SERVER:/ # echo $serial ...
4
votes
3answers
580 views

AIX won't stop creating random .nfsXXXX files

I am trying to delete some files and folders, but I can't because the system keeps re-creating the files. All these files are named .nfsXXXX, where XXXX is some random 4-character hexadecimal ...
2
votes
3answers
5k views

How to get free memory on AIX?

How can I see the free memory on an AIX? There is no free -m under it. AIX oslevel: 6100-03-03-0943
0
votes
3answers
741 views

How to fix bad mirroring on AIX?

So mirroring is bad: 0:root@SERVER:/root # lslv -m hd2 hd2:/usr LP PP1 PV1 PP2 PV2 PP3 PV3 0001 0209 hdisk30 0322 hdisk32 0002 0210 hdisk30 ...
1
vote
2answers
1k views

put tab before every output line on AIX/ksh

0:root@SERVER:/root # echo "something" | sed -e 's/^/\t/g' tsomething 0:root@SERVER:/root # AIX/ksh .. why doesn't it works? I just want to put a "tab" before every line!
2
votes
1answer
2k views

Why my $PATH is not inherited by the invoked bash?

I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usually I start my session from exec ...
1
vote
1answer
2k views

What to do after a kernel panic on AIX?

There was a "kernel panic" - at least sort of. errpt | head IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION A6DF45AA 1205044411 I O RMCdaemon The daemon is started. 67145A39 1205044111 ...
1
vote
1answer
961 views

Crash and exit code 721035

Where can I find what this exit code means? I have process (A) that calls program (B) using clib system(). Sometimes program (B) returns with exit code 721035 and AIX kills process A. This is random ...
3
votes
2answers
6k views

Will a users password expire if I set the “maxexpired” to “-1”? [maxage not 0] - AIX

So under AIX 6, according to "lsuser" the user has the following settings: maxexpired=-1 maxage=2 So this means that 2 weeks after the last password update of the user the password will expire, but ...
2
votes
0answers
472 views

Enabling multicast communication between 2 AIX JVM processes

I'm having trouble with multicast distribution on a single AIX machine between two JVM processes. Think ehcache or jgroups. In order to enable on Mac OS X: route add -net 224.0.0.0 -interface lo0 ...
3
votes
1answer
951 views

Why does a user get prompted for password under AIX?

Users get prompted for password, and according to the lsuser -f username output: expires=0 maxexpired=-1 maxage=13 users shouldn't be prompted for changing password. Why does he has a change ...
1
vote
1answer
5k views

How to decrease the size of a logical volume/fs aix?

oslevel -s 6100-03-03-0943 IF I have a Logical Volume that I need to shrink, then how can I do it? [there could be several FileSystems on it...]. What is the process?
0
votes
3answers
24k views

How to check that a user/password is expired in AIX?

I can check that the user is expired or not with: lsuser -f USERNAME | fgrep expires But how can I check that the user's password is expired or not? Are there any other "expiring" things that can ...
2
votes
3answers
1k views

How to shut down or reboot a machine? [on different OSes]

What parameters do the "shutdown" command [or other command?] NEED, TO BE SURE that the machine reboots or shuts down for SURE? e.x.: version for Linux: # cat /etc/SuSE-release SUSE Linux ...
13
votes
3answers
7k views

Getting size with du of files only

How can I get the size of all files and all files in its subdirectories using the du command. I am trying the following command to get the size of all files (and files in subdirectories) find . ...
8
votes
2answers
470 views

How to trace that what had “chmod 640”'ed the “/etc/passwd” file?

On AIX 6100-05-02-1034, something is frequently changing the permissions of the /etc/passwd file to 640. That's bad... How could I trace that what is chmoding the file? There is no history 1000 | ...
1
vote
1answer
358 views

AIX synchronize directory

I am trying to copy a lot of folders to another directory. I used cp -R command to copy them from source to destination. After all the copying was finished, I found that when I was copying, some files ...
10
votes
5answers
6k views

Under AIX, how can I get the full path of a program bound to a port?

Under Linux I can use netstat -tulpnw and ps, like so: # netstat -tulpnw | grep :53 tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1482/named udp ...
3
votes
1answer
717 views

NFS mount to a subdirectory of already mounted directory

We have a strange scenario (AIX 5.3) - There is a directory /mnt to which an NFS share from windows server1 is mounted Then there is another directory /mnt/subdir1 to which NFS share from windows ...
4
votes
2answers
1k views

How do you determine if AIX 5.3 has PERL installed?

Simply put, how do you determine if AIX 5.3 has PERL installed as non-root?
1
vote
1answer
2k views

AIX ftpd - how to set umask for a given user?

I know how can I change the umask settings for all the users using ftpd, but how can I change the umask for a given user using FTPD? AIX/6100-05-02-1034 FTP server (Version 4.2)
0
votes
3answers
4k views

Human-readable ls output under AIX?

How can I get human-readable ls output under AIX? There is no -h parameter
6
votes
5answers
5k views

Does AIX really beat Red Hat Enterprise Linux?

Our company plan to upgrade our servers, and at the same, we would use AIX over Red Hat Enterprise Linux. I asked my boss the reason of choosing AIX, he said it is because AIX is more powerful. I ...
1
vote
1answer
312 views

ftp option to overwrite file if different size

There is a script (bsh) running in a AIX 7.1 machine. The script is to download some files via FTP from another machine. I need to stop it later because some guy need to have maintenace over the ...
0
votes
2answers
551 views

Missed get command of FTP

I am using AIX 7.1. I made some shell scripts8 and called /bin/bsh. Inside the script, I connect to a server via FTP and have many get commands because I would like to avoid the wildcard problem. I ...
2
votes
1answer
401 views

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?
10
votes
4answers
31k views

How to strip multipe spaces to one using sed?

sed on AIX is not doing what I think it should. I'm trying to replace multiple spaces with a single space in the output of IOSTAT: # iostat System configuration: lcpu=4 drives=8 paths=2 vdisks=0 ...
5
votes
4answers
510 views

Can I have my own version control system?

In the linux/unix machine I am using, I am just a normal user. However, I want a version control system to manage my files to prevent accidental delete/rename/lost/modification. Obviously I don't have ...
0
votes
0answers
95 views

Why most unix don't have undelete function? [duplicate]

Possible Duplicate: Do we have an undo in Linux? I just accidently deleted a file by writing a new file on a file. I am using AIX 7.1. It seems that there is no way to recover a deleted ...
4
votes
2answers
2k views

Problem while running “newgrp” command in script

I want to change the working group in my script. So I wrote a line newgrp test_grp1 in my script. But my script is automatically exited after running this line. Are there any solution to overcome this ...
1
vote
2answers
780 views

Ocaml compilation error in AIX 6.1

I meet the following error when I try to compile Ocaml on my server running AIX 6.1 : "../Makefile.shared", line 39: make: 1254-055 Dependency line needs colon or double colon operator. ...
2
votes
2answers
9k views

How to change timezone to UTC without rebooting AIX

# oslevel 6.1.0.0 From smitty it say's it needs a reboot, but I don't want to reboot. How can I change the TimeZone to UTC without rebooting?
2
votes
1answer
965 views

How to kill a stuck print job under AIX?

0:root@SERVER:/ # uname AIX 0:root@SERVER:/ # oslevel 6.1.0.0 0:root@SERVER:/ # switch.prt -d #printsubsystem AIX 0:root@SERVER:/ # lpstat -oQUEUENAME Queue Dev Status Job Files ...
1
vote
2answers
6k views

What is the default shell for .sh in AIX?

I am fairly new to AIX machine. We would like to deploy some program into the AIX machine which is yet to come. We have a short experience in AIX machine and after login using putty, we felt the ...
1
vote
1answer
1k views

General problem solving steps when print jobs hang in AIX?

What should I do if jobs are getting stuck in the print queue even after restarting spooling? $ stopsrc -g spooler $ startsrc -g spooler $ lpstat -oQUEUENAME | wc -l; sleep 30; lpstat -oQUEUENAME | ...
-3
votes
3answers
328 views

What could be the bottleneck on this AIX machine?

My kernel usage is running up to 54%. What could that mean? What could be eating resources on this AIX 6.1.0.0 machine?
2
votes
1answer
495 views

Tutorial about key maping in KSH in EMACS mode

Are there any good tutorial to learn about Key Maping in Korn Shell (AIX) in EMACS mode ?
3
votes
0answers
330 views

VMO Changes After Adding New RAM To AIX?

We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken). This server is our Application server running J2EE applications on top ...
1
vote
3answers
626 views

smitty like demo sites?

https://secure.wikimedia.org/wikipedia/en/wiki/IBM_AIX_SMIT I'm searching for a "demo" site for learning smitty (get the used commands by F6!) Are there any? Like there are router demo sites: ...
3
votes
3answers
860 views

Why does this password fail AIX and Solaris rules

Had to reset my password on a couple of client servers today, and despite following the rules I get the message "Your password failed to meet: minimum of 2 non-alphabetic characters" back from the ...
4
votes
2answers
3k views

AIX HMC - how to increase the memory on the fly?

How can I increase the memory on the fly with the hardware management console on AIX 5 & 6?
1
vote
1answer
960 views

how to troubleshoot intermittent no route to host error

I have a program that most of the time works, but every now and then it fails with a no route to host error. The machine is running AIX 5 and has five network interfaces en1, en3, en5, en7 and en10. ...
3
votes
2answers
3k views

Qemu & AIX 6.1 - what am i missing?

I have a Fedora 14 i386 / T7100 C2D HP notebook. I need to run e.g.: AIX 6.1 on it for testing purposes. I installed a VirtualBox on this Fedora machine. I installed a guest os in the VirtualBox. ...
6
votes
2answers
18k views

How to run a fresh version of AIX in a Virtual Machine with a Linux host?

I need to learn about AIX, and I only have a laptop with Fedora 14/VirtualBox on it. Is there any chance that I could run an AIX guest in my VirtualBox? My laptop has an Intel(R) Core(TM)2 Duo CPU ...