This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Please set the ROOT to the folder your nxlog was installed into, | |
## otherwise it will not start. | |
#define ROOT C:\Program Files\nxlog | |
define ROOT C:\Program Files (x86)\nxlog | |
define ROOT_STRING C:\Program Files (x86)\\nxlog | |
Moduledir %ROOT%\modules | |
CacheDir %ROOT%\data | |
Pidfile %ROOT%\data\nxlog.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ctclogstash02 ~]# printf "0x%x\n" 1961 | |
0x7a9 | |
[root@ctclogstash02 ~]# su -s /bin/bash -c 'jstack 1082' logstash > /tmp/jstack.out | |
1082: Unable to open socket file: target process not responding or HotSpot VM not loaded | |
The -F option can be used when the target process is not responding | |
[root@ctclogstash02 ~]# su -s /bin/bash -c 'jstack -F 1082' logstash > /tmp/jstack.out | |
Attaching to process ID 1082, please wait... | |
Debugger attached successfully. | |
Server compiler detected. | |
JVM version is 24.65-b04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ctceapvhmdbstg1 ~]# puppet agent -t | |
Fact file /etc/facter/facts.d/ctceapvhmdbstg1.txt was parsed but returned an empty data set | |
Notice: Ignoring --listen on onetime run | |
Info: Retrieving pluginfacts | |
Info: Retrieving plugin | |
Info: Loading facts | |
Fact file /etc/facter/facts.d/ctceapvhmdbstg1.txt was parsed but returned an empty data set | |
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: (/etc/puppet/environments/production/hiera.yaml): sequence entries are not allowed here at line 5 column 13 at /etc/puppet/environments/production/manifests/site.pp:5 on node ctceapvhmdbstg1.domain.loc | |
Warning: Not using cache on failed catalog | |
Error: Could not retrieve catalog; skipping run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ctcinteract-app01:~# puppet agent -t --verbose --debug --trace | |
Debug: Failed to load library 'selinux' for feature 'selinux' | |
Debug: Using settings: adding file resource 'plugindest': 'File[/var/lib/puppet/lib]{:backup=>false, :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :path=>"/var/lib/puppet/lib"}' | |
Debug: Using settings: adding file resource 'classfile': 'File[/var/lib/puppet/classes.txt]{:backup=>false, :ensure=>:file, :loglevel=>:debug, :owner=>"root", :mode=>"640", :links=>:follow, :path=>"/var/lib/puppet/classes.txt"}' | |
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist | |
Debug: Puppet::Type::User::ProviderPw: file pw does not exist | |
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false | |
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist | |
Debug: /User[puppet]: Provider useradd does not support features libuser; not managing attribute forcelocal | |
Debug: Puppet::Type::Group::ProviderPw: file pw does not exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ctclnxmgr02 environments]# puppet apply --modulepath hieratest/modules hieratest/manifests/site.pp --hiera_config /etc/hiera.yaml | |
Fact file /etc/facter/facts.d/ctclnxmgr02.txt was parsed but returned an empty data set | |
Fact file /etc/facter/facts.d/ctclnxmgr02.txt was parsed but returned an empty data set | |
Notice: Scope(Class[Ntp]): autoupdate parameter has been deprecated and replaced with package_ensure. Set this to latest for the same behavior as autoupdate => true. | |
Notice: Compiled catalog for ctclnxmgr02.vm.local in environment production in 1.96 seconds | |
Notice: Finished catalog run in 0.50 seconds | |
[root@ctclnxmgr02 environments]# puppet agent -t --noop --environment hieratest | |
Fact file /etc/facter/facts.d/ctclnxmgr02.txt was parsed but returned an empty data set | |
Info: Retrieving pluginfacts | |
Info: Retrieving plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file manages Puppet module dependencies. | |
# | |
# It works a lot like Bundler. We provide some core modules by | |
# default. This ensures at least the ability to construct a basic | |
# environment. | |
def github(name, version, options = nil) | |
options ||= {} | |
options[:repo] ||= "boxen/puppet-#{name}" | |
mod name, version, :github_tarball => options[:repo] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/src/boxen[master*]% script/boxen --debug | |
Boxen has a dirty tree, won't auto-update! | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1414:in `fu_each_src_dest0': undefined method `to_str' for nil:NilClass (NoMethodError) | |
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1400:in `fu_each_src_dest' | |
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:423:in `cp_r' | |
from /Users/chris/src/boxen/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/lib/librarian/puppet/source/githubtarball.rb:58:in `install_version!' | |
from /Users/chris/src/boxen/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/lib/librarian/puppet/source/githubtarball.rb:202:in `install!' | |
from /Users/chris/src/boxen/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/manifest.rb:89:in `install!' | |
from /Users/chris/src/boxen/.bundle/ruby/1.8/gems/librarian-puppet-0.9.8/vendor/librarian/lib/librarian/action/install.rb:49: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/boxen/repo[master]% script/boxen --debug | |
Boxen is up-to-date. | |
--> Hey, I need your current GitHub credentials to continue. | |
GitHub login: |chris| cdenneen | |
GitHub password: *********** | |
Could not resolve the dependencies. | |
Can't run Puppet, fetching dependencies with librarian failed. | |
/opt/boxen/repo[master*]% script/boxen --debug | |
Boxen has a dirty tree, won't auto-update! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/boxen/repo[master*]% script/boxen --debug | |
Boxen has a dirty tree, won't auto-update! | |
Could not resolve the dependencies. | |
Can't run Puppet, fetching dependencies with librarian failed. | |
/opt/boxen/repo[master*]% rm .projects | |
/opt/boxen/repo[master]% script/boxen --debug | |
Boxen is up-to-date. | |
Could not resolve the dependencies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/boxen% rm -rf repo | |
/opt/boxen% mkdir repo | |
/opt/boxen% sudo chown chris:admin repo | |
/opt/boxen% git clone https://github.com/boxen/our-boxen repo | |
Cloning into 'repo'... | |
remote: Counting objects: 1019, done. | |
remote: Compressing objects: 100% (493/493), done. | |
remote: Total 1019 (delta 458), reused 993 (delta 439) | |
Receiving objects: 100% (1019/1019), 22.71 MiB | 2.12 MiB/s, done. |
OlderNewer