|
| Dele printer med Samba Fra : // Overby |
Dato : 28-10-03 23:16 |
|
Hejsa,
Jeg har sat en Samba server op, hvor jeg gerne vil dele en printer. Jeg kan
sagtens se den i windows, men når jeg vil skrive ud, sker der intet. Jeg
tror ikke jeg har angivet det rigtige spool-bibliotek.
Nogen der ved hvor spool til printer ligger i RH9?
/Daniel
| |
Kasper Nielsen (29-10-2003)
| Kommentar Fra : Kasper Nielsen |
Dato : 29-10-03 11:20 |
|
Vil tro i /var/spool/lp
Men start med at tjekke logs i /var/logs/samba
Du skal nok bruge den log der hedder noget med din workstaitons navn.....så
kan du sikkert se HVORFOR printeren ikke virker.
Jeg vil tro at den skriver noget med format ikke understøttet.....
Du skal have rettet i 2 filer hvis du bruger CUPS :
/etc/cups/mime.convs
og
/etc/cups/mime.types
I den første fil skal du nederst i filen fjerne kommentar tegnet (#) fra
starten af linien :
application/octet-stream application/vnd.cups-raw 0 -
I den anden skal du, også nederst, fjerne kommentar tegn foran :
application/octet-stream
Så vil jeg tro du kan udskrive.
"// Overby" <mailFJERN@FJERNoverbyhansen.dk> wrote in message
news:bnmprr$1vko$1@news.cybercity.dk...
> Hejsa,
>
> Jeg har sat en Samba server op, hvor jeg gerne vil dele en printer. Jeg
kan
> sagtens se den i windows, men når jeg vil skrive ud, sker der intet. Jeg
> tror ikke jeg har angivet det rigtige spool-bibliotek.
>
> Nogen der ved hvor spool til printer ligger i RH9?
>
> /Daniel
>
>
| |
Ukendt (29-10-2003)
| Kommentar Fra : Ukendt |
Dato : 29-10-03 19:02 |
|
> Men start med at tjekke logs i /var/logs/samba
Samme problem her - her er min log:
[2003/07/28 22:58:42, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/07/28 22:58:42, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/28 22:59:23, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/07/28 22:59:23, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/28 23:13:25, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/07/28 23:13:25, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/28 23:13:31, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/07/28 23:13:31, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/29 10:42:17, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/07/29 10:42:17, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/29 10:58:39, 0] smbd/password.c:authorise_login(872)
authorise_login: rejected invalid user nobody
[2003/07/29 10:58:47, 0] smbd/password.c:authorise_login(872)
authorise_login: rejected invalid user nobody
[2003/07/29 10:58:47, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/29 10:59:36, 0] smbd/password.c:authorise_login(872)
authorise_login: rejected invalid user nobody
[2003/07/29 11:00:21, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/07/29 11:28:00, 0] smbd/service.c:make_connection(564)
Can't become connected user!
[2003/07/29 11:28:00, 0] smbd/service.c:make_connection(564)
Can't become connected user!
[2003/07/29 11:28:00, 0] smbd/service.c:make_connection(564)
Can't become connected user!
[2003/07/29 11:28:01, 0] smbd/service.c:make_connection(564)
Can't become connected user!
[2003/07/29 11:28:01, 0] smbd/service.c:make_connection(564)
Can't become connected user!
[2003/07/29 11:28:54, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 22:53:42, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 22:53:42, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 22:57:05, 0] param/loadparm.c:service_ok(2150)
WARNING: [printers] service MUST be printable!
[2003/08/15 22:57:05, 0] printing/pcap.c:pcap_printer_fn(371)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 22:59:16, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 22:59:16, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 23:00:29, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 23:00:29, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 23:02:56, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 23:02:56, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 23:06:05, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 23:06:05, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 23:06:52, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 23:06:52, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/15 23:07:38, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/15 23:07:38, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/18 20:59:59, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/18 20:59:59, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/18 21:05:57, 0] printing/pcap.c:pcap_printer_fn(371)
Unable to open printcap file /etc/printcap for read!
[2003/08/18 21:08:06, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/18 21:08:06, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/18 23:28:36, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/18 23:28:36, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2003/08/19 16:13:30, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = No route to host
[2003/08/20 00:51:11, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Connection reset by peer
[2003/08/20 15:24:17, 0] printing/pcap.c:pcap_printername_ok(288)
Unable to open printcap file /etc/printcap for read!
[2003/08/20 15:24:17, 0] smbd/service.c:make_connection(249)
laptop (192.168.1.8) couldn't find service dat
[2003/09/03 19:17:57, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Connection reset by peer
> Du skal nok bruge den log der hedder noget med din workstaitons navn.....så
> kan du sikkert se HVORFOR printeren ikke virker.
>
> Jeg vil tro at den skriver noget med format ikke understøttet.....
>
> Du skal have rettet i 2 filer hvis du bruger CUPS :
>
> /etc/cups/mime.convs
>
> og
>
> /etc/cups/mime.types
>
>
> I den første fil skal du nederst i filen fjerne kommentar tegnet (#) fra
> starten af linien :
> application/octet-stream application/vnd.cups-raw 0 -
>
> I den anden skal du, også nederst, fjerne kommentar tegn foran :
> application/octet-stream
>
>
>
> Så vil jeg tro du kan udskrive.
Det ændrer ikke noget :(
Mvh / Preben
--
If your Dell laptop is unstable, try change the power supply - it works!
But the Dell will still stink! Nothing can change that!!!
| |
Kim Emax (30-10-2003)
| Kommentar Fra : Kim Emax |
Dato : 30-10-03 00:00 |
|
64bit[at]mailme[dot]dk" <"64bit[at]mailme[dot]dk wrote:
> > Men start med at tjekke logs i /var/logs/samba
>
> Samme problem her - her er min log:
>
> [2003/07/28 22:58:42, 0] printing/pcap.c:pcap_printername_ok(288)
> Unable to open printcap file /etc/printcap for read!
Har man læserettigheder til /etc/printcap? Det kunne se ud som om det er
problemet.
--
Take Care
Kim Emax - master|minds: http://www.masterminds.dk
http://www.emax.dk - http://www.ayianapa.dk
Køb din vin online på http://www.gmvin.dk,
Danmarks måske mest avancerede VinWebShop
| |
Ukendt (30-10-2003)
| Kommentar Fra : Ukendt |
Dato : 30-10-03 21:58 |
|
Kim Emax wrote:
> 64bit[at]mailme[dot]dk" <"64bit[at]mailme[dot]dk wrote:
>
>>>Men start med at tjekke logs i /var/logs/samba
>>
>>Samme problem her - her er min log:
>>
>>[2003/07/28 22:58:42, 0] printing/pcap.c:pcap_printername_ok(288)
>> Unable to open printcap file /etc/printcap for read!
>
>
> Har man læserettigheder til /etc/printcap? Det kunne se ud som om det er
> problemet.
Hvilken bruger skal have læserettigheder? (Btw. har ikke lige tjekket
rettigheder, da jeg ikke er i nærheden af maskinen)
--
If your Dell laptop is unstable, try change the power supply - it works!
But the Dell will still stink! Nothing can change that!!!
| |
Kim Emax (31-10-2003)
| Kommentar Fra : Kim Emax |
Dato : 31-10-03 17:36 |
|
64bit[at]mailme[dot]dk" <"64bit[at]mailme[dot]dk wrote:
> Hvilken bruger skal have læserettigheder? (Btw. har ikke lige tjekket
> rettigheder, da jeg ikke er i nærheden af maskinen)
No idea, det var bare iøjenfaldende at det måske var der problemet lå. Lav
en chmod +r /etc/printcap som root, og se om det løser problemet. (tjek lige
rettighederne inden og sæt dem tilbage, hvis det ingen forskel gør)
--
Take Care
Kim Emax - master|minds: http://www.masterminds.dk
http://www.emax.dk - http://www.ayianapa.dk
Køb din vin online på http://www.gmvin.dk,
Danmarks måske mest avancerede VinWebShop
| |
Ukendt (31-10-2003)
| Kommentar Fra : Ukendt |
Dato : 31-10-03 20:30 |
|
Kim Emax wrote:
> 64bit[at]mailme[dot]dk" <"64bit[at]mailme[dot]dk wrote:
>
>
>>Hvilken bruger skal have læserettigheder? (Btw. har ikke lige tjekket
>>rettigheder, da jeg ikke er i nærheden af maskinen)
>
>
> No idea, det var bare iøjenfaldende at det måske var der problemet lå. Lav
> en chmod +r /etc/printcap som root, og se om det løser problemet. (tjek lige
> rettighederne inden og sæt dem tilbage, hvis det ingen forskel gør)
Ikke helt rigtigt, men tæt på... Filen eksisterer ikke, men der er jo en
/etc/printcap.cups istedet, så det kunne være jeg lige skulle få
instillet samba til det.
Takker
Mvh / preben
--
If your Dell laptop is unstable, try change the power supply - it works!
But the Dell will still stink! Nothing can change that!!!
| |
|
|