Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Po Aktualizacji Systemu, Samba Nie Dziala:( Dlugi Start!
http://forum.freesco.pl/viewtopic.php?f=22&t=17365
Strona 1 z 1

Autor:  Mk-Mateusz [ czwartek, 11 grudnia 2008, 02:27 ]
Tytuł:  Po Aktualizacji Systemu, Samba Nie Dziala:( Dlugi Start!

Witam.
Po odpowiedniej konfiguracji repo zaktualizowalem system.
Namieszalo sie z DHCPD, Apache, Samba.

Dwa pierwsze naprawilem, Samby nie moge:(
Konfigurowlem wszystkie mozliwe konfiguracje i nie startuje (albo startuje po bardzo dlugim czasie) :( nie wiem dlaczego tak jest (10min sie wlacza).

Cytuj:
#==========================GLOBALNE PARAMETRY==========================
[global]
workgroup = GRUPA_ROBOCZA
guest account = nobody
server string = Linux-Router
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%I
log level = 2
max log size = 50

#OPCJE PRZEGLĄDARKI GŁÓWNEJ I SERWERA WINS
os level = 65
preferred master = Yes
local master = Yes
domain master = Yes
wins support = Yes

#============================ Share Definitions ==============================
[SerwerWWW]
path = /home/httpd/html
public = yes

Autor:  CyberDuck [ czwartek, 11 grudnia 2008, 02:42 ]
Tytuł: 

Wejdz do nndconf i zrob konfiguracje stamtad.
Sprawdz czy po takiej konfiguracji bedzie sie dziac tak samo.
Mnie tez niechciala ruszac samba sama.

wykonaj :
/etc/rc.d/samba restart
jesli pierwszy komunikat bedzie oznaczal blad [nieudane]
to znaczy, ze niebyla uruchomiona.
Ja sobie zrobilem folder .autostart i tam wrzycilem plik start.txt
Nadalem mu prawa poprzez :
sudo chmod +x /.autostart/start.txt

W pliku napisalem
: [/] [] ()
#!bin-bash
sleep 05 # po jakim czasie ma wykonac sie dalsza czesc skryptu
/etc/rc.d/samba start

Nastepnie w /etc/rc.d/rc.local dopisalem linijke
. /.autostart/start.txt
Po restarcie NND ladnie mi samba sama juz startuje.

Na temat konfiguracji i przydzielania zasobow masz tutaj :
http://www.banita.pl/konf/smbudostunix.html

Autor:  JakubC [ czwartek, 11 grudnia 2008, 03:13 ]
Tytuł: 

Logi, logi, logi. Do tego wersje oprogramowania i repo z jakiego korzystasz.

CyberDuck - Straszna rzeźba, co to ma niby dawać? Wpis do rc.conf w sekcji daemons załatwia sprawę. Nie trzeba rzeźbić;)

Autor:  Mk-Mateusz [ czwartek, 11 grudnia 2008, 14:05 ]
Tytuł: 

repo zgodne z zaleceniami na stronie glowej po zmianach,
wersja samby to 3.0.22.
logow nie tworzy bo sie nie uruchamia....var/log/samba nie istnieje:(


jakie jescze dodotakoe informacjie moge podac???/

Autor:  Maciek [ czwartek, 11 grudnia 2008, 14:33 ]
Tytuł: 

Ja przejrzałbym także logi systemowe, tam będzie komunikat może na ten temat. Można spróbowac "z palca" polecenia smbd, moze wówczas pokaże się coś istotnego?

Autor:  Mk-Mateusz [ niedziela, 14 grudnia 2008, 11:50 ]
Tytuł: 

-smbd - zachoduje sie tak samo jak start z rc.d.
-logi swoje samba nie tworzy w var log,
-konfiguracja samby jest taka jak wyzej, do tego zmienilam kilka innych, gotowych, nawet najprostsze nie dziaja:(

Czasami samba sie uruchomi a czasmi nie. Jedyne co udalo mi sie osiagnac po update to to ze teraz vista widzi poprawnie zawartosc katalowow samby (jesli juz sie przypadkiem wlaczy)

moze nie do konca sie znam gdzie sa logi ale przegladem var/log i poszczegolne pliki to nic tam zwiazne z samba sie nie dzieje;(

wlasnie zainslowoalem konfigurator samby, tez nic nie dziala;( caly czas pisze URUCHAMIANIE SAMBA ............ TRWA;/

Cytuj:
log 0.0.0.0
[2008/12/12 13:27:56, 2] smbd/server.c:exit_server(614)
[2008/12/12 13:27:56, 2] smbd/server.c:exit_server(614)
Closing connections
Closing connections



Cytuj:
[2008/12/12 13:22:40, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(110)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup GRUPA_ROBOCZA. Do not announce to ourselves.
[2008/12/12 13:22:40, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(154)
sync_with_dmb:
Initiating sync with domain master browser MATEUSZ-ROUTER<20> at IP 192.168.1.1 for workgroup GRUPA_ROBOCZA
[2008/12/12 13:23:27, 2] nmbd/nmbd_nameregister.c:wins_registration_timeout(184)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.1
[2008/12/12 13:23:27, 2] nmbd/nmbd_nameregister.c:wins_registration_timeout(184)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.1
[2008/12/12 13:23:27, 2] nmbd/nmbd_nameregister.c:wins_registration_timeout(184)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.1
[2008/12/12 13:23:27, 2] nmbd/nmbd_nameregister.c:wins_registration_timeout(184)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.1
[2008/12/12 13:23:27, 2] nmbd/nmbd_nameregister.c:wins_registration_timeout(184)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.1
[2008/12/12 13:23:27, 2] nmbd/nmbd_nameregister.c:wins_registration_timeout(184)
wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.1.1
[2008/12/12 13:27:56, 0] nmbd/asyncdns.c:start_async_dns(151)
started asyncdns process 19420



Cytuj:
[2008/12/12 13:39:20, 1] smbd/service.c:make_connection_snum(693)
pavilion (192.168.1.4) connect to service Serwer WWW initially as user nobody (uid=99, gid=99) (pid 20032)


Cytuj:
[2008/12/12 13:28:02, 0] smbd/server.c:main(805)
smbd version 3.0.22 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/12/12 13:31:12, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/12 13:34:21, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out



Widac cos:(????


EDIT:
nikt nie ma pomyslu:( ciezko mi bez samby:(

Autor:  qrak [ niedziela, 14 grudnia 2008, 12:56 ]
Tytuł: 

Po próbie uruchomienia samby sprawdź logi: daemon.log, errors.log i messages.log.

Autor:  Mk-Mateusz [ niedziela, 14 grudnia 2008, 13:25 ]
Tytuł: 

polecenie z rc.d ./samba start po wczesiejszym stop wpisalem o 12.05: i logi nastepujace... po jakims czasie wystapilo NIEUDANE (max 12.20):
deamon.log nie znalazlem, w var/log nie ma.

errors.log nic nie zanotowalo chyba
Cytuj:
Dec 14 09:07:31 Mateusz-Router sshd[23027]: error: Could not get shadow information for NOUSER
Dec 14 09:07:33 Mateusz-Router sshd[23029]: error: Could not get shadow information for NOUSER
Dec 14 09:07:34 Mateusz-Router sshd[23031]: error: Could not get shadow information for NOUSER
Dec 14 09:07:35 Mateusz-Router sshd[23033]: error: Could not get shadow information for NOUSER
Dec 14 09:07:37 Mateusz-Router sshd[23035]: error: Could not get shadow information for NOUSER
Dec 14 09:07:38 Mateusz-Router sshd[23037]: error: Could not get shadow information for NOUSER
Dec 14 09:07:39 Mateusz-Router sshd[23039]: error: Could not get shadow information for NOUSER
Dec 14 09:07:41 Mateusz-Router sshd[23041]: error: Could not get shadow information for NOUSER
Dec 14 09:07:42 Mateusz-Router sshd[23043]: error: Could not get shadow information for NOUSER
Dec 14 09:07:43 Mateusz-Router sshd[23045]: error: Could not get shadow information for NOUSER
Dec 14 09:07:45 Mateusz-Router sshd[23047]: error: Could not get shadow information for NOUSER
Dec 14 09:07:46 Mateusz-Router sshd[23049]: error: Could not get shadow information for NOUSER
Dec 14 09:07:47 Mateusz-Router sshd[23051]: error: Could not get shadow information for NOUSER
Dec 14 09:07:48 Mateusz-Router sshd[23053]: error: Could not get shadow information for NOUSER
Dec 14 09:07:50 Mateusz-Router sshd[23055]: error: Could not get shadow information for NOUSER
Dec 14 09:07:51 Mateusz-Router sshd[23057]: error: Could not get shadow information for NOUSER
Dec 14 09:07:53 Mateusz-Router sshd[23059]: error: Could not get shadow information for NOUSER
Dec 14 09:07:54 Mateusz-Router sshd[23061]: error: Could not get shadow information for NOUSER
Dec 14 09:07:55 Mateusz-Router sshd[23063]: error: Could not get shadow information for NOUSER
Dec 14 09:07:56 Mateusz-Router sshd[23065]: error: Could not get shadow information for NOUSER
Dec 14 09:07:58 Mateusz-Router sshd[23067]: error: Could not get shadow information for NOUSER



mesages
Cytuj:
Dec 14 12:23:52 Mateusz-Router dhcpd: DHCPINFORM from 192.168.1.4 via eth0
Dec 14 12:23:52 Mateusz-Router dhcpd: DHCPACK to 192.168.1.4
Dec 14 12:23:52 Mateusz-Router dhcpd: DHCPINFORM from 192.168.1.4 via eth0
Dec 14 12:23:52 Mateusz-Router dhcpd: DHCPACK to 192.168.1.4





LOGI KTORE POJAWILY SIE PO WPISANIU POLECNIA STARTU:
ok 12.05 wpisalem start:

logi z samby po wyknaniu polecenia startu
Cytuj:
[2008/12/14 12:04:15, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:04:15, 0] lib/access.c:check_access(328)
[2008/12/14 12:04:15, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
Denied connection from (0.0.0.0)
[2008/12/14 12:04:15, 1] smbd/process.c:process_smb(1187)
[2008/12/14 12:04:15, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
Connection denied from 0.0.0.0
[2008/12/14 12:04:15, 0] lib/util_sock.c:write_data(557)
write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
[2008/12/14 12:04:15, 0] lib/util_sock.c:send_smb(765)
Error writing 5 bytes to client. -1. (Connection reset by peer)


Cytuj:

*****
[2008/12/14 12:03:21, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
process_name_refresh_request: unicast name registration request received for name GRUPA_ROBOCZA<00> from IP 192.168.1.4 on subnet UNICAST_SUBNET.
[2008/12/14 12:03:21, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Error - should be sent to WINS server
[2008/12/14 12:03:34, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server SERWER-ROUTER is now a local master browser for workgroup GRUPA_ROBOCZA on subnet 192.168.1.1

*****
[2008/12/14 12:04:19, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
process_name_refresh_request: unicast name registration request received for name LAPTOP<20> from IP 192.168.1.7 on subnet UNICAST_SUBNET.
[2008/12/14 12:04:19, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Error - should be sent to WINS server
[2008/12/14 12:04:19, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
process_name_refresh_request: unicast name registration request received for name LAPTOP<00> from IP 192.168.1.7 on subnet UNICAST_SUBNET.
[2008/12/14 12:04:19, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Error - should be sent to WINS server
[2008/12/14 12:04:19, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
process_name_refresh_request: unicast name registration request received for name GRUPA_ROBOCZA<00> from IP 192.168.1.7 on subnet UNICAST_SUBNET.
[2008/12/14 12:04:19, 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
Error - should be sent to WINS server


Cytuj:
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 10:45:14, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 10:45:14, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 10:45:14, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 10:45:14, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 10:45:14, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 10:45:14, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 10:45:14, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:01:06, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 12:04:15, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 12:04:15, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:04:15, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:05:10, 0] smbd/server.c:main(805)
smbd version 3.0.22 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/12/14 12:08:19, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 12:11:28, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 12:47:47, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 12:50:56, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection timed out
[2008/12/14 12:50:56, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:50:56, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:50:56, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:50:56, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected
[2008/12/14 12:50:56, 0] lib/util_sock.c:get_peer_addr(1225)
getpeername failed. Error was Transport endpoint is not connected

Autor:  qrak [ niedziela, 14 grudnia 2008, 17:05 ]
Tytuł: 

Zmień w konfigu log level na 3 i zapłotkuj linię wins support = Yes. Do sekcji global dopisz
: [/] [] ()
interfaces = 192.168.1.1/24
hosts allow = 192.168.1.
socket options = TCP_NODELAY
, zrestaruj sambę i pokaż logi samby.

Autor:  Mk-Mateusz [ poniedziałek, 15 grudnia 2008, 00:14 ]
Tytuł: 

DEL....

Autor:  Maciek [ poniedziałek, 15 grudnia 2008, 00:56 ]
Tytuł: 

Cytuj:
/usr/local/samba/var/log.0.0.0.0: No such file or directory

Co to za wersja samby, albo co to za konfig.. bo oryginalnie samba w nnd nie chce logów w takich dziwnych miejscach trzymać.
PS. Zmień sygnaturkę...

Autor:  Mk-Mateusz [ czwartek, 18 grudnia 2008, 15:42 ]
Tytuł: 

SAMBA WERSJA 3.22
faktycznie dziwny wpis:) juz poprawilem:)
smb.conf

Cytuj:
#==========================GLOBALNE PARAMETRY==========================
[global]
workgroup = GRUPA_ROBOCZA
guest account = nobody
netbios name = SERWER
server string = Linux-Router
security = USER
encrypt passwords = Yes
log file = /var/log/samba/log.%m
socket options = TCP_NODELAY
hosts allow = 192.168.1.
interfaces = 192.168.1.0/24
log level = 3

printing = bsd
load printers = no
printcap name = /dev/null

#OPCJE PRZEGLĄDARKI GŁÓWNEJ I SERWERA WINS
preferred master = Yes
local master = Yes
domain master = Yes
os level = 65

#============================ Share Definitions ============================
[SerwerWWW]
path = /home/httpd/html
public = yes
read only = no
guest ok = yes
writable = yes
browseable = yes


do tego po probie uruchomienia dodaje jedyny log kotry sie modyfikuje:
Cytuj:

[2008/12/18 14:37:30, 0] smbd/server.c:main(805)
smbd version 3.0.22 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/12/18 14:37:30, 2] param/loadparm.c:do_section(3671)
Processing section "[SerwerWWW]"
[2008/12/18 14:37:30, 3] param/loadparm.c:lp_add_ipc(2580)
adding IPC service
[2008/12/18 14:37:30, 3] param/loadparm.c:lp_add_ipc(2580)
adding IPC service
[2008/12/18 14:37:30, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/12/18 14:37:30, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2008/12/18 14:37:30, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/12/18 14:37:30, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2008/12/18 14:37:30, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/server.c:main(840)
loaded services
[2008/12/18 14:37:30, 3] smbd/server.c:main(855)
Becoming a daemon.
[2008/12/18 14:37:30, 2] lib/tallocmsg.c:register_msg_pool_usage(61)
Registered MSG_REQ_POOL_USAGE
[2008/12/18 14:37:30, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 14:37:30, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(250)
[2008/12/18 14:37:30, 3] lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-3719096860-303999874-3612837510-1000
se_access_check: also S-1-5-21-3719096860-303999874-3612837510-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
se_access_check: also S-1-5-32-544
[2008/12/18 14:37:30, 3] printing/printing.c:start_background_queue(1379)
start_background_queue: Starting background LPQ thread
[2008/12/18 14:37:30, 2] smbd/server.c:open_sockets_smbd(336)
waiting for a connection



podczas ./samba restart z rc.d wywala: ZATRZYMYWANIE: udane, URUCHAMIANIE: nieudane i tak w kolko, serwer samby jako tako dziala, ale dlczaego NIEUDANE???

Autor:  Maciek [ czwartek, 18 grudnia 2008, 16:01 ]
Tytuł: 

Coś widać nie działa jednak, spróbuj z palca smbd i nmbd.

Autor:  Mk-Mateusz [ czwartek, 18 grudnia 2008, 16:13 ]
Tytuł: 

z palca tj. bezposrednio wpisuje te dwa polecenie w linii komend.
Po wpisaniiu nic nie wypisuje.

a w logach pojawia sie:

Cytuj:
[2008/12/18 15:08:33, 0] smbd/server.c:main(805)
smbd version 3.0.22 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/12/18 15:08:33, 2] param/loadparm.c:do_section(3671)
Processing section "[SerwerWWW]"
[2008/12/18 15:08:33, 3] param/loadparm.c:lp_add_ipc(2580)
adding IPC service
[2008/12/18 15:08:33, 3] param/loadparm.c:lp_add_ipc(2580)
adding IPC service
[2008/12/18 15:08:33, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/12/18 15:08:33, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2008/12/18 15:08:33, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/12/18 15:08:33, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2008/12/18 15:08:33, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/12/18 15:08:33, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/12/18 15:08:33, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/12/18 15:08:33, 3] smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/12/18 15:08:33, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/12/18 15:08:33, 3] smbd/server.c:main(840)
loaded services
[2008/12/18 15:08:33, 0] smbd/server.c:main(844)
standard input is not a socket, assuming -D option
[2008/12/18 15:08:33, 3] smbd/server.c:main(855)
Becoming a daemon.
[2008/12/18 15:08:33, 3] lib/util.c:fcntl_lock(1831)
fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable)
[2008/12/18 15:08:33, 3] lib/util.c:fcntl_lock(1850)
fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable)
[2008/12/18 15:08:33, 0] lib/pidfile.c:pidfile_create(91)
ERROR: smbd is already running. File /usr/var/run/smbd.pid exists and process id 21932 is running.
[2008/12/18 15:09:39, 3] smbd/process.c:check_reload(1428)
Printcap cache time expired.
[2008/12/18 15:09:39, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/12/18 15:09:39, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok
[2008/12/18 15:09:39, 3] printing/pcap.c:pcap_cache_reload(117)
reloading printcap cache
[2008/12/18 15:09:39, 3] printing/pcap.c:pcap_cache_reload(223)
reload status: ok


Cytuj:
[2008/12/18 15:08:36, 0] nmbd/nmbd.c:main(727)
Netbios nameserver version 3.0.22 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/12/18 15:08:36, 3] nmbd/nmbd.c:reload_nmbd_services(298)
services not loaded
[2008/12/18 15:08:36, 0] nmbd/nmbd.c:main(746)
standard input is not a socket, assuming -D option
[2008/12/18 15:08:36, 2] nmbd/nmbd.c:main(751)
Becoming a daemon.
[2008/12/18 15:08:36, 3] lib/util.c:fcntl_lock(1831)
fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable)
[2008/12/18 15:08:36, 3] lib/util.c:fcntl_lock(1850)
fcntl_lock: lock failed at offset 0 count 1 op 13 type 0 (Resource temporarily unavailable)
[2008/12/18 15:08:36, 0] lib/pidfile.c:pidfile_create(91)
ERROR: nmbd is already running. File /usr/var/run/nmbd.pid exists and process id 23403 is running.

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/