Web Hosting Talk







View Full Version : Server mgmnt and virtual sites


HPV
11-30-2002, 08:01 PM
I just did a clean os install on a Raq 4R and am have got some phunky stuff goin on. When I create a virtual site and then do the SOA for the subdomain I get and error when I try to get to the site management for the subdomain.

the Error is
Forbidden
You dont have permission to access the requested file on this server???

I dont get it..

I did all the up dates in order and then added the new Mysql open ssh the corresponding PHP and SNMP from Packagemaster... Can some one throw me a bone here... do I need to do another install ... then set up all the domains and then add on the extra packages????

farghaaandkal;dsjfas;dlkj

raqtweak.com
11-30-2002, 08:11 PM
hmm

could you login with ssh, then do the following steps:
su - (enter root password)
ls -la /etc/named

Please post the result here. Thanks

HPV
11-30-2002, 10:31 PM
yes I can log in as rootand here is what I get...

drwxr-xr-x 2 named .
drwxr-xr-x 39 root ..
-rw-r--r-- 1 root dbcache
-rw-r--r-- 1 root pri.0.0.127.in-addr.arpa
-rw-r--r-- 1 root pri.123.168.192.in-addr.a
rpa
-rw-r--r-- 1 root pri.iopc.biz
-rw-r--r-- 1 root records

thats what I get for permissions

nozol
11-30-2002, 11:09 PM
Does this error come up with all sites, or just with one site?

HPV
11-30-2002, 11:40 PM
I have only tried to add one virtual site to the server.

-Edward-
12-01-2002, 08:49 AM
Try changing the permissions, theres a guide on http://www.raqhowto.com for changing permissions i think, It needs to be set to 755 where as yours dont look like they are.

HPV
12-01-2002, 09:37 AM
I just tried to chmod ((chmod 755 /etc/named))
it ended up withthe same file permsissions
now it is asking me for a UN and PW then letting me in .... But still showing me the permission error... I am going to have to start clean again ... this is probably a sign of a buggy server...

nozol
12-01-2002, 10:26 AM
Try to restart postgresql server.

/etc/rc.d/init.d/postgresql restart

raqtweak.com
12-01-2002, 01:29 PM
Originally posted by HPV
I just tried to chmod ((chmod 755 /etc/named))
it ended up withthe same file permsissions
now it is asking me for a UN and PW then letting me in .... But still showing me the permission error... I am going to have to start clean again ... this is probably a sign of a buggy server...

IF you chmod,
chmod like this:
chmod 755 /etc/named/*
as we want the FILES to be chmodded, not the dir :)

However, I suggest a 644 instead of 755

HPV
12-01-2002, 03:45 PM
Nozol
restarting posrtgress didnt work...


Raq tweak... the chmod didnt work all the permissions stayed the same...

Tminus 1 day before I format and reload the OS... could setting this up from a networked enviroment do this type of funky thing...
looks like next time it will be done with a crossover.. ...

jahsh
04-10-2003, 02:48 PM
did you resolve this issue? how? we are getting the exact same error when trying to configure the 1st site we added. anybody?