Results 1 to 3 of 3

Thread: Samba problem, errors on startup.

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    Shanghai, China
    Posts
    9

    Samba problem, errors on startup.

    I am making a file server remaster so that I can create a fileserver out of anything without having to install and configure all the services each time. However, I've run into a little problem.
    When I have the image extracted (The compressed file system image) and I start samba when I'm chrooted it works perfectly. However when I compress the file system and start samba it gives me a huge number of errors.

    In the log file it says:
    smbd version 3.0.2-Debian started
    and then a few seconds later
    Unable to open printcap file /etc/printcap for read!
    Failed to open /var/lib/samba/secrets.tdb

    But it only shows this when I have compressed the image and am booting from it.
    I was wondering how do I get this working? I already have everything else working. (FTP Server, SSH Server (static keys), network config))

    Any help is welcome,

    - Robbert

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Location
    Shanghai, China
    Posts
    9
    This is just an update.

    I have beenable to get rid of the "Unable to open printcap file", by removing the print capabilities in the smb.conf file. I did this since I'm not gonna use this anyway. However I am still having the other problems, and I can't figure out why.

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Location
    Shanghai, China
    Posts
    9
    Well I took a few days off, but when I returned a few more hours of work, and I finally got Samba running. The problem seems to be that the files in the /var/lib/samba directory are symlinked to /KNOPPIX/var/lib/samba. To fix the issue I remove the links and replace the files with the origionlas before I start samba.

    That fixed all of my problems

Similar Threads

  1. Drive CRC errors upon startup after HD install
    By allanorn in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 01-04-2005, 06:06 PM
  2. Knoppix Live 3.4 Startup Problem
    By nitaliano in forum General Support
    Replies: 1
    Last Post: 06-25-2004, 03:14 AM
  3. Replies: 0
    Last Post: 06-13-2004, 10:59 PM
  4. Problem with apt-get update - unstable repository errors
    By Durand Hicks in forum General Support
    Replies: 1
    Last Post: 04-24-2004, 03:42 AM
  5. SAMBA Question/problem
    By tl1moss in forum Networking
    Replies: 5
    Last Post: 12-28-2003, 02:59 PM

Posting Permissions

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


Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1690.40



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$316.61



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$90.00



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$105.99



Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$452.53



Western Digital 1TB SSD, PC SN730 NVMe PCIe Gen3 x4 M.2 2280 SDBPNTY-1T00 WD picture

Western Digital 1TB SSD, PC SN730 NVMe PCIe Gen3 x4 M.2 2280 SDBPNTY-1T00 WD

$99.50



External SSD 1TB 2TB  Portable Hard Drive USB 3.1 Type-C High Speed PC Mac picture

External SSD 1TB 2TB Portable Hard Drive USB 3.1 Type-C High Speed PC Mac

$15.99



SanDisk Ultra 3D SSD 1TB, SDSSDH3 2.5

SanDisk Ultra 3D SSD 1TB, SDSSDH3 2.5" SSD Drive SATA III 6GB/S (SDSSDH3-1T02)

$138.56