XP SP3 에서 삼바에 접속이 안됩니다.

ikpil의 이미지

smbpasswd -a 아이디

이렇게 추가 해서, 비밀번호까지 입력 하고
삼바 시작하면 smbd ok, nmbd ok, 라고 뜹니다.

하지만 로그를 보면,samba standard input is not a socket 이런 메세지를 보입니다.

[2009/04/10 12:27:25, 0] smbd/server.c:main(1267)
smbd version 3.3.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/04/10 12:27:25, 0] smbd/server.c:main(1313)
standard input is not a socket, assuming -D option
[2009/04/10 12:30:28, 0] smbd/server.c:main(1267)
smbd version 3.3.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/04/10 12:30:28, 0] lib/pidfile.c:pidfile_create(120)
ERROR: smbd is already running. File /usr/local/samba/var/locks/smbd.pid exists and process id 950 is running.
[2009/04/10 12:31:19, 0] smbd/server.c:main(1267)
smbd version 3.3.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/04/10 12:44:19, 0] smbd/server.c:main(1267)
smbd version 3.3.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/04/10 12:44:19, 0] smbd/server.c:main(1313)
standard input is not a socket, assuming -D option
[2009/04/10 12:48:30, 0] smbd/server.c:main(1267)
smbd version 3.3.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/04/10 12:48:30, 0] smbd/server.c:main(1313)
standard input is not a socket, assuming -D option
[2009/04/10 12:59:24, 0] smbd/server.c:main(1267)
smbd version 3.3.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/04/10 12:59:24, 0] smbd/server.c:main(1313)
standard input is not a socket, assuming -D option

.. 이러면서 접속이 안됩니다. 무엇이 잘못 된건지 모르겠습니다. 검색해도 모르겠고..

happyday19c의 이미지

SELinux 설정이나 ntlm인증 모듈이 설치 안되서 그럴 수도 있습니다.
SELinux설정은 건드리기가 까다롭긴 하지만..... Samba관련 설정에서 열어놓으시면 사용될거라고 생각됩니다;;;;

-----------------------------------------
Meshing the World.... Simulating Reality!
-----------------------------------------

-----------------------------------------
Meshing the World.... Simulating Reality!
-----------------------------------------

ikpil의 이미지

생각만으로도 무척 감사합니다!

happyday19c의 이미지

아래에 답변처럼, 서버 대몬이 안뜨는 문제가 더 크다는 걸 알게되엇습니다..
단순히 윈도에서 리눅스로 접속 안되는 문제만 보고 답을 적었다가;;;;

죄송합니다.....
-----------------------------------------
Meshing the World.... Simulating Reality!
-----------------------------------------

-----------------------------------------
Meshing the World.... Simulating Reality!
-----------------------------------------

bushi의 이미지

서버를 inetd(xinetd) 모드로 설정하면 서비스를 시작할 필요가 없습니다.
기존에 standalone 모드로 설정해서 돌리고있었다면 서비스 데몬을 중지시키고,
inetd(xinetd) 서비스를 재시작하세요.

inetd(xinetd) 모드로 설정된 서비스 데몬들은
클라이언트에 의한 접속요청이 들어오는 시점에서 각 클라이언트마다 개별적으로 실행됩니다.
그러므로, 서비스 설정변경등의 이유로 데몬을 재시작할 이유가 없고 할 수도 없습니다.

inetd(xinetd) 에 의해 구동되는 데몬의 standard input(0번 파일디스크립터)은 소켓이어야 합니다.
클라이언트에 대한 accept 처리를 서버데몬이 아니라 inetd(xinetd)에서 대신하고 결과로 얻어진 소켓을 넘겨주기 때문입니다.

+

에러메시지에만 집중했더니 좀 엉뚱한 댓글이 된 것 같습니다.
inetd 모드로 돌리는 방법을 질문한 글이 아닌 것 같고, 현 상태도 standalone 인 것 같네요.
적어주신 로그만으론 왜 접속이 안되는지 전혀 파악하지 못하겠습니다.
서버 벙화벽 설정 확인하고, 데몬이 잘 떠 있긴 한건지 확인해보세요.

방화벽 이상없고, 데몬 잘 떠있고, 삼바 설정파일에 'interfaces' 항목과 'hosts allow' 항목에 이상이 없다면 ...
서비스(자원)의 정상적인 이용은 둘째치고, 일단 보입니다.
OTL

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.