Changes

From SME Server
Jump to navigationJump to search
1,194 bytes added ,  20:48, 6 February 2014
no edit summary
Line 11: Line 11:  
  events  
 
  events  
 
  groups-users
 
  groups-users
 +
logcheck
 
  newrpms  
 
  newrpms  
 
  pseudonyms  
 
  pseudonyms  
Line 30: Line 31:  
====groups-users====
 
====groups-users====
 
The purpose of this tool is to verify correct GID and UID of essential groups and users of SME and to display all users, groups, ibays set in the collaboration panel of server-manager.
 
The purpose of this tool is to verify correct GID and UID of essential groups and users of SME and to display all users, groups, ibays set in the collaboration panel of server-manager.
 +
====logcheck====
 +
Include a way to check log files for possible errors. The main use would be for the development team to check if new packages introduce new errors, such as uninitialised variables.
 +
logcheck [days] [location]
 +
 +
* days lets you specify if only recent logs are checked based on mtime
 +
* location lets you specify where the log should go if not specified then it uses  /tmp
 +
 +
Without argument the default is to write to /tmp and check the last two days of logs. The output is in a file log<date>, eg log013114
 +
The initial strings checked for are
 +
useless|warn|fail|error|disable|remov|unable|exit
 +
 +
Examples of use
 +
 +
# Check all log files modified in the last 5 days and put the results in the 'one' ibay
 +
[root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck 5 /home/e-smith/files/ibays/one/files
 +
Log file: /home/e-smith/files/ibays/one/files/log020214
 +
 +
# Default is to write to /tmp and check the last two days of logs
 +
[root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck
 +
Log file: /tmp/log020214
 +
 +
# Check all log files modified in the last 2 days and put the results in the current directory
 +
[root@sme9x64 ~]# /sbin/e-smith/audittools/logcheck .
 +
Log file: ./log020214
 +
 
====newrpms====
 
====newrpms====
 
This script provides you with a list of RPMs that are installed outside the default repositories. This can be used to determine what RPM packages you have installed additionally.
 
This script provides you with a list of RPMs that are installed outside the default repositories. This can be used to determine what RPM packages you have installed additionally.

Navigation menu