Koozali.org: home of the SME Server

No Acces to server-manager

Morten Ellegaard Larsen

No Acces to server-manager
« on: August 19, 2002, 12:43:41 AM »
After installing Squidguard, I can no longer get in touch with the server. I can't use the web-based management (http 403 error), and I can't use the Server-manager sitting at the server: "403 Forbidden. You don't have permission to access the /common/noframes on this server".

Very serious indeed! Don't what happened but I would very much like to get in touch with the server again. My *nix knowledge is limited  - converted from windows - but I do have access to the prompt via PuTTY. But what can I do??

I don't know where to find /common/noframes, I don't know how to change the permissions ...

I'm kinda lost here - help, please?

George Grisancich

Re: No Acces to server-manager
« Reply #1 on: August 19, 2002, 06:10:28 AM »
Daniel van Raay posted this earlier.  It should fix your problem

Check the permissions on these files:
[root@thebeast:/root]$ ls /etc/e-smith/web/ -l
total 12
dr-xr-x--- 3 www admin 4096 Apr 2 11:47 common
dr-xr-x--- 2 root admin 4096 Apr 12 13:45 functions
dr-xr-x--- 4 root admin 4096 Dec 27 2000 panels

If they are not, fix them like so:
[root@thebeast:/root]$ chown root.admin /etc/e-smith/web/{functions,panels}
[root@thebeast:/root]$ chmod u=rx,g=rx /etc/e-smith/web/{functions,panels}

Jason Judge

Re: No Acces to server-manager
« Reply #2 on: August 20, 2002, 11:30:05 PM »
I have this problem regularly (SME 5.0) and have never got to the bottom of it. Something (I don't know what) occasionally changes the apache.conf file and causes this (it misses out sections). I can work around it by accessing the manager screen through the IP address of the server rather than the domain name.

Try "adding a network" (just a dummy network). Does access mysteriously come back? This is how I normally reset it.

Yours may be a different problem, but you can check by adding the network or accessing the manager page by the IP address.

Jason

Martin Holm Kristiansen

Re: No Acces to server-manager
« Reply #3 on: August 21, 2002, 02:05:37 AM »
I'm discovering the same situation with no contact to the server-manager after installing phpmyadmin.

I have checked the right's in the /etc/e-smith/web directory but they seemed to be right.

When installing RPM's on the SME server, it must sometimes change some right's. It was working fine before I installed the phpmyadmin RPM.

Jason Judge

Re: No Acces to server-manager
« Reply #4 on: August 21, 2002, 02:28:00 AM »
Again - can you access the server manager via the server's IP address? Does the problem resolve itself when you subsequently add a network in the server manager?

Morten Ellegaard Larsen

Re: No Acces to server-manager
« Reply #5 on: August 21, 2002, 04:28:28 AM »
I resolved the situation by 'upgrading' with the cdrom. Haven't yet figured out what happened.

The idea with trying with the IP adresse didn't work - that's what I've been doing all the time. And since I had no contact even using the server manager sitting AT the server using the text browser, it has to be something with changed rights.

-ellegaard

Martin Holm Kristiansen

Re: No Acces to server-manager
« Reply #6 on: August 28, 2002, 11:13:28 PM »
NO - I cannot access the server-manager with the servers IP address...:o(