Re: HPUX QA

jadeja is HPUX m/c sfqaopt is linux m/c

I have configured but rsh not working but remsh is working ............giving sfqaopt23 not found [root@jadeja][/]rsh sfqaopt23 ls rsh: sfqaopt23: not found.[root@jadeja][/]remsh sfqaopt23 ls showing list of filesabcpqrxyz[root@jadeja][/]

"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "

Re: HPUX QA

> #find / -name .rhosts

Not a good idea at all, especially on big machines. find / might take serveral hours to complete and severely load the server needlessly. The .rhosts file only works if it is in the $HOME directory so limit the search to the $HOME directories and since it MUST reside in the user's $HOME directory, don't use find, just use ll:

ll /home/*/.rhosts

But as mentioned, .rhosts never exists by default as it can be a severe security risk. You create the file in the user's $HOME. Do this as root by:

where remote-host is the hostname of the remote computer and the username is the user that will be accesssing this local computer. Because there are so many wrong ways to setup hostname resolution, always put the IP address in the .rhosts file. Then change the permissions and ownership:

Re: HPUX QA

You need to open a separate thread for this.

Use vgscan -v to recreate /etc/lvmtab or restore from a backup.

man vgscan (a portion below)

If /etc/lvmtab is destroyed, do not use vgscan to re-construct /etc/lvmtab if the system is heavily loaded by an application. Otherwise, vgscan will create an incomplete /etc/lvmtab due to a known NIKE/LVM limitation issue. It's important to quiesce the logical volume's I/O before re-constructing the /etc/lvmtab. If for some reason, there is a need to re-construct /etc/lvmtab when the system is running production application, vgscan will create a partial /etc/lvmtab. In this case, most of the primary paths should be included in the /etc/lvmtab. Use vgextend to include any missing alternate paths in the VG.

Re: HPUX QA

Getting following error[root@sfqaia7]vgscan -v"/etc/lvmtab" could not be read into memory.[root@sfqaia7][/]ll /etc/lvmtab -rw------- 1 root sys 0 Apr 21 01:48 /etc/lvmtab[root@sfqaia7][/]vgdisplay vgdisplay: No volume group name could be read from "/etc/lvmtab".[root@sfqaia7][/]

"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "

Re: HPUX QA

====================================On Linux Os below command used to untar abc.tar at PATH : /tmp/VIN/ #tar -xvf abc.tar -C /tmp/VIN/ But on HPUX Os 11.31 it is not able to do so.Kindly Suggest. Thanks in advance..====================================

"Success is matter of law not luck, Make ur own & follow them -Shivkhera[You Can Win] "

Re: HPUX QA

Incidentally, don't _blame_ HP-UX for chnaging the way tar works - the tar version in HP-UX has been around a lot longer than the GNU version - I always find it interesting that standards only suit Linux folks when they have them...