Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

You don't have permission to access /cwhp/LiaisonServlet on this server.

Our CiscoWorks server rebooted and afterwards we received the following error message.

You don't have permsiion to access /cwhp/LiaisonServlet on this server.

I have recreated the SSL certificate.

I have stopped and restarted the Daemon service. No help.

I have attached a screenshot of the services running on the server.

17 REPLIES
Cisco Employee

You don't have permission to access /cwhp/LiaisonServlet on this

Try without SSL in HTTP mode.

Try disabling it with CLI :

NMSROOT/bin/perl  NMSROOT/MDC/Apache/ConfigSSL.pl -disable

Followed by a resetcasuser :

NMSROOT/setup/support/resetcasuser.exe

Do you see any error in NMSROOT/MDC/tomcat/logs/stdout.log or stderr.log? Is this a fresh install? or was working fine? Any new software service installed on server? try to disable the AV before daemon restart.

-Thanks    

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

Hi,

we are facing the same problem. Everything was working fine until we changed the page file size. We also encountered the same issue when the VM server got more RAM. We are running Cisco Prime LMS 4.2

Troubleshooting so far:

rebooted the server

restarted the crmdmgtd

all services are set to manual (only Cisco Prime Daemon is set to automatic)

Tried to run NMSROOT/MDC/Apache/ConfigSSL.pl -disable but the CLI just hangs and it seems like the command was not executed properly.

Reset the casuser

The issue still persists.

Stdout and Stderr logs are attached.

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

I had the same issue, here's what TAC had me do, and calling the perl environment specifily for the configssl.pl scripts

Log into console as a local administrator and run this command

...\CSCOpx\setup\support\resetcasuser

Set the password manually (think its option 2 from the menu)

Now perform this procedure:

1) Stop LMS application

  >  net stop crmdmgtd

2) remove server.* under NMSROOT\MDC\Apache\conf\ssl

3) Toggle SSL, you will be asked to fill in some fields, the only one

that is mandatory is the Hostname which should match what you use to log

into the server (http://:1741).

NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable

NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -enable

4) Run this step only if you are NOT using SSL mode (https://...).

NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable

5) Start LMS application

  >  net start crmdmgtd

6) Ensure that the following files are created under

NMSROOT\MDC\Apache\conf\ssl

server.crt

server.key

server.pk8

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

This worked for me with one slight correction, in my installation (windows) the ConfigSSL.pl script is located in

    NMSROOT\MDC\Apache and not NMSROOT\MDC\Apache\bin

New Member

Thank you @dcrown

Thank you @dcrown

This solved my problem.

The only change is the configssl.pl is located in:

NMSROOT\MDC\Apache

- Andre

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

Hi,

I have got it fixed with the steps that Vinod posted. I just overlooked the "perl" command.

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

Apply to the answers from Vinod and dcrown I have the problem to execute the command
NMSROOT\bin\perl NMSROOT\MDC\Apache\bin\ConfigSSL.pl -disable
There is no file perl.exe under cscopx\bin

For info: the error appears after changing from http to https.

Cisco Employee

Re: You don't have permission to access /cwhp/LiaisonServlet on

What is your LMS server version? Are you on windows or Unix(solaris)/Linux serevr?

if its Unix/Linux, it should not be .exe. See it from Solaris output :

bash-3.00# ls -l perl

-rwxr-xr-x   1 casuser  casusers   10908 Jul 13  2011 perl

bash-3.00# file perl

perl:           ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped

bash-3.00#

The ConfigSSL.pl is perl script which will excute with perl only;

NMSROOT/bin/perl  NMSROOT/MDC/Apache/ConfigSSL.pl -disable -

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

It´s Windows Server 2008R2

Cisco Employee

You don't have permission to access /cwhp/LiaisonServlet on this

Could you share NMSROOT/CSCOpx/bin>Dir output. Also the LMS version.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

It´s LMS 4.1

installed yesterday.

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

First problem solved '

Reason was the wrong folder from the old installation of LMS4.0. Now the path for LMS4.1 is c:\programm files (x86)\...

But now, another problem occures: I can´t connect to the server anymore, neither with http nor with https.

Cisco Employee

Re: You don't have permission to access /cwhp/LiaisonServlet on

What is the error you see now? What is the output of pdshow, to check all processes are working?

If the old data is still there for LMS 4.0, there might be some residual registry entries which may be causing issues as well.

In c:\ you should have your install log, in last 15-20 lines it shows any error you get while installation. Can you check and see if LMS 4.1 was clean or encountered errors while installing?

If it never worked remove all of it and re-install. If so, make sure after remove and check there is no older entry.


-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **
New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

I´m goping crazy...

...after I got back from lunch I wanted to show a colleague the issue. Now I can connect to the server again http://:1741  and will redirect to https:///CSCOnm/servlet/login/login.jsp  But after insert the credentials I get the initial error message You don't have permission to access /cwhp/LiaisonServlet on this server

I´m beginning to think I´m too stupid...

Andy yes, I did an update from 4.0 to 4.1 with some problems, so I deinstalled all application which I dont need and re-installes with only one error shown in the install-log. But these was an install-error of java and I installed it later successfully.

I read something about a special cleaning tool for deinstall. Do you know this? Where can I get it?

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

Now I have re-installed OS und LMS4.1.

One error occured:
ERROR:  Failed to execute D:\CSCOpx/bin/cwjava.exe -cw D:\CSCOpx -cw:jre lib/jre  -cp:p MDC/tomcat/webapps/rme/WEB-INF/classes;MDC/t

What does it mean? What I have to do now?

New Member

Re: You don't have permission to access /cwhp/LiaisonServlet on

Now I have re-isntalled OS and LMS4.1. One error occured, which is shown in installation-log:

ERROR:  Failed to execute D:\CSCOpx/bin/cwjava.exe -cw D:\CSCOpx -cw:jre lib/jre  -cp:p MDC/tomcat/webapps/rme/WEB-INF/classes;MDC/t

What does it mean, what I have to do now?

Cisco Employee

You don't have permission to access /cwhp/LiaisonServlet on this

Now the installation with one error is completed. I am sure you should be able to login. This error should not have an impact on login.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **
3626
Views
15
Helpful
17
Replies
CreatePlease to create content