If you see the below error when trying to run the vagrant up command. Add the export variable to fix the problem.
1114: A dynamic link library (DLL) initialization routine failed. - C:/HashiCorp/Vagrant/embedded/gems/gems/nio4r-1.0.0/lib/nio4r_ext.so
If you encounter a problem with MongoDB with the below error. Its worth checking that your Linux OS does not have an override for your sysctl.conf settings called etc/security/limits.d/90-nproc.conf
[initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable
[initandlisten] can’t create new thread, closing connection
Add a new conf file after with the updated details in the /etc/security/limits.d/ folder entitled 91.mongod.conf. Ensure that the number is after the previous conf file to ensure it gets loaded last.
root - nofile 21000
mongod - nofile 21000
mongod soft nproc 62848
mongod hard nproc 62848
To enable colour in cygwin simply add the below to your .vimrc file.
If your having problems with installing via yum due to dependancies.
Try the below command
yum install --skip-broken PACKAGE-HERE
The below script was set to check for a specific file mapping that was disconnecting. If detected it will then remap the drive.
Simply change the s part in s:null to your drive letter and then add in the Email and mapping details which are highlighted in caps with the hyphen (eg EMAIL-HERE)
if exist s:nul if exist map.lock del map.lock & goto END
if exist map.lock goto END
if exist s:nul goto END
print "drive not mapped"
blat -to "EMAIL-HERE" -server SMTP-HERE -f SERVER-HERE@root.com -subject "Mapping Failed" -body "drive Mapping Failed/disconnected"
echo & map.lock
net use s: \\DNS-ADDRESS-HERE\FOLDER-HERE
To check if windows server 2003 is 64 bit then run the below.
To test writing a 1GB file to disk and then remove the file.
Run the below
dd if=/dev/zero of=bigfile bs=1M count=1000 ; rm -f bigfile