Depends which version of MongoDB are you using. Normally can remove by using yum. [code lang=”bash”] yum remove mongo-10gen mongo-10gen-server [/code] or [code lang=”bash”] yum remove mongo-10gen-2.2.3 mongo-10gen-server-2.2.3 [/code]
Author Archives: juzhax
MongoDB Error: exception in initAndListen std::exception: boost::filesystem::exists: Permission denied: “/sys/devices/system/node/node1”
I found this error while installed yum install mongo-10gen-2.2.3 mongo-10gen-server-2.2.3 in CentOS 6.4 64bit Wed Oct 16 16:19:08 [initandlisten] MongoDB starting : pid=22457 port=27017 dbpath=/var/lib/mongo 64-bit host=xxxxxxx.net Wed Oct 16 16:19:08 [initandlisten] exception in initAndListen std::exception: boost::filesystem::exists: Permission denied: “/sys/devices/system/node/node1”, terminating Wed Oct 16 16:19:08 dbexit: Wed Oct 16 16:19:08 [initandlisten] shutdown: going to close Continue reading “MongoDB Error: exception in initAndListen std::exception: boost::filesystem::exists: Permission denied: “/sys/devices/system/node/node1””
MongoDB Error: about to fork child process, waiting until server is ready for connections.
Optimize Server Hard Disk for Performance to MySQL but not safe
sudo tune2fs -o journal_data_writeback /dev/sda1 (use the right partition) vim /etc/fstab ext4 errors=remount-ro,noatime,nodiratime,data=writeback,barrier=0,nobh,commit=100,nouser_xattr 0 1 vim /etc/my.cnf innodb_flush_log_at_trx_commit = 2
Install pngcrush for Centos 6
Important update © juzhax.com CentOS 6 is end-of-life. The original RepoForge HTTP RPM link below is historical and should not be used as an installation recommendation. On a supported Linux distribution, search trusted configured repositories for pngcrush and install the signed package if available. Do not install an unverified legacy RPM or disable signature checks. Continue reading “Install pngcrush for Centos 6”
lftp command for mirroring FTP
What this command does © juzhax.com The historical example uploads a local directory to a remote server using reverse mirroring. Plain FTP is not encrypted, and credentials supplied on the command line can be exposed in history or process listings. Prefer SFTP or properly configured FTPS, use securely managed credentials and a trusted host, and Continue reading “lftp command for mirroring FTP”
Script for optimizing images in a directory (recursive) in Linux
Safety update © juzhax.com The original 2013 script below is retained for reference, not recommended for unattended use. Its unquoted file iteration breaks on whitespace, shared temporary filenames can collide, and metadata removal can discard orientation or color information. Work on a backup, use null-delimited file iteration and unique temporary files, retain necessary metadata, and Continue reading “Script for optimizing images in a directory (recursive) in Linux”
The first post on Juzhax.com
The first post on Juzhax.com My previous personal blog, Justin.my isn’t a personal blog anymore. It is most like a game walkthrough, solution sites more than a personal blog. And there is no place to let me share some technology related post there. What am I going to share in here I would like to Continue reading “The first post on Juzhax.com”
