Hi Ghee,
first thank you for your help. I copied the file the
way you described. Now samba is running after issuing
"svcadm enable samba". Before I had to execute this
command as well: "svcadm clear samba".
So I tried to reopen again "Network Servers" from the
GNOME desktop. With the effect that it did not worked
like before. So I restarted (init 6) but even then it did
not work, so I looked at the logs.
# svcs -l samba
fmri svc:/network/samba:default
name SMB file server
enabled true
state online
next_state none
state_time Thu Nov 15 10:29:13 2007
logfile /var/svc/log/network-samba:default.log
restarter svc:/system/svc/restarter:default
contract_id 45
dependency require_any/none svc:/network/loopback (online)
dependency require_all/none svc:/network/service (online)
dependency require_all/none svc:/network/physical (multiple)
dependency require_all/none svc:/system/filesystem/local (online)
# less /var/svc/log/network-samba:default.log
[ Nov 15 07:58:59 Enabled. ]
[ Nov 15 07:58:59 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 07:59:00 Method "start" exited with status 255. ]
[ Nov 15 07:59:00 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 07:59:00 Method "start" exited with status 255. ]
[ Nov 15 07:59:00 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 07:59:00 Method "start" exited with status 255. ]
[ Nov 15 08:11:38 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 08:11:45 Method "start" exited with status 255. ]
[ Nov 15 08:11:45 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 08:11:45 Method "start" exited with status 255. ]
[ Nov 15 08:11:45 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 08:11:45 Method "start" exited with status 255. ]
[ Nov 15 10:25:03 Leaving maintenance because clear requested. ]
[ Nov 15 10:25:03 Enabled. ]
[ Nov 15 10:25:03 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 10:25:03 Method "start" exited with status 0. ]
[ Nov 15 10:27:49 Stopping because service disabled. ]
[ Nov 15 10:27:49 Executing stop method ("/usr/bin/kill `cat
/var/samba/locks/smbd.pid`"). ]
[ Nov 15 10:27:49 Method "stop" exited with status 0. ]
[ Nov 15 10:29:06 Executing start method ("/usr/sfw/sbin/smbd -D"). ]
[ Nov 15 10:29:13 Method "start" exited with status 0. ]
# /usr/sfw/bin/testparm
Load smb config files from /etc/sfw/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = MYGROUP
server string = Samba Server
log file = /var/samba/log/log.%m
max log size = 50
dns proxy = No
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
# less /var/samba/log/smbd.log
[2007/11/15 07:59:00, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 07:59:00, 0] param/params.c:(536)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/sfw/smb.conf":
No such file or directory
[2007/11/15 07:59:00, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 07:59:00, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 07:59:00, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 07:59:00, 0] param/params.c:(536)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/sfw/smb.conf":
No such file or directory
[2007/11/15 07:59:00, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 07:59:00, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 07:59:00, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 07:59:00, 0] param/params.c:(536)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/sfw/smb.conf":
No such file or directory
[2007/11/15 07:59:00, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 07:59:00, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 08:11:44, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 08:11:44, 0] param/params.c:(536)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/sfw/smb.conf":
No such file or directory
[2007/11/15 08:11:44, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 08:11:44, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 08:11:45, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 08:11:45, 0] param/params.c:(536)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/sfw/smb.conf":
No such file or directory
[2007/11/15 08:11:45, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 08:11:45, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 08:11:45, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 08:11:45, 0] param/params.c:(536)
params.c:OpenConfFile() - Unable to open configuration file
"/etc/sfw/smb.conf":
No such file or directory
[2007/11/15 08:11:45, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 08:11:45, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 10:25:03, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 10:25:03, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 10:25:03, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 10:25:03, 0] passdb/pdb_smbpasswd.c:(241)
startsmbfilepwent_internal: file /etc/sfw/private/smbpasswd did not exist.
File successfully created.
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password
length), returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history),
returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to
change password), returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password
age), returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password
age), returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration),
returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count
minutes), returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout
attempt), returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time),
returning 0
[2007/11/15 10:25:03, 1] lib/account_pol.c:(286)
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine
password change), returning 0
[2007/11/15 10:29:11, 0] smbd/server.c:(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/11/15 10:29:12, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
[2007/11/15 10:29:12, 0] printing/pcap.c:(159)
Unable to open printcap file /etc/printcap for read!
Hope, someone could read out something irregular.
Roman
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]