GETINFO.CIFS(1)GETINFO.CIFS(1)NAMEgetinfo.cifs - collect information useful for troubleshooting HP CIFS
SYNOPSISgetinfo.cifs [-t S|P|C] [-p collectionsfilepath] [-o tarfilename] [-x]
[-X] [-lc] [-lh]
This tool is part of the CIFS WTEC Support Tools suite.
getinfo.cifs is a relatively small perl script which collects informa‐
tion useful for troubleshooting problems on samba(7), CIFS Client, or
PAM_NTLM implementations running on the system.
OPTIONS-h Print a summary of command line options.
The parameter specifies what type of data to collect - choose
only one of S (HP CIFS Server), C (HP CIFS Client) or P
(pam_ntlm) depending on the problem you are gathering data for.
The choice here determines what configuration files to collect,
how to find the debug logs, etc.
Path to collection directory. This is the fully qualified path
to an existing directory where you want the getinfo.cifs script
to store the information it collects in preparation for creating
the tar file of information you will send to HP to aid in re‐
solving whatever issue has generated the need for data collec‐
tion. The default collection directory path is /tmp. The tarfile
will be created in this directory, as well as a subdirectory
called CIFSDIAG, where all other collected data will be stored.
The name to be used for the getinfo.cifs output tarfile. Default
is CIFS.tar.Z (file is compressed after tarring to facilitate
-x Do NOT collect sensitive data. Setting this option will inhibit
collection of smbpasswd, secrets.tdb, etc/passwd and etc/group
-X Do NOT collect ANY HP-UX files. This will prevent collection of
nsswitch.conf, pam.conf, inetd.conf, etc....
-lh Collect HPUX log files. This will enable collection of
/var/adm/syslog log files.
-lc Collect CIFS log files. This will enable collection of HP CIFS
Server log files in /var/opt/samba, or HP CIFS Client log files
in /var/opt/cifsclient/debug directories. Since these log files
tend to be LARGE, you would probably at LEAST want to remove any
current logs and reproduct the problem before running get‐
info.cifs, so that you only collect logs that are pertinent to
Specific information collected is:
rpcinfo -p|grep nfs
trusted system status
HP CIFS Sever running under ServiceGuard?
HP-UX Files Collected:
if NOT -x:
HP CIFS specific Files Collected:
if NOT -x:
/var/opt/samba/log.* (if -S)
/var/opt/cifsclient/debug/* (if -C)
EXAMPLESgetinfo.cifs-C -lh -lc
Would collect info pertinent to a Cifs Client problem, including
CIFS Client logfiles, and the syslog files.
Would collect info pertinent to a CIFS Server problem, but NOT
get CIFS Server debug logs or system logs.
This script was developed and tested under perl version 5.005_02 built
for PA-RISC1.1 . While it may run under previous versions it is recom‐
mended that you install 5.005_02 or higher for best results. NOTE: you
may need to modify the first line to point to whatever location YOUR
environment has perl installed.
SEE ALSOnmbd(8) and smbd(8)samba(7).
Don McCall, HP WTEC NOS Support Team