Results 1 to 10 of 10

Thread: SAMBA 2 will not run

  1. #1

    SAMBA 2 will not run

    Hello,

    I would use SAMBA2 with SWAT on my WL500gP.
    SAMBA demo mode is disabled in the web interface.
    I install SAMBA2 with:
    Code:
    ipkg update
    ipkg remove samba
    ipkg install samba2
    ipkg install xinetd
    I configure the /opt/etc/xinetd.d/swat for the user admin.
    SWAT starts and works fine with http://192.168.1.1:901
    I configure the SAMBA as I like.
    Here is my smb.conf:
    Code:
    # Global parameters
    [global]
            workgroup = MATRIX
            server string = WL500gP Samba Optware Server
            security = SHARE
            encrypt passwords = Yes
            log file = /opt/logs/samba.log
            max log size = 50
            load printers = No
            dns proxy = No
    
    [OPT$]
            comment = OPT on WL500gP
            path = /opt
            force user = admin
            read only = No
            guest ok = Yes
    If I start the SAMBA via the /opt/etc/init.d/S80samba the server doesn't start.
    what I can see for a short time (~2 secs) with the ps command is:
    Code:
    367 admin      1188 S   /opt/sbin/nmbd -D
    after that the nmbd process is no more visible.
    There are my installed ipkg packages:
    Code:
    bzip2 - 1.0.4-1 - Very high-quality data compression program
    cron - 4.1-5 - Standard vixie cron, with cron.d addition
    gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
    ipkg - 0.99.149-2 - lightweight package management system
    libdb - 4.2.52-3 - Berkeley DB Libraries
    libstdc++ - 0.2.0-6 - =Standard C++ library, wrapped for uClibc++
    libuclibc++ - 0.1.12-4 - C++ standard library designed for use in embedded systems
    libxml2 - 2.6.27-2 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
    libxslt - 1.1.20-1 - An XML Stylesheet processor based on libxml2
    nano - 2.0.6-1 - A pico like editor
    ncurses - 5.6-1 - NCurses libraries
    openssl - 0.9.7m-1 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
    pcre - 6.7-5 - Perl-compatible regular expression library
    php - 5.2.2-1 - The php scripting language
    php-thttpd - 2.25b-5.2.2-4 - php-thttpd is thttpd webserver with php support
    samba2 - 2.2.12-1 - Lightweight Samba suite provides file and print services to SMB/CIFS clients.
    zlib - 1.2.3-2 - zlib is a library implementing the 'deflate' compression system.
    and that are the result of my mount:
    Code:
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/discs/disc0/part2 on /opt type ext3 (rw)
    /dev/discs/disc1/part1 on /tmp/harddisk type ext3 (rw,noatime)
    I can't start the new SAMBA2 (with SWAT). The SAMBA version that comes with Olegs 1.9.2.7-7g, works fine! But not the SAMBA version installed with
    Code:
    ipkg install samba2
    Have any one an idea to solve this problem?

  2. #2
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Code:
    [global]
            interfaces = br0
            bind interfaces only = yes
            workgroup = WORKGROUP
            guest account = nobody
            security = share
            browseable = yes
            guest ok = yes
            guest only = yes
            log level = 1
            log file = /opt/var/log/smbd-%m.log
            max log size = 100
            local master = true
            preferred master = true
            os level = 65
            encrypt passwords = no
            preserve case = yes
            short preserve case = yes
            server string = "wl500g"
    [opt$]
            path = /opt
            writable = yes
            force user = admin
            browseable = no
          comment = "RW"

  3. #3
    Join Date
    Aug 2006
    Location
    Hangover
    Posts
    57
    Same problem, oleo's smb.conf also won't work on wl-hdd.
    Some people reported a downgrade to the 1.9.2.7-7c would help... but not for me

  4. #4

    Angry

    Same result, SAMBA2 will not start.
    And now?
    I test also this smb.conf with version 1.9.2.7-7c and all the same installed packages... doesn't work.


  5. #5
    @Oleo:
    is the path to the nmbd and smbd: /opt/sbin/ ?
    or is /usr/sbin/ right?
    I think the second path is the path to the samba provided with the firmware.
    Can you look in your SAMBA startup script? And tell me what the correct value is?
    And the next: is it recommendable to start samba via xinet?
    Last edited by rj.2001; 11-05-2007 at 23:38.

  6. #6
    Have you guys found a solution yet? I have the same problem with the samba2 package. I've found out that starting smbd from /opt/sbin in interactive mode (parameter -i) retruns a "bad system call" error message. But I don't know what to do with it...

  7. #7
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736

  8. #8
    I had the same problem and solved it by setting the hostname.

  9. #9
    Wessie!

    How (or where) can you set the hostname is samba2???

  10. #10
    Quote Originally Posted by b1848 View Post
    Wessie!

    How (or where) can you set the hostname is samba2???
    You can set the hostname via the webinterface by selecting [IP Config] -> [WAN & LAN] -> [LAN IP Setting].
    Last edited by Wessie; 15-08-2007 at 11:58.

Similar Threads

  1. Upgrade samba to Version 3
    By sivan_ms in forum WL-500gP Firmware Discussion
    Replies: 15
    Last Post: 01-06-2013, 01:12
  2. How to run pppoe and dyndns
    By hugo in forum WL-HDD Q&A
    Replies: 4
    Last Post: 05-01-2007, 22:04
  3. SAMBA: just one share shows up
    By MHz in forum WL-500g Q&A
    Replies: 1
    Last Post: 27-08-2006, 17:15
  4. WebDAV und externen FTP via Samba für Win zur Verfügung stellen
    By rj.2001 in forum German Discussion - Deutsch (DE)
    Replies: 2
    Last Post: 01-06-2006, 21:39
  5. Samba fail to start
    By mururoa in forum WL-500g Q&A
    Replies: 6
    Last Post: 29-05-2006, 10:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •