<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Samba 2.2.5 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944756#M114397</link>
    <description>1) Is Samba actually working on the server.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep smb&lt;BR /&gt;&lt;BR /&gt;If you don't get any hits do this as root:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/samba start&lt;BR /&gt;&lt;BR /&gt;If this does not fix it, you need to check networking.&lt;BR /&gt;&lt;BR /&gt;Run ping tests from client to server and server to client, then traceroute/tracert tests.&lt;BR /&gt;&lt;BR /&gt;If any of these tests fail you have a network connectivity issue.&lt;BR /&gt;&lt;BR /&gt;It could be the lan card on the server.  It could be a lan communication issue, if Cisco built your switch.&lt;BR /&gt;&lt;BR /&gt;Change the port settins on the Cisco switch to the top rated speed of the NIC on the HP box.  Don't use auto negotiate, it confuses many HP NICS.&lt;BR /&gt;&lt;BR /&gt;Then boot the hp box&lt;BR /&gt;&lt;BR /&gt;then as root&lt;BR /&gt;&lt;BR /&gt;lanadmin -x lan# # being the number of the lan card.&lt;BR /&gt;&lt;BR /&gt;Don't be surprised if the speed setting doesn't match what you have hardcoded on the Cisco switch.  If that happens, hard code the settings in this file.&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/hpbtlanconf&lt;BR /&gt;&lt;BR /&gt;Here is an example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP_BTLAN_INTERFACE_NAME[0]=lan0&lt;BR /&gt;HP_BTLAN_STATION_ADDRESS[0]=&lt;BR /&gt;HP_BTLAN_SPEED[0]=10HD&lt;BR /&gt;HP_BTLAN_INTERFACE_NAME[1]=lan1&lt;BR /&gt;HP_BTLAN_STATION_ADDRESS[1]=&lt;BR /&gt;HP_BTLAN_SPEED[1]=100FD&lt;BR /&gt;&lt;BR /&gt;Good luck and boot after changing these settings.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Apr 2003 03:23:25 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-04-07T03:23:25Z</dc:date>
    <item>
      <title>Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944755#M114396</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have one N4000/HP-UX 11.00/Samba 2.2.5.&lt;BR /&gt;&lt;BR /&gt;I have some Win'2000 prof. PC which maps some samba share to it.&lt;BR /&gt;&lt;BR /&gt;Till yesterday everything was fine but when I am trying to map the samba drive it popup an error:&lt;BR /&gt;&lt;BR /&gt;"The mapped network drive could not be creaed because the following error has occured.&lt;BR /&gt;No nore connection can be made to this remote computer at this time because there are already as many connections as the computer can accept".&lt;BR /&gt;&lt;BR /&gt;To some other PCs the error message are:&lt;BR /&gt;&lt;BR /&gt;" The mapped netowrs drive couldnot be created because the following error has occured:&lt;BR /&gt;The remote computer is not available".&lt;BR /&gt;&lt;BR /&gt;I can see about 18 nos smbd daemons are running.&lt;BR /&gt;&lt;BR /&gt;What has gone wrong and what needs to be done?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2003 02:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944755#M114396</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-04-07T02:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944756#M114397</link>
      <description>1) Is Samba actually working on the server.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep smb&lt;BR /&gt;&lt;BR /&gt;If you don't get any hits do this as root:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/samba start&lt;BR /&gt;&lt;BR /&gt;If this does not fix it, you need to check networking.&lt;BR /&gt;&lt;BR /&gt;Run ping tests from client to server and server to client, then traceroute/tracert tests.&lt;BR /&gt;&lt;BR /&gt;If any of these tests fail you have a network connectivity issue.&lt;BR /&gt;&lt;BR /&gt;It could be the lan card on the server.  It could be a lan communication issue, if Cisco built your switch.&lt;BR /&gt;&lt;BR /&gt;Change the port settins on the Cisco switch to the top rated speed of the NIC on the HP box.  Don't use auto negotiate, it confuses many HP NICS.&lt;BR /&gt;&lt;BR /&gt;Then boot the hp box&lt;BR /&gt;&lt;BR /&gt;then as root&lt;BR /&gt;&lt;BR /&gt;lanadmin -x lan# # being the number of the lan card.&lt;BR /&gt;&lt;BR /&gt;Don't be surprised if the speed setting doesn't match what you have hardcoded on the Cisco switch.  If that happens, hard code the settings in this file.&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/hpbtlanconf&lt;BR /&gt;&lt;BR /&gt;Here is an example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP_BTLAN_INTERFACE_NAME[0]=lan0&lt;BR /&gt;HP_BTLAN_STATION_ADDRESS[0]=&lt;BR /&gt;HP_BTLAN_SPEED[0]=10HD&lt;BR /&gt;HP_BTLAN_INTERFACE_NAME[1]=lan1&lt;BR /&gt;HP_BTLAN_STATION_ADDRESS[1]=&lt;BR /&gt;HP_BTLAN_SPEED[1]=100FD&lt;BR /&gt;&lt;BR /&gt;Good luck and boot after changing these settings.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2003 03:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944756#M114397</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-04-07T03:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944757#M114398</link>
      <description>hi&lt;BR /&gt;as SEP pointed, is ur smbd running. do a kill -HUP and see if it works.&lt;BR /&gt;&lt;BR /&gt;also can u please post any relevant error messages from the log files.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 07 Apr 2003 03:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944757#M114398</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-07T03:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944758#M114399</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Samba is running on the servers 15 clients are able to map the drive. &lt;BR /&gt;The problem is the 16th and above users.&lt;BR /&gt;&lt;BR /&gt;Is there any parameters like the number of Samba connection?&lt;BR /&gt;&lt;BR /&gt;Where can I look for the error?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2003 04:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944758#M114399</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-04-07T04:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944759#M114400</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;samba is running. 15 connections are working fine. Problem starts when we try to map the samba drive through 16th or more connections.&lt;BR /&gt;&lt;BR /&gt;Is there any parameter which takes care of the max. no. of connections?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Mon, 07 Apr 2003 04:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944759#M114400</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-04-07T04:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944760#M114401</link>
      <description>Hi Raje,&lt;BR /&gt;&lt;BR /&gt;Have a look through the Samba logs for any mention of failing to access locks.  It's possible that you've run out of locks if you haven't tuned the kernel to run Samba.&lt;BR /&gt;&lt;BR /&gt;You haven't mentioned if you've only recently seen this problem.  Recent versions of Samba are more resource intensive.&lt;BR /&gt;&lt;BR /&gt;How many users are you expecting to connect to this Samba server?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Mon, 07 Apr 2003 07:44:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944760#M114401</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-04-07T07:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944761#M114402</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You may find it useful to increase the level of debugging on smbd - especially if your samba smbd log (located wherever smb.conf specifies) currently doesn't acknowledge the problem you're experiencing.&lt;BR /&gt;This can be done by stopping smbd and restarting it, specifying debug level, e.g.&lt;BR /&gt;&lt;BR /&gt;./smbd -d3 &lt;BR /&gt;&lt;BR /&gt;We setup samba recently and found level 3 debugging very useful.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paul S.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2003 09:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944761#M114402</guid>
      <dc:creator>Paul Senior</dc:creator>
      <dc:date>2003-04-07T09:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944762#M114403</link>
      <description>You need to icrease some Kernel parameters:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Updated HP-UX System Configuration Requirements for Version A.01.08&lt;BR /&gt;     -------------------------------------------------------------------&lt;BR /&gt;     CIFS/9000 Server, version A.01.08, utilizes system resources differently&lt;BR /&gt;     from previous versions. The following HP-UX kernel parameters must be&lt;BR /&gt;     adjusted accordingly:&lt;BR /&gt;&lt;BR /&gt;     o  NFILES - total number of open files per system&lt;BR /&gt;&lt;BR /&gt;     Each smbd process will initially open 23 files for internal use.&lt;BR /&gt;     However, clients will open more files during a session. Therefore, as a&lt;BR /&gt;     minimum, the number of nfiles should be:&lt;BR /&gt;&lt;BR /&gt;       nfiles = (23 + max_client_files) * max_connected_clients&lt;BR /&gt;&lt;BR /&gt;     NOTE: Previous CIFS Server versions used 8 files for internal use.&lt;BR /&gt;&lt;BR /&gt;     o  NFLOCKS - total number of file locks per system&lt;BR /&gt;&lt;BR /&gt;     At least ten (10) file locks are allocated per smbd process for internal&lt;BR /&gt;     use. Clients may need additional locks depending on the applications&lt;BR /&gt;     used. Therefore, as a minimum, the number of nflocks should be:&lt;BR /&gt;&lt;BR /&gt;       nflocks = 10 * max_connected_clients&lt;BR /&gt;&lt;BR /&gt;     NOTE: Previous CIFS Server versions did not require explicit&lt;BR /&gt;     configuration of this parameter.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     These guidelines for minimum parameter values account for CIFS/9000&lt;BR /&gt;     Server usage of system resources only. Other applications and system&lt;BR /&gt;     processes may require further increases in the value of these&lt;BR /&gt;     parameters.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This means that the default configuration of 200 nflocks on HP-UX will only&lt;BR /&gt;allow less than 20 PC clients (dependent on other application demands for&lt;BR /&gt;file locks) to connect to the CIFS server before no further locks will be&lt;BR /&gt;available.&lt;BR /&gt;&lt;BR /&gt;This can be addressed by reconfiguring the kernel with an appropriate number&lt;BR /&gt;for the nflocks value and rebuilding a new kernel with that parameter.&lt;BR /&gt;&lt;BR /&gt;Note that when using Glance to monitor the nflocks value, it has been seen&lt;BR /&gt;that when CIFS Server has generated this error, Glance will report a maximum&lt;BR /&gt;usage much lower than the system configured maximum.   However all evidence&lt;BR /&gt;indicates that the CIFS server is reacting to an ENOLCK error received from&lt;BR /&gt;the operating system when making the fcntl() lock request.&lt;BR /&gt;&lt;BR /&gt;Also check out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/pdf/B8725-90020.pdf" target="_blank"&gt;http://www.docs.hp.com/hpux/pdf/B8725-90020.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2003 12:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944762#M114403</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-04-07T12:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944763#M114404</link>
      <description>Did you try the kernel parameter changes?  Just want ot know if that helped you or not.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 15:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944763#M114404</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-04-08T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Samba 2.2.5 problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944764#M114405</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can user samba's admin interface SWAT, it's defaultly running on port 901, there're lots of Samba parameters you can tunning, include max-connections.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Gary</description>
      <pubDate>Tue, 08 Apr 2003 18:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-2-2-5-problem/m-p/2944764#M114405</guid>
      <dc:creator>Gary Yu</dc:creator>
      <dc:date>2003-04-08T18:09:03Z</dc:date>
    </item>
  </channel>
</rss>

