Introduction
Today I encountered an error case on a customer’s VPS as follows, when I use any ./build command, I get a syntax error: unexpected end of the file. Research on the DirectAdmin forum shows that the build file causes this error at /usr/local/directadmin/custombuild/build of Directadmin with incorrect or missing characters, leading to the system reporting incorrect syntax and not executing the build command.
- You can see the article in Forum DirectAdmin: Here .
In this article, I will show you how to fix it very simply. Please see the next step.
Handling Instructions
To fix this problem, you must download the build file from the Directadmin server and overwrite the build file in your VPS. To download, you just need to run the command below
wget -O /usr/local/directadmin/custombuild/build http://files1.directadmin.com/services/custombuild/2.0/custombuild/build
And here are my results. As you can see now, I can use the build command usually.
Wishing you success.
You can refer to other user manuals at the link below
If you need assistance, you can contact support in the ways below:
- Hotline 247: 028 888 24768 (Ext 0)
- Ticket/Email: You use the email to register for the service and send it directly to: support@azdigi.com