Skip to content

Instantly share code, notes, and snippets.

View deajan's full-sized avatar

Orsiris de Jong deajan

View GitHub Profile
Apr 5 05:49:22 backupmaster kernel: INFO: task kswapd0:46 blocked for more than 120 seconds.
Apr 5 05:49:22 backupmaster kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 5 05:49:22 backupmaster kernel: kswapd0 D ffff88021fc13680 0 46 2 0x00000000
Apr 5 05:49:22 backupmaster kernel: ffff880210fab778 0000000000000046 ffff880210fabfd8 0000000000013680
Apr 5 05:49:22 backupmaster kernel: ffff880210fabfd8 0000000000013680 ffff880213d64440 ffff880213d64440
Apr 5 05:49:22 backupmaster kernel: ffff8800d22ee570 fffffffeffffffff ffff8800d22ee578 0000000000000001
Apr 5 05:49:22 backupmaster kernel: Call Trace:
Apr 5 05:49:22 backupmaster kernel: [<ffffffff81609e29>] schedule+0x29/0x70
Apr 5 05:49:22 backupmaster kernel: [<ffffffff8160b925>] rwsem_down_read_failed+0xf5/0x165
Apr 5 05:49:22 backupmaster kernel: [<ffffffff812ede0d>] ? list_del+0xd/0x30
[root@storagemaster logs]# cat catalina.out
Apr 06, 2015 2:51:38 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.1.32 using APR version 1.4.6.
Apr 06, 2015 2:51:38 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Apr 06, 2015 2:51:38 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 0.9.8y 5 Feb 2013)
Apr 06, 2015 2:51:38 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Apr 06, 2015 2:51:38 PM org.apache.coyote.AbstractProtocol init
Apr 27 11:07:14 backupmaster kernel: INFO: task kswapd0:46 blocked for more than 120 seconds.
Apr 27 11:07:14 backupmaster kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 27 11:07:14 backupmaster kernel: kswapd0 D ffff88021fc13680 0 46 2 0x00000000
Apr 27 11:07:14 backupmaster kernel: ffff880210a73bb0 0000000000000046 ffff880210a73fd8 0000000000013680
Apr 27 11:07:14 backupmaster kernel: ffff880210a73fd8 0000000000013680 ffff880213d64440 ffff8800cf24a498
Apr 27 11:07:14 backupmaster kernel: ffff8800cf24a49c ffff880213d64440 00000000ffffffff ffff8800cf24a4a0
Apr 27 11:07:14 backupmaster kernel: Call Trace:
Apr 27 11:07:14 backupmaster kernel: [<ffffffff8160b029>] schedule_preempt_disabled+0x29/0x70
Apr 27 11:07:14 backupmaster kernel: [<ffffffff81608d55>] __mutex_lock_slowpath+0xc5/0x1c0
Apr 27 11:07:14 backupmaster kernel: [<ffffffff816081bf>] mutex_lock+0x1f/0x2f
@deajan
deajan / npvhost
Created May 6, 2015 17:01
npvhost
<VirtualHost XX.XX.XX.XX:80>
DocumentRoot /home/www/myhost.tld/ftp/www
ServerName myhost.tld
ServerAlias www.myhost.tld
#ServerAdmin contact@myhost.tld
<Directory "/home/www/myhost.tld/ftp/www">
Require all granted
DirectoryIndex index.php index.html index.htm
AllowOverride All
<IfModule !mod_version.c>
LoadModule version_module /usr/lib64/httpd/modules/mod_version.so
</IfModule>
<IfVersion < 2.4>
LoadModule pagespeed_module /usr/lib64/httpd/modules/mod_pagespeed.so
</IfVersion>
<IfVersion >= 2.4.2>
LoadModule pagespeed_module /usr/lib64/httpd/modules/mod_pagespeed_ap24.so
</IfVersion>
<IfModule !mod_deflate.c>
2015-08-19 13:53:28 INFO 3192 MainThread logging:1627 | info | -----------------------------------------------
2015-08-19 13:53:28 INFO 3192 MainThread logging:1627 | info | Starting agent locally on http://localhost:5556/
2015-08-19 13:53:28 INFO 3192 MainThread logging:1627 | info | ------------------------------------------------
2015-08-19 13:56:31 INFO 8828 Thread-2 logging:1627 | info | Scanning for changes since last application launch
2015-08-19 13:56:31 INFO 3932 Thread-3 logging:1627 | info | Starting permanent monitor
2015-08-19 13:56:31 INFO 8828 Thread-2 logging:1627 | info | Loading remote changes with sequence 0
2015-08-19 13:56:35 INFO 8828 Thread-2 logging:1627 | info | Loading local changes with sequence 0
2015-08-19 13:56:35 INFO 8828 Thread-2 logging:1627 | info | Reducing changes
2015-08-19 13:56:35 INFO 8828 Thread-2 logging:1627 | info | [change store] Filtering unnecessary changes : pruned 0 rows
2015-08-19 13:56:35 INFO 8828 Thread-2 logging:162
@deajan
deajan / gist:5132423dc99139df45e2
Created September 4, 2015 11:57
regain-server-crawler
13:43:25: Retrying preparation of: file:///storage/papiers/OZY/VEHICULE/VEHICULE.2015-08-23T14-56-16Z_ocr.pdf
13:43:25: Marking old entry for a later deletion: file:///storage/papiers/OZY/VEHICULE/VEHICULE.2015-08-23T14-56-16Z_ocr.pdf from 20150823
13:43:26: Preparing file:///storage/papiers/OZY/VEHICULE/VEHICULE.2015-08-23T14-56-16Z_ocr.pdf with preparator net.sf.regain.crawler.preparator.PdfBoxPreparator failed
net.sf.regain.RegainException: Preparing file:///storage/papiers/OZY/VEHICULE/VEHICULE.2015-08-23T14-56-16Z_ocr.pdf with preparator net.sf.regain.crawler.preparator.PdfBoxPreparator failed
at net.sf.regain.crawler.document.DocumentFactory.createDocument(DocumentFactory.java:336)
at net.sf.regain.crawler.document.DocumentFactory.createDocument(DocumentFactory.java:251)
at net.sf.regain.crawler.IndexWriterManager.createNewIndexEntry(IndexWriterManager.java:749)
at net.sf.regain.crawler.IndexWriterManager.addToIndex(IndexWriterManager.java:732)
at net.sf.regain.cr
drush.phar pm-update --debug
Phar detected. Proceeding to drush_main().Loading drushrc "/root/.drush/drushrc.php" into "home.drush" scope. [0.01 sec, 2.93 MB] [bootstrap]
Cache HIT cid: 8.1.0-commandfiles-0-3dcf7bb1b4f2d6e67bd5dbb1ba490e38 [0.01 sec, 2.97 MB] [debug]
Bootstrap to phase 0. [0.09 sec, 6.17 MB] [bootstrap]
Bootstrap to phase 6. [0.09 sec, 6.17 MB] [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.1 sec, 6.71 MB] [bootstra
-- Logs begin at Mon 2016-06-27 05:14:51 EDT, end at Mon 2016-06-27 03:17:43 EDT. --
Jun 27 05:14:51 localhost systemd-journald[239]: Runtime journal (/run/log/journal/) is 8.0M, max 796.2M, 788.2M free.
Jun 27 05:14:51 localhost kernel: Linux version 4.5.5-300.fc24.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 6.1.1 20160510 (Red Hat 6.1.1-2) (GCC) ) #1 SMP Thu May 19 13:05:32 UTC 2016
Jun 27 05:14:51 localhost kernel: Command line: BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-24-1-2 rd.live.image nomodeset quiet
Jun 27 05:14:51 localhost kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Jun 27 05:14:51 localhost kernel: x86/fpu: xstate_offset[3]: 960, xstate_sizes[3]: 64
Jun 27 05:14:51 localhost kernel: x86/fpu: xstate_offset[4]: 1024, xstate_sizes[4]: 64
Jun 27 05:14:51 localhost kernel: x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
Jun 27 05:14:51 localhost kernel: x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
#!/usr/bin/env bash
script_dir="$(dirname $0)"
if [ -f "$script_dir"/jre/bin/java ]; then
cd "$script_dir"
./jre/bin/java -Xmx384m -Djava.net.preferIPv4Stack=true -cp "lib/secure_shelp.jar:lib/secure_utils.jar:lib/secure_nlink.jar:lib/mail.jar:lib/activation.jar:lib/commons-logging.jar:lib/commons-pool.jar:lib/gnu-crypto.jar:lib/jradius-core.jar:lib/jradius-dictionary.jar:lib/jradius-extended.jar" -Djava.awt.headless=true SecureRunner1 com.aem.shelp.proxy.ProxyServerStartup &
else
cat <<< "$script_dir/jre/bin/java not found." 1>&2
exit 1
fi