ubuntu-14.04

/bin/sh: 1: Syntax error: EOF in backquote substitution

拈花ヽ惹草 提交于 2019-12-04 00:28:49
问题 I created a new task in crontab as shown below : */2 * * * * mongodump --db prodys --out /backup/databases/mongoDatabases/`date +"%m-%d-%y"` I'm getting following error : /bin/sh: 1: Syntax error: EOF in backquote substitution Please help, I don't have any clue whats wrong. 回答1: The problem is that cron treats % as newlines. From crontab POSIX man page: Percent-signs (%) in the command, unless escaped with backslash \, will be changed into newline characters, and all data after the first %

zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory

雨燕双飞 提交于 2019-12-03 21:49:33
I am trying to build android app. When I run the zip align tool to optimize the APK, I get this error message: zipalign: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory I tried to install libc++ sudo aptitude install libc++ it says: Couldn't find package "libc+". Snapshot of my terminal If your system is 64-bits, there should be a folder lib64 on the path of [android-path]/build-tools/[version]/ The files in lib64 are [ec2-user 25.0.2]$ ll lib64/ total 51628 -rwxrwxrwx 1 ec2-user ec2-user 30712616 Dec 23 07:22 libLLVM.so -rwxrwxrwx 1

Openstack-Devstack: Can't create instance, There are not enough hosts available [closed]

人盡茶涼 提交于 2019-12-03 20:32:01
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I installed openstack via devstack on Ubuntu 14.04. I have got 8 gb of ram on my computer and i have created around 8 VM's which i don't use simultaneously as I use the VM differently. Now i cannot create any more VM's. I get an error message No Valid Host was found. there are not enough hosts available. Can someone advice what should i do? Since you say that this is a devstack installation, I'm

org.hibernate.internal.util.config.ConfigurationException: Could not locate cfg.xml resource [/HibernateTest/src/hibernate.cfg.xml]

青春壹個敷衍的年華 提交于 2019-12-03 18:53:31
问题 I am trying to connect to Postgresql9.1 in ubuntu with pgadmin3. My Pgadmin3 GUI tool does not give any option to create tables by right clicking the database, but it is available in some videos I saw. Therefore, I used terminal to create the database and it showed up in pgadmin3. my file structure My Userdetails file package org.nitish.hiber; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class UserDetails { @Id private int userId; private String userName;

Why did matrix multiplication using python's numpy become so slow after upgrading ubuntu from 12.04 to 14.04?

陌路散爱 提交于 2019-12-03 17:30:54
I used to have Ubuntu 12.04 and recently did a fresh installation of Ubuntu 14.04. The stuff I'm working on involves multiplications of big matrices (~2000 X 2000), for which I'm using numpy. The problem I'm having is that now the calculations are taking 10-15 times longer. Going from Ubuntu 12.04 to 14.04 implied going from Python 2.7.3 to 2.7.6 and from numpy 1.6.1 to 1.8.1. However, I think that the issue might have to do with the linear algebra libraries that numpy is linked to. Instead of libblas.so.3gf and liblapack.so.3gf , I can only find libblas.so.3 and liblapack.so.3 . I also

Ubuntu 14.04 + iOS 8.0.2 unhandled lockdown error

可紊 提交于 2019-12-03 17:15:07
问题 I have Ubuntu 14.04 on my 4 laptops and IOS 8.0.2 on my 2 apple devices but cannot mount the Iphone Documents drive anymore since the 8.0.2 update on ANY laptop. I have spent 4 hours researching this issue and trying every amalgamation of: 'idevicepair unpair && idevicepair pair' and 'unplug + unlock + plugin your phone' sequence all to no avail. When I try to mount it I get the 'unhandled lockdown error (-256)', then a trust this computer prompt, I confirm the trust message, then I get an

Installing PHP 5.3.29 from Sources on Ubuntu 14 with Apache 2 Module

↘锁芯ラ 提交于 2019-12-03 16:51:55
问题 I successfully installed PHP 5.3.29 on Ubuntu 14 with Apache 2 separately. I installed PHP with the following method: sudo -i wget http://in1.php.net/distributions/php-5.3.29.tar.bz2 tar -xvf php-5.3.29.tar.bz2 cd php-5.3.29 ./configure make make install However, PHP and Apache do not seem to have any linkage. That means I have installed both Apache and PHP, but Apache does not run PHP. What I have tried: From this site: https://docs.moodle.org/28/en/Compiling_PHP_from_source "Configuring

Mongo daemon doesn't run by service mongod start

戏子无情 提交于 2019-12-03 14:53:49
Recently I installed mongodb package by reading this page ( http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ ). I use docker and ubuntu 14.04 image to deploy my server. The problems start by first running the mongod service: # service mongod start I got the following: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service mongod restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop mongod ; start mongod. The restart(8) utility is

ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

非 Y 不嫁゛ 提交于 2019-12-03 12:02:16
I installed the latest version of the ADT Bundle 32 bit on my ubuntu 14.04 32 bit. I created an AVD, but it doesn't launch. When I press the start button it shows this message: Starting emulator for AVD 'NexusOne' ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the '-force-32bit' option when invoking 'emulator'. - Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment. Either one will allow you to use the 32-bit binaries, but please be aware that these will disappear in a future Android SDK release.

Where's docker's daemon.json? (missing)

元气小坏坏 提交于 2019-12-03 11:36:09
问题 From docs: The default location of the configuration file on Linux is /etc/docker/daemon.json But I don't have it on my fresh docker installation: # docker --version Docker version 17.03.1-ce, build c6d412e # ls -la /etc/docker/ total 12 drwx------ 2 root root 4096 Apr 28 17:58 . drwxr-xr-x 96 root root 4096 Apr 28 17:58 .. -rw------- 1 root root 244 Apr 28 17:58 key.json # lsb_release -cs trusty 回答1: The default config file path on Linux is /etc/docker/daemon.json like you said, but it doesn