Koozali.org: home of the SME Server

You don't have permission to access /server-manager/ on this

javi

You don't have permission to access /server-manager/ on this
« on: November 03, 2004, 12:51:38 AM »
help.
My english is not very good, my language is spanish, sorry all.
Dont access to my server http://myserver/server-manager on e-smith 6.0
But I can enter with putty, ftp, webmail, http://www.mydomino.com .
Dont known wich is the problem.
The server is online about 1 year.

This error is when try to access the page https://myserver/server-manager
The next time I put here the /var/log/httpd/admin_error_log, if you need.
Thanks

Damian

You don't have permission to access /server-manager/ on this
« Reply #1 on: November 06, 2004, 09:01:46 PM »
javi,

This is usually because you've configured access to server-manager only for local networks and the machine you're coming in with isn't on a "local" network.

Damian

javi

Access server-manager
« Reply #2 on: November 06, 2004, 10:18:07 PM »
Dont remenber that I changed this parameter, and I try to access to this server of other computer at my home in range of IP of the server. My server asign this IP to all computer of my home, of my children, mi laptop, etc.
Dont know.
Try other case?
Thanks Damian.

dhardy

You don't have permission to access /server-manager/ on this
« Reply #3 on: November 06, 2004, 10:53:57 PM »
Hi there,

Can  you reach the server using the ip address?

https://192.168.xxx.y/server-manger

Cheers,

David.

Damian

You don't have permission to access /server-manager/ on this
« Reply #4 on: November 06, 2004, 11:10:45 PM »
Hi Javi,

Are you trying to access server manager through a putty tunnel ?

Damian

javi

access server-manager
« Reply #5 on: November 07, 2004, 01:07:45 PM »
Hi dharde and Damian.
Dont access with httpd://ip-of-myserver/server-manager.
But yes, I can to access with putty to ditectory /, for example, /root/...,,.. In the shell of my server I can.
Is your answer?
Thanks all.

Damian

You don't have permission to access /server-manager/ on this
« Reply #6 on: November 07, 2004, 01:47:17 PM »
Hi Javi,

No. What I mean is, in your putty session you forward local port 8080 to remote-server-ip port 80 and start the session.

Example:
If your SME server local IP is 192.168.1.50
Your PC starts the putty session and in the SSH -> Tunnel section add a new forwarded port (use 8080) and make the destination 192.168.1.50:80

Then start the putty session.

Then on your local machine in a web browser go to http://localhost:8080/server-manager/

Can you access it that way ?

Damian

javi

You don't have permission to access /server-manager/ on this
« Reply #7 on: November 07, 2004, 03:15:31 PM »
Sorry my friend Damian.
Is the same error when I try to access.
I try local, remote an dinamic, but nothing.
Sorry.

Damian

You don't have permission to access /server-manager/ on this
« Reply #8 on: November 07, 2004, 03:58:45 PM »
OK Javi,

Do the same again but also forward port 980 from SME to your PC (using putty). This is a control connection and I have a hunch it my help here (ready to be corrected :-)

Damian

javi

You don't have permission to access /server-manager/ on this
« Reply #9 on: November 07, 2004, 04:18:42 PM »
I change source port to 980, and destination 192.168.175.1:80.
Now the error is "the connection was refused when attempting to contact localhost:980" when try http://localhost:980/server-manager.

Damian

You don't have permission to access /server-manager/ on this
« Reply #10 on: November 07, 2004, 04:38:11 PM »
Javi,

Don't change it to 980, add 980.

So then you'll forward local port 8080 to remote port 80 and
remote port 980 to local port 980. (click the remote button before adding the second rule)

So, forwarded ports in putty it looks like:

L8080   192.168.1.50:80
R980   yourlocalip:980

Then try your browser at http://localhost:8080/server-manager


Damian

javi

You don't have permission to access /server-manager/ on this
« Reply #11 on: November 07, 2004, 05:14:48 PM »
Damian.
Nothing.
I try this, but nothing.
Now "you dont have permission.."
In Putty configutation
Enable X11 ?
Mit Magic Cookie 1 or XDM autorization?
Local Port accept connection fron other hosts?
Remote Do The Same SSH V2 only?
Sorry.

Offline smeghead

  • *
  • 563
  • +0/-0
You don't have permission to access /server-manager/ on this
« Reply #12 on: November 07, 2004, 05:42:31 PM »
Hola Javi

You may find that for some reason the httpd-admin service is not running or not working properly; your first idea about checking the httpd-admin log is a good one.

One my test system if I turn this service off and try to access the server manager I get a proxy error in the browser:

Proxy Error
The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /server-manager.
Reason: Could not connect to remote machine: Connection refused

If this is close to the error you have logged then putty inot the server (just the standard way, no extra/different ports) and run the command:

service hhtpd-admin status

On my server it shows:

[root@test /]# service httpd-admin status
httpd-admin (pid 5736 5733) is running...

if you server shows anything other than this then either try to restart the service (service hhtpd-admin restart) and observe what happens or try a system reboot.

Let us know what you find in the log files and with the service commands.

HTH
..................

javi

You don't have permission to access /server-manager/ on this
« Reply #13 on: November 07, 2004, 06:16:13 PM »
Hi all.
This is the situation in this case.
I shotdown the server, and I try service httpd-admind restart.
[root@servidor httpd]# service httpd-admin status
httpd-admin (pid 24946 24943) is running...

What is the most inportant log that I need ti see?
/var/log/httpd/admin_error.log

Sorry. Take this.
[Mon Nov  1 01:12:08 2004] [notice] Apache configured -- resuming normal operations
[Mon Nov  1 01:12:08 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Nov  1 01:12:08 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov  7 18:00:01 2004] [notice] caught SIGTERM, shutting down
[Sun Nov  7 18:00:03 2004] [notice] Apache configured -- resuming normal operations
[Sun Nov  7 18:00:03 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov  7 18:00:03 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov  7 18:03:29 2004] [notice] SIGHUP received.  Attempting to restart
[Sun Nov  7 18:03:29 2004] [notice] Apache configured -- resuming normal operations
[Sun Nov  7 18:03:29 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov  7 18:03:29 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov  7 18:04:34 2004] [notice] SIGUSR1 received.  Doing graceful restart
[Sun Nov  7 18:04:34 2004] [notice] Apache configured -- resuming normal operations
[Sun Nov  7 18:04:34 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov  7 18:04:34 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov  7 18:05:05 2004] [notice] caught SIGTERM, shutting down
[Sun Nov  7 18:06:17 2004] [notice] Apache configured -- resuming normal operations
[Sun Nov  7 18:06:17 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov  7 18:06:17 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov  7 18:06:38 2004] [notice] caught SIGTERM, shutting down
[Sun Nov  7 18:06:38 2004] [notice] Apache configured -- resuming normal operations
[Sun Nov  7 18:06:38 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov  7 18:06:38 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Nov  7 18:07:10 2004] [notice] caught SIGTERM, shutting down
[Sun Nov  7 18:07:26 2004] [notice] Apache configured -- resuming normal operations
[Sun Nov  7 18:07:26 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov  7 18:07:26 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

Do you need other?
Thanks all.

Offline electroman00

  • *****
  • 491
  • +0/-0
You don't have permission to access /server-manager/ on this
« Reply #14 on: November 08, 2004, 12:55:14 AM »
http://myserver/server-manager
.....^
.....S   Missing

But I can enter with putty, ftp, webmail, http://www.mydomino.com .
Dont known wich is the problem.
The server is online about 1 year.

This error is when try to access the page

This should work

 https://myserver/server-manager