CUPSの問題が発生しております。エラーの回避方法を教えてください。

このQ&Aのポイント
  • CUPSの問題が発生しており、localhostに接続できません。
  • インストール済みのパッケージには、cups、samba、cups-sambaが含まれています。
  • エラーの回避方法を教えていただきたいです。
回答を見る
  • ベストアンサー

CUPS の問題です。

Script started on Sun Apr 8 02:59:08 2012 [umiboz@chacha ~]$ lynx http://127.0.0.1:631/ Looking up 127.0.0.1:631 Making HTTP connection to 127.0.0.1:631 Alert!: Unable to connect to remote host. lynx: Can't access startfile http://127.0.0.1:631/ [umiboz@chacha ~]$ exit exit Script done on Sun Apr 8 02:59:35 2012 ※ cups, samba, cups-samba 等は、packages でインストールしています。 エラーの回避方法、ご教授、頂きたく。

質問者が選んだベストアンサー

  • ベストアンサー
  • wormhole
  • ベストアンサー率28% (1619/5654)
回答No.1

>※ cups, samba, cups-samba 等は、packages でインストールしています。 他にも確認すべき事はあるんじゃないんですか? 何を確認すべきかはご自分でお考えください。

ugg06006
質問者

お礼

cupsd.sh? も chmod 755 で実行権も与えているのですが。 cupsd.conf? は、書き換えませんでした。

関連するQ&A

  • PPPログの記録設定

    自宅からMacを1台ADSL接続の場合、インターネットに接続するとコンソールのPPP.logが下記のように記録されます。 このログを記録させたり、させなかったりすることは出来るのでしょうか? それとも、接続すると必然的に記録されるのでしょうか? 記録の有無選択することが出来るのであれば設定するところを教えて下さい。 Sun Apr 30 18:57:27 2006 : PPPoE connecting to service '' [access concentrator '']... Sun Apr 30 18:57:28 2006 : PPPoE connection established. Sun Apr 30 18:57:28 2006 : Using interface ppp0 Sun Apr 30 18:57:28 2006 : Connect: ppp0 <--> socket[34:16] Sun Apr 30 18:57:28 2006 : CHAP authentication succeeded Sun Apr 30 18:57:28 2006 : local IP address ***.***.***.*** Sun Apr 30 18:57:28 2006 : remote IP address ***.***.***.*** Sun Apr 30 18:57:28 2006 : primary DNS address ***.***.***.*** Sun Apr 30 18:57:28 2006 : secondary DNS address ***.***.***.*** Sun Apr 30 19:18:18 2006 : Hangup (SIGHUP) Sun Apr 30 19:18:20 2006 : Connection terminated. Sun Apr 30 19:18:20 2006 : Connect time 20.9 minutes. Sun Apr 30 19:18:20 2006 : Sent 232780 bytes, received 2202753 bytes. Sun Apr 30 19:18:20 2006 : PPPoE disconnecting... Sun Apr 30 19:18:20 2006 : PPPoE disconnected Sun Apr 30 20:59:50 2006 : PPPoE connecting to service '' [access concentrator '']... Sun Apr 30 20:59:50 2006 : PPPoE connection established. Sun Apr 30 20:59:50 2006 : Using interface ppp0

    • ベストアンサー
    • Mac
  • XAMPP1.7.3でSetcookieで固まる

    XAMPP 1.7.3を使って、windows7(64bit)、PHPでサイト構築をしています。 apache 2.2.14 PHP 5.3.1 MYSQL 5.1.41 を使用しています。 レンタルサーバー上では普通に動くスクリプトが、localhost(PC)のテスト環境では、頻繁に画面が フリーズ(待機状態で固まる)になります。 ローカルとサーバー上で、phpinfo()の結果を見比べても違いはないようです。 どうやら、Setcookie または session_start をするときに、不具合が発生するようです。 会員ログインをするサイトで、cookieを用いた認証なのですが、ログインしていない状況では、不具合は「ほぼ」発生しません。(※まったくでは無いです) また、スクリプトを切り分けて、どの箇所まではフリーズしないのか、どこで不具合が発生するかを調べた結果、 echo "test";exit; session_start(); では出力されますが、 session_start(); echo "test";exit; では、待機状態になります。 ただし、上記も必ず同じ動作ではないので、不確定です。 その他、XAMPPの問題かと思い、一度は1.7.4を入れなおしましたが、 症状が治っていない上に、他のエラーが出るので、また1.7.3に戻しました。 また、画面が一度待機状態で固まると、今のところ、XAMPPのコンパネでapache再起動しか改善する方法がなく、またしばらくすると同じことの繰り返しです。 そして、XAMPPで停止するときに、かなり時間がかかり、必ず一度は「応答なし」になり、しばらくして、停止が完了します。 apacheのエラーログは [Sat Apr 09 17:59:31 2011] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations [Sat Apr 09 17:59:31 2011] [notice] Server built: Nov 11 2009 14:29:03 [Sat Apr 09 17:59:31 2011] [notice] Parent: Created child process 5880 [Sat Apr 09 17:59:34 2011] [notice] Digest: generating secret for digest authentication ... [Sat Apr 09 17:59:34 2011] [notice] Digest: done [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Child process is running [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Acquired the start mutex. [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Starting 150 worker threads. [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Starting thread to listen on port 443. [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Starting thread to listen on port 80. [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Starting thread to listen on port 443. [Sat Apr 09 17:59:34 2011] [notice] Child 5880: Starting thread to listen on port 80. こんな感じです。 そもそも、apacheなのか、PHPなのか、MYSQLなのかが原因がはっきりしていないのが現状です。 (MYSQLは関係ないとこれまで思っていましたが、原因がわからないので、一応除いていません) ブラウザでcookieを無効設定にしても、同様の現象は起きるようです。 何が原因か調べる方法や、または同じような経験をして対策をご存知の方がいたら、 ぜひ回答をお願いします。

    • 締切済み
    • PHP
  • FreeBSD(98) 8.3 R mpg123

    Script started on Thu Jan 3 15:14:15 2019 [umiboz@chacha ~]$ mpg123 You made some mistake in program usage... let me briefly remind you: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.14.4; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes usage: mpg123 [option(s)] [file(s) | URL(s) | -] supported options [defaults in brackets]: -v increase verbosity level -q quiet (don't print title) -t testmode (no output) -s write to stdout -w <filename> write Output as WAV file -k n skip first n frames [0] -n n decode only n frames [all] -c check range violations -y DISABLE resync on errors -b n output buffer: n Kbytes [0] -f n change scalefactor [32768] -r n set/force samplerate [auto] -os,-ol,-oh output to built-in speaker,line-out connector,headphones -a d set audio device -2 downsample 1:2 (22 kHz) -4 downsample 1:4 (11 kHz) -d n play every n'th frame only -h n play every frame n times -0 decode channel 0 (left) only -1 decode channel 1 (right) only -m mix both channels (mono) -p p use HTTP proxy p [$HTTP_PROXY] -@ f read filenames/URLs from f -T get realtime priority -z shuffle play (with wildcards) -Z random play -u a HTTP authentication string -E f Equalizer, data from file -C enable control keys --no-gapless not skip junk/padding in mp3s -? this help --version print name + version See the manpage mpg123(1) or call mpg123 with --longhelp for more parameters and information. [umiboz@chacha ~]$ mpg123 /? [oss.c:172] error: Can't open default sound device! [audio.c:630] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: oss [audio.c:532] error: Failed to open audio output module [mpg123.c:897] error: Failed to initialize output, goodbye. [umiboz@chacha ~]$ exit exit Script done on Thu Jan 3 15:14:34 2019 -------- 上記のエラーを改善したく、よろしくお願い申し上げます。

  • メールがエラーで戻ってきました。この意味は?

    こんばんは、いつもお世話になっております。 海外のレストランにメールを送ったところ エラーで戻ってきてしまいました。 このようなメッセージが書かれてました↓ Message from yahoo.co.jp. Unable to deliver message to the following address(es). <**@hotel**>: 212.91.98.46 does not like recipient. Remote host said: 550 Invalid recipient: <**@hotel**> Giving up on 212.91.98.46. --- Original message follows. Return-Path: <**@ybb.ne.jp> The original message is over 5k. Message truncated to 1K. Received: (qmail 38237 invoked by alias); 10 Apr 2006 08:42:38 -0000 This is a multi-part message in MIME format. これは向こうのアドレスが間違っていて戻ってきてしまったのでしょうか? それとも、画像(640×480のを4枚)を一緒に送ったのですが PCによっては画像入りメールを拒否する場合などあるのでしょうか? 何か分かる方教えて頂けると嬉しいです。 宜しくお願い致します<m(__)m>

  • シェルスクリプト内の「exit」

    クライアントからteratermでservAに接続します。 そこからservBに接続します。 $ ssh servB サーバーBに個人のディレクトリがあり、そこにシェルスクリプトを作っています。 そのシェルスクリプトは「exit 0」で終わっています。 これを実行すると、サーバーBからログアウトしてしまいます。 exitはシェルスクリプト内で使うと、シェルスクリプトを終了するだけかと思ったのですが、ログアウトもしてしまうものなのでしょうか? exitを書かなければ、ログアウトすることなく、カレントディレクトリは変わらないままです。 実行するたびに $ ssh servB $ cd work/mydir と実行しないと自分のディレクトリに戻ってこれないので不便です。 色々と調べたのですが、なぜログアウトしてしまうのかわかりません。 どうすれば、ログアウトしないのか教えて下さい。 よろしくお願いいたします。 シェルスクリプト(TEST) #!/bin/bash -xv echo hello! exit 0 実行結果 [company@servB mydir]$ . TEST hello! Connection to servB closed. [company@servA ~]$

  • FreeBSD(98)8.2R のXの設定について

    仕様機種:PC-9821Ra43 , OS:FreeBSD(98) 8.2R driver : trident $ startx xauth: file /home/umiboz/.serverauth.1219 does not exist xauth: (argv):1: bad display name "chacha:0" in "list" command xauth: (stdin):1: bad display name "chacha:0" in "add" command X.Org X Server 1.7.7 Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 8.2-RELEASE pc98 Current Operating System: FreeBSD chacha 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 05:25:24 UTC 2011 root@asuna:/usr/obj/pc98/usr/src/sys/GENERIC pc98 Build Date: 15 January 2012 10:45:10PM Current version of pixman: 0.24.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 17 23:43:22 2012 Primary device is not PCI (==) Using default built-in configuration (21 lines) (EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object. (EE) Failed to load module "fbdevhw" (invalid module, 0) (EE) No devices detected. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error xauth: (argv):1: bad display name "chacha:0" in "remove" command $ exit exit Script done on Tue Jan 17 23:43:41 2012 ---- 以上のようなエラーが発生して、Xが立ち上がりません。解決策をご存じの方、ご一報下さると、有り難いです。 よろしくお願いします。

  • sshログイン時のメッセージについて

    sshでログインする時に表示されるメッセージ(★)の意味について、教えてください。 また、このメッセージが表示される場合、正しくログインできているのでしょうか。 [usr1@host1 ~]$ ssh usr2@host1 Last login: Sun Oct 21 19:03:43 2012 from host1 [usr2@host1 ~]$exit Connection to host1 closed. [usr1@host1 ~]$ ssh usr2@host2 Last login: Sun Oct 21 19:04:27 2012 from host1 -bash: /home/usr2: is a directory ←★ [usr2@host2 ~]$ <環境> OS:RHL 5.4 x86 ホスト名1:host1 ホスト名2:host2 ログインユーザ1:usr1 ログインユーザ2:usr2

  • Solaris 10 11/06にPatch 118855-36を当てようとするとエラー

    Solaris 10 11/06にPatch 118855-36を当てようとすると以下のようなエラーが起こります。 ERROR : Signature verification failed while verifying certificate <suject=Sun Microsystems Inc Root SA, inssuer/c=US/O=VeriSign, Inc./OU=Class 2 Public Primary Certification Authority - G2/O>:<unable to get local issuer certificate>. ERROR : Unable to verify signature for signer <es-signature> Signeture inavalid on signed patch <118855-36>. 回避法をご存知の方はぜひご教授願いします。

  • Debian apt-get updateができない

    Debian初心者です。 これからLinuxの勉強を始めようと思い、いろいろとテキストを買ってきて勉強をし始めましたが、早速つまずいてしまいました。 Debianのインストールまではできたのですが、apt-get updateができません。 以下のようになります。 KURO-BOX:/home/tmp-kun# apt-get update Get:1 ftp://ftp.dti.ad.jp woody/main Packages Err ftp://ftp.dti.ad.jp woody/main Packages Unable to fetch file, server said '/pub/Linux/debian/dists/woody/main/binary-p owerpc/Packages.gz: No such file or directory. ' [IP: 202.216.228.228 21] Get:2 ftp://ftp.dti.ad.jp woody/main Release Ign ftp://ftp.dti.ad.jp woody/main Release 省略 Get:8 ftp://ftp.dti.ad.jp woody/contrib Release Ign ftp://ftp.dti.ad.jp woody/contrib Release Hit ftp://ftp.dti.ad.jp woody/non-US/main Sources Hit ftp://ftp.dti.ad.jp woody/non-US/main Release Hit ftp://ftp.dti.ad.jp woody/non-US/contrib Sources Hit ftp://ftp.dti.ad.jp woody/non-US/contrib Release Failed to fetch http://security.debian.org/dists/woody/updates/main/binary-power pc/Packages 404 Not Found [IP: 212.211.132.32 80] Failed to fetch http://security.debian.org/dists/woody/updates/contrib/binary-po werpc/Packages 404 Not Found [IP: 212.211.132.32 80] Failed to fetch ftp://ftp.dti.ad.jp/pub/Linux/debian/dists/woody/main/binary-pow erpc/Packages Unable to fetch file, server said '/pub/Linux/debian/dists/woody/ main/binary-powerpc/Packages.gz: No such file or directory. ' [IP: 202.216.228. 228 21] Failed to fetch ftp://ftp.dti.ad.jp/pub/Linux/debian/dists/woody/contrib/binary- powerpc/Packages Unable to fetch file, server said '/pub/Linux/debian/dists/woo dy/contrib/binary-powerpc/Packages.gz: No such file or directory. ' [IP: 202.21 6.228.228 21] Failed to fetch ftp://ftp.dti.ad.jp/pub/Linux/debian/dists/woody/main/source/Sou rces Unable to fetch file, server said '/pub/Linux/debian/dists/woody/main/sour ce/Sources.gz: No such file or directory. ' [IP: 202.216.228.228 21] Failed to fetch ftp://ftp.dti.ad.jp/pub/Linux/debian/dists/woody/contrib/source/ Sources Unable to fetch file, server said '/pub/Linux/debian/dists/woody/contri b/source/Sources.gz: No such file or directory. ' [IP: 202.216.228.228 21] Reading Package Lists... Done Building Dependency Tree... Done E: Some index files failed to download, they have been ignored, or old ones used instead. いろいろと調べてみたりしたのですが、まったくとっていいほど解決策が見つかりません。 この後sambaのインストールも行いたいのですが、進まずじまいです。 以上、解決方法教えて頂きたいです。

  • mysql_resultのエラー

    php5です。 以下のようなコードでMYSQLデータベースからユーザIDを取り出しています。 存在するユーザ名が$nameにセットされているときには何も問題は起きないのですが、存在しないユーザ名を$nameにセットするとブラウザにエラーが表示されます。 存在しないユーザ名が$nameにセットされたときにこのエラーを表示させないようにするにはどうすればよいでしょうか。 mysql_result関数のマニュアルは読んだのですがエラーハンドリングについてはよく理解できませんでした。 $nameには別のphpスクリプトのフォームで入力された値がセットされます。 表示されるエラー Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 24 in test.php on line xx phpスクリプトの問題部分(関数の一部) $idsql = "select user_id from usertable where username = '$name'"; $res = mysql_query($idsql, $link); $userid = mysql_result($res, 0); mysql_close($link); return $userid;

    • ベストアンサー
    • PHP