Apache2: bad user name web30

Discussion in 'Installation/Configuration' started by thibotus01, Nov 4, 2009.

  1. thibotus01

    thibotus01 Member

    Hi,

    After adding a site, the domain doesn't work. So I restarted Apache manually and I got this error :

    Code:
    apache2: bad user name web30
    web30 is the site I just created. So I don't really understand.
    /home/clients/client0/web30 is here.

    If I do : Apache2 -t before restarting manually I got :

    Code:
    apache2: bad user name ${APACHE_RUN_USER}
    Any idea ? I already tried to recreate the site via ispconfig. Same result.
     
    Last edited: Nov 4, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    grep sshuser /etc/group
     
  3. thibotus01

    thibotus01 Member

    I got nothing.

    maybe you want : ssh:x:105:
    ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. thibotus01

    thibotus01 Member

    Apache restart without error but Apache2 -t still give me :

    Code:
    apache2: bad user name ${APACHE_RUN_USER}
    And I don't have access to the website (it redirect me to the previous vhost)


    I never had this kind of problem before... before what ? I don't know. Why sshusers wasn't there?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats ok as you can not test apache with httpd -t anymore on the latest versions of several linux distributions like ubuntu.
     
  7. thibotus01

    thibotus01 Member

    Well but my problem is still there...

    In cron.log

    Code:
    chmod: cannot access `/home/clients/client0/web31/*': No such file or directory
    chown: invalid user: `web31:client0'
    useradd: unknown group sshusers
    
    Code:
    chroot: cannot run command `userdel': No such file or directory
    chmod: cannot access `/home/clients/client0/web33/*': No such file or directory
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you still have not added the group sshusers as I explained in the other thread.

    Thats ok.
     
  9. thibotus01

    thibotus01 Member

    web31 was before I run the addgroup command.

    and web33 after... And it's not ok. I don't have access to the domain. it's redirect me to another one -> to the first domain I installed on ispconfig like Apache go back to the first rule.
     
    Last edited: Nov 4, 2009
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    An which errors do you get in the syslog in the ispconfig monitor now?

    Be aware that it takes some time until configuration cahnges get written, so you have to wait a few minutes before you test again.
     
  11. thibotus01

    thibotus01 Member

    Yes I Know, I wait until the job is gone in the jobqueue.

    I have nothing in the log... I looked into syslog, error.log (new domain), error.log (apache2), access.log...
     
  12. thibotus01

    thibotus01 Member

    Problem solved :) Cache not empty in my web browser :D

    And any idea why the group sshuser diseapered ?
     

Share This Page