Koozali.org: home of the SME Server

Ops I did it again!

Stan Coleman

Ops I did it again!
« on: December 14, 2002, 04:41:18 AM »
And it has nothing to do with Brittney....

I recently installed an RPM called  e-smith-vpn-0.1-2.noarch.rpm without knowing any of the how-to's. {Bad habit I need to break myself of} Now I can't reach my server-manager or user-manager sections. I've even tried https://myserver/server-manager. I tried to -e erase it but it says it's not installed. I don't really need this feature after all {I figured out how to do what I wanted a better way} how can I reset httpd-admin back to defaults? Or how do I get rid of this RPM?

Terry Brummell

Re: Ops I did it again!
« Reply #1 on: December 14, 2002, 05:40:09 AM »
rpm -e e-smith-vpn-0.1-2 doesn't remove it?

Dan Brown

Re: Ops I did it again!
« Reply #2 on: December 14, 2002, 08:07:22 AM »
Or even just rpm -e e-smith-vpn

Nathan Fowler

Re: Ops I did it again!
« Reply #3 on: December 15, 2002, 06:14:59 AM »
rpm -qa|grep -i vpn
rpm -e .

See what that gives you...

Stan Coleman

Re: Ops I did it again!
« Reply #4 on: December 16, 2002, 09:46:15 AM »
rpm -qa|grep -i vpn
rpm -e
Worked but I still don't have my http://myserver/server-manager back. The error I'm getting says "You are not authorized to view this page".

schotty

Re: Ops I did it again!
« Reply #5 on: December 16, 2002, 02:02:23 PM »
Well in a way the system is correct.....

try reading the manuals before u install "any old software" ...then try accessing the server.manager


:-)

Stan Coleman

Re: Ops I did it again!
« Reply #6 on: December 17, 2002, 01:59:53 AM »
I got the manual thing covered for next time. Maybe now I've FINALLY learned my lesson. Only problem is that doesn't help for this time. Any sugestions on what looks now to be a premission error?

Nathan Fowler

Re: Ops I did it again!
« Reply #7 on: December 17, 2002, 05:15:56 PM »
I've seen this problem before and I had to chown and chmod the file permissions and folders on the http-admin folders.

Stan Coleman

Re: Ops I did it again!
« Reply #8 on: December 18, 2002, 01:29:40 AM »
Started to try that but was to tired to figure out what the correct chown and chmod should be. I was thinking it would be www:shared 755?

Nathan Fowler

Re: Ops I did it again!
« Reply #9 on: December 18, 2002, 03:58:51 AM »
This may be helpful:
[root@inet01 e-smith]# cd /etc/e-smith
[root@inet01 e-smith]# ls
events  pcitable  skel       templates-custom  templates-user-custom
floppy  restore   templates  templates-user    web
[root@inet01 e-smith]# cd web
[root@inet01 web]# ls
common  functions  panels
[root@inet01 web]# ls -la
total 20k
drwxr-xr-x    5 root     root         4.0k Oct 26  2000 .
drwxr-xr-x   10 root     root         4.0k Jan 25  2001 ..
dr-xr-x---    2 www      admin        4.0k May 22  2001 common
dr-xr-x---    2 root     admin        4.0k Jun 27 15:41 functions
dr-xr-x---    4 root     admin        4.0k Oct 26  2000 panels
[root@inet01 web]# cd panels
[root@inet01 panels]# ls
manager  password
[root@inet01 panels]# ls -la
total 16k
dr-xr-x---    4 root     admin        4.0k Oct 26  2000 .
drwxr-xr-x    5 root     root         4.0k Oct 26  2000 ..
drwxr-xr-x    5 root     root         4.0k Oct 26  2000 manager
drwxr-xr-x    4 root     root         4.0k May 22  2001 password
[root@inet01 panels]# cd manager
[root@inet01 manager]# ls -la
total 24k
drwxr-xr-x    5 root     root         4.0k Oct 26  2000 .
dr-xr-x---    4 root     admin        4.0k Oct 26  2000 ..
-rw-r--r--    1 root     root         2.2k Apr  9  2001 access.incl
drwxr-xr-x    2 root     root         4.0k Jun 27 15:41 cgi-bin
drwxr-xr-x    2 root     root         4.0k May 22  2001 common
drwxr-xr-x    2 root     root         4.0k May 22  2001 html

Stan Coleman

Re: Ops I did it again!
« Reply #10 on: December 18, 2002, 09:43:44 AM »
Thanks a bunch, that did the trick. Maybe one of these days I'll stop learning so much by making so many mistakes! :)

mike mattos

Re: Ops I did it again!
« Reply #11 on: December 30, 2002, 05:55:45 AM »
Nathan, I read your post because I am having a strange problem, server-manager is accessible on my local network but not via internet

All the files/directories match your listing BUT access.incl is missing from my system.

My default website loads, but \www.mysite.com\server-manager\ returns the permissions message.

I don't know when this developed as the system has only recently become a gateway, before that it was just a development server.

My virtual domains all required a tweak using server-manager to give global access, but I can't find anything on how to do this for server-manager!

All suggestions welcome

thx

mike