Du error 118337 is a disk I/O error that can occur when the disk is full, when the disk is damaged, or when there is a problem with the disk driver. This error can also occur if the disk is not properly formatted.
You are here because you have a question about:
- fannie mae error code 118337
- du error code 118337
- du error 118337
1. Restart your computer and try again
1.Click on the Start button and type “cmd” in the search bar. 2.Right-click on the “cmd” search result and select “Run as Administrator”. 3.Type “shutdown -r now” and press Enter. 4.Wait a few minutes and then restart your computer.
2. Try running du again with sudo
- Type sudo du in a terminal window to open the du command.
- Type the path to the directory you want to check for size.
- Type the size of the directory.
- If the size of the directory is bigger than the size you specified in Step 2, du will report an error.
- To fix the error, you can delete any files that are larger than the size you specified in Step 2. Or, you can use the sudo command to change the size of the directory so that it matches the size you specified.
3. Try a different directory
The following steps can be taken in order to try a different directory in order to fix the du error:
- Open Terminal and type the following command: cd /tmp
- Type the following command to list the files and folders in the /tmp directory: ls
- If the du command reports that there are too many files in the /tmp directory, then the problem may be with the files that are being attempted to be copied. In order to troubleshoot this issue, it may be helpful to remove some of the files from the /tmp directory so that the du command can run more smoothly. To do this, type the following command: rm *
- If the du command still reports an error, then the problem may be with the pathname that is being used to access the files in the /tmp directory. In order to try a different pathname, type the following command: cd /
- Type the following command to list the files and folders in the / directory: ls
- If the du command reports that there are too many files in the / directory, then the problem may be with the pathname that is being used to access the files in the / directory. In order to try a different pathname, type the following command: cd /usr/local/bin
- Type the following command to list the files and folders in the /usr/local/bin directory: ls
- If the du command reports that there are too many files in the /usr/local/bin directory, then the problem may be with the pathname that is being used to access the files in the /usr/local/bin directory. In order to try a different pathname, type the following command: cd /usr/local/sbin
- Type the following command to list the files and folders in the /usr/local/sbin directory: ls
4. Check your permissions on the directory you're trying to run du on
- In Windows Explorer, open the directory you want to check your permissions on.
- Right-click the directory and choose Properties.
- On the Security tab, click the Edit button.
- In the Edit Security Settings dialog box, click the Add button.
- In the Select Users, Groups, or Computers dialog box, click the Browse button.
- In the Select Users, Groups, or Computers dialog box, click the Computer Account button.
- In the Select Computer dialog box, click the Checkbox next to the user or group you want to check permissions for.
- Click OK.
- In the Edit Security Settings dialog box, click the OK button.
- In the Properties dialog box, click the Security tab.
- In the Permissions for Users list, click the check box next to the user or group you want to check permissions for.
- In the Permissions for Groups list, click the check box next to the group you want to check permissions for.
- In the Permissions for Files list, click the check box next to the file you want to check permissions for.
- Click OK.
- In the Properties dialog box, click the OK button.
- In the Security tab, click the OK button.
- Close Windows Explorer.
5. Check if the directory you're trying to run du on exists
- Open a command prompt and type dir.
- If the directory does not exist, du will return an error.
- To create the directory, you can use the mkdir command.
- If the directory still does not exist, you can create it using the Windows command line by entering the following: mkdir C:\dir_name