getinfo.cifs man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]


       getinfo.cifs  -	collect information useful for troubleshooting HP CIFS

       getinfo.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.

       -h     Print a summary of command line options.

       -t <S|C|P>
	      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.

       -p <path>
	      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.

       -o <filename>
	      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
	      the problem.

       Specific information collected is:

	      uname -a

	      rpcinfo -p|grep nfs

	      what smbd|cifsclientd|libpam_ntlm.1

	      trusted system status

	      HP CIFS Sever running under ServiceGuard?

       HP-UX Files Collected:






	      if NOT -x:



	      if -lh:


       HP CIFS specific Files Collected:
	      if -S:



	      if -C||-P:



	      if NOT -x:



	      if -lc:

	      /var/opt/samba/log.* (if -S)

	      /var/opt/cifsclient/debug/* (if -C)

	      getinfo.cifs -C -lh -lc

	      Would collect info pertinent to a Cifs Client problem, including
	      CIFS Client logfiles, and the syslog files.

	      getinfo.cifs -S

	      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.

       nmbd(8) and smbd(8) samba(7).

       Don McCall, HP WTEC NOS Support Team


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net