HP-UX

How can I log information about ftp accesses to a file?

1) In /etc/syslog.conf, add the line: daemon.debug /tmp/daemon.log 2) # touch /tmp/daemon.log # refresh -s syslogd 3) Modify your inetd.conf so that ftpd is called with the “-l” flag. You may also want the “-d” flag. This can be done with ‘smit inetdconf’. All the syslog messages from various system daemons should now appear in …

How can I log information about ftp accesses to a file? Read More »

How do I get rid of the verbose error messages?

Many of the messages from the Unix commands are available in different languages. This is controlled by the LANG environment variable, the default being En_US meaning English in the US. All the default messages have a message number associated with them, e.g.: $ cat no-such-file cat: 0652-050 Cannot open no-such-file. If you prefer the terser …

How do I get rid of the verbose error messages? Read More »

How to Calculating Free PE in HP-UX

Calculating free PE’s vgdisplay -v <vgname> e.g. vg02 # vgdisplay -v vg02— Volume groups —VG Name                     /dev/vg02VG Write Access             read/writeVG Status                   availableMax LV                      255Cur LV                      1Open LV                     1Max PV                      16Cur PV                      1Act PV                      1Max PE per PV               35004VGDA                        2PE Size (Mbytes)            8        —> 1 PE is  8 MBTotal PE                    17499Alloc PE                    17400Free PE                     99              —> …

How to Calculating Free PE in HP-UX Read More »

LogicalExtentsNumber is bigger than the maximum value allowed in hp-ux

If you get this error when trying to lvextend a lvol: lvextend: “LogicalExtentsNumber” is bigger than the maximum value allowed. It is becuse you have tried to use more than 65,535 logical extents — the limit for a logical volume. Your only choice is to recreate the *volume group* (‘vgcreate’) and specify a larger extent size …

LogicalExtentsNumber is bigger than the maximum value allowed in hp-ux Read More »

Scroll to Top