I have a brand new in stall of samba4 on a FreeBSD 10 machine and I am getting these messages on the console practically all the time. I have actually disabled load printer list in globals but it does not seem to make any difference, I am not intending to use it as a printserver at all, just for files, it is to replace a system which is quite old and running out of space Jul 11 20:24:25 server smbd[2480]: [2014/07/11 20:24:25.107693, 0] ../lib/util/pidfile.c:153(pidfile_unlink) Jul 11 20:24:25 server smbd[2480]: Failed to delete pidfile /var/run/samba4/smbd.pid. Error was No such file or directory Jul 11 20:25:18 server smbd[2485]: [2014/07/11 20:25:18.037739, 0] ../source3/printing/print_cups.c:151(cups_connect) Jul 11 20:25:18 server smbd[2485]: Unable to connect to CUPS server localhost:631 - Bad file descriptor Jul 11 20:25:18 server smbd[2484]: [2014/07/11 20:25:18.317527, 0] ../source3/printing/print_cups.c:528(cups_async_callback) Jul 11 20:25:18 server smbd[2484]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Jul 11 20:26:18 server smbd[2487]: [2014/07/11 20:26:18.108999, 0] ../source3/printing/print_cups.c:151(cups_connect) Jul 11 20:26:18 server smbd[2487]: Unable to connect to CUPS server localhost:631 - Bad file descriptor Jul 11 20:26:18 server smbd[2484]: [2014/07/11 20:26:18.109458, 0] ../source3/printing/print_cups.c:528(cups_async_callback) Jul 11 20:26:18 server smbd[2484]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL could someone point me to a way to disable this cheers -- Martin
On Fri, Jul 11, 2014 at 09:20:16PM +0100, Martin Smith wrote:> I have a brand new in stall of samba4 on a FreeBSD 10 machine and I > am getting these messages on the console practically all the time. > I have actually disabled load printer list in globals but it does > not seem to make any difference, I am not intending to use it as a > printserver at all, just for files, it is to replace a system which > is quite old and running out of space > > Jul 11 20:24:25 server smbd[2480]: [2014/07/11 20:24:25.107693, 0] > ../lib/util/pidfile.c:153(pidfile_unlink) > Jul 11 20:24:25 server smbd[2480]: Failed to delete pidfile > /var/run/samba4/smbd.pid. Error was No such file or directory > Jul 11 20:25:18 server smbd[2485]: [2014/07/11 20:25:18.037739, 0] > ../source3/printing/print_cups.c:151(cups_connect) > Jul 11 20:25:18 server smbd[2485]: Unable to connect to CUPS > server localhost:631 - Bad file descriptor > Jul 11 20:25:18 server smbd[2484]: [2014/07/11 20:25:18.317527, 0] > ../source3/printing/print_cups.c:528(cups_async_callback) > Jul 11 20:25:18 server smbd[2484]: failed to retrieve printer > list: NT_STATUS_UNSUCCESSFUL > Jul 11 20:26:18 server smbd[2487]: [2014/07/11 20:26:18.108999, 0] > ../source3/printing/print_cups.c:151(cups_connect) > Jul 11 20:26:18 server smbd[2487]: Unable to connect to CUPS > server localhost:631 - Bad file descriptor > Jul 11 20:26:18 server smbd[2484]: [2014/07/11 20:26:18.109458, 0] > ../source3/printing/print_cups.c:528(cups_async_callback) > Jul 11 20:26:18 server smbd[2484]: failed to retrieve printer > list: NT_STATUS_UNSUCCESSFUL > > could someone point me to a way to disable this > cheersIf you set "printing = bsd" and have an empty printcap file that should do the trick I think.
Possibly Parallel Threads
- Samba 4.1.4 fails to recognize "load printers = NO"
- Error while display user info using wbinfo command
- I want a Fedora 20 system to be a member server and offer a share in a Windows 2008R2 Active Directory domain
- wins: no nmblookup on 192.168.1.255 but 192.168.1.2
- lprng printing fails to connect to cups