• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Asking for Login/Pass

P

Paul Rapnikas

Guest
Out of nowhere, I went to a site that we host and it's asking for a login/password. I checked the httpdocs dir for permissions, and the usual "Plesk Domain User" and "Plesk IIS User" entries were not there. I used the reconfigurator to see if I can get them back, but no luck. I'm thinking something got turned off in the setup of the site through the panel. Any ideas?

I can get the site working again if I add "everyone" to httpdocs. Not what I want to do, but a quick fix until I can determine the problem.

TIA
 
You can do a check permissions from the control panel.

Select the domain and click on "check permissions" check box. click ok to have permissions checked

Another alternative is to remove and readd domain in IIS.

For this do %plesk_bin%/websrvmng --remove-vhost vhost-name=domainname
%plesk_bin%/websrvmng --install-vhost vhost-name=domainname
 
Well, I tried the "check permissions" from the control panel. It said it found and fixed, but it went back to asking for a login/pass. This has me thinking that I somehow "turned off" the ability for anyone to see the website.

I went into the website setup and checked the box for additional read/write permissions, but that didnt' work. However, the "IUSR_login" user did show up in httpdocs security, but none of the boxes were checked.

if I use:

%plesk_bin%/websrvmng --remove-vhost vhost-name=domainname
%plesk_bin%/websrvmng --install-vhost vhost-name=domainname

Will that completely remove and then reinstall the site in IIS? Do I need to do anything else?
 
I'm not a very experienced Plesk user. How do I run that? I went to a DOS prompt thinking that %plesk% points to the bin directory of the install. I went there and did not find websrvmgr. How do I run those commands?
 
you need to change directory first, please do it with the following commands:
cd %plesk_bin%
or change directory to C:\Program Files\Parallels\Plesk\admin\bin

there you will find websrvmng
 
Ok, I found it. I was looking in /bin/ and not /admin/bin/.

I ran the command and it first came up with "Missing required parameter -- vhost-name. Possible parameters is: --vhost-name". So, I changed it to:

websrvmng --remove-vhost --vhost-name=domain.com

That brought up the message "Unexpected query for column sname".

Did I type something wrong in the original entry?
 
I encountered this same problem with the error 'Unexpected query for column sname'. My symptoms include each domain displaying the default plesk page, and trying to fix it returns this error. Is there any known cause or solution?

And a note to Parallels employees: Please try to answer any and all technical questions, because for every question there are probably a 100 people who are in the same Plesk issue.
 
Such issue "Unexpected query for column sname" may take a place when domain has subdomain and you try to reconfigure main domain with websrvmng utility. If you would like to reconfigure subdomain, please use the following article:

http://kb.odin.com/en/1071

Also I need to note that "websrvmng --remove-vhost" command does not delete domain from Parallels Plesk Control panel, it deletes domain from IIS, but it still remains in Plesk. So the behavior is correct. If you would like delete domain completely form Plesk, please use the following command:

cd %plesk_bin%
domain.exe --remove example.com

or

domain.exe -r example.com

Please check documentation for more information at:

http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.2-win-cli
 
Back
Top