• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Starting sshd: touch: cannot touch '/var/lock/sshd' : No such file or directory

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    4
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alan Lim
      last edited by

      I have created a new storage node (Node 1) and some machines cannot perform image deployment from this new node. The following are the errors that appeared during the deployment.


      Starting sshd: touch: cannot touch ‘/var/lock/sshd’ : No such file or directory
      OK

      • Running post init scripts … (after few minutes)

      Reason: mount: mounting xxx.xxx.xxx.xxx:/image failed: Connection timed out.


      It happened only on one of the VLAN and let’s call it VLAN10. It is strange that the VLAN 10 has no problem deploying images from the master node. But another VLAN has no problem deploying images from Node 1.

      Which log file that I investigate?
      Has anyone encountered such a problem?
      Appreciate it if someone could guide me. thank you

      1 Reply Last reply Reply Quote 0
      • jfernandzJ
        jfernandz
        last edited by jfernandz

        I’m having the very same problem but with automatic registration processes (quick and full) from the FOG’s grub menu.

        I’d say the problem is actually the ‘/var/lock’ folder as it makes no sense to me that ‘touch’ cannot create a file, so I’m guessing it’s the actual path what doesn’t exist. But where? … the path exists in the FOG server so … not sure where should this path be created … 🤔

        I’d appreciate some help from FOG devs 😄

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @jfernandz
          last edited by

          @jfernandz Will you provide a screenshot of the error? I’m thinking this error is coming from FOS Linux (not the fog server host OS), but not sure what its doing to require the lock file.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @Alan-Lim @jfernandz The message Starting sshd: touch: cannot touch '/var/lock/sshd' : No such file or directory is normal with the buildroot version currently used for the FOS inits. While it’s not nice it’s not causing any kind of issue and can be ignored.

            The mount error seen after that is probably caused due to a router or firewall now allowing all the traffic needed to mount an NFS share.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            320

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project