Connection Help

Discussion in 'General' started by kike28101, Apr 19, 2022.

  1. kike28101

    kike28101 Member

    For a few days I can not connect to the ISPConfig panel neither with http nor with https
    The message is the one that appears on the screenshot [​IMG]
    If I connect via WinScp, yes I can access and see all the files and backups
    I have downloaded backup from the web and from the database. I have also downloaded a copy of ISPConfig

    I think it must be an apache2 problem.

    It is possible to reinstall Apache 2.
    Is it possible to reinstall ISPConfig and then upload the backup copies to the folders and thus have the web operational again?

    Can somebody help me?. I can give access to my panel
    I'm not good with these problems
    Thanks
    Kike
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. kike28101

    kike28101 Member

    Hi
    Thank you for answering my request for help.
    This is the test result you asked me
    Any


    root@vps622713:~# wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php
    root@vps622713:~# ^C
    root@vps622713:~# cat htf_report.txt | more
    cat: htf_report.txt: No such file or directory
    root@vps622713:~#


    What I can do?
    Thanks
    Kike
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You interrupted the test script before it finished.
     
  5. kike28101

    kike28101 Member

    I have done it again, but it does not execute anything
     
  6. kike28101

    kike28101 Member

    Does nothing
    This is the picture of my putty [​IMG]
     
  7. kike28101

    kike28101 Member

  8. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Does htf-common-issues.php download? Open the file, is it a php script?
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    How long did you wait before pressing Control-C?
    Try this way, to better find out what is happening and maybe make it work. First change to /tmp directory with command
    Code:
    cd /tmp
    Then issue the report making commands one at a time:
    Code:
    wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php"
    Did that output any errors? It takes some time, do not press Control-C too soon. Check it downloaded something, with
    Code:
    head htf-common-issues.php
    
    Then generate the report with
    Code:
    php -q htf-common-issues.php
    Now there should be the report in a file:
    Code:
    cat htf_report.txt | more
     
  10. kike28101

    kike28101 Member

    Last edited: Apr 20, 2022
  11. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That is really strange. What kind of OS is on that host?
    The video posted shows gibberish pasted on the command line. That can not work.
    If your system does not have /tmp directory, leave that command out and do the rest of what I suggested in #9.
     
  12. kike28101

    kike28101 Member

    Hi,
    I omit the cd /tmp and follow the steps from point #9
    The result is:
    Does absolutely nothing, does not execute the script, and returns to the root

    These are the data of my OS

    Debian GNU/Linux 9.13 (stretch)
    Server version: Apache/2.4.25 (Debian)
    Server built: 2022-03-18T12:54:25
    PHP 7.0.33-37+0~20201103.43+debian9~1.gbp25a3d7
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.33-37+0~20201103.43+debian9~1.gbp25a3d7
     
  13. kike28101

    kike28101 Member

    I can provide the access data so that you can see directly
     
  14. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    the wget command indeed does absolutely nothing visible. How did you determine it did not execute the script? Which script?
    You wrote you "follow the steps from point #9", what happened at the next step
    Code:
    head htf-common-issues.php
    You should not give access to your host to random persons from the interwebs. If you decide to get outside help, use for example ISPConfig business support: https://www.ispconfig.org/support/
     
  15. kike28101

    kike28101 Member

    Hello Taleman
    I have done all the steps you indicate, but this script does not work.
    I have made a small video for you to see. video

    I am doing something wrong?
     
  16. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    What output did you get from 'head htf-common-issues.php'? Just post the text here, it's much easier and simpler and safer than trying to put plain text into a video and hope that someone will click a link to an arbitrary http redirector and execute whatever content happens to come down the pipe, in an effort to try to to get the answer from you for questions that are asked. You know, "help us help you."
     
  17. kike28101

    kike28101 Member

    Hi Jesse
    I don't get any results.
    I have explained it several times.
    After using
    "head htf-common-issues.php", does nothing, reverts to root

    root@vps622713:~# head htf-common-issues.php
    root@vps622713:~#
     
  18. kike28101

    kike28101 Member

  19. kike28101

    kike28101 Member

    this instruction "head htf-common-issues.php"
    after typing it and pressing enter

    what should you do?
    should show something?
    does it have to show some text?

    because it doesn't do anything to me, it just goes back to the root
     
  20. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

Share This Page