ubuntu,ssh,amazon-web-services,gitRelated issues-Collection of common programming errors


  • Frodik
    linux ubuntu vmware-server
    I am trying to install VMWare server 2 on Ubuntu server 11.10, however I am getting error which seems many people are having problem with:/tmp/vmware-root/modules/vmmon-only/linux/driver.c:40: fatal error: linux/smp_lock.h: No such file or directory compilation terminated.Could anyone help me ?

  • Haresh Vidja
    ubuntu php wordpress
    I have moved my server data PHP + WordPress and database(mysql) from one server to another server… All things working fine… but some time i got page blank in click submit button.. This problem occures some time ..I didnt get any error or fatal error in errorLog file and not get access entry in accsessLog file also on time of blank page.. Black page issue occurs some time on same taskSo how can I fix this problem..

  • codeself
    ubuntu ssh amazon-web-services git
    I am trying to use this tutorial to set up a git remote repo on my server: http://toroid.org/ams/git-website-howtoBut when I try to push to the server, I get this error:Permission denied (publickey). fatal: The remote end hung up unexpectedlySo it seems like git can’t ssh the server because of some auth key issue. I can SSH into the server fine from Terminal by using ssh aws1 due to the set up of my ssh config file.~/.ssh/config file:Host aws1HostName 54.235.193.228User ubuntuIdentityFile ~/.ssh

  • Richard Keller
    ubuntu cloud eucalyptus
    While installing node controller I receive this fatal error:Failed to retrieve the preconfiguration file The file needed for preconfiguration could not be retrieved from http://192.168.1.2 :8774/preseed/preseed.conf. The installation will proceed in non-automated mode.How do I fix this?

  • Tom O’Connor
    ubuntu vpn command-line pptp
    I try to setup a VPN Connection from a Ubuntu 12.04 LTS to Microsoft VPN Server (Ubuntu is the Client in this Case), but I only get this error message:.. connection failed! Check the log messages below for information why. Couldn’t open the /dev/ppp device: Operation not permitted FATAL: Module ppp_generic not found./usr/sbin/pppd: Sorry – this system lacks PPP kernel supportDetails you may need:modprobe -v ppp > FATAL: Module ppp not found. uname -r -> 2.6.32-042stab076.8

  • tj111
    linux ubuntu bind
    I’m trying to setup a DNS server on an Ubuntu Server machine (10.04). I configured an entry in named.conf.local to test it, but when trying to restart bind9 I get the following error:* Starting domain name service… bind9 [fail]So I checked the output of syslog and this is what I get.May 20 18:11:13 empression-server1 named[4700]: starting BIND 9.7.0-P1 -u bind May 20 18:11:13 empression-server1 named[4700]: built with ‘–prefix=/usr’ ‘–mandir=/usr/share/man’ ‘

  • kgpdeveloper
    ubuntu postfix
    How do I fix this error on Ubuntu 10.04 ? Reading package lists… Done Building dependency tree Reading state information… Done postfix is already the newest version. The following packages were automatically installed and are no longer required:libaprutil1-dbd-sqlite3 libcap2 apache2.2-bin libapr1 libaprutil1-ldap libaprutil1 php5-common Use ‘apt-get autoremove’ to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this

  • david99world
    ubuntu hudson jenkins
    I’ve got an ssh key in ~/.ssh/id_rsa.pub when I login as the jenkins user.I’ve imported this into bitbucket correctly and it has accepted the key.When I try to do a git clone (to the correct URL) I still get….Building in workspace /var/lib/jenkins/jobs/Google adwords/workspace Checkout:workspace / /var/lib/jenkins/jobs/Google adwords/workspace – hudson.remoting.LocalChannel@2c473996 Using strategy: Default Cloning the remote Git repository Cloning repository origin ERROR: Error cloning remote

  • xain
    ubuntu postgresql startup
    I recently stopped the postgresql database (that was working perfectly), and after a couple of days, when I try to start it, I get the errors:2011-01-03 23:56:27 CLST LOG: could not translate host name “localhost”, service “5432” to address: Name or service not known 2011-01-03 23:56:27 CLST WARNING: could not create listen socket for “localhost” 2011-01-03 23:56:27 CLST FATAL: could not create any TCP/IP socketsI’m running Ubuntu 9.1, and I’m using the usuals/etc/init.d/postgresql-8.4 start

  • samer na
    ubuntu mysql postfix
    here the mail.logserver localhost: Can’t connect to local MySQL server through socket ‘/var/run/mysqld /mysqld.sock’ (2)Mar 23 23:07:19 ubuntu postfix/trivial-rewrite[6417]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problemMar 23 23:07:20 ubuntu postfix/smtpd[6401]: warning: problem talking to service rewrite: SuccessMar 23 23:07:20 ubuntu postfix/cleanup[6296]: warning: problem talking to service rewrite: Connection reset by peerMar 23 23:07:20 ubuntu

  • scooby37
    windows-server-2008 git ssh cygwin gitosis
    I spent serveral hours getting Cygwin, OpenSSH and Gitosis to work together on Windows Server 2008 x64 – unfortunately the tutorials on the web (from e.g. Shannon Cornish) don’t seem to have an answer to my problem.I get the following trying to login to my “git” user via SSH or trying to checkout the repository via “git clone git(at)localhost:gitosis-admin.git”[main] sshd 9364 C:\cygwin\usr\sbin\sshd.exe: *** fatal error – could not load user32, Win32 error 1114 fatal: The remote end hung up une

  • codeself
    ubuntu ssh amazon-web-services git
    I am trying to use this tutorial to set up a git remote repo on my server: http://toroid.org/ams/git-website-howtoBut when I try to push to the server, I get this error:Permission denied (publickey). fatal: The remote end hung up unexpectedlySo it seems like git can’t ssh the server because of some auth key issue. I can SSH into the server fine from Terminal by using ssh aws1 due to the set up of my ssh config file.~/.ssh/config file:Host aws1HostName 54.235.193.228User ubuntuIdentityFile ~/.ssh

  • Mike Silvis
    ssh git git-repository
    I used to be able to clone from my personal git repository but now i seem to be running into an error.user:dev.site.com mikesilvis$ git clone { my ssh directory } server@ipaddress’s password: remote: Counting objects: 3622, done. remote: Compressing objects: 100% (2718/2718), done. error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the remote side. remote: aborting due to possible repository corruption on the remo

  • N.N.
    linux ssh rsync rdiff-backup
    What is this error? This rdiff-backup command is run in a shell script. How to resolve this issue?ssh -l root 161.3.46.12 rdiff-backup [email protected]::/root/files/1/ /root/cloodon_syncspawn ssh -l root 161.3.46.12 rdiff-backup [email protected]::/root/files/1/ /root/[email protected]’s password: Host key verification failed.Fatal Error: Truncated header string (problem probably originated remotely)Couldn’t start up the remote connection by executingssh -C [email protected] rdiff-backu

  • Jonathan
    ubuntu ssh sftp chroot
    I just set up my SFTP server and it works fine when I use it from my first user account. I wanted to add a user which we will call ‘magnarp’. At first I did like this in sshd_config:Subsystem sftp internal-sftpMatch group sftponlyChrootDirectory /home/%uX11Forwarding noAllowTcpForwarding noForceCommand internal-sftpThat worked fine enough, user magnarp went into his home directory. I then tried to add a symbolic link to it.home$ sudo ln -s /home/DUMP/High\ Defenition/ /home/magnarp/”High Defenit

  • Caleb
    ssh putty
    I’ve always used PuTTY (win32) in order to access my servers through SSH. Yesterday I upgraded OpenSSH on my server from 4.3 to 5.8 and it seems that PuTTY doesn’t work now. It asks for a password, then confirms that the password is correct, and then gives the fatal error Server refused to start a shell/command.When I try to log on with cygwin’s OpenSSH, I have no problems.

  • TheDeeno
    ssh debian hosting git gitosis
    I’m stuck. After setting up gitosis, cloning gitosis-admin for the first time results in the following: $ git clone ssh://[email protected]:gitosis-admin.git Initialized empty Git repository in c:/path/to/my/repo Using username “git-upload-pack ‘git”. fatal: The remote end hung up unexpectedlyAnyone ever experience this problem? Troubleshooting ideas?

  • javasocute
    linux ssh amazon-ec2 putty
    I am new to the whole virtual linux world. And this particular problem is strange and after a day of googling I find myself again on serverfault so thanks for your time!I created a linux ec2 instance via amazon. I was able to successfully connect to the instance with Filezilla and Putty before entering any CLI. What I was trying to do:My only login was ec2-user and I wanted access to the /var/www/html which is owned by user root. So I connected via Putty and typed the followingsudo su-chown -R e

  • DarkMantis
    ssh brute-force
    I’ve seen something like:sshd[***]: Invalid user oracle from **.**.**.** // 1st line sshd[***]: input_userauth_request: invalid user oracle [preauth] // 2nd line sshd[***]: Received disconnect from **.**.**.**: 11: Bye Bye [preauth] // 3rd lineand I know that’s someone tries to log into my server, but what does it mean when there’s only the 3rd line repeating over and over again for, like, 3000+ times?I mean, like this (there’s no Invalid user or input_userauth

  • K0r5hun
    php joomla ssh cron
    I try to set up automatic reindexing content in Joomla with module Smart Search.http://docs.joomla.org/Setting_up_automatic_Smart_Search_indexingJoomla 2.5.3When i login by ssh to server and run script I get a fatal error… and save some posts (search index results on 8 pages).Does somebody know how to solve this problem?* Processed batch 1 in 0.213 seconds. * Processed batch 2 in 0.182 seconds. * Processed batch 3 in 0.177 seconds. * Processed batch 4 in 0.009 seconds.PHP Fatal error: Class ‘J

  • codeself
    ubuntu ssh amazon-web-services git
    I am trying to use this tutorial to set up a git remote repo on my server: http://toroid.org/ams/git-website-howtoBut when I try to push to the server, I get this error:Permission denied (publickey). fatal: The remote end hung up unexpectedlySo it seems like git can’t ssh the server because of some auth key issue. I can SSH into the server fine from Terminal by using ssh aws1 due to the set up of my ssh config file.~/.ssh/config file:Host aws1HostName 54.235.193.228User ubuntuIdentityFile ~/.ssh

  • TimSum
    amazon-web-services git
    I’m working on getting git setup for my application on Elastic Beanstalk. I’ve been following the instructions provided by amazon. After pushing the changes I get this errorgit aws.pusherror: The requested URL returned error: 403 while accessing https://<Access Key Removed>:20130117T213945Z538f1c7baf8c89b4b547cb6717aabbaa7dfab3c52e0911d71e17b06765b922b2@git.elasticbeanstalk.us-east-1.amazonaws.com/v1/repos/54696d73546573744170706c69636174696f6e/commitid/623231303164626462643734363035363432

  • Felixander Weber
    amazon-ec2 amazon-web-services amazon-ebs cloud-hosting amazon-ami
    A little background: We converted our S3-backed (instance-store) AMI to an EBS-backed AMI recently. The process basically equated to:Stop the server Image the filesystem using ec2-bundle-image rsync that image onto a new EBS volume (excluding several directories: –exclude=/root/.bash_history –exclude=/home/*/.bash_history –exclude=/etc/ssh/ssh_host_* –exclude=/etc/ssh/moduli –exclude=/etc/udev/rules.d/*persistent-net.rules –exclude=/mnt/* –exclude=/proc/* –exclude=/tmp/* –exclude=/sys/*

  • aidan
    ubuntu mysql amazon-ec2 amazon-web-services apt
    I was just browsing the system logs on my alestic Ubuntu 10.04 AWS EC2 production server, and found this:daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: /usr/bin/mysqlcheck: Got error: 1045: Access denied for user ‘debian-sys-maint’@’localhost’ (using password: YES) when trying to connect daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: FATAL ERROR: Upgrade failedI’m assuming it came from a routine apt-get dist-upgrade. Is this something I need to address? It

  • Luca Pennisi
    file-upload amazon-web-services amazon-s3 amazon
    I downloaded AWS SDK and stored it in the same directory of this file, but every tyme this simple script gives this error:”Fatal error: Undefined class constant ‘ACL_PUBLIC_READ'”This script is for uploading a simple png image on s3:require ‘aws.phar’; $bucket=’example’;use Aws\S3\S3Client; use Aws\Common\Enum\Region;$client = S3Client::factory(array(‘key’ => ‘mykey’,’secret’ => ‘mysecretkey’ ));$client->putObject($_FILES[‘myfile’][‘tmp_name’], $bucket , ‘file.png’, S3Client::ACL_PUB

  • Jay
    php amazon-web-services amazon-ec2 amazon-elasticache
    Currently the connection from my ec2- amazon ami instance to elasticache does not workI attempt to connect and fail with$server_endpoint = “lolololo.olol.olol.cache.amazonaws.com”; $server_port = 11211; $dynamic_client = new Memcached(); $dynamic_client->setOption(Memcached::OPT_CLIENT_MODE, Memcached::DYNAMIC_CLIENT_MODE); // it fails on previous line // Fatal error: Undefined class constant ‘OPT_CLIENT_MODE’ in $dynamic_client->addServer($server_endpoint, $server_port); $dynamic_client-

  • Sean Owen
    amazon-ec2 amazon-web-services mahout
    I’ve installed mahout at bitnami AMI ami-02fb006b, (as well as several other ami’s, otherwise I won’t be asking the question) according to instructions provided here and here: I’m always getting stuck when trying to run ./examples/bin/build-reuters.sh Here’s the output of the command:> Please select a number to choose the corresponding clustering > algorithm > 1. kmeans clustering > 2. lda clustering Enter your choice : 1 ok. You chose 1 and we’ll use > kmeans Clustering Download

  • gzanitti
    android amazon-web-services proguard runtimeexception
    My Android app fails to export from Eclipse when ProGuard is enabled due to problems with the Amazon AWS SDK.I’m using version 1.7.0 of the AWS SDK for Android (core & s3). The errors logged to the console are shown below.I’ve followed the recommended ProGuard Config settings as provided by Amazon to no avail: https://mobile.awsblog.com/post/Tx2OC71PFCTC63E/Using-ProGuard-with-the-AWS-SDK-for-AndroidThese are the jars in my project:aws-android-sdk-1.7.0-core.jar aws-android-sdk-1.7.0-s3.jarP

  • jon
    java hibernate tomcat amazon-web-services tomcat7
    we have some web services running on tomcat 7 / java7 / hibernate / mysql5. Everything is running perfectly on localhost tomcat server on my pc but when we deploy the application on the AWS Ubuntu server, we get this error message:Mar 25, 2014 9:59:52 PM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImplconfigure WARN: HHH000402: Using Hibernate built-in connection pool(not for production use!) Mar 25, 2014 9:59:52 PMorg.hibernate.engine.jdbc.connections.internal.

  • miss.serena
    java amazon-web-services amazon-sqs
    I am relatively new to AWS SQS services. I have written some code to wrap the Amazon SQS api. I am able perform basic functionality with created queues, but despite that (in fact I have been using this code for ever with no problem, and I am creating JUnit tests as a formality), I am failing my JUnit test because of an error that makes little sense to me.I have created a queue names SerenaQForTest using the AWS Management console. When I look at the AWS Console I can see that the queue I have cr

  • scooby37
    windows-server-2008 git ssh cygwin gitosis
    I spent serveral hours getting Cygwin, OpenSSH and Gitosis to work together on Windows Server 2008 x64 – unfortunately the tutorials on the web (from e.g. Shannon Cornish) don’t seem to have an answer to my problem.I get the following trying to login to my “git” user via SSH or trying to checkout the repository via “git clone git(at)localhost:gitosis-admin.git”[main] sshd 9364 C:\cygwin\usr\sbin\sshd.exe: *** fatal error – could not load user32, Win32 error 1114 fatal: The remote end hung up une

  • Chealion
    debian git snow-leopard gitosis
    I have a server running gitosis (installed from the package manager) on Debian Lenny. I am able to perform all operations from my linux mint laptop, but from my Mac running an up-to-date Snow Leopard gives me the following error:mica@waste Desktop$ git clone [email protected]:Poems.git Initialized empty Git repository in /Users/micas/Desktop/Poems/.git/ ERROR:gitosis.serve.main:Repository read access denied fatal: The remote end hung up unexpectedly mica@waste Desktop$ ssh -v [email protected]

  • i0n
    https git leopard certificate-authority ppc
    I have a git repository with submodules on github, when I try and set up the submodules locally by doing:git submodule init git submodule updateI get this error:error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/wincent/Command-T.git/info/refsfatal: HTTP request failed Clone of ‘https://github.com/wincent/Command-T.git’ into submodule path ‘dotfiles/vim/bundle

  • codeself
    ubuntu ssh amazon-web-services git
    I am trying to use this tutorial to set up a git remote repo on my server: http://toroid.org/ams/git-website-howtoBut when I try to push to the server, I get this error:Permission denied (publickey). fatal: The remote end hung up unexpectedlySo it seems like git can’t ssh the server because of some auth key issue. I can SSH into the server fine from Terminal by using ssh aws1 due to the set up of my ssh config file.~/.ssh/config file:Host aws1HostName 54.235.193.228User ubuntuIdentityFile ~/.ssh

  • lamp_scaler
    linux permissions git file-permissions
    I’ve got a bare central repo that has this option turned on:git config core.sharedRepository trueFor some reason, the other users on this CentOS machine that pulls/pushes from the central repo always encounter a permission error when pushing onto a branch that someone already pushed.I looked into the objects dir and realized that whoever pushed first gets their username set as the owner AND the group.I’ve set it up so that the users all belong under a “developers” group and then chgrp -R the bar

  • SvW
    git version-control git-repository
    I’m trying to access a remote git repository using SSH but I’m getting a fatal error – is there a problem with my syntax?I’ve created a git repo in the mysite folder on my server – so the repo is at /home/mysite/.git git clone ssh://root@serverIP/mysite/.git fatal: could not create work tree dir ‘mysite’.: Permission deniedCan anyone see what is wrong with my syntax or is there another issue here?

  • Saariko
    windows backup git
    I have installed Git version 1.7.6.msysgit.0 on our Windows 2003 Server (SP2). This is our main repository for 14 developers.I am trying to create a backup from this repository. The way I am trying is: I made a clone of this repo on our backup server:cd to/my/backup/git/folder.git git clone z:/GIT/Lib.git .I am now trying to pull changes from the main repository, but I get the following errorgit pull Fatal: … git-clone cannot be used without a working tree The config file under Z:/GIT/Lib.git

  • jwir3
    git gitosis
    I’m using gitosis on a server that has a low amount of memory, specifically around 512 MB. When I try to push a large folder (happens to be a backup from an android phone), I get:me@corellia:~/Configs/$ git push origin masterCounting objects: 18, done. Delta compression using up to 8 threads. Compressing objects: 100% (14/14), done. fatal: Out of memory, malloc failed MiB | 685 KiB/s error: pack-objects died of signal 13 error: failed to push some refs to ‘git@dagobah:Configs’I’ve been search

  • ThomasReggi
    git gitolite hook push
    Just got gitolite installed on my webserver and am trying to get a post-receive hook that can point the git dir in apache’s direction.This is what my post-receive hook looks like. Got this script from the Using Git to manage a web site.#!/bin/sh echo “post-receive example.com triggered” GIT_WORK_TREE=/srv/sites/example.com/public git checkout -fThis is the error response i’m getting back from git push origin master from my local workstation. These are files from within my repository.remote: post

  • Mike Silvis
    ssh git git-repository
    I used to be able to clone from my personal git repository but now i seem to be running into an error.user:dev.site.com mikesilvis$ git clone { my ssh directory } server@ipaddress’s password: remote: Counting objects: 3622, done. remote: Compressing objects: 100% (2718/2718), done. error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the remote side. remote: aborting due to possible repository corruption on the remo

Web site is in building