linux,permissions,git,file-permissionsRelated issues-Collection of common programming errors


  • Kyle Brandt
    linux
    When trying to reboot a Linux server I got the typical ‘System going down for reboot now’, but the server has not rebooted. I have tried:reboot shutdown -r nowThe runlevel command returns 5. Any other options for getting this server to reboot? This is a remote machine, so I don’t want to just shut it down if I can avoid that. I am trying to reboot because of a journal abort on /, so / is read-only. Most commands now return ‘bus error’

  • JoelFan
    linux mysql debian-wheezy upgrade-issue
    I upgraded debian to wheezy and got errors with mysql-server so I removed it. Now I can’t reinstall it. I get:$ sudo apt-get install mysql-server … Unpacking mysql-server (from …/mysql-server_5.5.30+dfsg-1.1_all.deb) … Processing triggers for man-db … gdbm fatal: malloc error Setting up mysql-server-5.5 (5.5.30+dfsg-1.1) … [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action “start” failed. … dpkg: error processing

  • soulSurfer2010
    linux wget
    I was using wget the in the last week to recursively download a whole website of html pages. I used it this way:wget –recursive –no-clobber –page-requisites –html-extension –convert-links –domains XXXX.com –no-parent http://www.XXXX.comthe issue is, since the downloading took couple of days, sometimes there were connection timeouts , network disconnections etc, and while it happened, seems like wget skipped the htmls it couldnt fetch, which is not good in this case.I wonder if there is a

  • Stormvirux
    linux security debian logging audit
    Is there a log file that logs information when the values set in /etc/security/limits.conf are exceeded? If the values are too tight in the above file the clients using the website hosted on the server sees errors such as [FATAL] failed to allocate memory . But I wont be intimidated about it. So is there a log? If not is there a way to make it log when the values are exceeded?

  • Tiffany Walker
    linux vpn logging openvpn pptp
    I currently have a default setup of OpenVPN and PPTP. I was wondering how I can enable the most verbose logging of the services so in case of abuse we can track down who’s IP did what?

  • 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

  • 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’ ‘

  • scarba05
    linux centos monitoring munin system-monitoring
    We’ve installed munin monitoring on one of our servers. Generally it seems to be working well but occasionally, 4 times in 2 months to be exact, munin-cron has generated the following error:[FATAL] There is nothing to do here, since there are no nodes with any plugins. Please refer to http://munin-monitoring.org/wiki/FAQ_no_graphs at /usr/share/munin/munin-html line 38On searching for this error I can only find issues where munin is not working at all, rather than the intermittent problem that

  • GeekRide
    linux centos hyperic
    I am trying to install the latest version of Hyperic (4.6.6) on centos machine and getting this error. > /home/hq/agent-4.6.6/bin/hq-agent.sh start Installing the server… Unpacking server to: /home/hq… Creating server > configuration files… Using “small” installing profile… Copying > binaries and libraries to server installation… Copying server > configuration file… Copying server db-upgrade files… Copying > server libs… Setting up server database… Loading

  • 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

  • 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

  • Michelle
    centos postfix permissions pipe
    I am new to postfix and am trying to pipe a message to a particular email address to a bash script. I am running CentOS 6 in case that matters.My script has 777 permission (for testing), and when I email to the test account I see that postfix tries to run the script. This is the relevant line from the maillog:Feb 16 15:08:40 lserver2 postfix/local[19675]: F4045103000: to=, orig_to=, relay=local, delay=1737, delays=1737/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output:

  • andreas-h
    postgresql permissions postgresql-9.2
    I’m wondering why a newly created user is allowed to create a table after connecting to a database. I have one database, project2_core:postgres=# \lList of databasesName | Owner | Encoding | Collate | Ctype | Access privileges —————+————–+———–+————-+————-+——————————-postgres | postgres | SQL_ASCII | C | C | project2_core | atm_project2 | UTF8 | de_DE.UTF-8 | de_DE.U

  • Alaa
    networking permissions configuration directory minidlna
    I’ve done my searching and can’t find an answer to THIS specific issue. I have my minidlna set up and running – but it’s not really done properly. First off, when I open the server on my bluray player, all of my movies are listed twice – when they are certainly not saved on my external twice. Second, when I open the server – rather than reading “Movies” “TV” “Music”, etc – It just mashes all of my movies, tv, and some other folders all together with no real organization. I never had this probl

  • Marcus
    server permissions email postfix mail
    I have an issue that’s driving me crazy. Running Ubuntu 12.04 on DigitalOcean, I followed this tutorial to set up Postfix, Dovecot, ViMbAdmin and RoundCube:https://rtcamp.com/tutorials/mail/server/postfix-dovecot-ubuntu/Everything has been working fine for almost a week so far until suddenly today my incoming mail started getting stuck in the queue. I can see the emails using postqueue -p but they’ve just been sitting there for over 5 hours.I am able to send email to other hosts just fine, but I

  • Roman Dryndik
    permissions environment-variables git adduser
    I want to create a new user and give him possibility to use git. So, I’ve installed git:sudo apt-get install gitAfter that I’ve created a user:sudo useradd -d /home/developer -s /bin/bash -g sudo -m developerAnd now I have a problem. When I switch to a new user and try to do something like this:git clone <<here is a path>>I get this error message:fatal: unable to access ‘/home/roman/.config/git/config’: Permission deniedI can’t get why environment variables points to another user fol

  • thesunneversets
    php cakephp permissions
    I inherited a file called promo.php. It begins with the lines:define(‘ROOT’, dirname(dirname(dirname(__FILE__)))); require_once ROOT. ‘/app/config/database.php’; require_once ROOT. ‘/app/config/constants.php’;And works well enough. For testing purposes though I created a file called promo-2.php in the same folder, beginning with the same lines. In this case, the file dies with a fatal error at at the first require. As far as I can make out, the required file is not being found. But how can

  • Glutanimate
    12.04 permissions apache2 php
    I am using LAMP server on my Ubuntu 12.04 system. Before this time I have installed prestashop without any issues. But after a long time when I tried to install prestashop today, it really showed me a strange error. The error is like this:Warning: require(/var/www/Prestashop/config/config.inc.php): failed to open stream: Permission denied in /var/www/Prestashop/index.php on line 27 Fatal error: require(): Failed opening required ‘/var/www/Prestashop/config/config.inc.php’ (include_path=’.:/usr/s

  • user808427
    permissions samba netbeans
    I got a perfectly working Samba share on my linux computer configured. I use it in Windows as Y: network drive. I can create folders, files what so ever. But when I use Netbeans to create a phpdocumentor entry I get write permission errors. And the weirdest thing is that when that error appears phpdocumentor has already created a few folders and files on the network drive.I get the following errors from phpdocumentor:Fatal error: Smarty error: unable to write to $compile_dir ‘Y:\classes\database

  • 7UR7L3
    12.10 kubuntu permissions sudo
    Whenever I try to do anything at all that requires my password it returns this:u7ur7l3@ubuntu:~$ sudo sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0 sudo: fatal error, unable to load plugins u7ur7l3@ubuntu:~$So I can’t install anything from the Software Center / package manager or run any commands in terminal that require my password. I can log in, but that’s pretty much it.I accidentally changed the permissions of some files, then changed some more trying to fix it :/. Now I’m completely

  • 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

  • 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

  • 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

  • user200340
    java distributed rmi file-permissions
    I am new to RIM, and currently taking the tutorial at http://java.sun.com/docs/books/tutorial/rmi/overview.htmlI am able to start server like:C:\Documents and Settings\myHome>java -cp c:\home\ann\src;c:\home\ann\public_ html\classes\compute.jar -Djava.rmi.server.codebase=file:/c:/home/ann/public_htm l/classes/compute.jar -Djava.rmi.server.hostname=localhost -Djava.security.polic y=c:\home\ann\policy\server.policy engine.ComputeEngine ComputeEngine boundHowever, when i try to run client i got exc

  • ACE91
    linux gradle file-permissions ntfs
    I’m somewhat new at Gradle. My development PC dual-boots both Windows and Linux, and so I have an NTFS “data drive” that both OS’s share, and I keep all of my development files on this drive. I have a Gradle Java project that compiles fine under Windows, but, under Linux, it fails with this error:FAILURE: Build failed with an exception.* What went wrong: Could not copy MANIFEST.MF to ‘/(…my project path…)/build/tmp/jar/MANIFEST.MF’.* Try: Run with –debug option to get more log output.* Exce

  • ElvisLikeBear
    php file-permissions directory-permissions
    Check this code:<?php$url = ‘http://www.example.com/downloads/count.txt’;$hit_count = @file_get_contents($url); $hit_count++; @file_put_contents($url, $hit_count);header(‘Location: wmwc.zip’);?>@file_get_contents is working fine and the header location change to the downloaded file also works, but either the hit_count increase or @file_put_contents isn’t working, because the number with the file doesnt increase by 1. I’ve set the file permission to 777, but when I try to set the directory

  • Soner Gönül
    c# windows wcf filesystems file-permissions
    I have a windows service that host a wcf service to allow remot file and folder browsing. The windows service runs under the local system account.When browsing the c:\ drive the service reports over 2800 files in that folder. i have single stepped through the code and it does indeed report >2800 files.How can this be correct?C# Code//Files Managerpublic ReturnClass FindSubFiles(String Folder_To_Search, String User, String SessionId) {ReturnClass myReturnClass = new ReturnClass(-1, String.Empty,

  • Tom
    windows-7 file-permissions
    I seem to have a general problem with “access denied on Windows”. It manifests itself every time if e.g:My bat file calls a compiler creates a file on disk My bat file renames a file But I also have files downloaded (FireFox) to Windows desktop where Windows is giving me “access denied” if I try delete the file. Tried disable AVG + make exception in AVG resident shield(I have tried checking with Task Manager + Winternals process explorer that it is not process running still running that should c

  • John Smith
    linux permissions file-permissions chmod gnu
    I am reading The Linux Command Line by William Shotts and I read somewhere in the book a part regarding permissions which says The operation may be a “+” indicating that a permission is to be added, a “-” indicating that a permission is to be taken away, *or a “=” indicating that only the specified permissions are to be applied and that all others are to be removed*.(see the part between **)So I tried it:me@ubuntu:~$ > foo me@ubuntu:~$ ls -al | grep foo -rw-rw-r– 1 me me 0 Apr 2 05:17

  • columbo
    linux web access file-permissions
    I’m relatively new to Linux so please excuse my ignorance.I have a public web directory where I have been experimenting with the permissions to try to learn about them. I have set up a simple test.php file and set its permissions as follows:-rw — —Which I was expecting to mean only the owner can access the file and no other. But, I can still access this file remotely from the web and the test page shows? This is on a Red Hat web server. NOTE: The owner use is not the web access user.This wo

  • Ari
    .net git permissions file-permissions atlassian-stash
    Is there any good way to handle permission to single files in git repository?I have .net project which I want to share with my team. What I don’t want to share are connection strings to production db, storage and so on.I know I could create new branch with these files, but it’s getting much more complicated.

  • ort11
    iphone ios ipad file file-permissions
    Is there anyway to “break” the sandbox and give permissions to another running APP to allow for file access read / write / delete for the other APP? I did a bit of looking and have not found a way yet.

Web site is in building