<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Alan1921的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Alan1921</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Alan1921]]></copyright><item><title><![CDATA[mysqld_safe无法启动没有日志]]></title><link>https://blog.csdn.net/Alan1921/article/details/130083770</link><guid>https://blog.csdn.net/Alan1921/article/details/130083770</guid><author>Alan1921</author><pubDate>Tue, 11 Apr 2023 15:01:45 +0800</pubDate><description><![CDATA[这里的原因是开启了 binary log，但没有配置server-id，关闭bin log 或者配置server-id 即可。如上，mysql 启动失败，且没有日志。读者根据具体日志抛出的原因 具体处理即可。不用mysqld_safe 启动如何？各种排查，找不到原因，挺苦恼的。问题现出原形，多亏了日志！]]></description><category></category></item><item><title><![CDATA[mysql启动关闭debug]]></title><link>https://blog.csdn.net/Alan1921/article/details/121564117</link><guid>https://blog.csdn.net/Alan1921/article/details/121564117</guid><author>Alan1921</author><pubDate>Fri, 26 Nov 2021 17:03:09 +0800</pubDate><description><![CDATA[我把mysql 的 debug 开启之后，想关闭，网上搜索了一下，没有可靠答案。。。
环境
mysql5.7
centos7
mysql开启debug
# mysqladmin -uroot -p -h127.0.0.1 debug
Enter password:
输入密码就开启了

查看 my.cnf 可以找到log-error 的所在位置
[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
这是我的配置，具体以实际为准。
查看 log-error，发]]></description><category></category></item><item><title><![CDATA[while和scanf C语言]]></title><link>https://blog.csdn.net/Alan1921/article/details/120372205</link><guid>https://blog.csdn.net/Alan1921/article/details/120372205</guid><author>Alan1921</author><pubDate>Sat, 18 Sep 2021 19:14:36 +0800</pubDate><description><![CDATA[最近在学C ，有一句代码把我看懵了。。。
int getnights(void)
{
    int nights;
    
    printf("How many nights are needed? ");
    while (scanf("%d", &amp;nights) != 1)
    {
        scanf("%*s"); //dispose of non-integer input
        printf("\t Please enter an integer , su]]></description><category></category></item><item><title><![CDATA[mysql手动中断source命令的执行]]></title><link>https://blog.csdn.net/Alan1921/article/details/114364512</link><guid>https://blog.csdn.net/Alan1921/article/details/114364512</guid><author>Alan1921</author><pubDate>Thu, 04 Mar 2021 11:43:47 +0800</pubDate><description><![CDATA[问题
在mysql命令行 对一个sql文件执行了source命令，把sql文件的数据导入mysql。
因导入数据前，忘记把autocommit 关闭，导致导入较慢，因此需中断source 命令的运行。
计划 先找到source 对应的进程，然后kill
mysql&gt; select * from information_schema.processlist where user = 'polcent_basepara';
+-----------+------------------+---------]]></description><category></category></item><item><title><![CDATA[oracle job运行缓慢排查方法]]></title><link>https://blog.csdn.net/Alan1921/article/details/113179688</link><guid>https://blog.csdn.net/Alan1921/article/details/113179688</guid><author>Alan1921</author><pubDate>Tue, 26 Jan 2021 14:50:58 +0800</pubDate><description><![CDATA[遇到问题
oracle 数据库 job跑的很慢
排查办法
打开plsql，执行：
select * from v$sql_monitor where username=‘myuser1’ order by elapsed_time desc
其中，把myuser1 换成实际运行job的用户
然后看 查询结果的sql_text 列和 elapsed_time 这两列：

elapsed_time这一列单位是微秒。如图所示，发现了大量慢sql ,经对比，确实是job对应的存储过程里面的语句。经分析发现该sql ]]></description><category></category></item><item><title><![CDATA[Couldn‘t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-remi]]></title><link>https://blog.csdn.net/Alan1921/article/details/110489308</link><guid>https://blog.csdn.net/Alan1921/article/details/110489308</guid><author>Alan1921</author><pubDate>Wed, 02 Dec 2020 16:23:36 +0800</pubDate><description><![CDATA[遭遇问题：
yum 安装软件失败，报错：Couldn’t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
解决办法：
host01 yum.repos.d]# ll /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
ls: cannot access /etc/pki/rpm-gpg/RPM-GPG-KEY-remi: No such file or directory
可以看出，文件不存在。
host01 yum.repos.d]# cd /etc]]></description><category></category></item><item><title><![CDATA[sqldeveloper修改jdk配置]]></title><link>https://blog.csdn.net/Alan1921/article/details/109045766</link><guid>https://blog.csdn.net/Alan1921/article/details/109045766</guid><author>Alan1921</author><pubDate>Tue, 13 Oct 2020 10:31:53 +0800</pubDate><description><![CDATA[环境：
WIN10 x64  + sql developer
问题：
oracle sql developer初次使用会提示选择JDK
如果选错了怎么办？不会给你第二次选择jdk 的机会啊。。。

浏览了几十个网页，各种解决办法都看了，就是实际解决不了我遇到的问题。。。
解决办法：
关掉sql developer ，jdk文件夹重命名

嗯，我加了 - -
重新打开 sql developer

可以重新选择jdk了！

...]]></description><category></category></item><item><title><![CDATA[导入数据报错ORA-00904 ORA-32588]]></title><link>https://blog.csdn.net/Alan1921/article/details/105566076</link><guid>https://blog.csdn.net/Alan1921/article/details/105566076</guid><author>Alan1921</author><pubDate>Thu, 16 Apr 2020 21:35:02 +0800</pubDate><description><![CDATA[问题登场
Warning: the objects were exported by XXZX_QUERY, not by you

import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
. importing XXZX_QUERY's objects into JHK
. importing XXZX_QU...]]></description><category></category></item><item><title><![CDATA[weblogic启动失败 Failed to load servlet Class]]></title><link>https://blog.csdn.net/Alan1921/article/details/105562957</link><guid>https://blog.csdn.net/Alan1921/article/details/105562957</guid><author>Alan1921</author><pubDate>Thu, 16 Apr 2020 17:32:18 +0800</pubDate><description><![CDATA[问题登场
今天开发人员找我，说是 weblogic 挂了。我一看，AdminServer 也挂了。
于是，手动启动AdminServer （非weblogic集群）
AdminServer 无法启动，报错如下：
&lt;Apr 16, 2020 2:20:07 PM CST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &...]]></description><category></category></item><item><title><![CDATA[通过IP连接网络打印机]]></title><link>https://blog.csdn.net/Alan1921/article/details/104948717</link><guid>https://blog.csdn.net/Alan1921/article/details/104948717</guid><author>Alan1921</author><pubDate>Wed, 18 Mar 2020 17:07:47 +0800</pubDate><description><![CDATA[问题登场
打印机显示脱机，无法打印
环境
HP 普通打印机，配置有静态IP
解决办法
跑到打印机旁，打印一张网络摘要。
TCP/IP(v4) 那里显示 IP 地址 192.168.xxx.xxx
Syslog 那里显示端口 =514
下面请看图操作：
,
,
下面请移步：
http://alan1921.cn/index.php/2020/03/18/connect-printer/

...]]></description><category></category></item><item><title><![CDATA[网站域名解析]]></title><link>https://blog.csdn.net/Alan1921/article/details/104755451</link><guid>https://blog.csdn.net/Alan1921/article/details/104755451</guid><author>Alan1921</author><pubDate>Mon, 09 Mar 2020 16:38:56 +0800</pubDate><description><![CDATA[网站域名解析
直接上图
再来一张图
参考链接:
http://alan1921.cn/index.php/2020/03/09/domain/

]]></description><category></category></item><item><title><![CDATA[扩展屏幕出错 桌面显示反了]]></title><link>https://blog.csdn.net/Alan1921/article/details/104615371</link><guid>https://blog.csdn.net/Alan1921/article/details/104615371</guid><author>Alan1921</author><pubDate>Mon, 02 Mar 2020 17:15:59 +0800</pubDate><description><![CDATA[问题闪亮登场
环境：我的笔记本win10 + 一台显示器
因外接显示器上显示模糊，我调整了外接显示器的缩放。之后发现，桌面的图标、文件什么的全跑到外接的显示器上面去了，本应该在我的笔记本上显示。
解决办法
怎么调都不行，重启了电脑，本以为会好，结果打脸。
网上搜索了几个网页，参照设置，却问题依旧。。。
重点：
下面请移步，亲测成功：
http://alan1921.cn/index.php/202...]]></description><category></category></item><item><title><![CDATA[Failed to start LSB Bring up/down networking]]></title><link>https://blog.csdn.net/Alan1921/article/details/104533370</link><guid>https://blog.csdn.net/Alan1921/article/details/104533370</guid><author>Alan1921</author><pubDate>Thu, 27 Feb 2020 11:57:33 +0800</pubDate><description><![CDATA[问题登场
systemctl restart nework 失败，报错:
Failed to start LSB Bring up/down networking
[root@centos7_009 network-scripts]# systemctl status network
  network.service - LSB: Bring up/down networking
   Load...]]></description><category></category></item><item><title><![CDATA[[INS-40927] Interfaces with common subnets have different names on different nodes]]></title><link>https://blog.csdn.net/Alan1921/article/details/104518519</link><guid>https://blog.csdn.net/Alan1921/article/details/104518519</guid><author>Alan1921</author><pubDate>Wed, 26 Feb 2020 17:11:13 +0800</pubDate><description><![CDATA[问题登场
安装oracle RAC 报错：
[FATAL] INS-40927 Interfaces with common subnets have different names on different nodes
解决办法
cd /etc/sysconfig/network-scripts

先写到这，到家了更新

...]]></description><category></category></item><item><title><![CDATA[虚拟机繁忙vmware workstation]]></title><link>https://blog.csdn.net/Alan1921/article/details/104189198</link><guid>https://blog.csdn.net/Alan1921/article/details/104189198</guid><author>Alan1921</author><pubDate>Wed, 05 Feb 2020 21:50:02 +0800</pubDate><description><![CDATA[问题登场

虚拟机刚开机没多久，正在操作呢，突然卡住不响应了，直接关闭vmware workstation 报错如上图：虚拟机繁忙。
电脑OS : win 10 ，虚拟机系从win8.1 的电脑拷贝而来，之前从未出现这个问题。
解决办法
请移步以下链接：
http://alan1921.cn/index.php/2020/02/03/xu-ni-ji-fan-mang/

...]]></description><category></category></item><item><title><![CDATA[U盘安装centos7]]></title><link>https://blog.csdn.net/Alan1921/article/details/104182317</link><guid>https://blog.csdn.net/Alan1921/article/details/104182317</guid><author>Alan1921</author><pubDate>Wed, 05 Feb 2020 14:30:10 +0800</pubDate><description><![CDATA[准备材料
centos7 启动盘一个、电脑一台
安装过程
用UltraISO 制作centos 7 启动盘；
开机设置U盘启动；
Install CentOS 7 那里按e 或者tab 键编辑 启动参数：
inst.stage2=hd:LABEL= 这些删掉，换成 linux dd，回车
等待一会，会显示类似
sda2
sda5
sdb4，这里sdb4 就是我的U 盘
输入c 继续，然后 输入po...]]></description><category></category></item><item><title><![CDATA[ora-01756 secureCRT]]></title><link>https://blog.csdn.net/Alan1921/article/details/103876099</link><guid>https://blog.csdn.net/Alan1921/article/details/103876099</guid><author>Alan1921</author><pubDate>Tue, 07 Jan 2020 16:33:27 +0800</pubDate><description><![CDATA[遭遇问题
secureCRT 登录数据库主机，sqlplus 里面执行sql 语句。
由于sql 语句包含中文，sqlplus 报错
ORA-01756: quoted string not properly terminated
解决方案
secureCRT ：点击 options -&gt;session options
这里把 UTF-8 改成 Default ，如下图
亲测成功
写于 Ja...]]></description><category></category></item><item><title><![CDATA[The listener supports no services]]></title><link>https://blog.csdn.net/Alan1921/article/details/103489396</link><guid>https://blog.csdn.net/Alan1921/article/details/103489396</guid><author>Alan1921</author><pubDate>Wed, 11 Dec 2019 11:50:48 +0800</pubDate><description><![CDATA[问题登场
$ lsnrctl status
The listener supports no services
而且lsnrctl status 敲下去，显示结果卡了好一会才出来，但是系统本身并不卡，其他命令执行都很快。
解决过程
# cat /etc/hosts

发现 主机名和 IP 不对，IP 是主机之前用的IP，用 vi /etc/hosts 修改；
这时，执行lsnrctl status...]]></description><category></category></item><item><title><![CDATA[hp 战99 G1开启显示设置面板]]></title><link>https://blog.csdn.net/Alan1921/article/details/103480568</link><guid>https://blog.csdn.net/Alan1921/article/details/103480568</guid><author>Alan1921</author><pubDate>Tue, 10 Dec 2019 18:29:58 +0800</pubDate><description><![CDATA[惠普战99 G1开启显示设置面板
需求：
从面板里面可以调节对比度和亮度，不使用面板，则只能使用快捷键调整屏幕的亮度，而且显示设置的面板还有不少其他功能。
方法：
按win键，输入intel 会自动进行搜索，显示如下：
点击最上面的intel graphics control panel 即可。
如找不到，按win 键，点击设置 -&gt; 点击 更新和安全 ，统统更新一遍，包括功能更新；
更新过...]]></description><category></category></item><item><title><![CDATA[weblogic javax.net.ssl.SSLKeyException]]></title><link>https://blog.csdn.net/Alan1921/article/details/103372809</link><guid>https://blog.csdn.net/Alan1921/article/details/103372809</guid><author>Alan1921</author><pubDate>Tue, 03 Dec 2019 17:52:33 +0800</pubDate><description><![CDATA[问题出现
weblogic 版本: 10.3.6
系统版本： CentOS 7.2
新装的weblogic ，console 里面新建一台Machines计算机。监听地址无论填 localhost，还是127.0.0.1 还是 主机IP， 该计算机都处于不可用状态，页面显示 javax.net.ssl.SSLKeyException
解决过程
重装weblogic ，问题依旧。
再次重装weblo...]]></description><category></category></item></channel></rss>