Quantcast
Channel: UNIX and Linux Forums - AIX
Viewing all 373 articles
Browse latest View live

IBM AIX 5.2 cloning Hdds

$
0
0
I have an old IBM Power 5 9111-520 that has data on it but the system is failing. I need to move it to a more reliable server. The current system has two drives and no raid. I would like to setup my "newer" system with raid and two partitions then clone my setup over. What is the best way to do this?

Both systems are identical. I tried to backup the system to a tape drive but it states the system is too large for system image creation on tape drive to try DVD. So I tried to burn a dvd with the backup wizard. No Joy. It creates the system image but fails on the burning.

Please Help!! Thanks

Is there virc or exrc for saving vi configuration settings in AIX?

$
0
0
There's no Vim in AIX (6 and 7), but Vi is natively available.

I want to save my configuration for Vi like `set nu` to number lines in files.

I couldn't find configuration related to Vi in /etc/ or /usr/etc/ folders.

Please help me with that.

Clone 1 Hard disk fromIBM Intellipoint server with AIX 5.x

$
0
0
Hello to all,
Im having a new task in a new world (AIX - IBM Servers)

I have an IBM Server (Type - 9111-285 very old one) with one Hard disk (73 GB 10 K) with AIX 5.x, and I need to clone the existing disk to another with the same specifications.

Could you please give me some advice in order to do that ?
Does exist some software to do that ?
Some hardware device that I could use ?

Any documentation, procedures, steps ?

Thanks in advance ?

Really Apreciated.

Trev

Hrd in AIX 7.1 - what's it good for ?

$
0
0
greetings -
just noticed that on my aix 7.1 systems, they're running 'hrd' under SRC. Some lite googling reveals an association with HFI, which I believe is the p775 HPC interface ?

Does this subsys perform any useful function other than supporting HFI ? Particularly on a 9133-55a which can't spell HFI ?

TIA... (that's Thanks In Advance, not Total Infotainment Awareness)

Prophet 21 acclaim system

$
0
0
I have a prophet 21 acclaim system (old) but is my life.. (small business)
Ibm risc sys/ 6000 43p-140

well anyway not much a forum guy but i need some help..

I have a message popping up that is not allowing me to get in to my system.
Code:

The data space of the process is not enough for the shm segment (1176)
There is no server for the database /usr/lpp/p21pro/db/dyn. (1423)

does anyone out there know anything about this system..Stupid question I know but i have to get if up and running..

Connect GPS to serial port AIX 5.x

$
0
0
HI,
Does anyone installed a GPS from his Serial port to an IBM Server serial port with AIX 5.X
I would like the rs232 configuration you used on the GPS, and the ttys configuration from your server.
Thanks in advance !!!

Snmp3 in AIX 7.1

$
0
0
I am using snmp3. How do I know whether ''Community'' is Read-Only, if not how do I change it to Read-Only ?
Code:

 
 DEVB1:/> oslevel
7.1.0.0
 
 DEVB1:/>  ls -l /usr/sbin/snmpd
lrwxrwxrwx    1 root    system            9 Apr 10 16:21 /usr/sbin/snmpd -> snmpdv3ne
 
 DEVB1:/>  grep COMM /etc/snmpdv3.conf
# COMMUNITY
COMMUNITY public    public    noAuthNoPriv 0.0.0.0    0.0.0.0

AIX's restorevgfiles

$
0
0
Seek help from all experts,
I understand that if I perform a savevg on a VG, and later perform a restvg to another hdisk, I will get back a exact same VG that I perform savevg earlier. It will be identical even on permission bit, owner and group.
However, if I perform a restorevgfiles for a filesystem from the same savevg file, will I get a identical filesystem? In terms of permission and owner and group will be identical as well?

How to make NFS4 mount permanent ?

$
0
0
Hello,

I'm able to mount NFSv3 shares permanently (/etc/filesystems) via smitty nfs.

Code:

[root@nfs3client]/>lsfs -a
Name            Nodename  Mount Pt              VFS  Size    Options    Auto Accounting
/dev/hd4        --        /                      jfs2  2097152 --        yes  no
/dev/hd1        --        /home                  jfs2  1638400 --        yes  no
/dev/hd2        --        /usr                  jfs2  30932992 --        yes  no
/dev/hd9var    --        /var                  jfs2  2883584 --        yes  no
/dev/hd3        --        /tmp                  jfs2  4194304 --        yes  no
/dev/hd11admin  --        /admin                jfs2  262144  --        yes  no
/proc          --        /proc                  procfs --      --        yes  no
/dev/hd10opt    --        /opt                  jfs2  2097152 --        yes  no
/dev/livedump  --        /var/adm/ras/livedump  jfs2  524288  --        yes  no
 nfsserver:/nfs3shre/test /mntpoint                nfs  --      rw,bg,hard,intr,sec=sys yes  no

I've tried to follow the same procedure (smitty nfs) for NFSv4 as well. But it gave me below error.

Code:

Command: failed        stdout: yes          stderr: no

Before command completion, additional instructions may appear below.

mount: 1831-011 access denied for nfsserver:/nfs4shre/test
mount: 1831-008 giving up on:
nfsserver:/nfs4shre/test
The file access permissions do not allow the specified action.


But when I use below command, then it worked.

mount -o vers=4,hard,rw,bg,intr,sec=sys nfsserver:/nfs4shre/test /mntpoint


The issue is " NFSv4 share is not mounting automatically after a server reboot".

As per my understanding,
we are not supposed to modify/edit " /etc/filesystems" in AIX.

As per IBM man pages "
Modifying this file can cause several effects to file systems."

Please let me know how can I make NFSv4 mount permanently available across reboots.

Thank you.

Kill multiple processes ran by root

$
0
0
Hi all,

I have about 5-6 daemons specific to my application running in the background. I am trying to write a script to stop them. Usually, I run them as a non-root ID, which is fine. But for some reason the client insists on using root.

I do have sudo.

I just tried something like this

Code:

sudo ps ax|grep deamon|awk '{print $1}'|xargs kill -9

kill: 15663166: 0509-013 Permission denied.

kill: 16711728: 0509-013 Permission denied.

kill: 16974010: 0509-013 Permission denied.

kill: 17301670: 0509-013 Permission denied.

kill: 18153676: 0509-013 Permission denied.

kill: 21102690: 0509-013 Permission denied.

kill: 21627104: 0509-013 Permission denied.

kill: 22937744: 0509-013 Permission denied.

kill: 23134276: 0509-013 Permission denied.

kill: 25231382: 0509-015 The specified process does not exist.

This is AIX by the way

Trying to get Samba 4.x running on AIX 7.1?

$
0
0
Hello,

I have an AIX 7.1 Power8 machine on which I have a working copy of Samba 3.6 installed using perzl.org repo.

The issue I am running into is, Samba 3.6 supports the more secure SMB2 protocol but its tools (smbclient) do not, only in 4.1 did Samba add support for SMB2 to their utilities.

As per their official docs:

“Protocol support for SMB2 was experimentally introduced with Samba 3.5 server and went production with Samba 3.6. Note that smbclient did not receive SMB2 until the 4.1 release.”

So I have two options:

a) Remove Samba 3.6 and install latest RPM/YUM from IBM (lots of dependency issues unless I completely clear out perzl.org packages) and then use YUM to pull latest Samba-4.6.4 - seems very complicated and a lot of changes bringing in RPM/YUM.

b) Install samba-client-4.6.7-1.aix6.1.ppc.rpm from the official IBM Open Source Software repo and mix that with Samba 3.6

I started down the (a) option but I am running into a lot of dependency issues getting YUM to install so it got me thinking about (b) plan.

If I got Samba 4.6 or just a subset of Samba to get latest smbclient utility installed on my 2nd AIX box (testing box), can I copy the newer smbclient utility to my production AIX box that is running Samba 3.6 and use it? Or will that not work. Is there anyway to make this work?

AIX full path to socket library

$
0
0
Can somebody help me too identify full path to socket library on AIX? Cannot find anything

Thanks
for contribution

HMC ssh_config file edit

$
0
0
Hi,

How can we edit ssh_config file on HMC server.

Best regards,

Error when run makefile to compile C program

$
0
0
I have a make file for C program, which always gives the error

Code:

ld: 0711-738 ERROR: Input file ../src/file_name.o
XCOFF32 object files are not allowed in 64 mode

Does anybody know the problem?

Thanks for contribution

Ksh93/AIX compatibility

$
0
0
Hi everyone !

Im trying to know from wich version of AIX KSH93 is available ?
Internet tell me 6.x and 7.x AIX are available, bue what about 5.x ?
Is KSH93 available on AIX 5.x ?
Is it the same way to manipulate variables as KSH93 on 7.x ?

Thanks for your support and have a nice day !

Close broken lv ?

$
0
0
Hello,

Due to disk failure I lost certain lv.
Before running reducevg I'm trying to remove lv by using rmlv:
Code:

0516-1008 rmlv: Logical volume xxx must be closed.  If the logical volume
        contains a filesystem, the umount command will close the LV device.

lv is still open:
Code:

# lslv xxx
LOGICAL VOLUME:    xxx              VOLUME GROUP:  rootvg
VG STATE:          active/complete        LV STATE:      opened/syncd

I cannot use umount to close this lv since disk is gone and lv is no longer mounted.

How do I close this lv without using umount ?
I don't want to reboot if possible.

Thanks,
Vilius M.

Source port on AIX for NAS is same?

$
0
0
In AIX servers, for mounting NAS mount points only 1021 1022 1023 are used as source ports on more than 300 servers while destination port on storage end is 2049, is there any settings on servers where these ports are defined for mounting NAS mount points? Any body faced this scenario?

Thanks

Housekeeping null 2>&1 in /dev

$
0
0
Hello,

Does anyone know how to housekeeping the null 2>&1 file in /dev?
its fill up my system, please help.

Attachment 7316

Thanks :b:

Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	N/A
Size:	20.3 KB
ID:	7316  

Compiling problem - AIX 7.2

$
0
0
Hi

We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1

With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why.

When we try to copy file "/usr/bin/sh" from AIX6.1 to replace it on AIX7.2, we can compile sucessfully.

I have no ideas why !
So what's the problem ???

How to use Virtual Tape?

$
0
0
Dear all,


i have a virtual tape connected to a vhost1
Code:

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1          U8202.E4C.066BC9R-V1-C3                      0x00000003

VTD                  vtscsi1
Status                Available
LUN                  0x8100000000000000
Backing device        devdisk0
Physloc               
Mirrored              N/A

VTD                  vtscsi2
Status                Available
LUN                  0x8200000000000000
Backing device        devdisk1
Physloc               
Mirrored              N/A

VTD                  vttape0
Status                Available
LUN                  0x8300000000000000
Backing device        rmt0
Physloc              U78AA.001.WZSHC8L-P1-D1
Mirrored              N/A

can i add the virtual tape to a vhost0 ? or i have to remove first the vttape0 on vhost1 ?
Code:

SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0          U8202.E4C.066BC9R-V1-C2                      0x00000002

VTD                  vtopt0
Status                Available
LUN                  0x8400000000000000
Backing device        cd0
Physloc              U78AA.001.WZSHC8L-P2-D9
Mirrored              N/A

VTD                  vtscsi0
Status                Available
LUN                  0x8100000000000000
Backing device        qadisk0
Physloc               
Mirrored              N/A

VTD                  vtscsi3
Status                Available
LUN                  0x8300000000000000
Backing device        qadisk1
Physloc               
Mirrored              N/A

thanks for help


Regards
Viewing all 373 articles
Browse latest View live