ubuntu-13.10

Where did the <Directory> directive go in Ubuntu 13.10 / Apache 2.4?

倾然丶 夕夏残阳落幕 提交于 2019-12-06 09:13:43
问题 Part of the old vhost files looked like this: DocumentRoot "/var/www/myVhost" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/myVhost"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> After upgrading to Ubuntu 13.10 / Apache 2.4, the vhost is ignored until you remove all the <Directory> configuration. Where did this go? 回答1: You can use this configuration to handle multiple vhosts. These lines

Hadoop Nodemanager and Resourcemanager not starting

橙三吉。 提交于 2019-12-05 11:40:20
I am trying to setup the latest Hadoop 2.2 single node cluster on Ubuntu 13.10 64 bit. the OS is a fresh installation, and I have tried using both java-6 64 bit and java-7 64 bit. After following the steps from this and after failing, from this link, I am not able to start nodemanager and resourcemanager with the command: sbin/yarn-daemon.sh start nodemanager sudo sbin/yarn-daemon.sh start nodemanager and resource manager with sbin/yarn-daemon.sh start resourcemanager sudo sbin/yarn-daemon.sh start resourcemanager and both fails with error: starting nodemanager, logging to /home/hduser/yarn

Cannot open source file “bits/c++config.h” error with icpc

痴心易碎 提交于 2019-12-05 00:51:01
I am trying to compile a program on a 64-bit machine with icpc. Unfortunately, I get an error message of catastrophic error: cannot open source file "bits/c++config.h" . I have adopded some advice from here but with no success. Also, I do not forget to run source /opt/intel/bin/compilervars.sh intel64 before hand and I'm on Ubuntu 13.10 in case this is important. Sven First, find the missing file: find /usr -name c++config.h (Headers are in /usr , most of the time.) Then, add its top dir to the include path of your compilation command, so the compiler will find "bits/c++config.h", using the -I

Raspberry Pi crosscompile on Ubuntu 13.10 “libstdc++.so.6” not found

可紊 提交于 2019-12-04 19:26:51
I've followed the tutorial on SE as well as trying the extra steps from Hertaville and bootc but I still get the error that prompted the original SE question. I'm stumped. I get five steps into the process before I get the error: sudo apt-get install git rsync cmake lib32z1 lib32ncurses5 lib32bz2-1.0 git clone git://github.com/raspberrypi/tools.git export PATH=$PATH:$HOME/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin . ~/.bashrc arm-linux-gnueabihf-gcc -v Error: arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object

Eclipse ADT Unexpected exception 'Cannot run program'

大憨熊 提交于 2019-12-04 11:20:49
问题 I have installed ADT Bundle on my laptop. I have ubuntu 13.10 but when I open the ADT I see this message: Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64 20131030/sdk/platform-tools/adb": error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb' [2013-12-25 16:20:14 - adb] Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle

Easiest way to install Mongodb PHP extension in Ubuntu 13.10 (saucy)?

帅比萌擦擦* 提交于 2019-12-03 04:57:52
问题 I'm using Ubuntu 13.10 (saucy salamander) and I was hoping that sudo apt-get install php5-mongo would be enough to get the mongodb database driver installed. No such luck though. I'm using php5-fpm, so firstly I found I also needed to do php5enmod mongo but even with that, I get a error: include(MongoClient.php): failed to open stream: No such file or directory Instead, to install I have to do the following (which uses a lot more disk space): sudo apt-get install php5-dev make php-pear sudo

The mcrypt extension is missing. Please check your PHP configuration

隐身守侯 提交于 2019-12-03 01:28:59
问题 I just followed the tutorial located at https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu while fixing multiple other errors that I came across along the way and I'm stuck with one last error. When I log in to phpMyAdmin, there's a huge red error at the bottom saying "The mcrypt extension is missing. Please check your PHP configuration.". I installed everything listed in the tutorial on Ubuntu 13.10 via putty. 回答1: Try this: sudo apt

Could not find rake-10.1.0 in any of the sources

旧时模样 提交于 2019-11-30 15:26:36
I have been working with rails and have been trying to setup passenger with rake 10.1.0 and it sends back me this errors. Here is the link to the error. Website LInk It looks like Bundler could not find a gem. This is probably because your application is being run under a different environment than it's supposed to. Please check the following: * Is this app supposed to be run as the `rails` user? * Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use. * Are you using RVM? Please check whether the correct gemset is

hg remove all files listed in .hgignore

限于喜欢 提交于 2019-11-30 01:55:07
I have a mercurial repo with .hgignore file. I want to remove all files from disk ( hg remove ) in this repo which match pattern(s) listed in .hgignore . I can list all ignored files with hg status -i but I don't know how can I delete them. .hgignore contents: syntax: glob build \.egg* *.pyc .DS_Store *.sublime-* Martin Geisler You can only run hg remove on files that are tracked. To remove tracked files that match the .hgignore patterns, run this command $ hg forget "set:hgignore() and not ignored()" This uses a fileset to select the right files. If you want to remove files that are already

Undefined reference to 'dlsym'

我是研究僧i 提交于 2019-11-30 01:51:54
I have seen a lot of similar posts, but tried every trick in the book and am still struggling. Everything was working fine, but after installing/removing wireshark with some components/disselectors it all got messed up. I don't remember exactly which libraries/packages got uninstalled, but probably a lot more than I noticed. If I create a simple main.cpp file like this one: #include <SQLAPI.h> int main() { SAConnection con; return 0; } and try g++ main.cpp -lsqlapi -ldl it gives me the following error messages: /usr/local/lib/libsqlapi.so: undefined reference to `dlsym' /usr/local/lib