Hi, I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Meyer
I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition> probably.... -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually! --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files? El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Did that on and fsck checked out. Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Meyer
Did that on and fsck checked out. Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
Then your problem is solved? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Nope, still is giving me the same error, but it can read it's own /srv/www/ directory. Patrick Shanahan wrote:
* John Meyer
[11-04-06 21:23]: Did that on and fsck checked out. Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
Then your problem is solved?
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Meyer
Nope, still is giving me the same error, but it can read it's own /srv/www/ directory.
Patrick Shanahan wrote:
* John Meyer
[11-04-06 21:23]: Did that on and fsck checked out. Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: > I am getting an Access Forbidden Error 403 on my files, even though I > have the directories (and subdirectories) set to drwxr-xr-x. > > fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
Then your problem is solved?
post the result of: ls -la /srv/ (as user) ls -la /srv/www/ ls -la /srv/www/htdocs/ grep \/srv /etc/fstab -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* John Meyer
[11-04-06 21:43]: Nope, still is giving me the same error, but it can read it's own /srv/www/ directory.
Patrick Shanahan wrote:
* John Meyer
[11-04-06 21:23]: Did that on and fsck checked out. Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
El Domingo, 5 de Noviembre de 2006 00:39, John Meyer escribió:
Patrick Shanahan wrote:
> * John Meyer
[11-04-06 17:52]: > > > >> I am getting an Access Forbidden Error 403 on my files, even though I >> have the directories (and subdirectories) set to drwxr-xr-x. >> >> >> > fsck -y /dev/<subject-partition> > > probably.... > > > Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually! Then your problem is solved?
post the result of: ls -la /srv/ (as user) ls -la /srv/www/ ls -la /srv/www/htdocs/
grep \/srv /etc/fstab
grep \/srv /etc/fstab doesn't return anything, su or regular user total 0 drwxr-xr-x 6 root root 144 2006-11-04 20:00 . drwxr-xr-x 4 root root 96 2006-11-04 19:46 .. drwxr-xr-x 2 root root 208 2006-11-04 19:58 cgi-bin drwxr-xr-x 4 root root 128 2006-10-29 12:58 htdig drwxr-xr-x 5 root root 400 2006-11-04 20:00 htdocs drwxr-xr-x 2 root root 48 2006-05-02 03:48 perl-lib total 34 drwxr-xr-x 5 root root 400 2006-11-04 20:00 . drwxr-xr-x 6 root root 144 2006-11-04 20:00 .. -rw-r--r-- 1 root root 2205 2005-12-14 09:25 apache_pb22_ani.gif -rw-r--r-- 1 root root 2410 2005-12-14 09:25 apache_pb22.gif -rw-r--r-- 1 root root 1502 2005-12-14 09:25 apache_pb22.png -rw-r--r-- 1 root root 2326 2004-11-20 13:16 apache_pb.gif -rw-r--r-- 1 root root 1385 2004-11-20 13:16 apache_pb.png -rw-r--r-- 1 root root 302 2006-10-31 03:13 favicon.ico drwxr-xr-x 2 root root 208 2006-10-29 13:02 gif -rw-r--r-- 1 root root 44 2004-11-20 13:16 index.html drwxr-xr-x 7 root root 2392 2006-11-04 20:00 phpMyAdmin -rw-r--r-- 1 root root 26 2006-10-31 04:21 robots.txt drwxrwxrwx 5 root root 128 2006-11-04 18:04 sevenseals total 1 drwxr-xr-x 4 root root 96 2006-11-04 19:46 . drwxr-xr-x 23 root root 592 2006-11-04 20:08 .. drwxr-xr-x 2 root root 48 2006-04-22 19:51 ftp drwxr-xr-x 6 root root 144 2006-11-04 20:00 www
* John Meyer
grep \/srv /etc/fstab doesn't return anything, su or regular user
so /srv is on the same partition as "/"
total 0 drwxr-xr-x 6 root root 144 2006-11-04 20:00 . drwxr-xr-x 4 root root 96 2006-11-04 19:46 .. drwxr-xr-x 2 root root 208 2006-11-04 19:58 cgi-bin drwxr-xr-x 4 root root 128 2006-10-29 12:58 htdig drwxr-xr-x 5 root root 400 2006-11-04 20:00 htdocs drwxr-xr-x 2 root root 48 2006-05-02 03:48 perl-lib total 34 drwxr-xr-x 5 root root 400 2006-11-04 20:00 . drwxr-xr-x 6 root root 144 2006-11-04 20:00 .. -rw-r--r-- 1 root root 2205 2005-12-14 09:25 apache_pb22_ani.gif -rw-r--r-- 1 root root 2410 2005-12-14 09:25 apache_pb22.gif -rw-r--r-- 1 root root 1502 2005-12-14 09:25 apache_pb22.png -rw-r--r-- 1 root root 2326 2004-11-20 13:16 apache_pb.gif -rw-r--r-- 1 root root 1385 2004-11-20 13:16 apache_pb.png -rw-r--r-- 1 root root 302 2006-10-31 03:13 favicon.ico drwxr-xr-x 2 root root 208 2006-10-29 13:02 gif -rw-r--r-- 1 root root 44 2004-11-20 13:16 index.html drwxr-xr-x 7 root root 2392 2006-11-04 20:00 phpMyAdmin -rw-r--r-- 1 root root 26 2006-10-31 04:21 robots.txt drwxrwxrwx 5 root root 128 2006-11-04 18:04 sevenseals total 1 drwxr-xr-x 4 root root 96 2006-11-04 19:46 . drwxr-xr-x 23 root root 592 2006-11-04 20:08 .. drwxr-xr-x 2 root root 48 2006-04-22 19:51 ftp drwxr-xr-x 6 root root 144 2006-11-04 20:00 www
And, now you *can* access the directories. Where now is your problem? ps: trimming quotes to retain only that which is necessary to continue the conversation and maintain clarity *is* polite. tks, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* John Meyer
[11-04-06 22:14]: grep \/srv /etc/fstab doesn't return anything, su or regular user
so /srv is on the same partition as "/"
total 0 drwxr-xr-x 6 root root 144 2006-11-04 20:00 . drwxr-xr-x 4 root root 96 2006-11-04 19:46 .. drwxr-xr-x 2 root root 208 2006-11-04 19:58 cgi-bin drwxr-xr-x 4 root root 128 2006-10-29 12:58 htdig drwxr-xr-x 5 root root 400 2006-11-04 20:00 htdocs drwxr-xr-x 2 root root 48 2006-05-02 03:48 perl-lib total 34 drwxr-xr-x 5 root root 400 2006-11-04 20:00 . drwxr-xr-x 6 root root 144 2006-11-04 20:00 .. -rw-r--r-- 1 root root 2205 2005-12-14 09:25 apache_pb22_ani.gif -rw-r--r-- 1 root root 2410 2005-12-14 09:25 apache_pb22.gif -rw-r--r-- 1 root root 1502 2005-12-14 09:25 apache_pb22.png -rw-r--r-- 1 root root 2326 2004-11-20 13:16 apache_pb.gif -rw-r--r-- 1 root root 1385 2004-11-20 13:16 apache_pb.png -rw-r--r-- 1 root root 302 2006-10-31 03:13 favicon.ico drwxr-xr-x 2 root root 208 2006-10-29 13:02 gif -rw-r--r-- 1 root root 44 2004-11-20 13:16 index.html drwxr-xr-x 7 root root 2392 2006-11-04 20:00 phpMyAdmin -rw-r--r-- 1 root root 26 2006-10-31 04:21 robots.txt drwxrwxrwx 5 root root 128 2006-11-04 18:04 sevenseals total 1 drwxr-xr-x 4 root root 96 2006-11-04 19:46 . drwxr-xr-x 23 root root 592 2006-11-04 20:08 .. drwxr-xr-x 2 root root 48 2006-04-22 19:51 ftp drwxr-xr-x 6 root root 144 2006-11-04 20:00 www
My problem is, even though I have UserDir set to public_html, I cannot access any files in my public_html, or in any directory outside of /srv/www/htdocs/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 04 November 2006 22:27, John Meyer wrote: <snip>
My problem is, even though I have UserDir set to public_html, I cannot access any files in my public_html, or in any directory outside of /srv/www/htdocs/
Hi John, Here's an excerpt from my personal troubleshooting/tips archive:
Encountered really annoying and nasty glitch. Have not been able to get ~/public_html working. ... Seems to be something broken in mod_userdir
No. Something just has changed.
First, remove your own changes. (E.g. restore from the backups you made)
Then edit /etc/sysconfig/apache2, and set:
APACHE_CONF_INCLUDE_FILES="extra/httpd-userdir.conf"
save, run 'SuSEconfig --module apache' and run 'rcapache2 restart'
Might be worth a try? Good luck! Carl --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Meyer
My problem is, even though I have UserDir set to public_html, I cannot access any files in my public_html, or in any directory outside of /srv/www/htdocs/
note: access will only be provided where *specifically* allowed. How/where did you set UserDir to public_html? show ls -la /etc/apache2/extra/ grep "APACHE_CONF_INCLUDE_FILES" /etc/sysconfig/apache2 -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Víctor Fernández wrote:
You have to unmount the partition before you can use fsck. Anyway we would need more details to help you. Is that just a directory or is there a symbolic link in the path to that directory? Is it inside the document root? If you switch to the user Apache is running with (probably wwwrun unless you've changed it) with "su", are you still able to read the files?
okay, what's the default password for wwwrun? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Meyer
okay, what's the default password for wwwrun?
it 'normally' does not have one. Try access as root. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 04 November 2006 17:39, John Meyer wrote:
Patrick Shanahan wrote:
* John Meyer
[11-04-06 17:52]: I am getting an Access Forbidden Error 403 on my files, even though I have the directories (and subdirectories) set to drwxr-xr-x.
fsck -y /dev/<subject-partition>
probably....
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
Switch to terminal, log in as root,
init 1
mount -n -o remount,ro /dev/<subject-partition> /
* John Meyer
Will read-only check consistency of the filesystem on /dev/sda5 Will put log info to 'stdout' ########### reiserfsck --check started at Sat Nov 4 16:39:16 2006 ########### Partition /dev/sda5 is mounted with write permissions, cannot check it fsck.reiserfs /dev/sda5 failed (status 0x10). Run manually!
IMPORTANT: do not fsck a mounted partition.
what is /dev/sda5 on your system?
init 1
umount
participants (5)
-
Carl Hartung
-
John Meyer
-
Patrick Shanahan
-
Rajko M
-
Víctor Fernández