参考に、アクセスしたときのsuexecのログとerror_logの出力を書き込みます。 パーミッションは、修正前のディレクトリ(777)cgiファイル(755) suexec
= directory is writable by others error = Premature end of script headers:
test.cgi
> > ご私事いただいた通り cat /etc/hosts
を実行した結果を張り > > 付けました。 > > > > # Do not
remove the following line, or various programs > > # that require network functionality will
fail. > > 192.168.0.20 linux.eighty-8.net
linux > > >
/etc/hostsの内容を以下のように修正してサーバーを再起動後、リトライしてみてください。 > 127.0.0.1 inux.eighty-8.net linux localhost.localdomain
localhost > >
※上記は改行せずに1行で書いてください
> ご私事いただいた通り cat /etc/hosts
を実行した結果を張り > 付けました。 > > # Do not remove the
following line, or various programs > # that
require network functionality will fail. >
192.168.0.20 linux.eighty-8.net linux >
/etc/hostsの内容を以下のように修正してサーバーを再起動後、リトライしてみてください。 127.0.0.1
inux.eighty-8.net linux localhost.localdomain
localhost
ーーーーーーーーーーーーーーーーーーーーーーーーーーーー SQL
failed. org.postgresql.util.PSQLException: The connection attempt failed
because Exception: java.net.UnknownHostException: localhost Stack
Trace:
java.net.UnknownHostException: localhost at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at
java.net.Socket.connect(Socket.java:452) at
java.net.Socket.connect(Socket.java:402) at
java.net.Socket.<init>(Socket.java:309) at
java.net.Socket.<init>(Socket.java:124) at
org.postgresql.core.PGStream.<init>(PGStream.java:47) at
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:197) at
org.postgresql.Driver.connect(Driver.java:139) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171) at
Dbaccess.main(Dbaccess.java:13) End of Stack Trace
at
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:208) at
org.postgresql.Driver.connect(Driver.java:139) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171) at
Dbaccess.main(Dbaccess.java:13) ーーーーーーーーーーーーーーーーーーーーーーーーーーーー
> vi
/var/named/chroot/var/named/occyan.net.db >
> $TTL 86400 > @ IN SOA occyan.net. root.occyan.net.( > (中略) > IN NS
occyan.net. > IN MX 10
occyan.net. > @ IN A
192.168.1.6 > >
とこんな感じで設定しています。
[root@lubox
root]# saslpasswd2 -c admin Password: Again (for verification): Could
not set secret for admin saslpasswd2: requested change was not
needed [root@lubox root]# sasldblistusers2 admin@lubox.occyan.net:
userPassword
pega様、はじめまして。 > ERROR: Mrtg will most likely not
work propperly when the environment variable LANG is set to UTF-8.
Please run mrtg in an environment where this is not the case: > > env LANG=C
/usr/bin/mrtg
... ですが、システムの日本語文字コード(UTF-8)とMRTGの設定ファイル上の文字コード(EUC)が不一 致であるために出力されるようです。 Fedoraではデフォルトの日本語文字コードにUTF-8が採用されていますが、日本語が文字化けを起こすので、当サイトでは、従来のLinuxの日本語文字コードであるEUCに変更しております。http://fedorasrv.com/■Fedora初期設定の・文字化け対策
の項を参照して、システムの日本語文字コードをUTF-8からEUCに変更してシステムを再起動後にMRTGを実行すればうまくいくと思います。
ERROR: Mrtg will
most likely not work propperly when the environment variable LANG is set to
UTF-8. Please run mrtg in an environment where this is not the
case:
SQL
failed. org.postgresql.util.PSQLException: Connection refused. Check that
the hostname and port are correct and that the postmaster is accepting
TCP/IP connections. at
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java: 204) at
org.postgresql.Driver.connect(Driver.java:139) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171) at
Dbaccess.main(Dbaccess.java:15)
Access Denied. Access control configuration prevents
your request from being allowed at this time. Please contact your service
provider if you feel this is incorrect.