Ubuntu Servers :: Ssh Logout Cause 403 Forbidden Errors

Feb 11, 2011

i have strange problem on my wordpress-powered blog.while i'm connecting to server by ssh or physical console, everything works fine.however, when i tries to logout almost immediately 403 forbidden error pops up on every pages of my website.if there are two or more connections (like physical console and ssh terminal), terminate one of them does not cause 403 forbidden. but it shows 403 forbidden error page right after i terminated all connections.i can find two types of error in apache error.log while it shows 403 forbidden page.

Code:

(13)Permission denied: access to / denied

Code:

(13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable(one strange part is my DocumentRoot is /home/user/www not /home/user)i gave 755 permission to all files and directories in DocumentRoot(which is /home/user/www), but still apache show me the forbidden error page right after logout.i use ubuntu 10.04 lts and i use apt-get command to install all package that i'm using now (apache,mysql,php,mrtg,snmpd,vsftpd,ssh,etc).these are my virtual host config file and apache2.conf. (httpd.conf is empty)

Code:

<VirtualHost *:80>
DocumentRoot /home/user/www/
<Directory /home/user/www/>

[code].....

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache Forbidden 403 Easy Fix?

Jun 14, 2010

I am using the Desktop Version of Ubuntu Lucid Lynx, but I am posting here because I think all of you server guru's can help me. I am setting up my desktop as a mobile development server. I am hoping to eventually have it work with an intranet. Anyways I am trying to configure this and I hit a snag.

I have a 403 forbidden error. I've read around and I thought it might have something to do with SELinux

Here is my Virtualhost file

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName starace
DocumentRoot /home/chris/public_html

[Code]...

View 5 Replies View Related

Ubuntu Servers :: FTP And Apache - Page Forbidden

May 7, 2011

Since I upgraded to 11.04 on my Server edition I have been experiencing some problems with my FTP-server and Apache. Apache just says that the page is "forbidden" if I'm not logged in on the server, which means I need to go to the server and physically log in or I can do it trough ssh but then when I close my ssh client on my work computer the page is "forbidden" again. And I cant seem to reach the FTP-server from an external address so I need to be in the network to access it.

It says something like:
Code:
An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder.
200 Switching to ASCII mode.
227 Entering Passive Mode (192,168,0,194,233,166)

View 3 Replies View Related

Ubuntu Servers :: Apache2 Change Root Forbidden 403?

Aug 13, 2010

Long story Short, I had to reinstall 9.10 (after a failed 10.04 upgrade) and therefore fresh install of everything.

I installed Apache2 as per [URL] and all works fine.

Changing the root in /etc/apache2/sites-available/default to a folder in my home directory /home/user/subfldr1/www results in a forbidden 403 error.

I've tried changing group owner, given 777 permissions, read and tried all sorts of solutions, but nothing seems to be working.

View 3 Replies View Related

Ubuntu Servers :: 10.04 Not Liking Localhost - 402 Forbidden Error

Mar 3, 2011

I am still a newbie at Linux, but have managed to get about 6 different Kubuntu systems up and all running a localhost test web server. I always start out with a server .iso and after installing I add a kubuntu desktop GUI. I have an old laptop that was running 8.04 server w/xubuntu desktop gui and it was running my test web pages through localhost. I got a wild hair and thought it was about time to upgrade to 10.04 server. I always do a complete install and this time I tried lubuntu desktop GUI. I really like lubuntu but for some reason can not get localhost to run. I get a 402 forbidden error. same error with 127.0.0.1 Here is what I get when I run this command

[Code]...

View 4 Replies View Related

Fedora Servers :: Forbidden Don't Have Permission To Access

Apr 9, 2011

before i using fedora 14, i was used fedora 8.... no problem in setting web server, all client (windows XP) can access my resources in var/www/html/index.html but after upgrade to fedora 14.... this is a problem

"forbidden you don't have permission to access.... apache/2.2.16 (Fedora) server at 192.168.1.1 port 80" i had disable firewall also set SELinux to permissive

View 14 Replies View Related

Fedora Servers :: File Permissions - Get A 403 Forbidden ?

Jul 28, 2011

I have a web server set up, and for a while I just let it show the default "test" page, but now I am wanting to actually show something of my own.

I downloaded a couple templates from the internet (free ones), and copied the first one to the /var/www/html folder (including subfolders for ./images and such), and it used an index.php file, but when viewing in my browser, it showed the actual text of the file, not the graphics and images and stuff.

So I deleted those files and "installed" the second template, which uses an index.html file instead.

I am once again getting the default "Apache is running but not configured" page again, even though I have verified multiple times that the index.html file is located in /var/www/html

if I include the index.html file in the path to my website, I get a 403 Forbidden, so I'm thinking it has to do with file ownership or permissions.

I placed the files there as "root", and have tried several combinations of possible permissions (root:root is the owner:group) without any luck.

View 5 Replies View Related

Ubuntu Servers ::configuring FCGI To Run Redmine - Forbidden You Don't Have Permission To Access

Nov 14, 2010

I have installed Redmine according to the instructions on [url] according to the mod_cgi instructions which seem to be the easiest to follow.

The script installed in the installation directory was called 'dispatch.fcgi', and not parsing when I visited the page through the browser, just displaying the contents of the script. OK, so I installed the apache mod libapache2-mod-fastcgi using apt-get. Then 'a2enmod fcgid' followed by an apache restart.

Now when I visit the Redmine folder through the web browser I get 'Forbidden You don't have permission to access /redmine/dispatch.fcgi on this server.'

I checked to ensure www-data owns all files and has correct permissions to the folder. But this doesn't seem to work.

View 3 Replies View Related

Ubuntu Servers :: Fcannot Access Cgi-bin From Local-host - Permission Forbidden

Jun 16, 2011

Using httpd - everything usually works but I have written a cgi script and placed in cgi-bin but i cannot access this dir and keep getting forbidden messages. I have tried adding my root and usual user to the /etc/group file against the user stipulated in the httpd.conf file but i still can't access the cgi script i wrote (in browser - localhost/cgibin/myscrippt.cgi) when i place it in the cgi-bin under htdocs. i have also chmod 755 directory and files.

View 1 Replies View Related

Fedora Servers :: Mediawiki Upgrade - Get 403 Forbidden Message

May 7, 2011

I just upgraded to mediawiki-1.16.4-58.fc13.x86_64 on my fedora box and did:

Code:

Now I get 403 Forbidden message when I access.

I find several config files related to mediawiki, and modified them, but I still see 403.

View 4 Replies View Related

Fedora Servers :: Apache 403 Forbidden Error On Symlinks

Aug 12, 2011

the hard drive on my web server died so I replaced it and installed Fedora 15. I have been installing the OS on a small drive and then mounting other drive(s) for storage and did the same thing here. The problem is that I cannot get Apache to follow symlinks. Apache is partially working, it will serve my index.html page in the web page root directory and I made another directory called webtest and put some files in, and that worked fine. I made a symlink from the root directory to a folder on the mounted drive but when I try to access it, it gives me the old 403 Forbidden error. I also made a similar link in the webtest directory, I can view the other files in that directory but it does not show the link - also, trying to force it by typing the full path in the browser gives the same 403 error.

I have checked the permissions and SELinux types (using ls -Z) and they seem to be fine and I cannot find any .htaccess files. All the files on the mounted drive are owned by www:www but I also tried setting the user and group to www in httpd.conf and it still gave the same issue, so I changed them back to apache. I've been reading posts and sites on this for hours now and I'm still lost. I can post results of log files if they are of any use, I just wasn't sure what to post because it is somewhat working.

View 14 Replies View Related

Fedora Servers :: Directory Index Forbidden By Options Directive?

Jan 7, 2009

I am running a few virtual domains on Apache/Fedora 9. I have some domains working fine but when I tried to put up another one today I get "Directory index forbidden by Options directiveL : /home/jek/www/AAA/" Now here's the weird part. That message appeas in the error log for domain AAA, whereas the new domain is BBB and has it's own log files defined in httpd.conf. On the browser the Fedora test page is displayed. SELinux is turned off.

View 4 Replies View Related

Fedora Servers :: Apache Hosting User Public HTML - Forbidden 403

May 6, 2009

I have apache working,i have users set under admin group in /home/admin/username/html that is with an html publicfolder at the end, now permissions are set right, /html is set to mode 777, and the contents also inside them. But everytime i do a 10.0.11.25/~les i get a damn forbidden error code, its got me so pissed off and i dont' know whats the problem. This is the error i get: Forbidden 403 You don't have permission to access /~les on this server.

Code:

[Tue May 05 19:37:48 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.6 configured -- resuming normal operations
[Tue May 05 20:44:30 2009] [error] [client 10.3.0.254] (13)Permission denied: access to /~les denied

[code]....

View 10 Replies View Related

Ubuntu Servers :: Regular Users Cannot Logout?

Dec 22, 2010

I am moving a webserver from a Gutsy to Lucid server. The webserver works fine, but I am having a problem with the users. I moved the home directories, along with passwd, group, shadow, and gshadow. The users can login fine, and their home directories are fine. The problem is when they try to logout, they get

$logout
-sh: logout: not found

View 4 Replies View Related

Debian Configuration :: XFCE Logout Doesn't Completely Logout Of System / Solution For This?

Oct 17, 2010

As a normal user I have activated the functions of the Quit applet, i.e. Logout, Shutdown and Restart are active buttons. I am able to restart or shutdown, no problems. But when I use the Logout button I don't get logged out, just returned to the login shell & I am still logged in as my user. I don't have a display manager installed and I do NOT want to use a display manager such as XDM or GDM. How do I get the Logout button to actually logout the user? It appears I am only getting logged out of the x-session, but I want complete logout.

View 6 Replies View Related

Ubuntu Servers :: Webdav + Nautilus = Forbidden - DON'T Have "Options Indexes" In Apache Config File When Try To Access Via Firefox

Feb 20, 2010

I've installed webdav on my server and I can access it fine through cadaver. However, when I try to access it via nautilus, I get Forbidden. It is NOT secured (SSL). When I try to access it via firefox, I get an error since I DO NOT have "Options Indexes" in my apache config file. If I add this option in, then I can browse the root direction and webdav folder via firefox, but still not from nautilus. what other information you need. I've googled and searched the forums for awhile, but not "solutions" I found have worked for me. I want the webdav folder to just be a single folder within the direction, so this is how I have my config file setup:

[Code]....

As a side-note...when I included "Option Indexes", it allowed me to view the passwd.dav file from firefox!That doesn't seem very good...

View 4 Replies View Related

Ubuntu Servers :: Md Raid 10 Errors

Jul 26, 2011

I've had this server for a while and I've periodically received similar errors, but it's been worse lately. I'm trying to diagnose and similar posts have left me with 2, maybe 3, ideas about what could be wrong. Here is the setup: Ubuntu Server 10.10 maverick kernel 2.6.35-30-server Sans Digital TR8 8 bay raid - 2 port multipliers to esata outputs 8 1TB WD Caviar Black Syba PCI-e card with Sil3124 chipset - 2 external esata inputs I do not use the RocketRaid 622 card that came w/the enclosure because I had problems with drivers and configuration so I went with the SI chipset. The raid is configured with mdadm, level 10, running ext3 file system:

Code:
root@i5server:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid10 sdb1[5] sdg1[2] sdd1[7] sdh1[3] sdf1[1] sde1[0] sdc1[6] sda1[4]
3906721792 blocks 256K chunks 2 far-copies [8/8] [UUUUUUUU]

[Code].....

What's odd is that the raid dropped out and completely locked up the computer multiple times, then marked one of the drives as failed. I did a readd on the drive and it rebuilt witout issue. Ran e2fsck -f to clean up the problems it had when it crashed, but as soon as I do heavy read/writes the errors start showing up again. This is primarily a media server for music and movies, but also for backups and printing. Heavy read/writes are generally transcoding movies and music which is what I was doing when it failed.

View 7 Replies View Related

Ubuntu Servers :: MySQL Not Starting - No Errors

Jan 15, 2010

My mysql server won't start on my machine. It simply fails with no errors.
Code:
sudo /etc/init.d/mysql restart
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]

When I run cat /var/log/mysql.err the file is empty, thinking this might be a permissions issue
I tried chowning to a mysql user. Here's the current permissions.
Code:
ls -alh /var/log/mysql*
-rw-r----- 1 mysql adm 0 2009-09-30 11:08 /var/log/mysql.err
-rw-r----- 1 mysql adm 0 2010-01-15 09:07 /var/log/mysql.log
-rw-r----- 1 mysql adm 20 2009-11-25 07:35 /var/log/mysql.log.1.gz
-rw-r----- 1 mysql adm 20 2009-11-24 07:59 /var/log/mysql.log.2.gz
-rw-r----- 1 mysql adm 20 2009-11-23 07:56 /var/log/mysql.log.3.gz
-rw-r----- 1 mysql adm 20 2009-11-22 07:54 /var/log/mysql.log.4.gz
-rw-r----- 1 mysql adm 20 2009-11-21 07:47 /var/log/mysql.log.5.gz
-rw-r----- 1 mysql adm 20 2009-11-20 07:43 /var/log/mysql.log.6.gz
-rw-r----- 1 mysql adm 20 2009-11-19 07:35 /var/log/mysql.log.7.gz

/var/log/mysql:
total 8.0K
drwxrwsrwx 2 mysql adm 4.0K 2009-09-30 11:08 .
drwxr-xr-x 16 root root 4.0K 2010-01-15 10:24 ..
Still having the same issue, mysql server is still failing and /var/log/mysql.err is still empty.

View 3 Replies View Related

Ubuntu Servers :: LAMP Display Php Errors ?

Oct 11, 2010

I've installed developer's LAMP server and made changes on php.ini

But it doesn't display any errors or even a little warning, what's the problem, what's wrong?

View 9 Replies View Related

Ubuntu Servers :: 11.04 Nouveau Errors After Installing?

May 21, 2011

Just installed ubuntu server 11.04 to have a play with. Ran through the installer and selected to setup as a virtual machine host. When booting I get 3 errors

Code:
[ 7.847619] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D ===
[ 7.847624] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D ===
[ 8.651603] [drm] nouveau 0000:00:0d.0: unknown connector type: 0xff!! ===
Any insignt into what may be causing this would be well appreciated.

It may be also worth noting that I dont see the grub screen. My monitor reports "out of range" I also did have ubuntu server 10.10 on here previously which installed without issue. (It wasnt actually being used for anything) I'm currently trying a reinstall hoping the errors will go away but any info would be much appreciated.

View 2 Replies View Related

Ubuntu Servers :: Xorg-common (Installation Errors?

Jan 5, 2010

I have setup the Ubuntu server on Dell Powerdge 2900 (the latest server version 9.XX)I would like to install the 'minimal' X11 package so I have done the following Step1:Quote:

$ dpkg -l x11-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend

[code]....

View 6 Replies View Related

Ubuntu Servers :: PhpMyAdmin Cannot Start Session Without Errors?

Feb 16, 2010

I get an error message that says phpMyAdmin - Error, Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

So I did some googling and found a post here {URL]... which speaks about resetting the ownership of the session directory. However I am wondering how I can find out what the owner if the directory is (if its root or admin or ...)

It's strange because it all worked fine just about two hours ago and I am not sure since I have the server automatically download security updates if there is something it automatically downloaded that caused this. Also how to make the server stop automatically downloading security updated?

View 7 Replies View Related

Ubuntu Servers :: Root Permission Denied Errors When Using Apt

May 6, 2010

Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.

error

Code:

# sudo apt-get install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 4 Replies View Related

Ubuntu Servers :: Mysterious Harddrive Errors (not Through SSH As Usual)

Jul 14, 2010

When I restarted one of my servers today and actually worked directly on the system (not through SSH as usual), some weird error messages kept appearing in the console. So I checked the syslog and found several instances of the following lines:

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Dropping Network Connection And Other Errors

Sep 11, 2010

I set up the web/backup server for our department and I'm having some major issues. Firstly, the server seems to be dropping the network connection periodically. I checked all of the logs and it appeared to be an IP6 issue as the only message that seemed to correlate with it was "eth0: no IPv6 routers present" in syslog. I added "ipv6.disable=1" to my boot options in menu.lst and this seemed to take care of the problem. However, I woke up this morning and the server was back down.

This didn't seem to take care of the problem. It seems to occur when my automatic backup scripts go through. I have several BASH backup scripts that use rysnc over SSH to backup several computers to the server and the server to my desktop at home. I was able to trigger the problem a couple of times running the backup script this morning. Now, I'm getting the following error when running the script, instead of losing the network connection:

Code:
Sep 11 10:22:40 chemistry kernel: [ 396.892699] BUG: unable to handle kernel NULL pointer dereference at 0000000000000118
Sep 11 10:22:40 chemistry kernel: [ 396.892715] IP: [<ffffffff811426c0>] __dentry_open+0x240/0x370
Sep 11 10:22:40 chemistry kernel: [ 396.892728] PGD 1113d5067 PUD 11458c067 PMD 0
Sep 11 10:22:40 chemistry kernel: [ 396.892737] Oops: 0000 [#1] SMP
Sep 11 10:22:40 chemistry kernel: [ 396.892743] last sysfs file: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Sep 11 10:22:40 chemistry kernel: [ 396.892750] CPU 1 .....

I tried booting with a previous kernel to see if that was the problem and I'm still getting this error. I've searched through all of the logs that I could think of to try to track down any software based problems and I just don't see anything. In the past, whenever I've run into such serious with a Linux box that popped up out of nowhere, it's always been a hardware failure. I've currently disabled all of the backup scripts and I'm going to see if it lasts through the weekend.

View 2 Replies View Related

Ubuntu Servers :: /dev/sdc1 Will Be Checked For Errors At Next Reboot

Feb 14, 2011

Everytime i log into my server, I get the message Displayed "/dev/sdc1 will be checked for errors at next reboot"

However, despite many reboots this message does not clear.

I cannot run FSCK on this partition as it is the boot partition.

I would like the device to get checked at reboot, any ideas how I can trigger this check , and that might clear the message

View 5 Replies View Related

Ubuntu Servers :: How To Autofix Disk Errors On Startup

Jun 22, 2011

I have a server that, due to the amount of data it's moving, tends to trash up the hard drive when I have a power outage or crash. It doesn't have a keyboard or monitor attached to it normally so it's a real pain when I have to boot it back up. I have to hook one up just to hit F to have it fix all the errors. Is there a way to have it do this automatically on boot rather then having to confirm it?

View 2 Replies View Related

Ubuntu Servers :: Iptables Causing Slow Ssh And Name Lookup Errors

Jan 24, 2010

Why would this iptables cause this mail delivery error? I think it's to do with dns lookups not being routed properly... if remove the last rule, mail works fine.

ssh is also very slow to connect when the last rule is enabled.

postfix mail error:

Code:
Jan 24 11:32:18 xxxx postfix/smtp[15065]: 9F2162C519: to=<xxxxx@hotmail.com>, relay=none, delay=1005, delays=965/0.01/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) iptables

[Code]....

View 1 Replies View Related

Ubuntu Servers :: Bind9 Errors: Unknown Option 'zone'

Aug 11, 2010

I am trying to get bind 9 up and running on a new installation of server 10.04 and keep getting errors when starting the daemon -

* /etc/bind/named.conf.local:19: unknown option 'zone'
* /etc/bind/named.conf.local:20: unknown option 'zone'
* /etc/bind/named.conf.default-zones:3: unknown option 'zone'
* /etc/bind/named.conf.default-zones:11: unknown option 'zone'
* /etc/bind/named.conf.default-zones:16: unknown option 'zone'
* /etc/bind/named.conf.default-zones:21: unknown option 'zone'
* /etc/bind/named.conf.default-zones:26: unknown option 'zone'

The onlything I could find after scrubbing the internet is once ina while there's a missing bracket. But I have checked and triple checked my config files and the syntax and can't find anything wrong. I have another installation of bind9 running on Fedora and the same exact syntax works just fine.

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Connetion Errors For Sudo Apt-get Update / Solve This?

Mar 24, 2011

I have a connection error when i try to use
sudo apt-get apache2 install

I'm running a virtual server with ubuntu server installed as the OS. The physical server is windows 2008.

I have configured the interface for a static ip code...

I have configured my resolv.conf so it points to the correct nameserver ip

When i ping both an ip or a hostname everything is OK

but when i run

sudo apt-get update

I just get a load of connection errors and i cannot install any packages

View 2 Replies View Related







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