- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Samba errors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:34 AM
01-19-2004 03:34 AM
[root@salato-apl10 samba]# smbstatus
Samba version 2.2.1a
Service uid gid pid machine
----------------------------------------------
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting
samba is up but i cant to connect with windows
thanks fot ur help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:48 AM
01-19-2004 03:48 AM
Re: Samba errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 04:18 AM
01-19-2004 04:18 AM
SolutionThis is a known problem.
Go ahead and do the following for a valid user:
smbclient //localhost/'username' -U'username'
Enter the password and make the connection. It if does not work you have a
problem. If it does, then quit out. Then do:
smbstatus
It should now work without trouble.
You see, smbstatus tries to access te lock file, which does not exist until smbd has created it (which happens as soon as you make a connection).
If lockfile exists, run testparms to check your config.
Check your lock directory. The default dir is set to /var/spool/lock on mine.
Older samba releases were in /var/lock, if I remember well. Check also this directory rights
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 05:18 AM
01-19-2004 05:18 AM
Re: Samba errors
Find that file and run this command in a ssh or telnet session
tail -f /name_of_logfile
Then attempt a samba connect from another machine.
This should give you good diagnostics.
You may wish to post the ouput.
Seems Henry has a handle on this, I'd look to him for further guidance. I will monitor anc chime in if anything comes to mind.
Have you done?
smbpasswd -A
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 01:49 AM
01-20-2004 01:49 AM
Re: Samba errors
I have my /var/lock/subsys/smb but is empty. testparm command it is susscessfully buy i cant connect to samba. I use #service smb start command is that ok?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 05:08 AM
01-20-2004 05:08 AM
Re: Samba errors
service samba start
to know what to put in the middle, take a look at the /etc/init.d directory
samba's startup file is almost always named samba
You can of course, name it anything you want.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 05:15 AM
01-20-2004 05:15 AM
Re: Samba errors
service smb start
what do you mean you can't connect-from another pc?
then you should try
testparm /etc/samba/smb.conf IP
where IP is the IP address of the pc from which you're trying to connect...
Best regards..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 06:28 AM
01-20-2004 06:28 AM
Re: Samba errors
the network path was not found.
samba is Up, but i cant to connest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 05:57 PM
01-20-2004 05:57 PM
Re: Samba errors
ERROR: Failed to initialise locking database
is not something to be afraid of.
It will be "fixed" after first client's logon.
Now- can you ping to your samba server from the XP client ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 07:07 PM
01-20-2004 07:07 PM
Re: Samba errors
net use \\your.ip\share ?
Can you find the machine on searching it on your network neighborhood ?
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 06:38 AM
01-21-2004 06:38 AM
Re: Samba errors
a week ago i was working fine but i reinstall my server but samba give that errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:28 AM
01-21-2004 07:28 AM
Re: Samba errors
tail -f /name_of_logfile
when it fails?
Have you recently run samba or installed a /var/adm/inetd.sec file?
This could block it.
Also
if enhanced logging is not on.
inetd -l
tail -f /var/adm/syslog/syslog.log
This will show the failures with error codes. I should have posted that in the first place.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 09:39 AM
01-21-2004 09:39 AM
Re: Samba errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2004 07:50 PM
01-21-2004 07:50 PM
Re: Samba errors
2 things are to be checked :
Your samba config
Your network connectivity
Could you post your testparm results (shares and access ?). Better than that, check it by yourself, using from your linux shell :
smbclient -L 172.21.0.82 -N
You'll get a list of your shares and accesses.
If you get everyhting you should, try
smbclient //172.21.0.82/sharename
If you get through, then there is nothing wrong with your samba server, issue is on connectivity.
Try to ping your linux box from your XP, try in network neighborhood to 'search' your linux box IP, telle us if you find it and what are the messages...
I WILL work :]]
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 01:25 AM
01-22-2004 01:25 AM
Re: Samba errors
Please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:14 AM
01-22-2004 02:14 AM
Re: Samba errors
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 02:36 AM
01-22-2004 02:36 AM
Re: Samba errors
If I get you clearly, you ping and it works
You search the machine from XP, and you don't find it.
Check on you linux machine that nmbd is running fine, and tell us about its configuration.
Check on you XP box that on TCP/IP protocol you use NBT, that is to say netbios over tcp/ip, and not only tcp/ip.
Check also that
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Netlogon\\parameters
RequireSignOrSeal should be at 0 if client is XP pro and samba acting as a pdc.
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 04:18 AM
01-22-2004 04:18 AM
Re: Samba errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 05:07 AM
01-22-2004 05:07 AM
Re: Samba errors
but you won't get you shares with telnet
Try
net use \\172.21.0.82 instead
What about nmbd status ?
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 05:23 AM
01-22-2004 05:23 AM
Re: Samba errors
C:\Documents and Settings\edruiz>net use \\172.21.0.82 instead
System error 53 has occurred.
The network path was not found.
I cant make telnet to this port
C:\Documents and Settings\edruiz>telnet 172.21.0.82 139
Connecting To 172.21.0.82...Could not open connection to the host, on port 139:
Connect failed
I i run smbclient -L //172.21.0.82/c$ -U edruiz i can connect to my machine. it is very rarely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:12 AM
01-22-2004 07:12 AM
Re: Samba errors
smbclient -L IP -U username
where IP is the IP address of your smb server and username is existing smb user
Does it return available shares?
if it doesn't ,then the problem isn't in XP but with LINUX.
anyway did you try to reinstall or to upgrade the samba server package ?
best regards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 05:35 PM
01-22-2004 05:35 PM
Re: Samba errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:29 PM
01-22-2004 07:29 PM
Re: Samba errors
please post your smb.conf file, and tell us if you have iptables running somewhere...
J