About common errors in Linux

Here we have a FAQ on Linux common errors.
For details on how to use the described command, please check with the man command etc.

1.No such file or directory

There is no required file or directory.
It occurs when specifying a nonexistent file, directory name, etc., typing, or incorrect path specification.
Also, depending on the application, it may occur when the line feed code is CR + LF on windows.

Please review the file and directory name carefully.
Also, please check FAQ "The job status is "Eqw" and it is not executed."about the newline character.

There are related errors as follows.
error while loading shared libraries: ****.so: cannot open shared object file:  No such file or directory
This is an error that occurs when there is no library required by the program or can not be read.

Please check with ldd command.
There is a way to set the environment variable LD_LIBRARY_PATH, explicitly specify the library at compile time, and so on.

2.command not found

The command you entered does not exist.
This happens when the environment variable PATH setting is not successful or when there is no command.
It is likely to occur when TSUBAME does not execute module command or if/etc/profile.d/modules.sh file is not loaded.

If the module command is not executed, execute the following command beforehand.

$ . /etc/profile.d/modules.sh

If the software is installed by yourself, check the environment variable PATH.

3.Permission denied

You are not authorized to perform the operation you attempted to perform.
Linux and user and group permissions are set on a file / directory basis.
Check the authority of the target file or directory you want to read or write or execute with the following command.
(When checking the hoge file for an example)

$ ls -l hoge

If you are trying to create files in / etc, / lib etc which are system directories etc, please make it in the user directory.
If it occurs in a user directory such as a group disk, check the authority and please do.

4.Disk quota exceeded

Please check FAQ How to solve "Disk quota exceeded" error"".

5. Out Of Memory 

This error occurs when memory runs out.

Change the resource type to one with more memory capacity.
Divide the memory usage per node with mpi etc.

Related FAQ「Check the detail of an error message printed the log file

Related FAQ
"Disk quta exceeded" error is output
The error when executing the qrsh command
Check the detail of an error message printed the log file
"Warning: Permanently added ECDSA host key for IP address 'XXX.XXX.XXX.XXX' to the list of known hosts." in the error log
The range of support by T3 Helpdesk about the program error such as segmentation fault
Error handling for each ISV application