TokuMX does not restart after an upgrade - tokumx

I was trying to use TokuMX, so I did:
sudo mongod --config /etc/tokumx.conf
and it just takes forever, and no response.
My TokuMX once worked fine. Everything broke when I upgraded MongoDB.
Any suggestions?
----------------------EDIT----------------------
Problem solved by re-installed TokuMX following
https://github.com/Tokutek/mongo/wiki/Migrating-Single-Server
Thanks everyone!

Related

SSL peer certificate or SSH remote key was not OK (60) for a fresh Nix installation

Fresh installation of Nix on Mac OS El Captain; I am getting the above error.
Simply trying to run nix-env -i hello. Curling other resources works.
Tried removing /nix and reinstalling, didnt help.
My shell seemed to be culprit.
If you run into the same issue I recommend try cleaning your environment.

Connecting Parse-Server to Heroku

Hey I'm having trouble connecting my Parse-Server to my Heroku app. I've been following this: https://github.com/parse-community/parse-server and I've done the first step for installing it locally by using npm install -g parse-server mongodb-runner which worked fine. However, the following steps to set up my AppID, MasterKey and MongoDB databaseURI don't work. I have all of these things already as I've used parse-server-example, however running this command parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test with the correct information hasn't worked for me, and I don't know what file to put my keys in. If someone could help me that would be very much appreciated as I just went in circles on this for 9+ hours today.
Thank you!
When I try node index.js
When I try npm install
Cloud Code Error
You should put your keys in index.js file. To run parse server locally, you need to use node index.js in your command line.
If you want to connect to heroku, you need to make a Procfile(simply touch Procfile), then add web: npm start into the file.
After you push to Heroku, go to settings, reveal config vars, then put all your keys there.
Both DATABASE_URI and MONDODB_URI should be your mongodb url(not local). SERVER_URL should be the heroku app url.

OpenSuse - Can't install Rails: File not found on medium

I'm trying to set up a Ruby on Rails environment within OpenSuse, but I've encountered a problem. When running sudo zypper install rubygem-railties-3_2 all I get is File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/Banshee/12.1/'. So something seems to be wrong at their side.
Is there anyone who as a workaround for, or more info about, this problem?
When running the command $ sudo zypper up I was receiving a similar error:
File ... not found on medium http:// ...
Detailed error:
File './x86_64/libxkbcommon0-0.7.2-48.2.x86_64.rpm' not found on medium 'http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_42.3/'
The solution which worked for me was to run $ sudo zypper ref before running $ sudo zypper up
Obviously, you have setup an additional repository for Banshee for a very old opensuse version. Opensuse only keeps its repositories alive for the last two two releases to the current release. For this reason, you get this error. You can disable or remove the repositorium to resolve the error.
In order to install packages that are not part of the currently configured repositories, it is the easiest to use the one-click install available at https://software.opensuse.org/search .

ps auxwww | grep psql - postgres not running with homebrew

I have installed Postgres 9.2.3 just now via Homebrew, initiated a db, and inputed the start command. It says "server starting", but whenever I try to do anything, it tells me:
psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Here are the things I have already done to try and fix this:
1) Fixed the path in my bash profile by adding this text: export PATH=/usr/local/bin:$PATH
2) uninstalled & reinstalled the pg gem
3) used the gem pristine function
4) tried uninstalling and reinstalling home-brew
5) removed the old version of postgres that came with the Mac
6) sudo chmod -R 777 /var/pgsql_socket/
Still, nothing I do works. I have even tried using the Postgres official installer and the Postgres App from Heroku. Nothing works.
It seems like I can't get postgres to run properly because when I run: ps auxw | grep postgres
I just get:
[MyName] 66744 0.0 0.0 2432768 596 s000 R+ 8:47PM 0:00.00 grep postgres
nothing else shows up, which suggests that nothing else is running.
I noticed that my username for my Mac is Zephyr, but the username postgres is using is my actual name. Could that be the issue?
Which I do which psql, I get the correct path of: /usr/local/bin/psql
I have been trying to get this to work for hours and nothing seems to resolve this connection issue. Any help would be appreciated!
I believe you need to setup postgresql manually which in some case is well hidden from user.
You can try these specific steps and see if it works(At least, worked in my Lion). Bear in mind, It is my local setup. I installed Postgresql from binary.
create a new folder named data in postgres folder(mine is at /opt/local/lib/postgresql90/data). Make sure your chmod that folder. data is just simple to remember.
run initdb to initialize postgres data. Mine is
/opt/local/lib/postgresql90/bin/initdb -D
/opt/local/lib/postgresql90/data.
Start server:
/opt/local/lib/postgresql90/bin/pg_ctl -D
/opt/local/lib/postgresql90/data start
Tips: Put these paths into env variables.
Hope it helps :)

Permanent fix to tail: cannot watch `log/development.log': No space left on device

I've been using Ubuntu 11.10 for a little over a week now. But after some time I encountered this error(the one in the title) when Im trying to access the log in my RoR project. I found a fix which is by pasting this in the terminal:
sudo sysctl -w fs.inotify.max_user_watches=16384
The problem is I have to do this again and again everyday. Does anyone know how I can execute this at startup? Or does anyone know any permanent solution? thanks much!!!
I started having this problem with tailing. I think it is because I am also running dropbox on this machine.
My fix is what dropbox suggests:
echo 900000 | sudo tee /proc/sys/fs/inotify/max_user_watches
My issue was fixed. Thanks for everyone who helped!
I placed "fs.inotify.max_user_watches=16384" in /etc/sysctl.conf

Resources