Tag : centos

The mongodb database is connected through a shell, and clusters deployed by replication can be connected as follows: mongos mongodb://ctl1m:27017,ctl2m:27017,ctl3m:27017/? replicaSet=rs0 So, how should I connect if it is a sharding cluster deployment?I have tried the following, but I will report an error: [root@ctl1m ~]# mongos mongodb://ctl1m:30000,ctl2m:30000,ctl3m:30000/ Error parsing command line: too many positional options ..

Read more

1. The default maximum number of connections for 1.mongodb sharding cluster is 819. I want to increase the number, but the adjustment has not been successful. [root@ctl1m ~]# mongo mongodb://10.0.1.121:30000 MongoDB shell version v3.4.9 connecting to: mongodb://10.0.1.121:30000 MongoDB server version: 3.4.9 2018-01-18T18:19:13.270+0800 I CONTROL [main] mongos> db.serverStatus().connections { “current” : 715, “available” : 104, “totalCreated” ..

Read more

Centos7 yum installs mongodbExecute systemctl start mongodLog:mongod.service – SYSV: Mongo is a scalable, document-oriented database.Loaded: loaded (/etc/rc.d/init.d/mongod)Active: failed (result: exit-code) since4 2016-08-18 20:54:19 CST; 3s agoDocs: man:systemd-sysv-generator(8)Process: 28344 ExecStop=/etc/rc.d/init.d/mongod stop (code=exited, status=0/SUCCESS)Process: 28692 ExecStart=/etc/rc.d/init.d/mongod start (code=exited, status=1/FAILURE)August 18 20: 54: 19 localhost.localdomainsystemd [1]: startingsysv: mongois Scalable, document-oriented database ….August 18 20: 54: 19 localhost.localdomainrunuser [28699]: ..

Read more

The server is Aliyun 64-bit centos7. My installation procedure is as follows Modify yum package management systemvim /etc/yum.repos.d/mongodb-org-3.2.repo Fill in configuration[mongodb-org-3.2]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/gpgcheck=0enabled=1 Yum installationyum install -y mongodb-org Error prompt, look at English is the connection timeout without other images, how do I configure other images? Or modify baseurl directly? Don’t you just download it yourself ..

Read more

It was installed on AriyunCentOs7Mongodb version2.4.9 Installed in/usr/local/mongodb/under There is no problem in starting manually. In/etc/rc.d/rc.localAdded in /usr/local/mongodb/bin/mongod –dbpath=/usr/local/mongodb/db –logpath=/usr/local/mongodb/logs/mongodb.log Is it related to IP? I remember that there is no problem with this setup, solve it Just got it yesterday, it’s probably sudo service mongo xxx, please check the official ..

Read more

Hello-world running in docker on centos has the following problems, please hurry! panic: standard_init_linux.go:178: exec user process caused “permission denied” [recovered]panic: standard_init_linux.go:178: exec user process caused “permission denied” goroutine 1 [running, locked to thread]:panic(0x6f3000, 0xc4201385b0) /usr/lib/golang/src/runtime/panic.go:500 +0x1a1 github.com/urfave/cli.HandleAction.func1(0xc420083748) /builddir/build/BUILD/docker-96d83a5ff6ec0eb9bb7b45192c3048fd3aef5e21/runc-81b254244390bc636b20c87c34a3d9e1a8645069/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x247 panic(0x6f3000, 0xc4201385b0)… So the subject should be solved. It’s selinux’..

Read more

docker run ubuntu echo ‘hello world’ FATA[0000] Error response from daemon: Cannot start container eb003f7a69d1d5add4d0d5958964fc721e1e4d462878883be286006fa97539f7: mkdir /sys/fs/cpuset: no such file or directory uname -a VM centos 6.6 Linux james 3.10.5-3.el6.x86_64 #1 SMP Tue Aug 20 14:10:49 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Try docker restart.I also encountered run failures on centos 6+doc 1.5Dock..

Read more