Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Problem is pretty self-explanatory - can't get MongoDB to start, and nothing is logging anything anywhere so I can figure out what's going on:
[10:10:23][root#my-server:~]$ start mongodb
mongodb stop/waiting
[10:10:28][root#my-server:~]$ ls /var/log/mongodb
[10:10:34][root#my-server:~]$ ls /var/lib/mongodb
[10:10:39][root#my-server:~]$
As you can see, mongodb immediately goes to stop/waiting, and doesn't log anything to /var/log/mongodb. There's nothing in /var/lib/mongodb either. There's nothing useful in /var/log/upstart either. Where can I look for information on what the heck upstart is doing, and why it can't seem to start MongoDB?
Answering my own question with another question: Mongo does not run when installed via mongodb-10gen package on Ubuntu 12.04. In this case, the mongodb-10gen package doesn't seem to be installing the right executables for upstart to use, and upstart helpfully doesn't log anything when the executable it expects to be present isn't there. So I've asked a followup question about what the deal with the 10gen package is.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am a massive fan of Homebrew and have taken to using it to manage all my applications. One very useful feature is brew switch which enables switching between different versions of Ansible. Something which I require to compile some of my websites running older software.
However, I have noticed that whenever I wish to run brew cleanup, it deletes all old versions even version 2.3.2.0 of Ansible which I still require alongside the most current version.
After sifting through numerous forums and sites I have been unable to find a solution which allows me to keep this old version of Ansible and the most current when using the brew cleanup command other than deleting everything manually.
Does anyone have a workaround or solution, I thought brew pin may be a possibility, but this seems to only work with the version currently linked.
I don't see a clean built-in way with brew cleanup to do this, but a workaround: since brew cleanup optionally takes a list of formulae to clean up, we can make such a list that contains everything but Ansible.
This is how I can get that list:
brew list | grep -v ansible
And this is how I can call cleanup to ignore Ansible:
brew cleanup $(brew list | grep -v ansible)
Maybe I want that as an alias somewhere, like bca for "brew cleanup (but not) ansible":
alias bca='brew cleanup $(brew list | grep -v ansible)'
and add that line to my ~/.bashrc.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
I have downloaded Net-SSH2-0.43 to be able to use Net::SSH2 Perl module. But I don't know what I need to do after that, just include paths or something else. Please help.
you could use perlbrew to install Perl in your home or in any directories wo. root rights: http://perlbrew.pl/
wget -O - http://install.perlbrew.pl | bash
perlbrew install perl-5.16.0
perlbrew switch perl-5.16.0
you could call your perl from shell (scripts) like this: http://perlbrew.pl/Perlbrew-In-Shell-Scripts.html
If your servers are identical enough then you could rsync/rdist this directory to every host and you are done.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I've installed MongoDB version i686-2.2.3 from source, in a Ubuntu 12.10 box. Now I want to remove it.
How can I do it properly?
Best wishes,
If you installed from source you would not have compiled it but instead just extracted the tar it came in and ran it.
The very first thing you need to do is figure out what additional stuff you put on, i.e.: a init.d script.
Once you remove all the additional threads you have created you can remove the directory that houses the mongo binary, normally a folder called mongo on most systems and then you need to delete your data directory, normally /data/db/ under the source version.
Of course, this assumes you installed from source and not a package, if you installed from a package you can do:
apt-get remove --purge mongodb
Edit
Alternatively if you are using autoremove:
apt-get autoremove --purge mongodb
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can i locate my project in terminal which i created in xcode?
How can i add or install Submodules of Sharekit to my project?
I am trying to locate my project created in Xcode.
When i type in locate abc.xcodeproj
it gives this warning
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
Thanks for help.
locate is somewhat obsolete. Use Spotlight instead:
$ mdfind abc.xcodeproj
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl.
What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu?
I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME dir to something else:
The directory ~/perl5/perlbrew will contain all install perl
executables, libraries, documentations, lib, site_libs. If you need to
install perlbrew, and the perls it brews, into somewhere else because,
say, your HOME has limited quota, you can do that by setting a
PERLBREW_ROOT environment variable before running the installer:
export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash
download, configure, compile ....