Posts

AIX ERRORS

when i trying increase file systems i get that error 0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests. The command should be retried with different allocation characteristics. this due to at rootvg there exist mirror and containing two disks hdisk0 & hdisk1 when i execute the lspv hdisk0 & lspv hdisk1 i found that there exist space of one and not the other to solve that decrease one of file system from the disk have not free space

Support for passwords greater than 8 characters

In AIX 5.2 and 5.3(pre TL7), there has been a 8 character password limitation when using the one-way hash function crypt(). AIX 5.3 TL7 and AIX 6.1 introduce Loadable Password Algorithm (LPA). Each supported password encryption algorithm is implemented as a LPA load module that is loaded at runtime when the algorithm is needed. The supported LPAs, and its attributes, are defined in system configuration file /etc/security/pwdalg.cfg. ---------------------------------------------------------------------------------- the different algorithms are MD5---------------->255 SHA1--------------->255 SHA265------------->255 SHA512------------->255 Blowfish----------->72 -------------------------------------------------------------------------------- NOTE: Without the pwd_algorithm entry in /etc/security/login, the default value is "crypt" which is the legacy crypt() function. ---------------------------------------------------------------------------------...

AIX useful links

AIX infocenter http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic= IBM AIX OS: Everything about AIX http://aix.lap.hu/ Taking mksysb image of an installed AIX system using NIM http://markelov.org/wiki/index.php/Taking_mksysb_image_of_an_installed_AIX_system_using_NIM AIX errors codes http://publib.boulder.ibm.com/infocenter/ts7680/serv/index.jsp?topic=%2Fcom.ibm.storage.3958.service.doc%2Fts7740_exxxprogcodes_2nwwoq.html

Capturing Error Code @ DOS

echo %errorlevel% to pass command line error if %errorlevel% neq 0 goto label

Control Growing Files

• /var/adm/wtmp &• /etc/security/failedlogin there exist two wayes 1- cat /dev/null > /var/adm/wtmp 2- > /etc/security/failedlogin • /var/adm/sulog • /var/spool/*/* 1. stopsrc -s qdaemon 2. rm /var/spool/lpd/qdir/* 3. rm /var/spool/lpd/stat/* 4. rm /var/spool/qdaemon/* 5. startsrc -s qdaemon • $HOME/smit.log • $HOME/smit.script • $HOME/websm.log • $HOME/websm.script This command will print the number of blocks used by each directory and file in the root. find . -type d -exec du -s {} \; You can search for "large" files by cd'ing to a suspect directory ( or even starting at /, if you must), and typing find . -size +5000 -print will print the names of all files over 5,000 blocks (2,560,000) bytes. This may find many, many files, so you might want to refine it with larger numbers. You might also want to sort it: find / -size +2000 -exec ls -s{} \; | sort -nr | more to print all files that change in current directory at last 24 hours f...

craete alias

to creat alias by a user vi /$HOME/.profile and set a value of variable  ENV="$HOME/.kshrc" then edit at .kshrc file alias alias_name= 'commands_to_execute' ex: alias tsmstart = ' cd /usr/tivoli/tsm/server/bin; nohup ./rc.admserv & '

Open a new dtterm

To open a new term at background dtterm -name term_name &