Get the App
SLTechnology News&Howtos  ›  Servers  › 

Misconfiguration of hostname causes the application to fail to start problem handling

Shulou Source: shulou.com Published: 2022-06-02 05:26:36 11月12日 Update

OS:Red Hat Enterprise Linux Server release 6.3 (Santiago)

Middleware: weblogic 10.3.6

After the application administrator reports, there is a server in the test environment, and all services cannot be started. The error message is as follows:

After logging in to the server, you see the prompt that indicates that the user name is abnormal

Check that the / etc/hosts and / etc/sysctl/network files are configured properly.

Execute uname-n to view user name exception

[root@=I] # uname-nasty I [root@=I ~] #

At this point, further check that the kernel configuration file has been modified, and the check file finds that the configuration is abnormal:

[root@=I ~] # more / proc/sys/kernel/hostname=I [root@=I ~] #

After modifying the file / proc/sys/kernel/hostname, reconnect the session and prompt that the hostname is normal

[root@=I ~] # echo mvxl1088 > / proc/sys/kernel/hostname [root@=I ~] # [root@=I ~] # [root@=I ~] # more / proc/sys/kernel/hostnamemvxl1088 [root@=I ~] # exit

Try to start the service, the service can start normally.

Tags: Prompt service file configuration check prompt server user user name host application middleware information kernel environment administrator enter try test log in Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno vpn Docker Apple MySQL