Changes

Jump to navigation Jump to search
546 bytes removed ,  13:16, 26 January 2014
m
no edit summary
Line 1: Line 1:     
==SME Server locale==
 
==SME Server locale==
By default the sme server 8 locale is ISO-8859-1
+
By default the sme server 8 locale is ISO-8859-1ldapsear
    
==Apache Related Commands==
 
==Apache Related Commands==
Line 183: Line 183:  
If a specific sme group or linux group is missing, you can create it again. see [[bugzilla:7932#c48]]
 
If a specific sme group or linux group is missing, you can create it again. see [[bugzilla:7932#c48]]
 
  groupadd -g 102 -o apache
 
  groupadd -g 102 -o apache
  rpm --setperms rpm1 rpm2
+
  rpm --setugids --setperms rpm1 rpm2
rpm --setugids rpm1 rpm2
      
where 102 is the correct gid of apache group, adapt it to the right setting
 
where 102 is the correct gid of apache group, adapt it to the right setting
Line 272: Line 271:     
==Log==
 
==Log==
===Quick Parse of Log===
+
===Parse Log to find errors===
a quick parse of your log, but you should read the entire log
  −
less  /var/log/messages| grep -iE "uninitialized|WARNING|ERROR"
  −
===Deep parse Log to find errors===
   
When you want to test the SME Product it can be useful to see what it occurs
 
When you want to test the SME Product it can be useful to see what it occurs
 
This CL can help you, but you should read the entire log
 
This CL can help you, but you should read the entire log
  less  /var/log/messages| grep -iE "useless|uninitialized|warn|fail|error|disable|unable|exit"
+
  less  /var/log/messages| grep -iE "uninitialized|WARNING|ERROR"
 
of course this is for the /var/log/messages
 
of course this is for the /var/log/messages
  −
===Parse all Logs to find errors===
  −
Parse all logs and write (under /root) the output to a text file named with the date of day. For example log012214:
  −
  −
find /var/log/ -mtime -2 -print -exec sh -c 'cat "{}" | tai64nlocal | egrep -i "useless|warn|fail|error|disable|remov|unable|exit"' \; > "log$(date +'%m%d%y')" 2>&1
  −
then:
  −
cd /root
  −
less log012214
      
==Mail==
 
==Mail==

Navigation menu