Tag Info

New answers tagged

0

Cannot allocate memory means you have not enough ram. check the memory requirements in the oralce guide


0

This is how I fixed my issue: `dpkg -l | grep postgres will show you the postgresql packages that have been installed. Run: sudo apt-get --purge remove with each package name, separated by a space, following remove. root@vps1484:/home# dpkg -l | grep postgres ii postgresql 9.3+146really9.1+148 ...


1

Ok so a bit of egg on my face - I was overlooking the fact that my shiny new /etc/mongod.conf.yml contained processManagement.fork: true. Setting this to false allows start-stop-daemon to capture the appropriate PID.


1

If you install from apt-get you will be able to use apt-get upgrade option later and other apt-get build in options (available from Ubuntu). Furthermore apt-get installs binaries and manages their versions. You just install and nothing more. Installing from source gives you the ability to do a more detailed installation. (You can customize the build and ...


1

In pg_hba.conf You should set # TYPE DATABASE USER ADDRESS METHOD local all all trust Authentication method should be TRUST, that will allow You to enter postgres without password and set it for postgres user. Below you see how to change password ;) ALTER USER postgres ...


2

Since your error is: Failed to restart mongod.service: Unit mongod.service failed to load: No such file or directory. This is pretty much saying that your startup path is not in the expected location or else the Ubuntu install has led to problems. See: http://docs.mongodb.org/manual/tutorial/manage-mongodb-processes/ EDIT: Updated with link to what ...


1

I did the following. I wrote a script (testfile) as below and it worked. The big difference AFAICS is that with my script I export my variables before trying to use them. BTW, I wouldn't call it $USER - I'd go with $MY_USER - there's already a Linux system variable called $USER. I also didn't have these lines #!/usr/bin/env bash # ... I just chmod'ed the ...



Top 50 recent answers are included