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.
1
vote
0answers
29 views
write(/proc/<pid>/ctl): The requested resource is busy
My application front end and back end are on java and c respectively. The interface is via listener processes on C-side. If there is an error on the c-side, the corresponding listener process which is ...
1
vote
1answer
45 views
Using awk to parse AIX's lsuser output in stanza format
I'm creating a simple awk script to parse AIX's lsuser -f ALL output and return information in one line. A sample of the output is something like this.
root:
id=0
pgrp=something
...
0
votes
2answers
27 views
How to launch a program in text only mode if it support silent running
I have got a java program, which support text file input and auto running, can i put it in background running without GUI ?
It prompt cannot set display.
while there is no concern to view the ...
0
votes
0answers
20 views
Renaming WebSphere after disk cloning [closed]
I know it is not the correct ways, but since keeping other installed stuffs is needed. Does anyone have the steps of renaming a WebSphere Server after cloning at disk level ?
Any help are welcome.
3
votes
1answer
75 views
Why is uname -M returning an empty string?
On the exact same machine (AIX 6.1), in 2 different login shells (both ksh), with different user IDs, I can do uname -M; in one shell I get the system model. In the other shell I get BLANK! The only ...
0
votes
1answer
18 views
How to blacklist an errpt entry? (so that it will now show up in errpt)
On an AIX 6.1 OS:
LABEL: CONSOLE
IDENTIFIER: 7F88E76D
If we need to blacklist these kind of errpt entries then how can we do it?
3
votes
1answer
137 views
Installing ksh as the standard shell in Redhat: Foolhardy?
I'm not a system administrator, but my organization is considering replacing /bin/sh in Red Hat Enterprise Linux 6+ with a hard link to /bin/ksh. How foolhardy would this be?
The background to this ...
3
votes
0answers
56 views
AIX install Mercurial no root
Is is possible to install Mercurial on AIX system without root? I'm an ordinary user of our colleges IBM cluster and in there I fond no version control software.
Could you show a brief guide of how ...
1
vote
1answer
87 views
How to search files where two different words exist?
I'm looking for a way to search files where two word instances exist in the same file. I've been using the following to perform my searches up to this point:
find . -exec grep -l "FIND ME" {} \;
...
0
votes
1answer
75 views
AIX UNIX 64 bit connecting to Microsoft SQL server 2008R2 Server
I am having AIX 64 bit Unix machine and I need to connect to Microsoft SQL SERVER 2008 R2 database.
I dont have any Drivers and TDS installed in my machine.
What all tools I need to install including ...
0
votes
2answers
74 views
Why rm command unrecognized w flag in AIX?
I have a bash script that retain the last 5 copies in AIX like this:
rm `ls -lt /path/the_file_* | tail -n +6`
But I get this error:
rm: Not a recognized flag: w
UPDATE
The ls command return ...
1
vote
1answer
80 views
AIX apache rpm dependencies
I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor.
Problem
Unfortunately they do not provide anything for ...
2
votes
1answer
204 views
How to use Extended ACL's on AIX?
Using AIX (6.1) FTPD, a user needs to log in and it should only reach 2 directories (read/write) in the system, ex.:
/foo/sth1
and
/foo2/sth2
Besised the users home directory it shouldn't reach ...
2
votes
1answer
250 views
Del key in AIX ksh over PuTTY telnet
At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
1
vote
1answer
38 views
Several groups can have the same groupID?
0:root@SERVER:/root # grep 300 /etc/group
ipsec:!:300:admgrp
0:root@SERVER:/root #
?? Several groups (ipsec/admgrp) can have the same groupID (300)?? how can this be? /AIX 6.1/
1
vote
0answers
53 views
AIX auditing for LDAP users
I've discovered a problem with the way AIX uses auditclasses to determine which system calls are audited. If a user is defined in LDAP, their auditclasses attribute is blank. I found an APAR which ...
3
votes
2answers
389 views
sshd process inoperative
I have an AIX server which suddenly stopped servicing SSH connections. When I try to start the service through startsrc -s sshd it says:
0513-059 The sshd Subsystem has been started. Subsystem PID is ...
1
vote
2answers
273 views
Max password size in AIX 6.1
I found on the AIX documentation some rules to set about passwords length :
minlen Defines the minimum length of a password. The value is a decimal integer string. The default is a value of 0, ...
5
votes
3answers
334 views
Package manager for AIX
While installing Subversion on AIX (version 7.1) from the official site, there are dependencies I need to resolve first before I can proceed to install the subversion package. While installing the ...
1
vote
3answers
161 views
How to run the most recent command on AIX?
How can I run the most recent command again from history in AIX Server? And how to edit the most recent command and run it again in AIX?
0
votes
2answers
97 views
sudo: script launched from another script won't redirect standard output
I'm using AIX 5.3 with sudo 1.6.9p23. Sudoers file grants user fcomartin permission to run any command as user oas:
fcomarti ALL=(oas) ALL
User oas has a bash script called menu, which launches ...
3
votes
2answers
280 views
Skip first 3 byte of a file
I am using AIX 6.1 ksh shell
I want to use one liner to do something like this
cat A_FILE | skip-first-3-bytes-of-the-file
I want to skip the first 3 bytes of the first line, is there a way to ...
1
vote
3answers
169 views
What logs would be written if file system is full in UNIX?
I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to ...
2
votes
3answers
373 views
Another account with same uid as root gets prompted to set new password for root, not itself
After upgrading the os from 5300-06 to 5300-11, this weird behaviour happened.
My system had another unix account, let's call it "abc", purposely configured its uid to 0 for working as a root with ...
2
votes
2answers
211 views
Find when a hard disk was first installed
What's the command in AIX to find the first time a given hard disk was installed?
3
votes
1answer
456 views
Validate AIX Password for root from script
Looking for a way in a shell script to validate the password for for root on an (AIX) matches a standardized plain text password. This query is similar to another one on this site. I have access to ...
3
votes
1answer
562 views
AIX 6.1 JFS2 Oracle files system, not using much files system cache
I am running Oracle database on AIX 6.1, Oracle using JFS2 file systems. Maxperm is set to 90%. This is busy database server, but it is not using the file system cache (less then 2%). The system has ...
2
votes
0answers
194 views
Validate Password for user account from shell script
Application is for a multiple server standardization script
Looking for a way in a shell script to check if the password for an OS account (AIX) matches a standardized plain text password.
The ...
5
votes
1answer
216 views
Redirect terminal output to image file
I need to programmatically run some unix commands and get the output in a image file, the format could be png or jpeg (jpg).
The commands are run in an AIX (IBM *nix) machine. I don't have ...
1
vote
1answer
288 views
How to disable live shell session command history under AIX 5-6?
It's okay that there are history files logging the commands that has been used. That't not the problem. The problem is that when 2 admins are logged in to an AIX server then it could be bad:
If ...
0
votes
3answers
1k views
copy logical volume from one volume group to another
I want to copy a logical volume from one volume group to another on AIX. How can I do this? Is copyvg the right command?
1
vote
2answers
256 views
Can I write control characters to someone else's terminal?
A lot of people log into the same AIX 6.1 server as I do with a terminal emulator that automatically interprets and runs code encapsulated by certain control characters as VBA script instead of ...
1
vote
1answer
315 views
AIX 6.1 starting xhost + from inittab at the boot time
Everytime after restarting the servers, I have to run xhost + from console prompt.
Does anyone have any idea about enabling xhost + from inittab file?
2
votes
1answer
170 views
Is it a good idea to supplement shell script with perl purely for use of regex?
I'm looking for a simple way to utilize regex in a UNIX shell script where not every system will have perl extensions built into grep. What is really helpful about perl regex here is back/forward ...
2
votes
2answers
2k views
FTP over SSL in AIX (UNIX)
Folks over at SO couldn't answer this, so I am posting over here.
I need to do an FTP over SSL to a FileZilla Server running on a Windows server from an AIX Unix clien. I have the Host name of the ...
2
votes
2answers
224 views
Search for file permisions other than 755
In AIX really, how can I search in several directories and those below it, for files that are not of the specific permissions of 755.
So I want to search /path/to/, /path/to/mydir, ...
2
votes
1answer
640 views
how to troubleshoot a network adapter on an AIX 4.3.3 machine
I'm trying to brush up my skills on AIX. I have an ancient RS/6000 43P-133 which I'm trying to resurrect before investing in anything more sophisticated. I used to do automation and scripting on AIX ...
1
vote
0answers
302 views
How to kill a ghost process? AIX 6.1
oslevel: 6100-05-01-1016
according to topas:
root 1769602 1 93 20 112 0 128 32498:07 87.1 0 0 ldmp_pro
according to ps:
-bash-4.1# ps -ef | egrep -i "1769602|ldmp"
...
0
votes
2answers
262 views
Which AIX command's output is this?
Disk Path P Location adapter LUN SN Type Size LSS Vol Rank C/A S Connection port RaidMode
------- ----- - ----------- ------ ----------- ...
1
vote
0answers
272 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
...
5
votes
2answers
515 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
306 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
597 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
433 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
1answer
380 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
55 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
228 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 ...
1
vote
2answers
833 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
392 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
521 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!
