Skip to content

Commit 268bbb4

Browse files
committed
a few more common expected file error filters
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6084 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent 2849880 commit 268bbb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mig/install/migerrors-template.sh.cronjob

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ grep -H ERROR $LOGDIR/chkchroot.log | grep -E -v " from ${SECSCANIP} "| \
4444
4545
# NOTE: we ignore script crashed errors here and treat specifically next
4646
grep -H ERROR $LOGDIR/mig.log | \
47-
grep -E -v "problems importing arclib|disabled in configuration|(settings|userprofile) could not be opened/unpickled|load (ssh|ftps|davs|seafile) publickeys failed|is not a valid openid provider|script crashed:|INFO Content-Length missing or zero|${SECSCANIP} (refused to|could not) import .*shared\.functionality\.|INFO Not available on this site.*Replied .ERROR.|: failed on .*: .*\[Errno 2\] No such file or directory: |: failed on .*: .*\[Errno 17\] File exists: " | tail -n $MAXLINES
47+
grep -E -v "problems importing arclib|disabled in configuration|(settings|userprofile) could not be opened/unpickled|load (ssh|ftps|davs|seafile) publickeys failed|is not a valid openid provider|script crashed:|INFO Content-Length missing or zero|${SECSCANIP} (refused to|could not) import .*shared\.functionality\.|INFO Not available on this site.*Replied .ERROR.|: failed on .*: .*\[Errno 2\] No such file or directory: |: failed on .*: .*\[Errno 17\] File exists: |create directory failed: .*\[Errno 17\] File exists:|refusing rm link: .*/user_home/.*/Trash" | tail -n $MAXLINES
4848
# Extract variable length script crash tracebacks terminated with a blank line
4949
sed -n "/ERROR.* script crashed:/""{ :a; $p; N; /\n$/!ba; p; }" $LOGDIR/mig.log | tail -n $MAXLINES
5050

0 commit comments

Comments
 (0)