-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with nuvedb setup, mongo installation appears to fail #8
Comments
Hi Robert, it seems like the error occurs when starting mongo. Try to start it without the script with mongod --dbpath path/to/lynckia/build/db let's see what happen. Regards, |
I have same problem, here is the output: mongod --dbpath lynckia/build/db
Mon Apr 1 18:06:20 [initandlisten] MongoDB starting : pid=18633 port=27017 dbpath=lynckia/build/db 64-bit host=ip-10-33-169-137
Mon Apr 1 18:06:20 [initandlisten] db version v2.0.4, pdfile version 4.5
Mon Apr 1 18:06:20 [initandlisten] git version: nogitversion
Mon Apr 1 18:06:20 [initandlisten] build info: Linux yellow 2.6.24-29-server #1 SMP Tue Oct 11 15:57:27 UTC 2011 x86_64 BOOST_LIB_VERSION=1_46_1
Mon Apr 1 18:06:20 [initandlisten] options: { dbpath: "lynckia/build/db" }
Mon Apr 1 18:06:20 [initandlisten] journal dir=lynckia/build/db/journal
Mon Apr 1 18:06:20 [initandlisten] recover : no journal files present, no recovery needed
Mon Apr 1 18:06:20 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017
Mon Apr 1 18:06:20 [websvr] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:28017
Mon Apr 1 18:06:20 [websvr] ERROR: addr already in use
Mon Apr 1 18:06:20 [initandlisten] ERROR: addr already in use
Mon Apr 1 18:06:20 [initandlisten] now exiting
Mon Apr 1 18:06:20 dbexit:
Mon Apr 1 18:06:20 [initandlisten] shutdown: going to close listening sockets...
Mon Apr 1 18:06:20 [initandlisten] shutdown: going to flush diaglog...
Mon Apr 1 18:06:20 [initandlisten] shutdown: going to close sockets...
Mon Apr 1 18:06:20 [initandlisten] shutdown: waiting for fs preallocator...
Mon Apr 1 18:06:20 [initandlisten] shutdown: lock for final commit...
Mon Apr 1 18:06:20 [initandlisten] shutdown: final commit...
Mon Apr 1 18:06:20 [initandlisten] shutdown: closing all files...
Mon Apr 1 18:06:20 [initandlisten] closeAllFiles() finished
Mon Apr 1 18:06:20 [initandlisten] journalCleanup...
Mon Apr 1 18:06:20 [initandlisten] removeJournalFiles
Mon Apr 1 18:06:20 [initandlisten] shutdown: removing fs lock...
Mon Apr 1 18:06:20 dbexit: really exiting now
|
I saw that lynckia_config.js is empty, I think for this reason I have this error: ./lynckia/scripts/initLynckia.sh
/home/ubuntu/lynckia/nuve/nuveAPI/mdb/dataBase.js:4
var databaseUrl = config.nuve.dataBaseURL;
^
TypeError: Cannot read property 'dataBaseURL' of undefined
at Object.<anonymous> (/home/ubuntu/lynckia/nuve/nuveAPI/mdb/dataBase.js:4:30)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/home/ubuntu/lynckia/nuve/nuveAPI/nuve.js:3:10)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
:/home/ubuntu/./lynckia/scripts/../erizo/build/erizo:/home/ubuntu/./lynckia/scripts/../erizo
[lynckia] Done, run basic_example/basicServer.js
ubuntu@ip-10-33-169-137:~$
/home/ubuntu/lynckia/erizo_controller/erizoController/rpc/rpc.js:16
if (config.rabbit.url !== undefined) {
^
TypeError: Cannot read property 'url' of undefined
at Object.<anonymous> (/home/ubuntu/lynckia/erizo_controller/erizoController/rpc/rpc.js:16:18)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (/home/ubuntu/lynckia/erizo_controller/erizoController/erizoController.js:3:11)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10) |
I saw that installNuve.sh script gives this error at the end: connecting to: localhost/nuvedb
[lynckia] SuperService ID Mon Apr 1 18:20:13 TypeError: db.services.findOne() has no properties (shell eval):1
[lynckia] SuperService KEY Mon Apr 1 18:20:13 TypeError: db.services.findOne() has no properties (shell eval):1
sed: -e expression #1, char 25: unterminated `s' command
sed: -e expression #1, char 26: unterminated `s' command |
As you can see in line Mon Apr 1 18:06:20 [initandlisten] ERROR: listen(): bind() failed errno:98 Address already in use for socket: 0.0.0.0:27017 it seems that you are using the mongodb port in other application (or already with another mongodb instance). For this reason the database is not being populated and lynckia config file is empty. Check it. |
Hi! I have this error when i type: /usr/local/share/base/licode/nuve/nuveAPI/mdb/dataBase.js:4 I have no idea what might be happening, I am very interested in trying this software, i'm on Mac OS X Server 10.6.8. Greetings! |
It seems like config file (licode_config.js) has not been correctly populated. Can you check it? Have you obtained any error during nuve installation? |
This is the log from Nuve Install: broadcaster:scripts administrador$ sudo ./installNuve.sh
CXX(target) Release/obj.target/kerberos/lib/kerberos.o The file licode_config.js is empty |
It seems like you have an issue with mongodb "Tue Jun 25 14:23:55.851 kern.sched unavailable" and SuperService key is not correctly generated. Check if your mongodb version works ok or try to reinstall. |
Closed due to inactivity. Please, reopen it if it happens again! |
I'm following this guide right now on a completely virgin Ubuntu Server 12.04.3 (virgin here means that it is a fresh install with nothing else installed than OpenSSH server). EDIT: It's a VM by the way. So reproducing this shouldn't be too hard. This happens:
|
Hi everyone, I'm very excited to try lynckia! :)
Unfortunately I'm having some problems with the setup. The mongo setup fails, and therefore the examples fail.
The environment is Ubuntu Server 12.0.4 64bit, amazon ec2 instance:
Here is the installation output, from "installErizo" and forward:
https://gist.github.com/robertjd/04f6d163385fd24da0e2
Posting here in the hopes that someone has an insight into the problem. I'll post back if I find the problem myself.
Best,
Robert
The text was updated successfully, but these errors were encountered: