Don't download files!!

38 views
Skip to first unread message

Bole

unread,
Mar 24, 2009, 3:08:13 AM3/24/09
to ECHI Converter
Hello,
I installed echi-converter project in OS Red Hat Enterprise Linux. It
seems that it's working, but there's no files in /echiproject/files/
processed/2009/3. No files in /echiproject/files/to_process.
This is my application.log file:

Tue Mar 24 01:05:37 +0100 2009 (5471) {"log_level"=>"DEBUG",
"echi_cwc_dat"=>"cwc.dat", "echi_read_extra_byte"=>"Y",
"echi_process_log"=>"Y", "echi_ftp_retry"=>10, "max_ftp_sessions"=>2,
"echi_use_utc"=>true, "echi_port"=>21, "echi_host"=>"semdc02",
"echi_vdn_dat"=>"vdn.dat", "echi_process_dat_files"=>"N",
"echi_username"=>"echi", "pco_process"=>"N", "smtp_port"=>25,
"echi_aux_rsn_dat"=>"aux_rsn.dat", "echi_format"=>"BINARY",
"log_number"=>10, "smtp_server"=>"192.168.1.1",
"alert_email_address"=>"xxxx...@xxxxxx.xxx", "log_length"=>10240000,
"echi_vector_dat"=>"vector.dat", "echi_acd_dat"=>"acd.dat",
"send_email"=>true, "export_type"=>"database",
"echi_schema"=>"standard_version14.yml", "echi_password"=>"xxxxxxx",
"strip_characters"=>false, "echi_ftp_delete"=>"N",
"echi_connect_type"=>"ftp", "characters_to_strip"=>0,
"echi_split_dat"=>"split.dat", "echi_agent_dat"=>"agname.dat",
"echi_ftp_directory"=>"/CMS", "fetch_interval"=>60,
"echi_xfer_type"=>"ftp", "echi_trunk_group_dat"=>"tkgrp.dat"}
Tue Mar 24 01:05:37 +0100 2009 (5471) get_ftp_files method
Tue Mar 24 01:05:37 +0100 2009 (5471) Successfully connected to the
ECHI FTP server
Tue Mar 24 01:05:37 +0100 2009 (5471) Using a single ftp session to
fetch the files
Tue Mar 24 01:05:37 +0100 2009 (5471) Successfully connected to the
ECHI FTP server
Tue Mar 24 01:05:37 +0100 2009 (5471) Closed ftp session.
Tue Mar 24 01:05:37 +0100 2009 (5471) set_directory method
Tue Mar 24 01:06:37 +0100 2009 (5471) get_ftp_files method
Tue Mar 24 01:06:37 +0100 2009 (5471) Successfully connected to the
ECHI FTP server
Tue Mar 24 01:06:37 +0100 2009 (5471) Using a single ftp session to
fetch the files
Tue Mar 24 01:06:37 +0100 2009 (5471) Successfully connected to the
ECHI FTP server
Tue Mar 24 01:06:37 +0100 2009 (5471) Closed ftp session.

The connections with the user echi works:
[oracle@SEMECH01 log]$ ftp
ftp> open semdc02
Connected to semdc02
220 Microsoft FTP Service
500 'AUTH GSSAPI': command not understood
500 'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type
Name (semdc02:oracle): echi
331 Password required for echi.
Password:
230 User echi logged in.
Remote system type is Windows_NT.
ftp> cd /CMS
250 CWD command successful.
ftp> ls
227 Entering Passive Mode (10,79,5,5,6,13).
125 Data connection already open; Transfer starting.
-rwxrwxrwx 1 owner group 57646 Mar 22 8:29
09-03-22.chr0402.745
-rwxrwxrwx 1 owner group 67306 Mar 22 8:59
09-03-22.chr0403.746
-rwxrwxrwx 1 owner group 106912 Mar 22 9:29
09-03-22.chr0404.747
-rwxrwxrwx 1 owner group 85982 Mar 22 9:59
09-03-22.chr0405.748
-rwxrwxrwx 1 owner group 104658 Mar 22 10:29
09-03-22.chr0406.749
....

The ftp is a microsoft ftp and is configures as UNIX.

The daemon is up:

[oracle@SEMECH01 log]$ ps -aux | grep echi-converter
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/
procps-3.2.7/FAQ
oracle 5469 0.0 0.2 6976 4868 ? S 01:05 0:00 echi-
converter_monitor
oracle 5471 0.1 1.0 49276 21952 ? S 01:05 0:01 echi-
converter
oracle 5559 0.0 0.0 3880 676 pts/2 R+ 01:20 0:00 grep
echi-converter


I don't know what's happening. Any help¿? Please.

Thank you.

Bole

unread,
Mar 24, 2009, 8:20:46 AM3/24/09
to ECHI Converter
Sorry, Everything is ok. The name of the ECHI files are like 'date +
%F' in my CMS, and the scripts in myproject/lib/ftp_fetcher.rb are
looking for a chr* file.

Thank you.

On 24 mar, 08:08, Bole <bolet...@gmail.com> wrote:
> Hello,
> I installed echi-converter project in OS Red Hat Enterprise Linux. It
> seems that it's working, but there's no files in /echiproject/files/
> processed/2009/3. No files in /echiproject/files/to_process.
> This is my application.log file:
>
> Tue Mar 24 01:05:37 +0100 2009 (5471) {"log_level"=>"DEBUG",
> "echi_cwc_dat"=>"cwc.dat", "echi_read_extra_byte"=>"Y",
> "echi_process_log"=>"Y", "echi_ftp_retry"=>10, "max_ftp_sessions"=>2,
> "echi_use_utc"=>true, "echi_port"=>21, "echi_host"=>"semdc02",
> "echi_vdn_dat"=>"vdn.dat", "echi_process_dat_files"=>"N",
> "echi_username"=>"echi", "pco_process"=>"N", "smtp_port"=>25,
> "echi_aux_rsn_dat"=>"aux_rsn.dat", "echi_format"=>"BINARY",
> "log_number"=>10, "smtp_server"=>"192.168.1.1",
> "alert_email_address"=>"xxxxxx...@xxxxxx.xxx", "log_length"=>10240000,
Reply all
Reply to author
Forward
0 new messages