Ubuntu :: LAMP Setup - Get A 403 Permission Denied Error

May 2, 2011

I'm breaking my head on this.I want to create a development environment. This means that I want to be able to create/change files myself, but php should be able to do the same. I installed a lamp-stack using tasksel. Afterwards I installed phpmyadmin. So far so good. Going to http://localhost shows "it works".

Then I created a folder /home/hwc/www and created a new apache site called hwc, disabled default and enabled hwc that points to /home/hwc/www and has the directive AllowOveride All set. But when I go to http://localhost know I get a 403 Permission denied error. I've tried several trings like changing ownership of /home/hwc/www to www-data:www-data, to hwc:www-data, to hwc:hwc, but all to no avail. Even adding www-data to group hwc and hwc to group ww-data did not help. According to other posts at least on of these solutions should have worked, but it did not. I could probably fix it by letting apache run as hwc, but that doesn't seem right.

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Permission Denied Error 13 On Apache2 Setup

May 8, 2010

I wanted to setup a local Apache2 server for some programming and testing. I installed and got Apache2 working with PHP, MySQL and all works fine. Now I wanted to add an additional directory to somewhere in my /home. And that's where things went wrong. I went to edit /etc/apache2/sites-available/default. This is it:

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny

Code:
You don't have permission to access /po/ on this server.
So I go to the logfile; which says this:
Code:
[Sat May 08 16:43:51 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /po/ denied

I tried a lot of stuff using chmod and chown, but all to no avail. I tried to change the ownership of the /home/name/web to root, and to www-data, I changed file permissions to allow executing the files.

View 6 Replies View Related

Applications :: Permission Denied On ./setup?

Oct 25, 2010

how to install software. but I am getting an error permission denied when i use command ./setup

I think I am logged in correctly as root.. and I am in the correct directory, why am i getting a permission denied error?

View 9 Replies View Related

Ubuntu Security :: Permission Denied When Trying To Run ./setup As Root

Sep 28, 2010

I am trying to install COMSOL 4a in Ubuntu 10.04 and when I try to run ./setup and I am already connected as root the command line gives me a permission denied error.

View 6 Replies View Related

OpenSUSE :: Unable To Setup Corepath For Smbd: Permission Denied

Jun 6, 2011

I installed samba em my opensusse and i have fallows error: Unable to setup corepath for smbd: Permission denied

View 1 Replies View Related

Red Hat / Fedora :: Setup Iptables - IOError: [Errno 13] Permission Denied

May 26, 2011

I am trying to set up iptables, I get this error message and dont' know what to do.

[Code]...

EDIT. I did chmod 777 /etc/sysconfig/iptables.old and it still doesnt work

View 9 Replies View Related

Ubuntu :: Wubi Error Windows 7 - Error Message Permission Denied

Oct 23, 2010

[code]...

Gives error message permission denied. I've seen this in your forums but I still haven't found the fix. I've tried the latest release Wubi downloader too. This one is ran from a CD. Version 10.04

View 3 Replies View Related

Ubuntu :: VLC Not Starting - Main Interface Error: Socket Bind Error (Permission Denied)

Oct 17, 2010

I tried removing it and installing again but I still get the same code in the terminal:

[Code]....

View 3 Replies View Related

General :: BackupPC Basic Setup (13)Permission Denied - Not Open Password File: /etc/Backup?

Feb 22, 2011

I am having problems gaining access to the BackupPC admin web page. The error:

Quote:

[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 82.30.227.113] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured

Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.

View 3 Replies View Related

Ubuntu :: Error(13): Permission Denied

Dec 7, 2010

I have a shared directory on another machine but I can't get it to mount. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too.

The verbose response from mount.cfis looks like this:

mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs) The man page does not have a list of error codes.

View 3 Replies View Related

Ubuntu Installation :: 4.10 - Getting Permission Denied Error

Jul 19, 2010

I want to install Ubuntu 4.10. But I get error permission denied face. I do not have CD-ROM. How can I do this?Is it possible to install via USB? [URL]

View 2 Replies View Related

Ubuntu :: Admin Privileges - Permission Denied Error

May 11, 2010

I'm having a permissions problem with Ubuntu and apache. There are two users, I'll just call them A and B. All of the files belong to A and group root. I'm logged in as B and I have admin privileges. My website is working just fine but when I create a directory in the web root, change the owner to A on the directory and all files I still get a Permission Denied error when I try to access it from the web. I've also set permissions to rxwr-xr-x on the directory and all the files. So I don't understand what's going on. Why am I still getting a permission denied error?

View 1 Replies View Related

Ubuntu Servers :: SSH Error: Permission Denied (publickey)

Aug 10, 2010

I want to use SSH to connect to my desktop. I have used Ubuntu 10.10's encryption to encrypt my home folder (thus encrypting my .ssh folder). This means that the OpenSSH doesn't have access to my .ssh folder. When I try to log into SSH before logging in on the local machine I get the following error:

Code:

jason@ONONWARA:~$ ssh jason@192.168.1.152
Ubuntu 10.04.1 LTS
NIHATI
Permission denied (publickey).

If I log onto the machine, then use SSH it works fine. I want to use key based login, One way to get around this error would be use a different authorized_keys file, but I don't know of a way to do this. This is the contents of my sshd_config file:

Code:

# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for

[code]....

View 2 Replies View Related

Ubuntu Servers :: Cat Command Gives Error Permission Denied

Aug 28, 2010

I am using Ubuntu server edition 10.04.1 running in Vmware server 2.02.I am connect via Putty so I can use copy and paste.My first goal is configuring a ftp server using PureFtpd using this guide.In section 10 I need to write this command

cat /dev/null > /etc/pure-ftpd/db/mysql.conf

I am getting this error

almog@Testing:~$ sudo cat /dev/null > /etc/pure-ftpd/db/mysql.conf
-bash: /etc/pure-ftpd/db/mysql.conf: Permission denied

I tried with and without "sudo" and I am getting the same error.

View 3 Replies View Related

Ubuntu :: Error Moving File: Permission Denied

Dec 4, 2010

Im trying to move some files from my desktop to /usr/share/ProjectM Project M is a visualization program, and Im trying to move some presets I downloaded there. The error I get is

Code:

There was an error moving the file into /usr/share/projectM/presets.
Error moving file: Permission denied

I am logged in as administrator, why can't I move these files?

View 7 Replies View Related

Ubuntu :: Error Creating Directory: Permission Denied

Jan 11, 2011

I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.' Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.

View 1 Replies View Related

Ubuntu :: Error 550 Server.cfg: Overwrite Permission Denied

May 19, 2011

i can upload and download things from/to my ftp server but when i want to Overwrite a file it shows me that:

PHP Code:
error 550 server.cfg: Overwrite permission denied

What can i do i gave premmision to download and upload so whats the problem

View 1 Replies View Related

Server :: Mount Error(13): Permission Denied

Nov 23, 2010

When trying to mount samba share off of domain member server sysimage in Windows receive error "There are currently no logon servers available to service this logon request". When trying to mount.cifs from PDC to samba share on sysimage receive error "mount error(13): Permission denied".

PDC is ClearOS 5.2 named "dc0"
Samba file server is CentOS 5.5 x86_64 named "sysimage"
dc0 Samba version is samba - 3.5.5-1.1.v5.i386
sysimage Samba version is samba-3.0.33-3.29.el5_5.1.x86_64

dc0 is configured correctly to my knowledge, windows machines can join domain, domain users can log into windows machines, user directories are mapped properly, logon scripts run properly. sysimage ldap authentication is set up as shown in "Procedure 7.1.

[code]....

View 1 Replies View Related

Ubuntu :: Saving Python Programs - Error Permission Denied

Apr 11, 2010

I wanted to save a python program because I am reading byte of python and I went to save in !/usr/bin. When I try to save in this folder I get this error "[Errno 13] Permission denied: 'usr/bin/helloworld.py'.

View 9 Replies View Related

Ubuntu :: SSH From OSX Using RSA Authentication Error Permission Denied (publickey,password)

Feb 20, 2011

I am trying to set up remote login via SSH from my Mac to an Ubuntu desktop. Here is the error i am getting:

Code: Permission denied (publickey,password). I'll give background:

- Both computers are on the same network
- I'm not using the default port 22
- I have successfully logged in using password authentication, so it isn't a firewall/iptables issue i don't think. I've already worked through those issues!
- I haven't set up any tcp wrappers on the server yet, so nothing is being denied
- I believe the server sshd_config file is setup correctly. I can post it if needed.

Here's debugging info:
bash-3.2$ ssh localuser@xxx.xxx.x.x -v
OpenSSH_5.2p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to xxx.xxx.x.x [xxx.xxx.x.x] port xx.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file /Users/localuser/.ssh/id_rsa type 1
[Code]....

View 8 Replies View Related

Fedora Networking :: Ssh Error Message - Permission Denied

Feb 8, 2011

I've just set up keys using

[Code]...

View 5 Replies View Related

Fedora :: Error : Permission Denied, Please Try Again. My Nssswitch.conf Is

Aug 2, 2011

I had Fedora 8 installed in few clients and a server (same server for NFS and NIS), and NIS and NFS configured, and was working fine. Yesterday, I upgraded few client computers to Fedora 15 (server is still same), and configured NFS and NIS client. NFS is working fine, I can see home directories.

For NIS: ypwhich, ypcat passwd gives me correct uutput, ypbind is running. The problem is, I can't login to NIS client. The error is: Permission denied, please try again. My nssswitch.conf is

[Code]...

View 2 Replies View Related

Security :: Changing The Permission Denied Error Message?

Jul 9, 2009

Is it possible to change the general permission denied error. I have some rather young users on this system that think they can "hack the gibson" and I would love to change the general error message to something a little more rude/funnyex:# cd restricted area
-sh: cd: restricted area: Permission deniedI am curious if its possible to change the error message in general?ex:# cd restricted area-sh: cd: restricted area: (funny/rude message goes here)Quick info:This is a Gentoo 2008.0 system, I would also love to do this on my slacware and OpenBSD boxes as well just for kicks.

View 2 Replies View Related

Security :: Ssh Authentication With Rsa - Error Permission Denied (public Key)

Mar 24, 2010

I have trouble with rsa authentication:

I did create an rsa certificate with ssh-keygen using my root account on a client: ssh-keygen -t rsa -b 2048 no passphrase I did copy the rsa pub_key from my client to the server scp id_rsa sampleuser@sampleserver:/home/sampleuser/.ssh/authorized_keys

I did change the ownership to the "sampleuser" of the pub key file on the server: I trayd to connect:
ssh sampleuser@sapleserver

I get that: permission denied (public key)... I know I do smth wrong but I don't know what.

View 2 Replies View Related

Programming :: Getting Error In Ftp From Windows To Unix Box - Permission Denied

Mar 18, 2009

I have a written a java code to ftp a file from the windows box to unix box. It keeps giving me the following error : "java.io.FileNotFoundException: PORT 204,63,56,5,16,78: 550 Permission denied." I am able to ftp manually from windows to unix.

View 5 Replies View Related

Slackware :: Error - Cannot Open /dev/ttyACM0: Permission Denied

Aug 7, 2010

I installed wvdial on my Satellite Toshiba laptop. All works well but I have to use the <wvdial> command as root. If I try to use it as a user i get an error message Cannot open /dev/ttyACM0: Permission denied So Im just wondering; is it ok to use wvdial as root?

View 2 Replies View Related

Ubuntu Installation :: Getting A "permission Denied" During Setup?

Feb 22, 2011

I'm getting a "permission denied" during setup.

View 2 Replies View Related

Fedora Security :: Error - Cannot Read /etc/shadow: Permission Denied

Jan 20, 2010

This is weird, today I updated my system and while trying to visudo from single user mode got

"cannot read /etc/shadow: Permission denied"

which kept me from doing anything until I switched to file permissions of 400 on shadow, then back. Is this being experienced by anyone else or just me? /etc/security/limits.conf doesn't seem like it wants to change in enforcing mode either and I can't find any alerts to provide clues on the situation.

View 8 Replies View Related

Fedora :: Wireshark - Dumpcap Permission Denied Error Message

Jul 8, 2011

I am trying to use Wireshark and on startup the program pops up a window saying:
Couldn't run /usr/sbin/dumpcap in child process: Permission denied
Are you member of 'wireshark' group? Try running 'usermod -a -G wireshark <username>' as root.

I ran the usermod command to add my account in the group and checked it
Code:
less /etc/group
wireshark:x:490:myaccount
but the same error message pops up.

View 3 Replies View Related

OpenSUSE Multimedia :: Get The Error Message Usb_open: Permission Denied

Jan 11, 2011

I have an old Creative Nomad Jukebox Zen Xtra, and I installed Gnomad2. When I plug the usb cord in the Zen lights up.

Using the Gnomad2 rescan menu, I get the error message Usb_open: Permission denied.

How can I correct this?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved