ubuntu-12.04

Hadoop, “Browse the filesystem” broken link on ec2

梦想的初衷 提交于 2019-12-11 04:23:08
问题 I am newbie to setting hadoop on EC2. I am trying to set-up single node hadoop setup. I have successfully installed and ran Hadoop 1.1.2 on one of the Amazon EC2 instance. All nodes, namenode, datanode, jobtracker, mapred node are on the same machine. My core-site cofiguration is <property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> </property> When I start the Hadoop, and go to web ui, namenode UI opens without any problem. http://<namenode>:50070/dfshealth.jsp But

postgresql server doesn't listen

北战南征 提交于 2019-12-11 03:47:25
问题 I just recently install PostgreSQL on our server via SSH. The installation went successful, until the time I tried to connect to it using pgAdmin on my Windows machine.I received this kind of error: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "xxx.xxx.xxx.xxx" and accepting TCP/IP connections on port 5432? xxx.xxx.xxx.xxx = my server's public IP. The docs suggest this can be fixed by setting the value of listen_addresses = '*' in the /etc

org.gnome.SessionManager in Ubuntu 12.04 chroot

℡╲_俬逩灬. 提交于 2019-12-11 03:26:05
问题 I'm trying to test totem in a minimal chroot (host and chroot both ubuntu 12.04 amd64). When I load a video, I get the error ** (totem:25660): WARNING **: Problem inhibiting the screensaver: GDBus.Error: org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist Indeed, the screen will turn off (session idle) while watching a video. To confirm, I tested with python: >>> import dbus >>> bus = dbus.SessionBus() >>> bus.get_object('org.gnome.SessionManager','/org

ServiceStack OpenId AuthProviders on Mono

▼魔方 西西 提交于 2019-12-11 03:00:45
问题 The problem is that OpenId Auth providers aren't working under Ubuntu 12.04 with nginx/1.1.19, Mono JIT compiler version 3.1.1, fastcgi-mono-server4.exe 2.10.0.0 The ServiceStack references were all pulled via Nuget are at version 3.9.55.0, including ServiceStack.Authentication.OpenId which is attached to DotNetOpenAuth 4.3.0.0 The project is based on the ServiceStack Template CustomPath40 and all of the projects are built under .NET 4 with VS2012 on Win7x64. Every auth works perfectly fine

No such file or directory but directory is right there

若如初见. 提交于 2019-12-11 02:47:29
问题 I am doing some crypto testing with openssl on ubuntu 12.04 and I have a directory build with the following specs: $home/ demoCA/ certs index.txt serial openssl.cnf newcerts/ crl/ And everytime I run a command, specifically this: openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key -config openssl.cnf it tells me: I am unable to access the ./demoCA/newcerts directory ./demoCA/newcerts: No such file or directory There are a few commands I run before this to set it up and I'd

CKAN ERROR preview CSV , but OK for Download

江枫思渺然 提交于 2019-12-11 02:35:39
问题 I have the following error in my local test machine, just instaled. Ckan, datapusher, datastore all in the same machine. Accesing a csv resource i have the following message; "This resource view is not available at the moment. Click here for more information. Could not load view: DataProxy returned an error (Data transformation failed. error: An error occured while connecting to the server: Unable to connect to server at URL: http://192.168.146.131/dataset/f2139e6a-7e22-41b1-97c2-51101dcfee2f

dbus - how to set include paths

血红的双手。 提交于 2019-12-11 02:31:02
问题 On my system dbus headers are placed in /usr/include/dbus-1.0/dbus/ and dbus-arch-deps.h is other location (what seems to be strange): /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus/dbus-arch-deps.h In my program I include #include<dbus-1.0/dbus/dbus.h> but in every header file which include others path looks like this: #include<dbus/xxx.h> I can copy dbus-arch-deps.h to /usr/include/dbus-1.0/dbus/ but how to fix paths in dbus headers ? 回答1: Your system likely has pkg-config installed. g++ $

Can't Start Golang Prog Via Upstart

橙三吉。 提交于 2019-12-11 01:57:02
问题 I can't get my golang prog to run via upstart. Here is my proj dir-- /go /src /print.io /geo main.go /geodomain [.. files ..] I have my gopath set to the /go dir above. Within the /geo folder i can run go run main.go and it works. However, with the following upstart configuration its logging main.go:8:2: import "print.io/geodomain": cannot find package -- Why doesnt it work from upstart like it does when i run the command manually? description "go-server" author "micah smith" start on (net

ssh script doesn't return control to the parent script

无人久伴 提交于 2019-12-11 01:56:56
问题 I am trying to execute a local script on the remote server, by writing it to standard input of an ssh command. The script runs fine, but then ssh doesn't exit: it just hangs, and control doesn't return to the parent script. Parent Shell : for HOSTNAME in ${HOSTS} ; do ssh -t -t $HOSTNAME "bash -s" < ~backup_conf.sh done Called Script: #!/bin/sh AGENT_BASE_PATH=/home/lokesh if [ -d "$AGENT_BASE_PATH/CI/DE_deployment/conf" ]; then if [ -d "$AGENT_BASE_PATH/CI/temp/conf_bkup" ]; then rm -rf

ConnectionError [client (on VirtualBox) and server (on localhost)] - I use host-only setting on VM

半腔热情 提交于 2019-12-11 00:30:42
问题 I have a simple calc C++/Java app with CORBA. Server is written in C++, client in Java. I use omniORBs omniNames, as name service. I would like to run my omniNames and server on my localhost (Ubuntu) and run my client on Windows XP SP3 in VirtualBox installed on my localhost Ubuntu. (I mean: on my localhost I have installed Ubuntu OS and in Ubuntu I installed VirtuaBox with Windows XP SP3 'inside'.) I finally did it and set host-only optinon in VirtualBox with help from this: https:/