[erlang-questions] Erlang on EC2 - Filesystem errors?

Anders Nygren anders.nygren@REDACTED
Wed Oct 14 21:24:29 CEST 2009


On Wed, Oct 14, 2009 at 1:50 PM, Paul Davis <paul.joseph.davis@REDACTED> wrote:
> Hey list,
>
> I've got a bit of a head scratcher. The basic premise is trying to run
> Erlang on an EC2 sometimes results in errors like those pasted below.
> I've seen this type of error from two different CouchDB users and the
> only thing I can figure is that they're both using EC2. Granted lots
> of other people use Erlang on EC2 just fine so I haven't the slightest
> if that's even related.
>
> The only thing that's confusing me is how the VM even started if it's
> unable to read these files. My first thought was that some rogue
> backup process was changing file permissions as it did its thing but
> both users reported nothing in cron or had knowledge of anything of
> that nature running on their system.
>
> I've googled around looking for general filesystem issues on EC2 as
> well as things related specifically to Erlang. The only thing that
> looked remotely similar was very similar output that some rabbitmq
> users have reported. The most interesting of which is this thread [1]
> where the last post says that the guy could fix the errors just by
> running a 'find | grep sth' which seems odd.
>
> Anyone else experienced this before?

I have no useful information to provide except that I have seen this once on
a Stratus ftServer running RedHat Enterprise Server. I don't remember
what I checked when it happened but a reboot of the server fixed it.

/Anders

>
> Thank you,
> Paul J. Davis
>
> [1] http://www.ejabberd.im/node/3667
>
>
> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
> error: eacces. Target: .. Function: read_file_info. Process:
> code_server."}
> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
> error: eacces. Target: ./user_sup.beam. Function: get_file. Process:
> code_server."}
> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
> error: eacces. Target: ./supervisor_bridge.beam. Function: get_file.
> Process: code_server."}
> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
> error: eacces. Target: ./user.beam. Function: get_file. Process:
> code_server."}
> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
> error: eacces. Target: ./kernel_config.beam. Function: get_file.
> Process: code_server."}
> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
> error: eacces. Target: ./queue.beam. Function: get_file. Process:
> code_server."}
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: .. Function: read_file_info.
> Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./user_sup.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./supervisor_bridge.beam.
> Function: get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./user.beam. Function: get_file.
> Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./kernel_config.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./queue.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./error_logger_tty_h.beam.
> Function: get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./io_lib.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./io_lib_format.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./io_lib_pretty.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./io.beam. Function: get_file.
> Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./c.beam. Function: get_file.
> Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./file.beam. Function: get_file.
> Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./erl_eval.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./orddict.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./file_io_server.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./erl_posix_msg.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> file:path_eval([".","/home/couchdb"],".erlang"): permission denied
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./couch.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: .. Function: list_dir. Process:
> application_controller.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./erl_scan.beam. Function:
> get_file. Process: code_server.
>
> =ERROR REPORT==== 14-Oct-2009::01:42:33 ===
> File operation error: eacces. Target: ./erl_parse.beam. Function:
> get_file. Process: code_server.
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>


More information about the erlang-questions mailing list