Re: [Samba] Unable to start Samba on AIX 6.1

2012-03-22 Thread Jeremy Allison
On Mon, Mar 12, 2012 at 05:17:39PM +, neetesh.gu...@accenture.com wrote:
 Hi Allison,
 
 I have downloaded the package yesterday night, complied  
 installed. While I am starting the nmbd  smbd process, I am getting below 
 error.
 
 
 # ./nmbd
 exec(): 0509-036 Cannot load program ./nmbd because of the following errors:
 0509-150   Dependent module libwbclient.so could not be loaded.
 0509-022 Cannot load module libwbclient.so.
 0509-026 System error: A file or directory in the path name does not 
 exist.
 # ./smbd
 exec(): 0509-036 Cannot load program ./smbd because of the following errors:
 0509-150   Dependent module libtalloc.so could not be loaded.
 0509-022 Cannot load module libtalloc.so.
 0509-026 System error: A file or directory in the path name does not 
 exist.

You need to fix your shared library load paths. Hopefully an AIX expert can 
help.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Unable to start Samba on AIX 6.1

2012-03-22 Thread Tim Evans

On 03/22/2012 11:54 AM, Jeremy Allison wrote:

On Mon, Mar 12, 2012 at 05:17:39PM +, neetesh.gu...@accenture.com wrote:

Hi Allison,

 I have downloaded the package yesterday night, complied  
installed. While I am starting the nmbd  smbd process, I am getting below error.


# ./nmbd
exec(): 0509-036 Cannot load program ./nmbd because of the following errors:
 0509-150   Dependent module libwbclient.so could not be loaded.
 0509-022 Cannot load module libwbclient.so.
 0509-026 System error: A file or directory in the path name does not 
exist.
# ./smbd
exec(): 0509-036 Cannot load program ./smbd because of the following errors:
 0509-150   Dependent module libtalloc.so could not be loaded.
 0509-022 Cannot load module libtalloc.so.
 0509-026 System error: A file or directory in the path name does not 
exist.


You need to fix your shared library load paths. Hopefully an AIX expert can 
help.


I have the following lines in /etc/rc.tcpip for startup (this is AIX 5.2):

LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/local/samba/lib 
/usr/local/samba/sbin/smbd -s /usr/local/samba/lib/smb.conf
LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/local/samba/lib 
/usr/local/samba/sbin/nmbd -s /usr/local/samba/lib/smb.conf


--
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   tkev...@tkevans.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Unable to start Samba on AIX 6.1

2012-03-21 Thread neetesh.gupta
Hi Allison,

I have downloaded the package yesterday night, complied  
installed. While I am starting the nmbd  smbd process, I am getting below 
error.


# ./nmbd
exec(): 0509-036 Cannot load program ./nmbd because of the following errors:
0509-150   Dependent module libwbclient.so could not be loaded.
0509-022 Cannot load module libwbclient.so.
0509-026 System error: A file or directory in the path name does not 
exist.
# ./smbd
exec(): 0509-036 Cannot load program ./smbd because of the following errors:
0509-150   Dependent module libtalloc.so could not be loaded.
0509-022 Cannot load module libtalloc.so.
0509-026 System error: A file or directory in the path name does not 
exist.
#


Thanks
Neetesh Gupta
Accenture Infrastructure Outsourcing
AIX Administrator
Stanford Hospital and Clinics
phone:   +1 6122984817
e-mail:  neetesh.gu...@accenture.com
Team email id : shc-u...@accenture.com
ITSM queue : IM-DCS-SHC-AIX-UNIX-Server


-Original Message-
From: Jeremy Allison [mailto:j...@samba.org]
Sent: Monday, March 12, 2012 12:10 PM
To: Gupta, Neetesh
Cc: samba@lists.samba.org
Subject: Re: [Samba] Unable to start Samba on AIX 6.1

On Fri, Mar 09, 2012 at 04:42:49PM +, neetesh.gu...@accenture.com wrote:
 Hi All,

 I have installed the SAMBA 3.2.0.0 on my AIX 6.1 machine. 
 While I am starting nmbd process, I am getting below error.

 [2012/03/08 20:52:20,  0] nmbd/nmbd.c:main(849)
   nmbd version 3.2.0 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2012/03/08 20:52:20,  0] lib/interface.c:load_interfaces(517)
   ERROR: Could not determine network interfaces, you must use a
 interfaces config line


 While I added the below two lines in my smb.conf file

interfaces = en2
bind interfaces only = yes

nmbd is crashing with below error.

 [2012/03/08 20:44:45,  0] nmbd/nmbd.c:main(849)
   nmbd version 3.2.0 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2012/03/08 20:44:46,  0] lib/interface.c:load_interfaces(540)
   WARNING: no network interfaces found
 [2012/03/08 20:44:46,  0] nmbd/nmbd_subnetdb.c:create_subnets(205)
   create_subnets: No local interfaces !
 [2012/03/08 20:44:46,  0] nmbd/nmbd_subnetdb.c:create_subnets(206)
   create_subnets: Waiting for an interface to appear ...
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(40)
   ===
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(41)
   INTERNAL ERROR: Signal 11 in pid 46203380 (3.2.0)
   Please read the Trouble-Shooting section of the Samba3-HOWTO
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(43)

   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(44)
   ===
 [2012/03/08 20:44:51,  0] lib/util.c:smb_panic(1666)
   PANIC (pid 46203380): internal error
 [2012/03/08 20:44:51,  0] lib/util.c:log_stack_trace(1820)
   unable to produce a stack trace on this platform
 [2012/03/08 20:44:51,  0] lib/fault.c:dump_core(201)
   dumping core in /var/cores/nmbd

3.2.0 is a very old, unsupported release. Is there a chance you can install the 
latest 3.6.3 release instead ?

Jeremy.



Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
__

www.accenture.com

Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
__

www.accenture.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Unable to start Samba on AIX 6.1

2012-03-21 Thread neetesh.gupta
Done that  below is my smb.conf file

# cat /usr/local/samba/lib/smb.conf
[global]
   workgroup = Materials
   server string = MSCM Share Server
   max log size = 100
   load printers = No
   dns proxy = No
   security = share

[mscmshare]
   path = /home/ngupta
   read only = No
   guest ok = Yes



I am able to start nmbd process but unable to start smbd process.

# pwd
/usr/local/samba/sbin
# ./nmbd 
[1] 8782068
# ./smbd 
[2] 11141138
#
[2] + Illegal instruction(coredump) ./smbd 
# ps -ef |grep -i mbd
root  8782068 11010066  91 12:33:39  pts/2  0:09 ./nmbd
root 11141140 11010066   0 12:33:56  pts/2  0:00 grep -i mbd

Thanks
Neetesh Gupta
Accenture Infrastructure Outsourcing
AIX Administrator
Stanford Hospital and Clinics
phone:   +1 6122984817
e-mail:  neetesh.gu...@accenture.com
Team email id : shc-u...@accenture.com
ITSM queue : IM-DCS-SHC-AIX-UNIX-Server


-Original Message-
From: Jeremy Allison [mailto:j...@samba.org]
Sent: Monday, March 12, 2012 1:18 PM
To: Gupta, Neetesh
Cc: j...@samba.org; samba@lists.samba.org
Subject: Re: [Samba] Unable to start Samba on AIX 6.1

On Mon, Mar 12, 2012 at 05:17:39PM +, neetesh.gu...@accenture.com wrote:
 Hi Allison,

 I have downloaded the package yesterday night, complied  
 installed. While I am starting the nmbd  smbd process, I am getting below 
 error.


 # ./nmbd
 exec(): 0509-036 Cannot load program ./nmbd because of the following errors:
 0509-150   Dependent module libwbclient.so could not be loaded.
 0509-022 Cannot load module libwbclient.so.
 0509-026 System error: A file or directory in the path name does not 
 exist.
 # ./smbd
 exec(): 0509-036 Cannot load program ./smbd because of the following errors:
 0509-150   Dependent module libtalloc.so could not be loaded.
 0509-022 Cannot load module libtalloc.so.
 0509-026 System error: A file or directory in the path name does not 
 exist.

Set your shared library load path to /usr/local/samba/lib.



Subject to local law, communications with Accenture and its affiliates 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with Accenture policy.
__

www.accenture.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Unable to start Samba on AIX 6.1

2012-03-12 Thread Jeremy Allison
On Fri, Mar 09, 2012 at 04:42:49PM +, neetesh.gu...@accenture.com wrote:
 Hi All,
 
 I have installed the SAMBA 3.2.0.0 on my AIX 6.1 machine. 
 While I am starting nmbd process, I am getting below error.
 
 [2012/03/08 20:52:20,  0] nmbd/nmbd.c:main(849)
   nmbd version 3.2.0 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2012/03/08 20:52:20,  0] lib/interface.c:load_interfaces(517)
   ERROR: Could not determine network interfaces, you must use a interfaces 
 config line
 
 
 While I added the below two lines in my smb.conf file
 
interfaces = en2
bind interfaces only = yes
 
nmbd is crashing with below error.
 
 [2012/03/08 20:44:45,  0] nmbd/nmbd.c:main(849)
   nmbd version 3.2.0 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2008
 [2012/03/08 20:44:46,  0] lib/interface.c:load_interfaces(540)
   WARNING: no network interfaces found
 [2012/03/08 20:44:46,  0] nmbd/nmbd_subnetdb.c:create_subnets(205)
   create_subnets: No local interfaces !
 [2012/03/08 20:44:46,  0] nmbd/nmbd_subnetdb.c:create_subnets(206)
   create_subnets: Waiting for an interface to appear ...
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(40)
   ===
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(41)
   INTERNAL ERROR: Signal 11 in pid 46203380 (3.2.0)
   Please read the Trouble-Shooting section of the Samba3-HOWTO
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(43)
 
   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
 [2012/03/08 20:44:51,  0] lib/fault.c:fault_report(44)
   ===
 [2012/03/08 20:44:51,  0] lib/util.c:smb_panic(1666)
   PANIC (pid 46203380): internal error
 [2012/03/08 20:44:51,  0] lib/util.c:log_stack_trace(1820)
   unable to produce a stack trace on this platform
 [2012/03/08 20:44:51,  0] lib/fault.c:dump_core(201)
   dumping core in /var/cores/nmbd

3.2.0 is a very old, unsupported release. Is there a
chance you can install the latest 3.6.3 release instead ?

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Unable to start Samba on AIX 6.1

2012-03-12 Thread Jeremy Allison
On Mon, Mar 12, 2012 at 05:17:39PM +, neetesh.gu...@accenture.com wrote:
 Hi Allison,
 
 I have downloaded the package yesterday night, complied  
 installed. While I am starting the nmbd  smbd process, I am getting below 
 error.
 
 
 # ./nmbd
 exec(): 0509-036 Cannot load program ./nmbd because of the following errors:
 0509-150   Dependent module libwbclient.so could not be loaded.
 0509-022 Cannot load module libwbclient.so.
 0509-026 System error: A file or directory in the path name does not 
 exist.
 # ./smbd
 exec(): 0509-036 Cannot load program ./smbd because of the following errors:
 0509-150   Dependent module libtalloc.so could not be loaded.
 0509-022 Cannot load module libtalloc.so.
 0509-026 System error: A file or directory in the path name does not 
 exist.

Set your shared library load path to /usr/local/samba/lib.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba