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

Subdomain always appear with default Plesk webpage

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by LaurentR2D2, Mar 25, 2010.

  1. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4
    Hello,

    I rune in a problem. I've set up three subdomains for one of my domain, the first one without problem, the two following, I keep haveing the default webpage of Plesk in my browser, even after deleting the files and adding other ones in the httpdocs folders. Where should I look, please ?

    Thank you

    Plesk 9.3.0 30 domains
    Ubuntu 8.0.4
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to recreate it in CLI with /usr/local/psa/admin/bin/subdomainmng (--help for details) and check output of this utility.
     
  3. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4
    /usr/local/psa/admin/bin/subdomainmng --create --subdomain-name=butile --vhost-name=madonie.org --user-name=LaurentR --cl-id=LaurentR
    subdomainmng: Unable to getpwnam for user LaurentR
    subdomainmng: Unable to getpwnam for user LaurentR
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    --cl-id is ID of client, but not his name.
     
  5. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4
    Where do you get this ID ? I get this with "client -i" :

    /usr/local/psa/bin/client -i LaurentR


    Général
    =============================
    Version de Parallels Plesk Panel: psa v9.3.0_build93091230.06 os_Ubuntu 8.04
    Statut: OK On
    Société: Madonie
    Nom personnel: LaurentR
    Login: LaurentR
    Nom personnel du propriétaire: Laurent Rathle
    Login du propriétaire: admin
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Just put mouse cursor over client's name in Clients list and look at browser's status bar. You will see client's ID there.
     
  7. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4
    I'm sorry, I must be stupid, but :

    ~# /usr/local/psa/admin/bin/subdomainmng --create --subdomain-name=butile --vhost-name=madonie.org --user-name=LaurentR --cl-id=3
    subdomainmng: Unable to getpwnam for user LaurentR
    subdomainmng: Unable to getpwnam for user LaurentR


    https://sd-17013.dedibox.fr:8443/plesk/client@3/
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Check that you have record for LaurentR in /etc/passwd:
     
  9. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4
    I understand now, thank you. I've launched the command without error message and it has created the directory inside subdomains directory, but nothing appears in the subdomains list inside Plesk panel :

    http://www.madonie.org/Snapshots/plesk-subdomain.png

    /usr/local/psa/admin/bin/subdomainmng --create --subdomain-name=bu --vhost-name=madonie.org --user-name=laurentr --cl-id=client@3
    root@sd-17013:~# /usr/local/psa/bin/subdomain --create bu -domain madonie.orgAn error occured during subdomain creation: The repertory /var/www/vhosts/madonie.org/subdomains/bu for the subdomain exists already.

    root@sd-17013:~# ls -alh /var/www/vhosts/madonie.org/subdomains/
    total 24K
    drwxr-xr-x 6 root psaserv 4,0K 2010-03-26 10:06 .
    drwxr-xr-x 14 root root 4,0K 2010-03-21 15:59 ..
    drwxr-xr-x 7 root root 4,0K 2010-03-26 10:06 bu
    drwxr-xr-x 7 root root 4,0K 2010-03-26 10:04 butile
    drwxr-xr-x 7 root root 4,0K 2010-03-22 00:46 joomla
    drwxr-xr-x 7 root root 4,0K 2010-03-25 19:23 savs
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Check limit for allowed subdomains for this domain.
     
  11. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4

    Unlimited :

    # /usr/local/psa/bin/domain_pref -i madonie.org
    Domain 'madonie.org' limits:
    Espace disque: Unlimited
    Trafic: Unlimited
    Boîtes mail: Unlimited
    Quota de boîtes mail: Unlimited
    Redirections de messagerie: Unlimited
    Groupes de messagerie: Unlimited
    Répondeurs automatiques: Unlimited
    Utilisateurs Web: Unlimited
    Bases de données: Unlimited
    Listes de diffusion: Unlimited
    Applications Java: Unlimited
    Sous-domaines: Unlimited
    Alias de domaine: Unlimited
    Date d'expiration: Unlimited
    Politique de sur-utilisation: notify
    Notifier lorsque l'utilisation du trafic max a été atteinte:Unlimited
    Notifier lorsque l'utilisation de l'espace disque max a été atteinte:Unlimited
    Courriel à un utilisateur inexistant: 'reject'
    WWW: true
    WebMail: horde
    Autoriser l'utilisation des scripts pour les utilisateurs Web:false
    Conserver les statistiques Web et de trafic: 3
    Statut du domaine: Le domaine est actif.
    SUCCESS: Gathering information for 'madonie.org' complete.
     
  12. LaurentR2D2

    LaurentR2D2 Plesk Certified Professional Plesk Certified Professional

    31
    68%
    Joined:
    Aug 6, 2009
    Messages:
    129
    Likes Received:
    4
    It seems the problem has been solved. I can't tell how and why, but now I can create again my subdomains. Thank you for your help.
     
Loading...