Aix - crfs 0506-909


Problema
Initializing mkdvd log: /var/adm/ras/mkcd.log...
Verifying command parameters...
Creating image.data file...
Creating temporary file system: /mkcd/mksysb_image...
crfs: 0506-909 /mkcd/mksysb_image file system already exists.
0512-300 mkdvd: Error in routine: manage_mksysb.
Cleaning up...

Solução
- Execute o comando
rmfs -r /mkcd/mksysb_image
rmfs -r /mkcd/cd_fs
rmfs -r /mkcd/cd_images

- Execute o comando novamente.

Changing SMTP default port



1- Check which there is an unsigned port 

2- Edit /etc/services file

3- Comment lines with smtp
#smtp                   25/tcp          # Simple Mail Transfer
#smtp                   25/udp          # Simple Mail Transfer

4- Add lines with new port and save the /etc/service file
smtp                   1025/tcp          # Simple Mail Transfer
smtp                   1025/udp          # Simple Mail Transfer

5- Restart sendmail service
#refresh -s sendmail

Reference: http://www.aixmind.com/?p=1413


DTecno Consultoria SAP - Suporte SAP Remoto sob Demanda
Keywords: Consultoria SAP, Consultor SAP, SAP Remoto, SAP Basis, Suporte SAP Remoto, SAP FI, Consultor FI, Consultor MM, SAP MM

Start Stop SAP via Script


Start SAP
#/usr/bin/su - <SID>adm -c startsap

Stop SAP
#/usr/bin/su - <SID>adm -c stopsap

Aplicação de Technical Level



Before you begin the installation of this package, please note the following:
1.    You must be logged in as the root user to install this package.
2.    IBM recommends creating a system backup before starting the installation procedure.
3.    The latest AIX installation hints and tips for your version of AIX are available from the IBM Subscription service for Unix and Linux web site:
These tips contain important information that should be reviewed before installing this update.
4.    IBM recommends creating a separate file system for/usr/sys/inst.images for the following reasons:
o    Downloaded fix packages require a significant amount of disk space.
o    By creating a separate file system, you prevent the expansion of the/usr file system.

Follow these steps to install the update package:
1.    Always run the inutoc command to ensure the installation subsystem will recognize the new fix packages you download. This command creates a new .toc file for the fix package. Run the inutoc command in the same directory where you downloaded the package filesets. For example, if you downloaded the filesets to /usr/sys/inst.images, run the following command:
inutoc /usr/sys/inst.images

(Optional): Renaming the *.bff files is not necessary, but does help you see which filesets are affected by the downloaded files. To rename the downloaded files to their fileset name, run the bffcreate command. After renaming the files, run the inutoc command again. For example, if you downloaded the filesets to /usr/sys/inst.images, run the following command to rename them:
bffcreate -c -d /usr/sys/inst.images 
2.    For all updates
To install all updates from this package that apply to the installed filesets on your system, use the following command:
smit update_all
It is highly recommended that you apply all updates from this package. 
3.    Reboot the system. A reboot is required for this update to take effect.

You may wish to retain this package for future use. When you install additional operating system software you will want to use this package to bring the additional software up to this level.
You can create a list of the APARs closed in this package, which you can then view (and search) in an ASCII editor, such as vi or emacs. First, create the .toc file for the package by using the inutoc command described above. Then, run the following command to extract the APAR listings from the .tocfile:
grep ^I .toc > apar.list
Run the following command to eliminate duplicate entries from the apar.listfile:
sort -u apar.list -o sorted.apars

Font: IBM

Aix Technical Level e Service Pack - 02/2014



Checking swap space: 0 MB available, 150 MB required. Failed

Oracle


Checking swap space: 0 MB available, 150 MB required. Failed <<<<

I checked the tmp file system space and the swap from Aix, there any
problem with it.

maqtst@root:/oracle/TST:>swap -l
device maj,min total free
/dev/paging03 10, 6 4096MB 4049MB
//paging02 10, 5 4096MB 4054MB
/dev/paging01 10, 4 4096MB 4054MB
/dev/paging00 10, 3 4096MB 4054MB
/dev/hd6 10, 2 4096MB 4055MB

maqtst@root:/oracle/TST:>df -g /tmp
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd3 9.00 1.47 84% 2068 1% /tmp


Solução
./runInstaller -ignoreSysPrereqs

Error IcmJ2EEScheduleFunc - Please check host configuration








Problema
- Na transação ST11, no arquivo dev_icm.

*** ERROR => Connection request from (-1/65535/0) to host: unbru03.unifi.br, service: 9902 failed (NIEHOST_UNKNOWN) {00000098} [icxxconn_mt.c 2712]
*** ERROR => IcmJ2EEScheduleFunc: Connection to unbru03.unifi.br:9902 failed - please check host configuration (-8) [icxxman_mt.c 2477]

Referencia









Solução
- Adicione o FQDN no parâmetro icm/host_name_full da profile.

Formato:
icm/host_name_full       hostname.domain

Exemplo:
icm/host_name_full       maqtst.workgroup.com.br



- Ajuste o arquivo /etc/hosts inserindo o FQDN.

Formato:
ip            FQDN

Exemplo:

10.0.0.5   maqtst.workgroup.com.br

Oracle Database 11.2.0.3 - Patches by SAP

Erro na porta 21200 durante instalação do SAP Ecc 6

Aix

-Verificar o arquivo /etc/hosts. Check o ip da maquina e o seu hostname.
- Adicionar no $PATH o caminho do “java1.4.2”.
   export PATH=/usr/java14_64/jre/bin:/usr/java14_64/bin:$PATH

   set –o vi

Listing Swap Space - Aix

#lsps –a 

Extending MAXPPs of a Logical Volume

Problema
maqtst@root:/oracle/TST:#chfs -a size=+5G /oracle/TST/sapdata2
0516-787 extendlv: Maximum allocation for logical volume tstsapdata2lv
        is 900.

Solução
- Formato do camando:
#chlv -x maxpps logicalvolume 

   - MaxPPs: Número total de pps, incluindo os adicionais
   - logicalvolume: Nome do logical volume 

- Example:
#chlv -x 1024 tstsapdata2lv

Shutdown Aix

Aix

#shutdown -F

Restart Aix

#shutdown -Fr

0516-787 extendlv: Maximum allocation for logical volume

Cenário
- É necessário realizar um extend no logical volume.

Problema
maq1@root:/:#chfs -a size=+54G /oracle/TST/data1
0516-787 extendlv: Maximum allocation for logical volume tstdata1lv is 512.

Instalação do iFix - APAR

AIX

Referencia
- IBM

Solução
- Enviar o arquivo *.epkg.Z no formato binário via FTP para o diretório /tmp.

- Simulando a aplicação do ifix.
#emgr -pXe IV11188s01.111212.epkg.Z

maq01@root:/tmp:#emgr -pXe IV11188s01.111212.epkg.Z
*******************************************************************************
EFIX MANAGER PREVIEW START
*******************************************************************************
+-----------------------------------------------------------------------------+
Efix Manager Initialization
+-----------------------------------------------------------------------------+
Initializing log /var/adm/ras/emgr.log ...
Efix package file is: /tmp/IV11188s01.111212.epkg.Z
MD5 generating command is /usr/bin/csum
MD5 checksum is 024181fff901192c9be25518f1209519
Accessing efix metadata ...
Processing efix label "IV11188s01" ...
Verifying efix control file ...

+-----------------------------------------------------------------------------+
Installp Prerequisite Verification
+-----------------------------------------------------------------------------+
Verifying prerequisite file ...
Checking prerequisites ...

Prerequisite Number: 1
   Fileset: bos.rte.printers
   Minimal Level: 6.1.7.0
   Maximum Level: 6.1.7.0
   Actual Level: 6.1.7.0
   Type: PREREQ
   Requisite Met: yes

All prerequisites have been met.

+-----------------------------------------------------------------------------+
Processing APAR reference file
+-----------------------------------------------------------------------------+
ATTENTION: Interim fix is enabled for automatic removal by installp.

+-----------------------------------------------------------------------------+
Efix Attributes
+-----------------------------------------------------------------------------+
LABEL:            IV11188s01
PACKAGING DATE:   Mon Dec 12 05:58:30 CST 2011
ABSTRACT:         efix for IV11188.
PACKAGER VERSION: 7
VUID:             00CCCC5B4C00121205123011
REBOOT REQUIRED:  no
BUILD BOOT IMAGE: no
PRE-REQUISITES:   yes
SUPERSEDE:        no
PACKAGE LOCKS:    no
E2E PREREQS:      no
FIX TESTED:       no
ALTERNATE PATH:   None
EFIX FILES:       2

Install Scripts:
   PRE_INSTALL:   yes
   POST_INSTALL:  no
   PRE_REMOVE:    yes
   POST_REMOVE:   no

File Number:      1
   LOCATION:      /usr/lib/lpd/pio/etc/piomisc_ext
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          32
   ACL:           DEFAULT
   CKSUM:         15016
   PACKAGE:       printers.rte
   MOUNT INST:    no

File Number:      2
   LOCATION:      /usr/lib/lpd/pio/etc/piorlfb
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          16
   ACL:           DEFAULT
   CKSUM:         61547
   PACKAGE:       printers.rte
   MOUNT INST:    no

+-----------------------------------------------------------------------------+
Efix Description
+-----------------------------------------------------------------------------+
========================== EFIX DESCRIPTION =============================
Enter the EFIX description. Please include the symptoms that are fixed by
this EFIX, all additional install details, and any other information that
would be useful to the USER. Save and exit the editor to return to epkg.
=========================================================================
IV11188         - Add a Remote queue with local filter fails with 6100-07.
Symptoms        - Adding a remote queue with local filter gives error.
Cause           - In smit -p option is already used in case of local filter to specify the printer type.
                With code change in 61Q -p is used twice in case of local filter.
Workaround      - Change -p(small) to -P(capital) in smit screen. Modify the piorlfb file to accept -p option.

Note : Stop the qdaemon before installing the efix.

+-----------------------------------------------------------------------------+
Efix Lock Management
+-----------------------------------------------------------------------------+
Checking locks for file /usr/lib/lpd/pio/etc/piomisc_ext ...
Checking locks for file /usr/lib/lpd/pio/etc/piorlfb ...

All files have passed lock checks.

+-----------------------------------------------------------------------------+
Space Requirements
+-----------------------------------------------------------------------------+
Checking space requirements ...

Space statistics (in 512 byte-blocks):
File system: /usr, Free: 6231656, Required: 1306, Deficit: 0.
File system: /tmp, Free: 11513592, Required: 2567, Deficit: 0.

+-----------------------------------------------------------------------------+
Reboot Processing
+-----------------------------------------------------------------------------+
Reboot is not required by this efix package.

*******************************************************************************
EFIX MANAGER PREVIEW END
*******************************************************************************

+-----------------------------------------------------------------------------+
Operation Summary
+-----------------------------------------------------------------------------+
Log file is /var/adm/ras/emgr.log

EPKG NUMBER       LABEL               OPERATION              RESULT
===========       ==============      =================      ==============
1                 IV11188s01          INSTALL PREVIEW        SUCCESS

Return Status = SUCCESS

- Para instalar o ifix, execute o comando emgr. Não é necessário reiniciar o sistema operacional.

Ex:
#emgr -Xe IV11188s01.111212.epkg.Z

maq01@root:/tmp:#emgr -Xe IV11188s01.111212.epkg.Z
+-----------------------------------------------------------------------------+
Efix Manager Initialization
+-----------------------------------------------------------------------------+
Initializing log /var/adm/ras/emgr.log ...
Efix package file is: /tmp/IV11188s01.111212.epkg.Z
MD5 generating command is /usr/bin/csum
MD5 checksum is 024181fff901192c9be25518f1209519
Accessing efix metadata ...
Processing efix label "IV11188s01" ...
Verifying efix control file ...

+-----------------------------------------------------------------------------+
Installp Prerequisite Verification
+-----------------------------------------------------------------------------+
Verifying prerequisite file ...
Checking prerequisites ...

Prerequisite Number: 1
   Fileset: bos.rte.printers
   Minimal Level: 6.1.7.0
   Maximum Level: 6.1.7.0
   Actual Level: 6.1.7.0
   Type: PREREQ
   Requisite Met: yes

All prerequisites have been met.

+-----------------------------------------------------------------------------+
Processing APAR reference file
+-----------------------------------------------------------------------------+
ATTENTION: Interim fix is enabled for automatic removal by installp.

+-----------------------------------------------------------------------------+
Efix Attributes
+-----------------------------------------------------------------------------+
LABEL:            IV11188s01
PACKAGING DATE:   Mon Dec 12 05:58:30 CST 2011
ABSTRACT:         efix for IV11188.
PACKAGER VERSION: 7
VUID:             00CCCC5B4C00121205123011
REBOOT REQUIRED:  no
BUILD BOOT IMAGE: no
PRE-REQUISITES:   yes
SUPERSEDE:        no
PACKAGE LOCKS:    no
E2E PREREQS:      no
FIX TESTED:       no
ALTERNATE PATH:   None
EFIX FILES:       2

Install Scripts:
   PRE_INSTALL:   yes
   POST_INSTALL:  no
   PRE_REMOVE:    yes
   POST_REMOVE:   no

File Number:      1
   LOCATION:      /usr/lib/lpd/pio/etc/piomisc_ext
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          32
   ACL:           DEFAULT
   CKSUM:         15016
   PACKAGE:       printers.rte
   MOUNT INST:    no

File Number:      2
   LOCATION:      /usr/lib/lpd/pio/etc/piorlfb
   FILE TYPE:     Standard (file or executable)
   INSTALLER:     installp
   SIZE:          16
   ACL:           DEFAULT
   CKSUM:         61547
   PACKAGE:       printers.rte
   MOUNT INST:    no

+-----------------------------------------------------------------------------+
Efix Description
+-----------------------------------------------------------------------------+
========================== EFIX DESCRIPTION =============================
Enter the EFIX description. Please include the symptoms that are fixed by
this EFIX, all additional install details, and any other information that
would be useful to the USER. Save and exit the editor to return to epkg.
=========================================================================
IV11188         - Add a Remote queue with local filter fails with 6100-07.
Symptoms        - Adding a remote queue with local filter gives error.
Cause           - In smit -p option is already used in case of local filter to specify the printer type.
                With code change in 61Q -p is used twice in case of local filter.
Workaround      - Change -p(small) to -P(capital) in smit screen. Modify the piorlfb file to accept -p option.

Note : Stop the qdaemon before installing the efix.

+-----------------------------------------------------------------------------+
Efix Lock Management
+-----------------------------------------------------------------------------+
Checking locks for file /usr/lib/lpd/pio/etc/piomisc_ext ...
Checking locks for file /usr/lib/lpd/pio/etc/piorlfb ...

All files have passed lock checks.

+-----------------------------------------------------------------------------+
Space Requirements
+-----------------------------------------------------------------------------+
Checking space requirements ...

Space statistics (in 512 byte-blocks):
File system: /usr, Free: 6231656, Required: 1306, Deficit: 0.
File system: /tmp, Free: 11513592, Required: 2567, Deficit: 0.

+-----------------------------------------------------------------------------+
Efix Installation Setup
+-----------------------------------------------------------------------------+
Unpacking efix package file ...
Initializing efix installation ...

+-----------------------------------------------------------------------------+
Pre-Install Script
+-----------------------------------------------------------------------------+
Executing pre-install script ...
ODM data changed sucessfully
Return code from pre-install script is: 0

+-----------------------------------------------------------------------------+
Efix State
+-----------------------------------------------------------------------------+
Setting efix state to: INSTALLING

+-----------------------------------------------------------------------------+
File Archiving
+-----------------------------------------------------------------------------+
Saving all files that will be replaced ...
Save directory is: /usr/emgrdata/efixdata/IV11188s01/save
File 1: Saving /usr/lib/lpd/pio/etc/piomisc_ext as EFSAVE1 ...
File 2: Saving /usr/lib/lpd/pio/etc/piorlfb as EFSAVE2 ...

+-----------------------------------------------------------------------------+
Efix File Installation
+-----------------------------------------------------------------------------+
Installing all efix files:
Installing efix file #1 (File: /usr/lib/lpd/pio/etc/piomisc_ext) ...
Installing efix file #2 (File: /usr/lib/lpd/pio/etc/piorlfb) ...

Total number of efix files installed is 2.
All efix files installed successfully.

+-----------------------------------------------------------------------------+
Package Locking
+-----------------------------------------------------------------------------+
Processing package locking for all files.
File 1: locking installp fileset printers.rte.
File 2: installp fileset printers.rte is already locked by emgr.

All package locks processed successfully.

+-----------------------------------------------------------------------------+
Reboot Processing
+-----------------------------------------------------------------------------+
Reboot is not required by this efix package.

+-----------------------------------------------------------------------------+
Efix State
+-----------------------------------------------------------------------------+
Setting efix state to: STABLE

+-----------------------------------------------------------------------------+
Operation Summary
+-----------------------------------------------------------------------------+
Log file is /var/adm/ras/emgr.log

EPKG NUMBER       LABEL               OPERATION              RESULT
===========       ==============      =================      ==============
1                 IV11188s01          INSTALL                SUCCESS

Return Status = SUCCESS

- Para remover um ifix.

Ex:
#emgr -rL IV11188s01

Abraços