Re: Cupsエラー
( No.1 )
|
 |
- 日時: 2007/07/10 22:31
- 名前: CupsMaster
-
https;//●●:631/ ではアクセスできないのは当然。
それともタイプミス?
仮に https://●●:631/ だったとして、ServerCertificate /etc/httpd/conf/server.crtとServerKey /etc/httpd/conf/server.keyで作ったサーバ名はアクセス名と一致してるんでしょうか?
あと、印刷できない理由としてドライバ等(プリンタ選択)が完全一致してますかね?
|
Re: Cupsエラー
( No.2 )
|
 |
- 日時: 2007/07/11 12:47
- 名前: pepe
-
CupsMaster様
コメントありがとうございます。 >https;//●●:631/ ではアクセスできないのは当然。 すいません。これは説明不足でした。 ここには、サーバドメインかIPの192.168.1.100 を入れてアクセスを試みています。
また、ご指摘の >仮に https://●●:631/ だったとして、ServerCertificate /etc/httpd/conf/server.crtとServerKey /etc/httpd/conf/server.keyで作ったサーバ名はアクセス名と一致してるんでしょうか?
これがちょっと不安だった為、もう一度キーを作成しなおしてたところ、 https://192.168.1.100:631/ はアクセスできるようになりました。 ありがとうございます。 しかし、テストプリントもクライアントWINDOWSからのプリントも以前と同じようなエラーがまだ出ています。 ※LogLevel debug だと貼り付けきらないので、infoのタイプで貼り付けます。
テストページを印刷しようとした時のlog I [11/Jul/2007:12:37:35 +0900] commptr="?op=print-test-page" I [11/Jul/2007:12:37:35 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=21155) I [11/Jul/2007:12:37:35 +0900] Adding start banner page "none" to job 16. I [11/Jul/2007:12:37:35 +0900] Adding end banner page "none" to job 16. I [11/Jul/2007:12:37:35 +0900] Job 16 queued on "LBP3210" by "root". I [11/Jul/2007:12:37:35 +0900] Started filter /usr/lib/cups/filter/pstops (PID 21156) for job 16. I [11/Jul/2007:12:37:35 +0900] Started filter /usr/lib/cups/filter/pstocapt (PID 21157) for job 16. I [11/Jul/2007:12:37:35 +0900] Started backend /usr/lib/cups/backend/ccp (PID 21158) for job 16. I [11/Jul/2007:12:37:37 +0900] commptr="" I [11/Jul/2007:12:37:37 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=21226) I [11/Jul/2007:12:37:47 +0900] commptr="" I [11/Jul/2007:12:37:47 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=21514) I [11/Jul/2007:12:37:57 +0900] commptr="" I [11/Jul/2007:12:37:57 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=21860)
クライアントWINDOWSから印刷しようとした時のlog I [11/Jul/2007:12:38:08 +0900] commptr="" I [11/Jul/2007:12:38:08 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=22130) I [11/Jul/2007:12:38:18 +0900] commptr="" I [11/Jul/2007:12:38:18 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=22478) I [11/Jul/2007:12:38:28 +0900] commptr="" I [11/Jul/2007:12:38:28 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=22772) I [11/Jul/2007:12:38:38 +0900] commptr="" I [11/Jul/2007:12:38:38 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=23094) I [11/Jul/2007:12:38:48 +0900] commptr="" I [11/Jul/2007:12:38:48 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=23384) I [11/Jul/2007:12:38:58 +0900] commptr="" I [11/Jul/2007:12:38:58 +0900] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=23687) I [11/Jul/2007:12:39:01 +0900] commptr="?op=cancel-job&job_id=16&job_printer_uri=/printers/LBP3210" I [11/Jul/2007:12:39:01 +0900] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=23730) I [11/Jul/2007:12:39:01 +0900] Job 16 was canceled by "root". E [11/Jul/2007:12:39:01 +0900] PID 21158 (/usr/lib/cups/backend/ccp) stopped with status 1! I [11/Jul/2007:12:39:01 +0900] Hint: Try setting the LogLevel to "debug" to find out more. I [11/Jul/2007:12:39:17 +0900] Adding start banner page "none" to job 17. I [11/Jul/2007:12:39:17 +0900] Adding end banner page "none" to job 17. I [11/Jul/2007:12:39:17 +0900] Job 17 queued on "LBP3210" by "Pay". I [11/Jul/2007:12:39:17 +0900] Started backend /usr/lib/cups/backend/ccp (PID 24232) for job 17.
この PID 21158 (/usr/lib/cups/backend/ccp) stopped with status 1! というのがちょっと引っかかります。
一歩前進しましたが、申し訳ありませんが、どなたかご教授宜しくお願いいたします。
|
Re: Cupsエラー
( No.3 )
|
 |
- 日時: 2007/07/11 18:20
- 名前: CupsMaster
-
>https;//●●:631/ ではアクセスできないのは当然。
>すいません。これは説明不足でした
指摘したのは●●ではなくって、”;”のところです。 いづれにしても、解決できてよかったですね。
system-config-printerの新規プリンタの追加で、該当のプリンタを選択し直して見てはどうでしょう。 まれに(50%の確立??)、ブラウザから設定したプリンタでは動かない事が多々あります。
これでも駄目なら、メーカサイトに行ってみてLinux用ドライバがあるかどうかを探してみるのも手です。 同メーカ海外サイトも忘れずに見てみてください。日本サイトになくって海外サイトにある場合もありますので。
|
Re: Cupsエラー
( No.4 )
|
 |
- 日時: 2007/07/11 20:03
- 名前: pepe
-
CupsMaster様
ご指摘ありがとうございます。
すいません。いろいろ初歩的なことを伺います。 system-config-printerの新規プリンタ追加とは、 プリントスプーラとccpdデーモンにプリンタを追加するというのと一緒の意味でしょうか? /usr/sbin/lpadmin -p LBP3210 -m CNCUPSLBP3210CAPTJ.ppd -v ccp:/var/ccpd/fifo0 -E /usr/sbin/ccpdadmin -p LBP3210 -o /dev/usb/lp0 上記のコマンドでは、/var/log/cups/error_logのエラー内容は変わりませんでした。
今になって気づきましたが、 /var/log/message にエラーログがありました。
Jul 11 19:56:52 centos last message repeated 23855 times Jul 11 19:56:52 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:52 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:52 centos last message repeated 11 times Jul 11 19:56:52 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:52 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:52 centos last message repeated 11 times Jul 11 19:56:52 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:52 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:52 centos last message repeated 11 times Jul 11 19:56:52 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:52 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:52 centos last message repeated 11 times Jul 11 19:56:52 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:52 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:53 centos last message repeated 11 times Jul 11 19:56:53 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:53 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:53 centos last message repeated 11 times Jul 11 19:56:53 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:53 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:53 centos last message repeated 11 times Jul 11 19:56:53 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:53 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:53 centos last message repeated 22 times Jul 11 19:56:53 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:53 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:53 centos last message repeated 11 times Jul 11 19:56:54 centos init: open(/dev/pts/0): No such file or directory Jul 11 19:56:54 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status Jul 11 19:56:54 centos last message repeated 11 times Jul 11 19:56:54 centos init: Id "x" respawning too fast: disabled for 5 minutes Jul 11 19:56:54 centos kernel: drivers/usb/class/usblp.c: usblp0: error -32 reading printer status
>これでも駄目なら、メーカサイトに行ってみてLinux用ドライバがあるかどうかを探してみるのも手です。 >同メーカ海外サイトも忘れずに見てみてください。日本サイトになくって海外サイトにある場合もありますので。
CanonLBP3210はLinuxのプリンタドライバがメーカーに公開されており、 Linuxのドライバを使った印刷と、本サイトのwindowsのドライバを使用して印刷する という2パターンを試していますが、いづれもうまくいってません。
すいません。Linux用のドライバがあって、ドライバインストールしているというのを先にお伝えするべきでした。
結果的には、windowsクライアントから印刷できるようになればいいため、 Linuxのドライバを使用しても、しないで、winのドライバで印刷してもかまいません。
宜しくお願いいたします。
|
Re: Cupsエラー
( No.5 )
|
 |
- 日時: 2007/07/11 21:32
- 名前: まさ
-
割り込み失礼致します。
こんなのがありましたけど、当然ご覧になられていますよね? ただサポートにCentOS4.5はなかったんですけど・・・ 余計なお世話だったらすみません・・・・・
http://cweb.canon.jp/drv-upd/lasershot/linux/captlinux.html
|
Re: Cupsエラー
( No.6 )
|
 |
- 日時: 2007/07/11 23:47
- 名前: pepe
-
まさ様
コメントありがとうございます。
ちょっと文章がわかりづらかったかも知れません。
canonのLinuxドライバを使用して印刷するパターンと 本サイトのLinuxドライバを使用しないで印刷するパターン の2パターンを試してみています。
が、いづれの場合もうまくいっていません。
どちらのパターンでも印刷できるようになれば、OKなんですが。。。
宜しくお願いいたします。
|
Re: Cupsエラー
( No.7 )
|
 |
- 日時: 2007/07/12 20:22
- 名前: nipe
-
こんにちわ。
X-WINDOW内のプリンタの追加で行ってみてはどうでしょうか?
|
Re: Cupsエラー
( No.8 )
|
 |
- 日時: 2007/07/17 21:13
- 名前: pepe
-
nipe様
コメントありがとうございます。
>X-WINDOW内のプリンタの追加で行ってみてはどうでしょうか? 認識自体はされているようです。
ちょっと時間あいてしましましたが、いろいろおこなってみました。 結果、ちょっと状況が変わりました。 結局当初の構成では打開できませんでした。 そこで、CentOS4.5にソースインストールでUPDATEしたCupsに問題があるのかな? と考え、※結果的にはわかりませんが。
再度CentOS5をインストールし、 デフォルトのCups1.2を使用。 canonの純正プリントドライバーとプリンターデーモンをインストール http://cweb.canon.jp/drv-upd/lasershot/linux/captlinux.html をしました。
その結果、 https://サーバアドレス:631内でのテストプリント Linuxサーバ内でのローカルプリント は行えるようになりました。 が、相変わらず、クライアントPCwindowsからのプリントはできておりません。 ※認識はされます。cupsLogにも書き込みあります。
/var/log/cups/error_logの内容 I [17/Jul/2007:21:01:05 +0900] Adding start banner page "none" to job 17. I [17/Jul/2007:21:01:05 +0900] Adding end banner page "none" to job 17. I [17/Jul/2007:21:01:05 +0900] Job 17 queued on "LBP3210" by "Pay". I [17/Jul/2007:21:01:05 +0900] Started backend /usr/lib/cups/backend/ccp (PID 18661) for job 17.
windows上のプリントステータスは プリンタがサポートしていないポートに接続されています。 ポートを確認してください。 と間髪あけずに表示されます。
関係しそうな設定箇所の /etc/cups/mime.type /etc/cups/mime.convs は本サイトの通り application/octet-stream application/octet-stream application/vnd.cups-raw 0 - 共にコメントアウトを取ってあります。
だんだん状況はよくなってきてはいますが、 ここからの確認方法などご教授いただければと思います。
宜しくお願いいたします。
|
Re: Cupsエラー
( No.9 )
|
 |
- 日時: 2007/07/23 21:56
- 名前: pepe
-
nipe様、まさ様
せっかく助言いただきましたが、 その後もいろいろ試してみましたが、 状況は一進一退で、今回はあきらめることにいたしました。
参考までに、 最後怪しかったのが、クライアントとの通信がうまくできていないようなログがsambaで有りました。 ※しかしファイルサーバは問題ありません。 そのログと、cupsのクライアントからの印刷時の動作を いろいろネットで調べてみた結果、 サーバ側から、クライアントへの接続?ができていないのでは? のような記事もありました。
以下参考記事 http://bbs.fedora.jp/read.php?FID=8&TID=4055 http://ml.orca.med.or.jp/orca-users/thrd10.html#09661 http://lists.debian.or.jp/debian-users/200508/msg00209.html
また機会がきたら、再チャレンジしたいと思います。
ありがとうございました。
|