Tags: hostname oracle Start#刚开始直接root用户登录, in the ETC directory, switch to Oracle, enter LSNRCTL start to start Oracle prompt "Lsnrctl:command not found"
[[Email protected]_test etc]# su Oracle
[[email protected]_test etc]$ lsnrctl start
bash:lsnrctl:command not found#切换回root用户, cd/root directory, again su-oracle, input lsnrctlstart start Oracle, this time it's OK. [[emailprotected]_test~]$cd/[[Emailprotected]_test/]$su-root su
:invalidoption-- ' R '
Cause: The company network interface to do the interface authentication, the virtual machine bridge to the physical network card can not complete authentication network access, but can only say that the virtual machine network mode changed to NAT mode, after the completion of the SSH login, found that the host name has changed.Found the host name into a bogon, very angry, look very uncomfortable, try to change back.View several related files[[emailprotected] ~]# vi /etc/sysconfig/networkNETWORKI
ObjectiveIn the use of CDH cluster process, it will inevitably cause the node IP or hostname changes due to some irresistible reasons, and CM's monitoring interface can not complete these things, but CM will all the hosts in the cluster information is in the PostgreSQL database hosts table,Now let's do this by modifying the hosts.The first step is to close the service1. Turn off the Cluster service, and Cloudera Management services,2. Close cm Service
Modify the IP address, hostName, and cdh5hostname of the host node in the cdh5 cluster.Preface
When using the cdh cluster, it is inevitable that the node IP address or hostName changes due to some irresistible reasons, and the cm monitoring interface cannot complete these tasks, however, cm stores all host information in the hosts table of the postgresql database,
Now let's modify the hosts to complete this
Generally, when we see a Bad Request (Invalid Hostname) error on the website, we will say that it is iis. If there is a problem with apache, the solution to this problem in iis is probably: IIS> default website> Properties> website> IP Address: (all unallocated)> advanced, there is a host header value, or you can directly restart iis to solve the problem.
The website access error "Bad Request (Invalid Hostname
Modify the Hosts file, vi/etc/hosts, generally can not remove the localhost, removed after zookeeper and other frameworks may be problematic, as follows:
1234
127.0.0.1localhost.localdomainlocalhost192.168.1.91master192.168.1.93slave1192.168.1.94slave2
192.168.1.91 is both native localLinux modifies the native alias/etc/hosts hostname often does not take effect, at this time there are 2 kinds of scenarios
Resta
We know that when doing experiments, sometimes operate multiple machines at the same time, when operating more than one machine, not a clear hostname is a very headache, a little bit of mind, it is possible to operate the error, the following will take you around to modify the hostname operation
One display, the next restart when the modification failure, easy to distinguish at that time
1.1 E
${db2dir?} /instance/db2isrv-addfcm-i ${instname?} ${db2isrvopts?}
If [$?-eq 3]; Then
Db2isrv
${db2dir?} /instance/db2isrv-addfcm-i ${instname?} ${db2isrvopts?}
If [$?-eq 3]; Then
Display_msg ${db2cat?} 922 \
' dbi1922n the host name is not valid.\n '
is when Db2isrv-addcfm-i ${instname?} ${db2isrvopts returns to 3 when the host name is not correct.
This db2isrv found a lot of things, did not find specific content, look at the name is to add a servi
1 IP Address, host name, and domain nameThe IP address is the computer's identity in the network, which is beyond doubt.But in the public network? IP address bad memory, then use the domain name.Similarly, in the LAN? The IP address is also not good memory, then the host name.2 Use of host namesIn the LAN, if we have three hosts, each to do a different thing, one to do mail server, one to do FTP server, one to do SMB server,So we can design hostname;1
Article Title: how to modify the Hostname settings in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
You need to modify two files:
1. vi/etc/hosts
The content of/etc/hosts is generally similar to the following:
127.0.0.1 localhost. localdomain localhost
192.168.1.195 debian. localdomain debian
Modify:
Tags: blog http OS file SP 2014 C on LogChange host name permanentlyOne of the methods mentioned on the Internet is to modify the/etc/sysconfig/network file.Set hostname = localhost. localdomainChanged to what you want, but the configuration in the file centos7 is empty. It will not work if you add the file and restart it.Finally, the/etc/hosts file was modified,My file does not have the master after the localhost on the first line. After adding the f
The machine already exists in the salt, in order to standardize, need to rename this batch of hostOperation Flow: Remove the machine from master, modify the host name of the machine, rename the minion_id and PKI directories in the/etc/salt directory, and restart the Salt-minion service (after the Mster segment can monitor the host again, can delete the file renamed above)Environment: http://www.cnblogs.com/zzzhfo/p/6126223.htmlRename the salt-client-01 to salt-minion-01
Remove salt-clie
Modify Host name : "Change inside HOSTNAME can"
Vim/etc/sysconfig/network
Nic Eth0 IP modified to 102.168.0.1
Ifconfig eth0 102.168.0.1 netmask 255.255.255.0
Gateway modified to 102.168.0.254
Route add default GW 102.168.0.254
Linux command line modify DNS
echo "NameServer 202.202.202.20" >>/etc/resolv.conf
Can be modified with the VIM command, multiple DNS can be multiple nameserver, one line a
1. Modify the/etc/sysconfig/network configuration fileVi/etc/sysconfig/networkModify hostnameHostname=new-hostname.domainnameMy network changed to:Hostname=redhat5.xiaomu.com.2. Modify the local domain name resolution file/etc/hosts, so that the native application can resolve the new host name.Vi/etc/hostsWill 127.0.0.1 Localhost.localdomain localhostInstead: 127.0.0.1 new-hostname.domainname new-hostname mine is.127.0.0.1 redhat5.xiaomu.com redhat5 R
Environment:System hardware: VMware vsphere (cpu:2*4 core, memory 2G, dual NIC)System version: Centos-7.0-1406-x86_64-dvd.isoInstallation steps:1. Virtual system Installation1.1 Use the VMware virtual machine to read the ISO for installation. Install the interface after startup1.2 Select the Install CentOS7 for language selection1.3 Select Simplified Chinese and go to the information summary1.4 Click "Install Location", select the hard disk that the system needs to install, click "Finish".1.5 Cl
all. Unfortunately, if the IP address is for this host changes, you are also have to also update the file. This May is a concern for a single server and but can become laborious if it has to being done companywide. For ease of management, it's often easiest to limit entries in this file to just the loopback interface and also the Serv Er ' s own hostname, and use a centralized DNS server to handle most of the rest. Sometimes you might is the one mana
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.