加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

error NETHELPSMG 3534 when start cygwin

(2012-06-01 04:26:43)
标签:

it

分类: 工作
I am trying to setup git on windows box - and so far all appears to be working ... except this :)

net start shhd - gets the error NETHELPSMG 3534

When I type

cygrunsrv --start sshd I get - QueryServiceStatus: Win32 error 1062


You can find here the steps taken to solve this issue under cygwin:

        Look at /var/log/sshd.log:
        /var/empty must be owned by root and not group or world-writable.

        Adjust mode of /var/empty and attempt to start sshd:

$ chmod 700 /var/empty

        Change owner of /var/empty:


$ chown root empty/
chown: invalid user: `root'

        root is not a valid user name. Make an educated guess and try again:


$ chown "Service Account Name" var/empty

$ ll -d empty/
drwx------+ 2 SYSTEM None 0 Feb 17 14:30 empty//

Then:


$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service was started successfully.

Regarding the 1062 error, it reports that the windows service has not been started.

$ cygrunsrv --start sshd
cygrunsrv: Error starting a service: QueryServiceStatus: Win32
error 1062:
The service has not been started.

..

$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started. # only if the previous section was not solved

Note: be aware that:

    some anti-virus might interfere with that service.
    See this thread.
    older version of cygwin1.dll might also interfere with the process.
    See that thread.

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有