Profile Details

Toggle Sidebar
Recent updates
  • Mansoor
    Mansoor replied to a discussion, Can't Boot: XFS Error

    I executed: # xfs_repair -n /dev/dm-0 and got the following:

  • Mansoor
    Mansoor started a new discussion, Can't Boot: XFS Error

    Can't Boot: XFS Error

    My home ClearOS server stopped working. The console shows the following message:

    I tried to boot the a rescue kernel, but that game me the same error as the above

    Any suggestion on how to resolve this issue?

    Thank you

  • Mansoor
    Mansoor replied to a discussion, Suspicious Message from SSH Server!

    I ended up deleting /etc/ssh config files and reinstalling ssd. Everything seems to be working now.

  • Mansoor
    Mansoor replied to a discussion, Suspicious Message from SSH Server!

    I changed the default SSH port and tried to login again. The SSH wouldn't connect without "-oKexAlgorithms=+diffie-hellman-group1-sha1", but when I use this parameter, the SSH refuses to log me in! I can login from the server console directly (keyboard and monitor connected to the server), but not remotely over SSH!

  • Mansoor
    Mansoor started a new discussion, Suspicious Message from SSH Server!

    Suspicious Message from SSH Server!

    I just got a strange message when I was trying to login! I launched the macOS Terminal app and typed:

    I didn't get the usual password prompt, instead I got this message:

    Unable to negotiate with port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1

    I searched the Internet and found that passing the argument "-oKexAlgorithms=+diffie-hellman-group1-sha1" to the ssh command would pass this message. But when I tried to login with the said argument, I got this message:
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that a host key has just been changed.
    The fingerprint for the RSA key sent by the remote host is
    Please contact your system administrator.
    Add correct host key in /Users/mac/.ssh/known_hosts to get rid of this message.
    Offending ECDSA key in /Users/mac/.ssh/known_hosts:56
    RSA host key for has changed and you have requested strict checking.
    Host key verification failed.

    I have not done anything to the server since I last successfully logged to it yesterday. And the auto-update is turned off. The client also (the macOS system) hasn't been changed as well. Is there something fishy going on in my server?

  • Mansoor
    Mansoor voted on the post, Re: Logs Rotation?

    Most rotation is controlled by /etc/logrotate.conf and all the configlets in /etc/logrotate.d/. If you have files in /var/log/samba.old then rotation is taking place. That is how they got there in the first place.

  • Great news Nick.

    Should testers report back their findings here in this thread or somewhere else?

  • Mansoor
    Mansoor started a new discussion, Logs Rotation?

    Logs Rotation?

    /var/log folder in my server is more than 65GB in size! The largest folder in there is ./samba/old. It's clear that no log rotation is taking place. Any idea how clearOS logrotate works and where to find its config file?

    Thank you

  • Mansoor
    Mansoor replied to a discussion, Let's Encrypt Renew Failure

    Nick Howitt wrote:
    AFAIK the ClearOS repo packages are fine. python2-cffi python2-ipaddress and python2-pyOpenSSL are not needed and python2-cryptography-1.7.2-2.el7 is fine. I have a feeling you have repo problems.

    python2-cffi and python2-ipaddress are required for the newer version of python2-pyOpenSSL. python2-pyOpenSSL is a request for app-lets-encrypt.

    Nick Howitt wrote:What do you get from "yum repolist".

    Here is the output:

  • Mansoor
    Mansoor's reply was accepted as an answer

    Re: Let's Encrypt Renew Failure

    Ok, I got rid of all pip and rpm packages related to certbot and started fresh. The aim is to have working certbot and Let's Encrypt app.

    1. Manually installing an updated version of pyOpenSSL and its dependencies, because the one in the yum repo is outdated.

    2. Installed certbot and the dashboard app: