LinuxでQmail_1.03
[root@redhat6 qmail]# make setup check nroff -man dot-qmail.5 > dot-qmail.0 nroff -man qmail-command.8 > qmail-command.0 nroff -man tcp-environ.5 > tcp-environ.0 nroff -man maildir.5 > maildir.0 nroff -man mbox.5 > mbox.0 nroff -man addresses.5 > addresses.0 nroff -man envelopes.5 > envelopes.0 nroff -man forgeries.7 > forgeries.0 ./install ./instcheck [root@redhat6 qmail-1.03]# [root@redhat6 qmail-1.03]# cd /var/qmail [root@redhat6 qmail]# ls alias bin boot control doc man queue users [root@redhat6 qmail-1.03]# ./config-fast redhat6 Your fully qualified host name is redhat6. Putting redhat6 into control/me... Putting redhat6 into control/defaultdomain... Putting redhat6 into control/plusdomain... Putting redhat6 into control/locals... Putting redhat6 into control/rcpthosts... Now qmail will refuse to accept SMTP messages except to redhat6. Make sure to change rcpthosts if you add hosts to locals or virtualdomains! [root@redhat6 qmail-1.03]# cd /var/qmail [root@redhat6 qmail]# ls alias bin boot control doc man queue users [root@redhat6 qmail]# cd control [root@redhat6 control]# ls defaultdomain locals me plusdomain rcpthosts |
[root@redhat6 qmail]# cd alias [root@redhat6 alias]# touch .qmail-postmaster [root@redhat6 alias]# touch .qmail-mailer-daemon [root@redhat6 alias]# touch .qmail-root [root@redhat6 alias]# chmod 644 .qmail* [root@redhat6 control]# cd /var/qmail/boot [root@redhat6 boot]# ls binm1 binm1+df binm2 binm2+df binm3 binm3+df home home+df proc proc+df [root@redhat6 boot]# cp home ../rc [root@redhat6 binl]# ./qmail-start ./Mailbox splogger qmail [root@redhat6 control]# ./qmail-inject |
csh -cf /var/qmail/rc & ひとつ、プロセスが開始。 2543 pts/3 S 0:00 qmail-send 2544 pts/3 S 0:00 splogger qmail 2545 pts/3 S 0:00 qmail-lspawn ./Mailbox 2546 pts/3 S 0:00 qmail-rspawn 2547 pts/3 S 0:00 qmail-clean ----------------------------------------------- /var/log/maillog Jun 23 18:52:46 localhost qmail: 961753966.162583 status: local 0/10 remote 0/20 Jun 23 18:52:46 localhost qmail: 961753966.172032 new msg 65705 Jun 23 18:52:46 localhost qmail: 961753966.178381 info msg 65705: bytes 213 from |
Jun 23 19:15:35 localhost qmail: 961755335.123458 starting delivery 10: msg 65705 to remote ritsuo@mxy.mesh.ne.jp Jun 23 19:15:35 localhost qmail: 961755335.128626 status: local 0/10 remote 1/20 Jun 23 19:15:39 localhost qmail: 961755339.862423 delivery 10: success: 133.205.64.141_accepted_message./Remote_host_said:_250_SAA18366_Message_accepted_for_delivery/ Jun 23 19:15:39 localhost qmail: 961755339.868630 status: local 0/10 remote 0/20 Jun 23 19:15:39 localhost qmail: 961755339.875271 end msg 65705 Jun 23 19:15:52 localhost qmail: 961755352.527268 new msg 65705 Jun 23 19:15:52 localhost qmail: 961755352.533605 info msg 65705: bytes 214 from |
Jun 26 22:25:55 dns1 qmail: 962025955.839346 starting delivery 2885: msg 117214 to remote xxx@anet.ne.jp Jun 26 22:25:55 dns1 qmail: 962025955.839437 status: local 0/10 remote 1/20 Jun 26 22:26:56 dns1 qmail: 962026016.677016 delivery 2885: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ Jun 26 22:26:56 dns1 qmail: 962026016.677107 status: local 0/10 remote 0/20 Jun 26 23:32:35 dns1 qmail: 962029955.669341 starting delivery 2886: msg 117214 to remote xxx@anet.ne.jp Jun 26 23:32:35 dns1 qmail: 962029955.669433 status: local 0/10 remote 1/20 Jun 26 23:32:36 dns1 qmail: 962029956.369130 delivery 2886: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ Jun 26 23:32:36 dns1 qmail: 962029956.369214 status: local 0/10 remote 0/20 Jun 27 00:52:35 dns1 qmail: 962034755.359351 starting delivery 2887: msg 117214 to remote xxx@anet.ne.jp Jun 27 00:52:35 dns1 qmail: 962034755.359449 status: local 0/10 remote 1/20 Jun 27 00:53:06 dns1 qmail: 962034786.444291 delivery 2887: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ Jun 27 00:53:06 dns1 qmail: 962034786.444378 status: local 0/10 remote 0/20 Jun 27 02:25:55 dns1 qmail: 962040355.439345 starting delivery 2888: msg 117214 to remote xxx@anet.ne.jp Jun 27 02:25:55 dns1 qmail: 962040355.439439 status: local 0/10 remote 1/20 Jun 27 02:26:17 dns1 qmail: 962040377.064918 delivery 2888: success: 210.164.156.3_accepted_message./Remote_host_said:_250_CAA157194_Message_accepted_for_delivery/ Jun 27 02:26:17 dns1 qmail: 962040377.065015 status: local 0/10 remote 0/20 Jun 27 02:26:17 dns1 qmail: 962040377.065055 end msg 117214 |
NTでGNUjsp
jserv_logの内容。 [30/06/2000 18:47:53:282 GMT+09:00] Error creating classloader for servlet zone jsp : java.lang.IllegalArgumentException: Repository D:\Program Files\Apache Group\Apache JServ 1.1b3\gnujsp-1.0.0\lib\gnujsp10.jar doesn't exist! [30/06/2000 18:49:12:866 GMT+09:00] AJP Protocol Error: java.io.IOException: Stream broken |
NT版PHP3でOracle8i
|$conn = OCINLogon("scott", "tiger", "リスナ−名");
|$sql = "select * from emp";
|$stmt = OCIParse($conn, $sql);
|OCIExecute($stmt);
|$nrows = OCIFetchStatement($stmt,$results);
|if ( $nrows > 0 ) {
|
| 必要なロジック
|
|OCILogOff( $conn );
|
|
| EMPNO | ENAME | JOB | MGR | HIREDATE | SAL | COMM | DEPTNO |
|---|---|---|---|---|---|---|---|
| 7369 | SMITH | CLERK | 7902 | 80-12-17 | 800 | 20 | |
| 7499 | ALLEN | SALESMAN | 7698 | 81-02-20 | 1600 | 300 | 30 |
| 7521 | WARD | SALESMAN | 7698 | 81-02-22 | 1250 | 500 | 30 |
| 7566 | JONES | MANAGER | 7839 | 81-04-02 | 2975 | 20 | |
| 7654 | MARTIN | SALESMAN | 7698 | 81-09-28 | 1250 | 1400 | 30 |
| 7698 | BLAKE | MANAGER | 7839 | 81-05-01 | 2850 | 30 | |
| 7782 | CLARK | MANAGER | 7839 | 81-06-09 | 2450 | 10 | |
| 7788 | SCOTT | ANALYST | 7566 | 87-04-19 | 3000 | 20 | |
| 7839 | KING | PRESIDENT | 81-11-17 | 5000 | 10 | ||
| 7844 | TURNER | SALESMAN | 7698 | 81-09-08 | 1500 | 0 | 30 |
| 7876 | ADAMS | CLERK | 7788 | 87-05-23 | 1100 | 20 | |
| 7900 | JAMES | CLERK | 7698 | 81-12-03 | 950 | 30 | |
| 7902 | FORD | ANALYST | 7566 | 81-12-03 | 3000 | 20 | |
| 7934 | MILLER | CLERK | 7782 | 82-01-23 | 1300 | 10 |
NECのWebhandyで次のお仕事
Aironet AP3500E V7.16 Main Menu AP3500E_285657
Option Value Description
1 - Configuration [ menu ] - General configuration
2 - Statistics [ menu ] - Display statistics
3 - Association [ menu ] - Association table maintenance
4 - Filter [ menu ] - Control packet filtering
5 - Logs [ menu ] - Alarm and log control
6 - Diagnostics [ menu ] - Maintenance and testing commands
7 - Privilege [ write ] - Set privilege level
8 - Help - Introduction
Enter an option number or name
> Ethernet cabling problem
|
BASP21で、メ−ル配信
set ml=Server.CreateObject("basp21")
smtpsrv="xxxx.co.jp/yy.mm.co.jp:25:60"
mailto="ritsuo@mxy.mesh.ne.jp" & Chr(9)
mailto=mailto & "cc" & char(9)
mailfrom="rfujii@fukuyama.kkmiura.co.jp"
subj="ASP test mail"
body="BASP21 test mail"
file=""
rc = ml.sendmail(smtpsrv,mailto,mailfrom, subj,body,file)
if rc ="" then
Response.Write "送信成功"
else
Response.Write "送信失敗"
end if
|
J2EE for Linuxのインスト
j2sdkee1.2.1/cloudscape/ j2sdkee1.2.1/help/ j2sdkee1.2.1/help/DeployTool/ j2sdkee1.2.1/help/DeployTool/deployhelp.jar j2sdkee1.2.1/README j2sdkee1.2.1/LICENSE |
http.port=8000 documentroot=public_html/ https.port=7000 keystore.password=changeit access.log=access.log error.log=error.log enable.invoker=false --------------------------------------------- [root@redhat6 lib]# export CLASSPATH=/tmp/j2sdkee1.2.1/lib/j2ee.jar [root@redhat6 lib]# export PATH=$PATH:/tmp/j2sdkee1.2.1/bin [root@redhat6 lib]# export JAVA_HOME=/usr/local/jdk1.2.2 [root@redhat6 lib]# export J2EE_HOME=/tmp/j2sdkee1.2.1/bin userconfig.shの JAVA_HOME=/usr/local/jdk1.2.2のパス修正 |
J2EE server Listen Port: = 1049
Naming service started: :1050
Published the configuration object ...
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;create=true
Web service started: 9191
java.lang.RuntimeException: Address already in use
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:348)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)
J2EE server reported the following error: Address already in use Error executing J2EE server ...
|
J2EE server Listen Port: = 1049 Naming service started: :1050 Published the configuration object ... Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape DB;create=true Web service started: 9191 Web service started: 8000 Web service started: 7000 J2EE server startup complete. |
15481 ? S 0:00 sh ./j2ee -verbose 15487 ? S 2:03 /usr/local/jdk1.2.2/bin/i386/green_threads/java -Xmx1 |
Linux+ASP関連のリンク集
ritsuo@mxy.mesh.ne.jp