Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing GIS.lab master on server VM #525

Open
2 tasks
landam opened this issue Nov 4, 2018 · 3 comments
Open
2 tasks

installing GIS.lab master on server VM #525

landam opened this issue Nov 4, 2018 · 3 comments
Assignees
Milestone

Comments

@landam
Copy link
Collaborator

landam commented Nov 4, 2018

Sub-issues:

  • [WARNING]: sftp transfer mechanism failed on [XXX]. Use ANSIBLE_DEBUG=1 to see detailed information
  • sshd service restart fails
@landam landam added this to the version 0.7.2 milestone Nov 4, 2018
@landam landam self-assigned this Nov 4, 2018
@landam
Copy link
Collaborator Author

landam commented Nov 4, 2018

sudo systemctl restart sshd
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.

● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-11-04 12:48:08 CET; 1min 0s ago
  Process: 22009 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
  Process: 22005 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 Main PID: 22009 (code=exited, status=255)

Nov 04 12:48:08 server systemd[1]: Starting OpenBSD Secure Shell server...
Nov 04 12:48:08 server sshd[22005]: /etc/ssh/sshd_config line 28: Unsupported option UsePAM
Nov 04 12:48:08 server sshd[22009]: /etc/ssh/sshd_config line 28: Unsupported option UsePAM
Nov 04 12:48:08 server systemd[1]: ssh.service: Main process exited, code=exited, status=255/n/a
Nov 04 12:48:08 server systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 04 12:48:08 server systemd[1]: ssh.service: Unit entered failed state.
Nov 04 12:48:08 server systemd[1]: ssh.service: Failed with result 'exit-code'.

@landam
Copy link
Collaborator Author

landam commented Nov 5, 2018

After commenting out UsePAM yes in /etc/sshd/sshd_config service restart still fails

Nov 04 12:56:38 server systemd[1]: Starting OpenBSD Secure Shell server...
Nov 04 12:56:38 server systemd[1]: ssh.service: Main process exited, code=exited, status=255/n/a
Nov 04 12:56:38 server systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 04 12:56:38 server systemd[1]: ssh.service: Unit entered failed state.
Nov 04 12:56:38 server systemd[1]: ssh.service: Failed with result 'exit-code'.

On the other hand ssh access to the machine works.

@landam
Copy link
Collaborator Author

landam commented Nov 5, 2018

ov 05 14:34:00 server sshd[18338]: /etc/ssh/sshd_config line 28: Unsupported option UsePAM
Nov 05 14:34:00 server sshd[18342]: /etc/ssh/sshd_config line 28: Unsupported option UsePAM
Nov 05 14:34:00 server sshd[18342]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Nov 05 14:34:00 server sshd[18342]: error: Bind to port 22 on :: failed: Address already in use.
Nov 05 14:34:00 server sshd[18342]: fatal: Cannot bind any address.
Nov 05 14:34:00 server systemd[1]: ssh.service: Main process exited, code=exited, status=255/n/a
Nov 05 14:34:00 server systemd[1]: Failed to start OpenBSD Secure Shell server.
Nov 05 14:34:00 server systemd[1]: ssh.service: Unit entered failed state.
Nov 05 14:34:00 server systemd[1]: ssh.service: Failed with result 'exit-code'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant