Fedora Linux Support Community & Resources Center
  #1  
Old 7th July 2006, 10:45 PM
srainsdon Offline
Registered User
 
Join Date: Jul 2006
Age: 29
Posts: 1
Angry samba and FC4

ok im am a little new to linux and samba but i am trying to get a print server up and running i have dhcp and squid running both of witch the lap top is using just fine.
when i start up the computer smb failes
when i start smb it said it started but the service configuration window sayes:
smbd dead but pid file exists
nmbd (pid 13534) is running

in the log for smdb i have this:
[2006/07/07 14:40:56, 0] smbd/server.c:main(805)
smbd version 3.0.22-1.fc5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/07/07 14:40:56, 1] param/loadparm.c:lp_do_parameter(3401)
WARNING: The "printer admin" option is deprecated
[2006/07/07 14:40:56, 1] param/loadparm.c:lp_do_parameter(3401)
WARNING: The "printer admin" option is deprecated
[2006/07/07 14:40:57, 0] groupdb/mapping.c:init_group_mapping(134)
Failed to open group mapping database
[2006/07/07 14:40:57, 0] groupdb/mapping.c:get_group_map_from_gid(275)
failed to initialize group mapping
[2006/07/07 14:40:57, 0] lib/account_pol.c:init_account_policy(267)
Failed to open account policy database
[2006/07/07 14:40:57, 0] lib/account_pol.c:init_account_policy(267)
Failed to open account policy database
[2006/07/07 14:40:57, 0] lib/account_pol.c:init_account_policy(267)
Failed to open account policy database
[2006/07/07 14:40:57, 0] lib/account_pol.c:init_account_policy(267)
Failed to open account policy database
[2006/07/07 14:40:57, 0] lib/account_pol.c:init_account_policy(267)
Failed to open account policy database
[2006/07/07 14:40:57, 0] lib/account_pol.c:init_account_policy(267)
Failed to open account policy database
[2006/07/07 14:40:57, 0] lib/messages.c:message_init(108)
ERROR: Failed to initialise messages database

i have red 6-7 pages on how to config smb and all say i have it right here is my config file:

[global]
workgroup = Workgroup # set your windows network
load printers = yes
browseable = yes
printing = cups # tell samba that we'd like CUPS for printing
printcap name = cups
encrypt passwords = yes
lock directory = /usr/local/samba/var/lock
interfaces = eth0 # the interface to the local network
security = user
hosts allow = 10.
cups options = raw

[print$]
comment = Printer Drivers
# this path holds the driver structure
path = /etc/samba/printer
guest ok = no
browseable = yes
read only = yes
# add a username to the write list
# if you don't want root to be the only
# printer admin
write list = srainsdon,david,root

[HPDeskJetPSC] # the name is arbitrary, but should be consistent throughout
# Samba and CUPS!
comment = HP DeskJet PSC Network Printer
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = srainsdon,david,root

[printers] # here all printers will be shown; this becomes the Printers
# share/section under Network Neighborhood
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes

i have no clue and need help
writable = no
printable = yes
printer admin = srainsdon,david,root
  #2  
Old 24th August 2006, 01:39 PM
marisdembovskis Offline
Registered User
 
Join Date: Mar 2006
Location: Gulbene - Latvia - Europe
Age: 31
Posts: 292
did you solve the problem.
I got smbd dead but pid file exists
and nmbd is running.
what to do???
__________________
Jesus will back you UP!
Maris Dembovskis
Your life is the same as you.
---
my box=F 10 Toshiba R200 = nice & cool
was using ubuntu for a year, return to Fedora. :) Faster.
  #3  
Old 24th August 2006, 02:50 PM
marisdembovskis Offline
Registered User
 
Join Date: Mar 2006
Location: Gulbene - Latvia - Europe
Age: 31
Posts: 292
you know what.
1. I put another smb in /etc/init.d/
and it works.

if you wanna try:
A) yum install *samba*
(it will install 28 MB)
B) test su -
service smb restart
service smb status
if there is still that dead ...
then go to
C) cd /var/run/ and delete thos smbd.pid and nmbd.pid
and put this smb in /etc/init.d/

after I changed smb file to attached one, everythings works perfect!!!
Attached Files
File Type: zip smb.zip (925 Bytes, 705 views)
__________________
Jesus will back you UP!
Maris Dembovskis
Your life is the same as you.
---
my box=F 10 Toshiba R200 = nice & cool
was using ubuntu for a year, return to Fedora. :) Faster.
  #4  
Old 7th October 2006, 08:33 AM
Pinchie Offline
Registered User
 
Join Date: Nov 2005
Location: NSW, Australia
Age: 30
Posts: 34
I can personally confirm that the above attached smb file does the trick. I don't know what the difference is, but by golly it sure did the trick! Thanks a bunch.. you brought a smile to the end of a very frustrating day!
__________________
This post may contain traces of peanut or meat product.
  #5  
Old 12th February 2007, 08:41 AM
ardainbox Offline
Registered User
 
Join Date: Feb 2007
Location: TR
Age: 35
Posts: 140
service smb

[root@localhost samba]# /sbin/service smb stop
Shutting down SMB services: [FAILED]
Shutting down NMB services: [ OK ]
[root@localhost samba]# /sbin/service smb status
smbd is stopped
nmbd is stopped
[root@localhost samba]# cp /tmp/smb /etc/rc.d/init.d/
cp: overwrite `/etc/rc.d/init.d/smb'? y
[root@localhost samba]# cd /var/run/
[root@localhost run]# rm smbd.pid
rm: cannot lstat `smbd.pid': No such file or directory
[root@localhost run]# /sbin/service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
[root@localhost run]# /sbin/service smb status
smbd dead but pid file exists
nmbd (pid 7906) is running...
??
i did all what you say but its still faild.
Fedoracore6 2.6.9
  #6  
Old 6th October 2008, 05:13 AM
jcdonelson Offline
Registered User
 
Join Date: Oct 2008
Posts: 1
samba ERROR: Failed to initialise messages database

ERROR: Failed to initialise messages database

I did find one fix for this.
I did not have the directory /var/cache/samba.

Once I create this directory, it worked.
  #7  
Old 6th October 2008, 07:49 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,715
We can probably call this one solved or we can just call it old. Either way, this thread started in July 2006 is now closed.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Closed Thread

Tags
fc4, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having to enter Samba password manually in Samba config screen after every reboot! Syncro Servers & Networking 3 17th July 2008 12:03 AM
Samba 2.2.x serving Samba client 3.0.26 cifs (mount error 13 = Permission denied) nnn Servers & Networking 10 5th April 2008 09:40 AM
Samba: Windows boxes can't access my FC2 Samba shares iontyre Servers & Networking 13 26th October 2004 04:49 PM


Current GMT-time: 12:23 (Tuesday, 23-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat