Today I encountered a problem where the pagoda panel in use suddenly became inaccessible. At the same time, the website could not be accessed. Trying to restart the host was of no use, and I could not log in via SSH. Fortunately, the machine has vnc. After logging in through vnc, execute bt or bt default. Prompt/usr/bin/bt: line 129: syntax error: unexpected end of file. After searching, it was found that it is usually /usr The /bin/bt file is damaged or the system file cannot be written.

btcn

Because I didn’t take screenshots at the time of processing, I only recorded the process so that I can find it easier next time I encounter this situation.

First, I used df -lh to check the space usage. Sure enough, the /root directory was 100%. I first deleted some temporary files so that the root directory had more than 1G space. Then I ran the bt command. Still the same prompt. Restart the host. The same thing happens when you access it again later. It seems that there is still a problem with the file. The solution process is as follows:

mv /etc/init.d/bt /tmp/bt_back
cp /www/server/panel/init.sh  /etc/init.d/bt && chmod +x  /etc/init.d/bt
/etc/init.d/bt  restart

The last step is to restart the pagoda and find that it can start normally. At this time, the access panel must be OK.

postid
15299

Leave a Reply