Skip to content

Instantly share code, notes, and snippets.

View DhruvParanjape's full-sized avatar

Dhruv Paranjape DhruvParanjape

View GitHub Profile
$ sudo yum -y upgrade
[sudo] password for DPAR:
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00
duh-GNOME_3.20_for_RHEL_and_CentOS_7.x | 3.0 kB 00:00
duh-LibreOffice_v5_for_RHEL_and_CentOS_7.x | 3.0 kB 00:00
elrepo | 2.9 kB 00:00
epel/x86_64/metalink | 5.5 kB 00:00
epel-spotify | 2.9 kB 00:00
extras | 3.4 kB 00:00
@DhruvParanjape
DhruvParanjape / rsyslog.log
Created October 19, 2016 11:11
rsyslog logs when a sample process was writing logs every 1 second. Total logs visible on /var/log/messages = 53, logs written to file = 9
5253.554900996:main thread : debug level 2 set via config file
5253.554912915:main thread : This is rsyslog version 8.22.0
5253.554916438:main thread : cnf:global:cfsysline: $WorkDirectory /var/lib/rsyslog
5253.554919206:main thread : doGetWord: get newval '/var/lib/rsyslog' (len 16), hdlr 0x7f371676dc50
5253.554924911:main thread : cnf:global:cfsysline: $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
5253.554927741:main thread : doGetWord: get newval 'RSYSLOG_TraditionalFileFormat' (len 29), hdlr 0x7f37167ac950
5253.554961299:main thread : requested to include config file '/etc/rsyslog.d/listen.conf'
5253.554978106:main thread : config parser: pushed file /etc/rsyslog.d/listen.conf on top of stack
5253.554981393:main thread : cnf:global:cfsysline: $SystemLogSocketName /run/systemd/journal/syslog
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
mysql> SHOW ENGINE ROCKSDB STATUS\G
*************************** 1. row ***************************
Type: DBSTATS
Name: rocksdb
Status:
** DB Stats **
Uptime(secs): 42.9 total, 42.9 interval
Cumulative writes: 1 writes, 0 keys, 1 commit groups, 0.5 writes per commit group, ingest: 0.00 GB, 0.00 MB/s
Cumulative WAL: 1 writes, 1 syncs, 0.50 writes per sync, written: 0.00 GB, 0.00 MB/s
Cumulative stall: 00:00:0.000 H:M:S, 0.0 percent
[dpar@localhost qhbuild]$ cpack -G RPM
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: MySQL
CPack: - Install project: MySQL
CPack: Create package
CPackRPM: Will use GENERATED spec file: /home/dpar/Projects/mysql/mysql-5.6/qhbuild/_CPack_Packages/Linux/RPM/SPECS/mysql.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug: - /home/dpar/Projects/mysql/mysql-5.6/qhbuild/_CPack_Packages/Linux/RPM/rpmbuild.err
CPackRPM:Debug: *** + umask 022
@DhruvParanjape
DhruvParanjape / tilix.log
Created March 31, 2017 11:26
tilix compile time error
/usr/include/d/std/experimental/logger/core.d(487): Error: safe function 'std.experimental.logger.core.defaultLogFunction!cast(LogLevel)cast(ubyte)128u.defaultLogFunction!(48, "source/app.d", "app.main", "int app.main(string[] args)", "app", string, Exception).defaultLogFunction' cannot call system function 'std.experimental.logger.core.Logger.memLogFunctions!cast(LogLevel)cast(ubyte)128u.logImpl!(48, "source/app.d", "app.main", "int app.main(string[] args)", "app", string, Exception).logImpl'
source/app.d(48): Error: template instance std.experimental.logger.core.defaultLogFunction!cast(LogLevel)cast(ubyte)128u.defaultLogFunction!(48, "source/app.d", "app.main", "int app.main(string[] args)", "app", string, Exception) error instantiating
/usr/include/d/std/experimental/logger/core.d(487): Error: safe function 'std.experimental.logger.core.defaultLogFunction!cast(LogLevel)cast(ubyte)128u.defaultLogFunction!(1315, "source/gx/tilix/appwindow.d", "gx.tilix.appwindow.AppWindow.loadSession", "void gx.tilix.appwind
@DhruvParanjape
DhruvParanjape / tilix.log
Created April 25, 2017 13:14
Error building tilix-1.5.6
make DCFLAGS='-O -inline -release -version=StdLoggerDisableTrace' DC=dmd
Making all in data/appdata
make[1]: Entering directory `/home/dpar/Projects/tilix/tilix-1.5.6/data/appdata'
/usr/bin/msgfmt --xml -d ../../po --template=com.gexperts.Tilix.appdata.xml.in -o com.gexperts.Tilix.appdata.xml
make[1]: Leaving directory `/home/dpar/Projects/tilix/tilix-1.5.6/data/appdata'
Making all in data/icons
make[1]: Entering directory `/home/dpar/Projects/tilix/tilix-1.5.6/data/icons'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dpar/Projects/tilix/tilix-1.5.6/data/icons'
Making all in data/pkg/desktop
2017-07-14 10:05:32,960 - ERROR - Unable to connect to server
Traceback (most recent call last):
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
2017-07-14 10:05:31,014 - INFO - Received ready request
2017-07-14 10:05:31,034 - INFO - Received event notification
2017-07-14 10:05:31,040 - INFO - Received event notification
2017-07-14 10:05:31,040 - INFO - Adding buffer identifiers for file: /home/dpar/qhutm2.0/source/qhconntrack_helper/qhconntrack_helper.cpp
serving on http://127.0.0.1:52263