View Full Version : write permissions on site mgmnt page
I just did the second clean install With updates to my 4R and am still getting a permission error in the admin screen... ca some one give me a hand on this... I have tried chmoding the files and the folder and the permissions dont change.....
logged in as Su
drwxr-xr-x 2 named .
drwxr-xr-x 39 root ..
-rw-r--r-- 1 root db.cache
-rw-r--r-- 1 root pri.0.0.127.in-addr.arpa
-rw-r--r-- 1 root pri.123.168.192.in-addr.a
old thread
http://www.webhostingtalk.com/showthread.php?s=&threadid=92931
nozol 12-04-2002, 09:08 PM Well, these files have nothing to do with the site management section of the control panel.
I got this error once, and the reason was postgresql server.
Could you please show us the result of restarting postgresql
/etc/rc.d/init.d/postgresql restart
And this is what I got
Shutting Down PostgreSQL: ok
Setting up PostgreSQL: ok [851]
Tried it after that and nothing... rebooted the server and still nothing... it is a clean install of 4i to 4r with all the package updates? the only one that hasn't been done is the snmp update from pkgmaster.com.... and I intentionally left it out this time....
nozol 12-05-2002, 02:06 AM Looks good. Hmm, did you check the permissions of the files in
/usr/admserv/cgi-bin/.cobalt/siteList/
drwxr-xr-x 2 root 1024 .
drwxr-xr-x 56 root 1024 ..
-rwxr-xr-x 1 root 13356 sitelist.cgi
nozol 12-05-2002, 08:59 PM There should be a file called .htaccess
Just please copy it from another directory such as follows
cp /usr/admserv/cgi-bin/.cobalt/dns/.htaccess /usr/admserv/cgi-bin/.cobalt/siteList/
Please try again now.
the Raq is saying there is no such directory
nozol 12-05-2002, 09:07 PM which directory that is it says 'no such directory'?
I just typed it in like you had it...
I just separated it and ran
cp /usr/admserv/cgi-bin/.cobalt/dns/.htaccess
and got missing destination file
same for the other
nozol 12-05-2002, 09:58 PM You need to type the whole line, that is
cp /usr/admserv/cgi-bin/.cobalt/dns/.htaccess /usr/admserv/cgi-bin/.cobalt/siteList/
The above command should be executed in one line
please try and let me know if it worked.
Thanks.
The raq is saying that there is no such file in that dir
[root /root]# cp /usr/admserv/cgi-bin/.cobalt/dns.htaccess /usr/admserv/cgi-bin/.cobalt/siteList
cp: /usr/admserv/cgi-bin/.cobalt/dns/.htaccess: No such file or directory
so I
CD to the .cobalt/dns/ directory and then
I got
[root dns]# ls
index.cgi index.cgi.pkgsave
I swear I am doing what you told me to... :cartman:
nozol 12-06-2002, 08:16 PM I am so sorry, I think I read your post wrongly, sorry again for that.
did you try ls -al?
Here is my version
[root admin]# cd /usr/admserv/cgi-bin/.cobalt/dns/
[root dns]# ls -al
total 136
drwxr-xr-x 2 root root 1024 Feb 21 2002 .
drwxr-xr-x 56 root root 1024 Feb 21 2002 ..
-rw-r--r-- 1 root root 147 Feb 19 2002 .htaccess
-rwxr-xr-x 1 root root 66571 Jan 10 2002 index.cgi
-rwxr-xr-x 1 root root 66439 Feb 21 2002 index.cgi.pkgsave
[root dns]#
mine is the same except the .htaccess file... same permissions and all... ""Scratching HEAD"" why didn't the file install....
BruceT 12-07-2002, 05:44 AM If you need a .htaccess file in the directory, just create it (in the /usr/admserv/cgi-bin/.cobalt/dns/ directory) and put in this:
# Access file for /usr/admserv/cgi-bin/.cobalt/siteList/ (admin )
order allow,deny
allow from all
require user admin
Authname CobaltRaQ
Authtype Basic
Here are the permissions for the file:
-rw-r--r-- 1 root root 152 Oct 11 03:17 /usr/admserv/cgi-bin/.cobalt/siteList/.htaccess
I'm not sure why you are focusing on this file, though.
What exactly are you doing which is causing the error message you are getting?
What does /var/cobalt/adm.log and /var/cobalt/sauce.log show, if anything?
BruceT 12-07-2002, 05:46 AM Doh, just noticed your link to the old thread... never mind... let me ponder on it...
BruceT 12-07-2002, 05:48 AM PM me please; I'd like to take a look at the server directly if at all possible. (I'm a former Cobalt field engineer for 3 years -- just laid off from Sun a few weeks ago. Others here can vouch for me if needed.)
Bruces I PM ed you on that .... have you checked it out...
|