Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
User talk:Stephdl
(view source)
Revision as of 22:09, 26 January 2014
822 bytes added
,
22:09, 26 January 2014
→different wiki syntax
Line 35:
Line 35:
plop
plop
</syntaxhighlight>
</syntaxhighlight>
+
==Log==
+
===Quick Parse of Log===
+
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
+
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"
+
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
+
==== Creating and starting service ====
==== Creating and starting service ====
ln -f -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98popfile
ln -f -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98popfile
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
User page
Discussion
View source
History
Page actions
User page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
User contributions
Logs
View user groups
Special pages
Printable version
Search