Jailkit installation problem

Discussion in 'General' started by nopanic, Jun 29, 2024.

  1. nopanic

    nopanic Member

    Hello all,
    Its also not working on my site.
    Im having ubuntu 22 with automated installer instrallation.
    ISPConfig Version: 3.2.12
    Jailkit version is 2.23.
    and:

    What can I do to make it working?
    Can someone help?
    Tia
    Stefan
     
    Last edited: Jun 29, 2024
  2. nopanic

    nopanic Member

    I recreate the site but links are not generated of bin, lib and lib64 and other:
    correct one:
    What to do?

    Tia
    Stefan
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Moved your posts to a new thread. Please do not Hijack old threads that are several years old and for a different ISPConfig version and operating system version.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. nopanic

    nopanic Member

    sorry for hijacking. Ithought its correct cause of version 3.2....

    the log:
     
  6. nopanic

    nopanic Member

    here the rest of the log:
     
  7. nopanic

    nopanic Member

    courious. All the dirs and links like I discribed on other sites are away, except one site that is secured by haproxy....
    Is it a sec issue?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Not really. The other thread was 4 years old and was about upgrading to 3.2.0; you use 3.2.12 and not 3.2.0. The forum software warned you not to reopen it because of its age, but you reopened it nonetheless.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the results of:

    ls -la /var

    Not necessarily. I have seen similar problems in the past, caused by the admin who accidentally ran a chown command in the wrong folder.

    So other sites of your system are gone, or do you talk about directories of this site?
     
  10. nopanic

    nopanic Member

    ls -la /var
    Not necessarily. I have seen similar problems in the past, caused by the admin who accidentally ran a chown command in the wrong folder.
    So other sites of your system are gone, or do you talk about directories of this site?
    the limited sites having this:
     
    Last edited: Jun 29, 2024
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you have changed the home directory for akk email accounts from /var/vmail to /var, this caused var to be owned by user vmail and email domain folders to be created in /var instead of /var/vmail

    First step is to change the owner for /var directory back to root user and group:

    chown root:root /var

    Then you should login to ISPConfig and check the settings under system > server config and correct the settings for the mail root
     
  12. nopanic

    nopanic Member

    I didnt change anything with the pathes and there are correct values:
    upload_2024-6-29_23-26-4.png
    I dont understand what happend that there is such behavior.
    Do you have more ideas?
     
  13. nopanic

    nopanic Member

    the only thing I can imagine is, I tried to upgrade to ispconfig 3.2.12 from 22 to 24 that was not successful end in many errors. So I restore ispconfig from backup image. Could that explain that?
     
    Last edited: Jun 30, 2024
  14. nopanic

    nopanic Member

    I did a fresh installation on ubuntu 24 with the latest ispconfig.
    Generating a ssh- user gives the same result as above..
    This dirs:
    are generated.
    Its this ispconfig version or a previous one....
    There are also only email-username in vmail, not under domain...

    How to correct the chaos now?
    How is the testing done?
     
    Last edited: Jun 30, 2024
  15. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How did you do the installation? The auto install should install jailkit and it works.
    If you did that test install on an empty Ubuntu, I do not understand how it does not work.
     
  16. nopanic

    nopanic Member

    yes its on a fresh ubuntu24 with the latest ispconfig version.

    on the old installation I copied the mails to correct location and delete the mail folders under /var, did an updatde with the latest version again and it seems to work.
    But not the dirs and links...
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Good, so this issue is at least corrected now.

    Which dirs and links, and what is the debug output now?

    I just did a test install of the latest Ubuntu 24.04 with the latest ISPConfig, and everything works perfectly. So, there are no issues with the latest ISPConfig and Ubuntu 24.04. It's something with your system only. If it happened to you on a fresh system, then your base system might be flawed, or you made a mistake while running the auto-installer, like not logging in correctly as root.
     
    ahrasis likes this.
  18. nopanic

    nopanic Member

     
  19. nopanic

    nopanic Member

    Idid a restore again anf´d set the permission to root:root /var
    Now all dirs and links are generated and I can login!
    Having no idea why there was wrong permissions....

    the ubuntu24 install is https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades
    Now I know to debug and I will have a look later, open a new thread then.

    Thanks for help!!
    Great! :)
    Stefan
     
    ahrasis and till like this.

Share This Page