Posts Tagged Samba

Make Samba and CUPS in Debian friends again

I’ve seen a lot of these entries in logfiles recently:

[] printing/print_cups.c:cups_job_submit(656)
Unable to print file to - client-error-bad-request

And the printing is stopped, of course.

The solution is simple:

LANG=en_US.UTF-8 /etc/init.d/samba restart

In short:
/var/log/cups/error_log shows a lot of

E [] Unsupported character set "iso-8859-1"!

CUPS requires UTF-8.
In the case of default login in Debian, the console IS in UTF-8, but is not if you have customized it and use `su` for administrative tasks.

C’ia.

Tags: , ,

Troubles in remote server management

Had a severe issue with Samba server recently: it refused to serve after some undefined amount of time. It could work for a days perfectly or could be completely unreachable in several minutes after restart. Logs were useless, even in the highest possible debug level.

Read the rest of this entry »

Tags: ,