w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » UBUNTU » Page 1
Ping docker containers on different hosts with ip addresses
One option is an Overlay Network such as weave. This is very easy to set up, lets containers talk to each other on different hosts or even different datacenters, and lets you choose what to connect and what to isolate. Please note: I work on weave. Why might you need an add-on? As described in the docs, by default Docker creates a single-host bridge and gives each container a private IP address.

Categories : Ubuntu

Installing CUDA for Linux: Could NOT find CUDA
I guess you only have installed the repo, not the packages. In order to install them: sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb sudo apt-get update sudo apt-get install cuda Then you have to set the environmental variables on the system (this is part of the post-installation tasks detailed on the CUDA toolkit documentation). There are many ways, but perhaps the simplest is to write th

Categories : Ubuntu

OpenLDAP ppolicy
We are using it in production. As the spec is not yet made final, we may have to deal with any changes that made later. (Hopefully not much changes to existing spec). As the commenter said above, the implementation is stable and prod quality, its marked experimental because the spec has been made final yet. says this link.

Categories : Ubuntu

How to install android ndk in linux?
Go to the directory where you downloaded it. Then execute: chmod +x android-ndk-r10c-linux-x86_64.bin ./android-ndk-r10c-linux-x86_64.bin It should unpack right there. The toolchain will be in android-ndk-r10c-linux-x86_64/toolchains. The root folder might have a slightly different name.

Categories : Ubuntu

How to change all zero permissions in ubuntu?
Boot your machine in single user mode, it will give you the option to drop to the root shell. Try changing permissions with root privilege. Use steps at this link boot in single user mode.

Categories : Ubuntu

Error in pig command
Can you change the last line like this. H = foreach G generate group, A1.$2; DUMP H; here A1.$2 means you are trying to access f3 column, other option is H = foreach G generate group, A1.f3;

Categories : Ubuntu

Start sync gateway service when system restarts
Found the solution. The problem was Sync Gateway service was going to start before Couchbase Server was started. To solve this issue edit the couchbase_init.d file as following: $ nano /opt/couchbase/etc/couchbase_init.d look for start() { section and change it from this: errcode=$? return $errcode to this: errcode=$? sleep 20 initctl emit couchbase-server-started return

Categories : Ubuntu

Unmet dependency when installing vlc on ubuntu 14.04
I'm not a pro but this error sound's like a probleme that i had alredy seem 1)Have you try to update your apt ? sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade 2)Can you install other packages ? -Try to review/reset your sources list, then run apt-get update before checking again. The package source list is located in /etc/apt/. /var/lib/apt/lists holds the lists of known

Categories : Ubuntu

Docker.io init.d script not working on start container
Docker containers typically do not have a functioning init system. If you are simply running a single service -- just start that. If you need something more complex, look at supervisord or runit Containers are not virtual machines.

Categories : Ubuntu

Move Amazon EC2 EBS Ubuntu to Microsoft Azure
There isn't a straight forward way to migrate from AWS to Azure or rather make use of Complete VHD handling. One obvious but mundane way would be to recreate the instance from scratch in Azure, then going back to AWS zipping the files, upload to S3 and download them in Azure instance again. Try to dockerize your environment in AWS, back up your docker cimages / containers and come back to Azure'

Categories : Ubuntu

how to create a 64bit Ubuntu VM using oracle virtualbox?
I had the same problem some days ago, and the steps that I followed to solve it are the next ones: In your BIOS settings, you have to enable Machine Virtualization or Virtual Machine Support In VirtualBox, Open a New Virtual Machine and go to "Settings -> System -> Acceleration" and activate "Enable VT-x/AMD-V". Hope it helps

Categories : Ubuntu

NLTK+TextBlob in flask/nginx/gunicorn on Ubuntu 500 error
The sudo user = admin declared in the app.conf supervisor file, created to run this app, was not able to read at the site root level. The inaccessible NLTK corpora downloaded at a /root/nltk_data were causing my original 500... I discovered this problem after having re-configured gunicorn logging, and receiving fatal supervisor crashes on supervisorctl restart app for the newly pointed gunicorn.

Categories : Ubuntu

Error on ubuntu fresh install
You should have a look at boot-repair which might help you out. Error messages like this might also be caused by hardware damage, but give boot-repair a try...

Categories : Ubuntu

emacs startup 'Symbol's function definition is void: debian-startup'
Put this on your command line that starts Emacs: --debug-init. Then, when the error is raised you will be put into the debugger, where you can see a backtrace showing what tried to invoke the undefined function, etc. (It sounds like there might be something is in the Debian site init file that is causing the problem. You might also want to ask the Debian people directly. ;-))

Categories : Ubuntu

Genymotion Error in Ubuntu 14.04 LTS
I had this problem because I didn t realize I download version fo Linux 32 bits but I have 64 bits. In addtion, I have installed, before that, some librarys type libgstapp typing: $ apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev Genymotion runs after that.

Categories : Ubuntu

Using AWS EC2 to maintain persistant connection to Twitter API? Even when closing terminal window?
There are a couple of ways to keep the process running in the background even after you closed the ssh session using screen and nohup. nohup allows to run command/process or shell script that can continue running in the background after you log out from a shell: nohup /path/to/command & screen is helpful in keeping a session alive even after disconnecting from it, even better screen allows

Categories : Ubuntu

can't query upstart service status from cron job
I found that this works: */1 * * * * : testing; /sbin/initctl status my-service > ~/status 2>&1 /usr/sbin/service works with SystemV jobs (e.g. those in /etc/init.d), and under Ubuntu it also sees Upstart jobs (e.g. those in /etc/init). /sbin/initctl works directly with Upstart jobs. So my guess is that the mechanism that allows /usr/sbin/service to see Upstart jobs isn't working for

Categories : Ubuntu

QSerialPort gives error "no such file or directory"
I know this is going to sound funny, but I was just able to resolve this by simply ensuring the port name was the absolute path to the serial device. The issue did not become apparent to us until I was distributing builds created using 'macdeployqt'. Debug builds made using Qt Creator connected fine (and Windows builds we were distributing worked fine as well). But deployed builds would give the

Categories : Ubuntu

error in running the server for DBpedia Lookup in Ubuntu 14.04
This occurs because dbpedia-lookup-index require maven 3.0 version but current version it found is not 3.0.So follow the following steps to install maven 3 sudo apt-get remove maven2 sudo add-apt-repository "deb http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise main" sudo apt-get update sudo apt-get install maven3 sudo ln -s /usr/share/maven3/bin/mvn /usr/bin/mvn Remove PPA from sources

Categories : Ubuntu

vnc session show gray screen on ubuntu
To fix this issue, first of all, check if you have any Desktop Environment (eg, Unity, Gnome, KDE, xfce, lxde etc) installed on your system. You may use: echo $DESKTOP_SESSION or you can verify from env. In my case, I have installed LXDE on Ubuntu server. It is important now to find the exact executable path of lxde, which is /usr/bin/startlxde in my case. Replace the content of your ~/.vnc/xsta

Categories : Ubuntu

Still have problems with the key of backspace in vim of Ubuntu 14.04
You need to set the 'backspace' option. Put the following in your ~/.vimrc: set backspace=indent,eol,start You also should also be using ~/.vimrc instead of /etc/vim/vimrc. Please take a look at the following: :h 'backspace' :h vimrc-intro :h vimrc_example.vim

Categories : Ubuntu

Prevent neo4j from starting on boot (Ubuntu 14.04)
Indepently of neo4j you can use update-rc.d command to manage init.d based services: update-rc.d -f neo4j-service remove

Categories : Ubuntu

How to solve $DAEMON -t $DAEMON_OPT permission denied?
As long as you are root/sudo on your server you may not face such issue right now on Azure. Still there're a persisting issue with the boot on start up onne you install nginx on azure's ubuntu. To get it started on boot after the install I had to force the entire link recreation (the -f is mandatory) : update-rc.d -f nginx remove update-rc.d -f nginx defaults I am still wondering why ..

Categories : Ubuntu

Opening a file stored in HDFS to edit in VI
There are couple of options that you could try, which allows you to mount HDFS to your local machine and then you could use your local system commands like cp, rm, cat, mv, mkdir, rmdir, more, etc. But neither of them supports random write operations but supports append operations. NFS Gateway Hadoop Fuse NFS Gateway uses NFS V3 and support appending to file but could not perform random write

Categories : Ubuntu

Ssh connection in ubuntu in Oracle vm throwing error
try this sudo apt-get update sudo apt-get -f install sudo apt-get install openssh-server ssh-keygen -t rsa -P '' cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys ssh localhost

Categories : Ubuntu

Errors installing Chef now that apt.opscode.com has been decomissioned
While there is probably a better option, at a minimum you can switch to my apt repo outlined in https://coderanger.net/chef-apt/. $ apt-add-repository 'http://apt.poise.io chef-10' $ apt-key adv --keyserver hkp://pgp.mit.edu --recv 594F6D7656399B5C

Categories : Ubuntu

How to setup PyCharm to use virtualenv in Vagrant/VirtualBox remote interpreter configuration?
We are using vagrant and we have more than 100 sites with different virtual environments. I set up the projects within /vagrant/projects folder which is a shared folder between the host and guest. This way we can work on the projects from within vagrant guest machine or from an ide within the host machine depending on the preference of the developer. Every project has its own apache virtualhost

Categories : Ubuntu

linking server and client
Open two terminals. In one run the server process. And in the other run your client using your localhost(mostly 127.0.0.1) and providing your same port number. if in the terminal you have already run the server program and then you want to run again the same server program in the same terminal it gies port address already in used. simply close the terminal and open a fresh terminal.

Categories : Ubuntu

Connecting ALIX 6F2 through USB serial port, putty displays nothing
According to this documentation, the default speed is 38400 8N1, flow control = none. Getting started… Install a bootable CF card. Hot swap of CF cards is not supported! Connect serial port to a PC through null modem cable (RXD / TXD crossed over). Set terminal emulator to 38400 8N1, flow control = none or xon-xoff. Connect Ethernet as needed. Connect a 18V DC power supply to t

Categories : Ubuntu

How to setup gitolite and gerrit on separate ubuntu servers?
It should be possible if the Gitolite server shares the repositories via e.g. NFS to the Gerrit server. Gerrit needs to "own" the repositories by accessing them through a mounted file system. But why would you want to do this? Running two repository managers seems like asking for trouble. If you don't want to use Gerrit's code review features everywhere or all of the time that's fine; Gerrit can

Categories : Ubuntu

Confluence giving weird exception "Invalid file name for use with -Xloggc" while running on ubuntu EC2
Same problem on Debian 7/JDK8 - Workaround would be to edit setenv.sh: change the date call in -Xloggc section from date +%F_%T to date +%F. Afterwards run touch <CONFLUENCE_HOME>/logs/gc-2014-11-05.log (substitute the date). Confluence should start now.

Categories : Ubuntu

Hadoop namenode cannot find datanode
add a property in mapred-site.xml <property> <name>mapred.job.tracker</name> <value>master:9001</value> </property> let me it works or not.

Categories : Ubuntu

404 Error for Laravel Blade view in new scotch.box
For future visitors, here's the solution. (The problem was originally solved in the comments) Make sure your .htaccess file is located in the /public/ directory of your Laravel installation. The contents should be something similar to this: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redire

Categories : Ubuntu

Hadoop - No such file or directory installation
Its probably too long to answer but here is solution If everything is correct, you should try sbin/start-all.sh not bin/start-all.sh

Categories : Ubuntu

TeamCity getting stuck at Initializing page
It is expected to "get stuck" for a few minutes at the first run when it creates the database (BTW it is a good idea to check if TeamCity database was even created). If it doesn't go any further, I agree with Jonathon in the comments, you need to find out the reason in teamcity-server.log under logs

Categories : Ubuntu

ProcessStartInfo not recognising command inside .sh file
Managed to fix my issue thanks to alexkoeplinger, Alxandr.me and Yantr.io in the https://jabbr.net/#/rooms/AspNetvNext chat changed the project to using System; using System.Diagnostics; namespace terminalcommandteste { class MainClass { public static void Main (string[] args) { StartWebServer (); } public static void StartWebServer ()

Categories : Ubuntu

I am not able to wget ubuntu 12.04 lts
First of all be sure you are able to make a http request because wget as far as I know uses http protocol for communication so ping is another protocol, be sure there is no restriction about http protocol on your machine than if this does'nt fix your problem try to check verbose output of wget set debug level and output file for logs.If all these also don't solve this issue maybe you should make

Categories : Ubuntu

Vlfeat installation for Octave in Ubuntu14.04
I happen to manage to get over this. But I don't know which steps really contributes. Here are my experiences. "mkoctfile" is in octave-pkg-dev or liboctave-dev. I don't know which one it is in. I apt-get installed them both. Then I commented include make/doc.mak (about line 324 in Makefile). It avoids some pdftex errors. (but later on vl_help won't work.) Then I use make MEX=YOUR/PATH/TO/MATLA

Categories : Ubuntu

AT-SPI in Upstart
If it expects Firefox to be running, that's obviously a false assumption during system startup. You should probably be looking at running it from the user's X startup scripts; and even then, Firefox will usually not start until some time later.

Categories : Ubuntu




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.