ubuntu-14.04

Can't authenticate on mongodb with PHP

女生的网名这么多〃 提交于 2019-12-29 06:16:14
问题 What i've done: Enabled authentication in /etc/mongod.conf : auth = true Created the first user from the shell as stated in the doc : db.createUser( { user: "admin", pwd: "admin", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] }) Using the admin user, i've created a root user to access mongodb: db.createUser( { user: "root", pwd: "root", roles: [ "root" ] }) Until this point all works fine, as i can authenticate from the mongo shell with: mongo --port 27017 -u root -p root admin and

MongoDB Failing to Start - ***aborting after fassert() failure

懵懂的女人 提交于 2019-12-28 14:30:48
问题 I am new to Ubuntu (Linux tbh). I encountered problem with starting MongoDB service. I want to created web app using Ruby on Rails and MongoDB but mongo seems to fail to start. I followed this MongoDB installation on Ubuntu all of installation went without problems until I got to sudo service mongod start mongod.log 2016-01-01T10:58:15.545+0000 I CONTROL ***** SERVER RESTARTED ***** 2016-01-01T10:58:15.548+0000 I CONTROL [initandlisten] MongoDB starting : pid=3868 port=27017 dbpath=/var/lib

Prepros failed to process Sass file version “GLIBCXX_3.4.20” not found on Ubuntu 14.04

梦想的初衷 提交于 2019-12-25 19:47:08
问题 To learn and use Sass, I installed Prepros On Ubuntu 14.04 LTS. But every time i try to process an scss file (sass file) I get this error notification Failed to Process File sass/style.scss /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version "GLIBCXX_3.4.20" not found (required by /usr/lib/prepros/resources/extensions/node-sass.asar.unpacked/node-modules/node-sass/build/Release/binding.node) I checked using stings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX and confirmed that indeed

Why do all of my Linux based email clients fail to authenticate using imap gmail?

大城市里の小女人 提交于 2019-12-25 18:23:31
问题 I have tried to set up every email client available for linux, ubuntu 14.04 and each and every one fails. I'm looking to find what the common element is that causes authentication to fail in each and every instance. Is it because google has changed their authentication algorithm and nobody has kept up with the changes? 回答1: It seems that Google, sometime late in 2014 started blocking apps that are using IMAP/SMTP PLAIN authentication by default. It also seems no Linux email client has

Connect docker container to VPN

a 夏天 提交于 2019-12-25 09:10:08
问题 I have a docker container from which I build and package a Java application with maven 3. I have some dependencies deployed to a Nexus server, I can only access through a VPN from local. How can I connect my docker container to that VPN? docker image details: Base image : Ubuntu 16.04 LTS as base system Java 8, maven 3, Tomcat 8 installed To create my docker container (I didn't add any network configuration): docker run -it --rm -v '$PWD':/app -w /app/app-parent appImage/v:02 mvn clean

Missing artifact com.oracle:ojdbc6:jar:11.2.0 ?

回眸只為那壹抹淺笑 提交于 2019-12-25 07:40:36
问题 I know this question has been asked several times.Even i have successfully done this in WINDOWS.But installed ubuntu OS and all set up is done except this. Here are the following things i did.I Have oracle 11g i downloaded ojdbc6.jar,Installed Maven and run following command sudo mvn install:install-file -Dfile=/home/nawaz/Downloads/ojdbc6.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar [INFO] ----------------------------------------------------------------------

how do I update PYTHONPATH from /usr/local/bin/python to /usr/bin/python

北城余情 提交于 2019-12-25 05:27:19
问题 I am unable to use virt-manager, and I think it's because of where my python is located. When I run the virt-manager command I get: No module named libvirt even though I have libvirt installed. When I run /usr/bin/python /usr/share/virt-manager/virt-manager.py it works fine. The output from which python is /usr/local/bin/python . I've tried creating a ~/.bash_profile that contains this: export PYTHONPATH=$PYTHONPATH:/usr/bin/python but am still having the same problem. I'm sure there is a

What is folder (null).1001.1001

99封情书 提交于 2019-12-25 04:33:34
问题 (null).1001.1001 What is this folder? Where does it come from? drwxrwxrwx 49 appusr appusr 4096 Jan 7 21:52 (null).1001.1001 I think it has something to do with Mr. Root impersonating Mr. AppUsr in a background task, but I posted to AskUbuntu last week, and nobody there recognized it. Why am I asking? Well ... On an Ubuntu box, I have a restricted-access applications user who is uid 1001 and gid 1001 . Root launches Rserve under that user during boot. The Rserve session is writing into a

Access Geoserver From Internet Ubuntu Server 14.04.1

一个人想着一个人 提交于 2019-12-25 03:26:40
问题 i'm triying to getup geoserver on IBM Server with Ubuntu Server 14.04.1, i have try making a file in /etc/apache2/sites-available/geoserver.conf and the information in it was: ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /geoserver "http://localhost:8080/geoserver" ProxyPassReverse /geoserver "http://localhost:8080/geoserver" I access to my server via a subdomain in NO-IP, but a i can't make it work the geoserver, like this; my.subdomain

Bash Script unable to run Java Program as cron job

余生长醉 提交于 2019-12-25 02:37:22
问题 I am trying to run a .class file from a bash script every 1 minute using the crontab. I get the error Could not find or load main class Cron_Read_Send_CapacityData_To_Graphite. I have already set environment variable on my machine. If i run the bash script from the terminal it works fine.Note the bash script and the java class file are in the same folder Script: $ cat Run_Cron_Read_Send_CapacityData_To_Graphite.sh #!/bin/bash java Cron_Read_Send_CapacityData_To_Graphite >> /home/marshell