1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Error 401.1 Unauthorized: Access after domain created with Command Line Interface

Discussion in 'Plesk for Windows - 8.x and Older' started by mailru66, Sep 14, 2005.

  1. mailru66

    mailru66 Guest

    Hi all,

    I've wrote a simple batch file that uses Plesk utiliies to create a user and a new domain (see batch below)
    It does its job fine, but when I try to preview the site, instead of default Plesk page I get an error
    You are not authorized to view this page
    You do not have permission to view this directory or page using the credentials that you supplied.

    It seems Plesk doesn't correctly register user and its permissions.
    Can you please advise me if I did something wrong (missed some parameter) or it's known Plesk bug and some workaround exists?

    P.S. I ran the batch under network user account with full local admin rights

    "C:\Program Files\SWsoft\Plesk\admin\bin\client.exe" -c two2one -company two2one -name two2one -passwd 12345

    "C:\Program Files\SWsoft\Plesk\admin\bin\client_pref.exe" -u two2one -ip_pool add:

    "C:\Program Files\SWsoft\Plesk\admin\bin\domain.exe" -c two2oneexample.com -ip -clogin two2one

    "C:\Program Files\SWsoft\Plesk\admin\bin\domain.exe" -u two2oneexample.com -hosting true -hst_type phys -clogin two2one -login two2one -passwd Mailru66 -ip
  2. mailru66

    mailru66 Guest

    I read through the other postings here and found similar problem not related to Comand Line.
    So I've downloaded and installed patch plesk7.5.4_update050825.18.msp, and now the problem seems gone for newly created users/domains.

    I do not delete this post - maybe someone will find it useful