When Windows 10 installed Ubuntu16.04 and dual systems, the grub-amd64- package could not be loaded into target. There were three steps to solve the problem.
1, choose to boot from the storage disk and is legacy only.
2, the startup disk will have two options in the startup TAB, one with the UEFI option, the other without, select no UEFI startup.
3, when assigning the boot location, do not assign the /boot option, for reasons shown here.
solve!
Tag Archives: ProgrammerAH
Registering in Windows10 regsvr32 xxx.ocx reported an error but the call to DIIRegisterServer failed with error code 0x80040200…
There is a machine to read the resident id card on the website. It needs to install some registered activeX controls
and then enter the specified directory to execute the following command
regsvr32 XXX. Ocx
reported an error:
but the call to DIIRegisterServer failed with error code 0x80040200
Baidu once, found the reason is very simple, need to use the administrator identity to run
Type CMD from the control panel and right click Run as Administrator
This time it worked
Reproduced in: https://www.cnblogs.com/qianjinyan/p/9405534.html
command/usr/bin/codesign failed with exit code 1- code sign error
I’ve now spent 3 hours searching for the error mentioned above:
command /usr/bin/codesign failed, exit code 1
Here’s what I’ve done to try and fix this:
Set the bundle identifier to com.server. code signing to “any Iphone OS device” set the code signing identity to my distribution identity. The error only happens when I try to set it on my device and everything works fine on the emulator. Do you have any suggestions? Thank you very much in advance! I have the exact same error and have tried everything, including the suggestions elsewhere on this page. My problem is that in Keychain Access, the actual Apple WWDR certificate is marked as “always trusted”. It needs to be “system default”. This also applies to your Development Certificates and Issuing Certificates. If either of them is incorrectly set to “Always Trusted”, this will obviously cause the problem. So, in Keychain Access, click Apple Worldwide Developer Relations Certificate Authority Certificate, select Get Info. then, expand the Trust setting, and for ” When using this certificate:” combo box, select “System defaults”.
Sigh:For those who insist on vetoing this answer, I’m not saying this is the only solution to the problem. It’s a solution. It may not work for you.
failed to render and update auto layout status for….
Check to see if you have IBDesignable in your code (you’re using third-party stuff with IBDesignable). Xcode8 is buggy, so it always has a Red Cross
Solution: One: You can find the third party to delete ib or leave it alone.
Second: When using XIB, delete the word bound to class, then restart Xcode and then add the word bound to class back when running…
I found IB_DESIGNABLE and commented out the sentence. Then I tried the second method, rebooted it, and it really did work. So I decided to blog about it and share it.
//IB_DESIGNABLE
http://write.blog.csdn.net/postedit
vagrant up reports an error mounting failed with the error: No such device mounting directory failed
Vagrant Up reports the following mistakes:
Solution One
vagrant plugin install vagrant-vbguest
vagrant vbguest
Solution Two
vagrant plugin install vagrant-winnfsd
vagrant plugin install vagrant-vbguest
Reproduced in: https://www.cnblogs.com/jiayoubobo/p/11176776.html
Building wheel for wrapt (setup.py) … error
Go here
here
find corresponding error uninstalled library WHL file to download
PIP command to install
take me for example wrapt
C:\Windows\system32>pip install C:\Users\88304\Desktop\wrapt-1.11.2-cp36-cp36m-win_amd64.whl
Processing c:\users\88304\desktop\wrapt-1.11.2-cp36-cp36m-win_amd64.whl
Installing collected packages: wrapt
Successfully installed wrapt-1.11.2
C:\Windows\system32>pip install -i https://pypi.douban.com/simple/ tensorflow
Looking in indexes: https://pypi.douban.com/simple/
Collecting tensorflow
Downloading https://pypi.doubanio.com/packages/d3/af/296748d4c8d8987423231b93aecce5ab5952f6f2243cb6cedb88dd425397/tensorflow-2.0.0-cp36-cp36m-win_amd64.whl (48.1MB)
|████████████████████████████████| 48.1MB 113kB/s
Requirement already satisfied: google-pasta>=0.1.6 in c:\program files\python36\lib\site-packages (from tensorflow) (0.1.8)
Requirement already satisfied: wheel>=0.26 in c:\program files\python36\lib\site-packages (from tensorflow) (0.33.6)
Requirement already satisfied: absl-py>=0.7.0 in c:\program files\python36\lib\site-packages (from tensorflow) (0.8.1)
Requirement already satisfied: grpcio>=1.8.6 in c:\program files\python36\lib\site-packages (from tensorflow) (1.25.0)
Requirement already satisfied: opt-einsum>=2.3.2 in c:\program files\python36\lib\site-packages (from tensorflow) (3.1.0)
Requirement already satisfied: wrapt>=1.11.1 in c:\program files\python36\lib\site-packages (from tensorflow) (1.11.2)
Requirement already satisfied: tensorboard<2.1.0,>=2.0.0 in c:\program files\python36\lib\site-packages (from tensorflow) (2.0.2)
Requirement already satisfied: gast==0.2.2 in c:\program files\python36\lib\site-packages (from tensorflow) (0.2.2)
Requirement already satisfied: numpy<2.0,>=1.16.0 in c:\program files\python36\lib\site-packages (from tensorflow) (1.17.4)
Requirement already satisfied: six>=1.10.0 in c:\program files\python36\lib\site-packages (from tensorflow) (1.13.0)
Requirement already satisfied: termcolor>=1.1.0 in c:\program files\python36\lib\site-packages (from tensorflow) (1.1.0)
Requirement already satisfied: tensorflow-estimator<2.1.0,>=2.0.0 in c:\program files\python36\lib\site-packages (from tensorflow) (2.0.1)
Requirement already satisfied: astor>=0.6.0 in c:\program files\python36\lib\site-packages (from tensorflow) (0.8.0)
Requirement already satisfied: keras-applications>=1.0.8 in c:\program files\python36\lib\site-packages (from tensorflow) (1.0.8)
Requirement already satisfied: protobuf>=3.6.1 in c:\program files\python36\lib\site-packages (from tensorflow) (3.11.1)
Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\program files\python36\lib\site-packages (from tensorflow) (1.1.0)
Requirement already satisfied: google-auth<2,>=1.6.3 in c:\program files\python36\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow) (1.7.2)
Requirement already satisfied: requests<3,>=2.21.0 in c:\program files\python36\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow) (2.22.0)
Requirement already satisfied: markdown>=2.6.8 in c:\program files\python36\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow) (3.1.1)
Requirement already satisfied: setuptools>=41.0.0 in c:\program files\python36\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow) (42.0.2)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in c:\program files\python36\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow) (0.4.1)
Requirement already satisfied: werkzeug>=0.11.15 in c:\program files\python36\lib\site-packages (from tensorboard<2.1.0,>=2.0.0->tensorflow) (0.16.0)
Requirement already satisfied: h5py in c:\program files\python36\lib\site-packages (from keras-applications>=1.0.8->tensorflow) (2.10.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\program files\python36\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.1.0,>=2.0.0->tensorflow) (0.2.7)
Requirement already satisfied: cachetools<3.2,>=2.0.0 in c:\program files\python36\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.1.0,>=2.0.0->tensorflow) (3.1.1)
Requirement already satisfied: rsa<4.1,>=3.1.4 in c:\program files\python36\lib\site-packages (from google-auth<2,>=1.6.3->tensorboard<2.1.0,>=2.0.0->tensorflow) (4.0)
Requirement already satisfied: idna<2.9,>=2.5 in c:\program files\python36\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.1.0,>=2.0.0->tensorflow) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\program files\python36\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.1.0,>=2.0.0->tensorflow) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\program files\python36\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.1.0,>=2.0.0->tensorflow) (1.25.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\program files\python36\lib\site-packages (from requests<3,>=2.21.0->tensorboard<2.1.0,>=2.0.0->tensorflow) (2019.11.28)
Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\program files\python36\lib\site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.1.0,>=2.0.0->tensorflow) (1.3.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:\program files\python36\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6.3->tensorboard<2.1.0,>=2.0.0->tensorflow) (0.4.8)
Requirement already satisfied: oauthlib>=3.0.0 in c:\program files\python36\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.1.0,>=2.0.0->tensorflow) (3.1.0)
Installing collected packages: tensorflow
Successfully installed tensorflow-2.0.0
div>
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 My solution
Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3. Failed to register the DLL/OCX: RegSvr32 failed with exit code 0x3
A dependency analysis also did not find problems
It turned out to be a dependent DLL that did not support XP when VS2013 was compiled.
Record.
Reproduced in: https://www.cnblogs.com/nomadcirlce/p/8469677.html
Chrome failed to install
Please download Google Chrome again.”
at that time, I had successfully installed Chrome. There was a moment when Chrome failed to respond, and The installer failed to uncompress archive. Chrome then failed to open and failed to reinstall. Following this error message, I redownloaded and installed Chrome several times, but it never worked.
When I tried to uninstall Chrome from the control panel, I was told that Chrome had been successfully uninstalled. Then I went to the installation path of Chrome C:\Program Files (x86)\Google\ to directly delete the folder of Chrome. At this time, an error occurred, telling me that some programs under this folder were being occupied and could not be deleted.
then deleted the folders one by one, and finally found the problem in C:\Program Files (x86)\Google\Update\1.3.35.442 googlecrashhandler.exe and googlecrashhandler64. exe. The name makes perfect sense, as it turns out to be related to the previous Chrome crash that failed to respond.
The solution is to find the two processes in the task manager, manually terminate them, and then delete the Google folder completely. To be on the safe side, I also rebooted the computer and Chrome was up and running.
You can also open Windows PowerShell with admin privileges and run taskkill /f /t googlecrashhander.exe with the same effect
thanks for the inspiration of this article.
ORA-04098: trigger ‘SYS.GGS_DDL_TRIGGER_BEFORE’ is invalid and failed re-validation
SQL> alter user goldengate default tablespace ogg_tbs;
alter user goldengate default tablespace ogg_tbs
*
ERROR at line 1:
ORA-04098: trigger 'SYS.GGS_DDL_TRIGGER_BEFORE' is invalid and failed re-validation
SQL> @ddl_disable.sql
Trigger altered.
SQL> alter user goldengate default tablespace ogg_tbs;
User altered.
div>
Form Compile Issues: (FRM-18108: Failed to load the following objects)
Form compilation problem (FRM-18108: Failed to load the following objects.)
—
—
frm-18108: Failed to load the following objects.
Source Module:APPSTAND
Source Object: STANDARD_PC_AND_VA
Source Module:APPSTAND
Source Object: STANDARD_TOOLBAR
Source Module:APPSTAND
Source Object: STANDARD_CALENDAR
Compiling package specification APP_CUSTOM…
No compilation errors.
—
Cause:
as a result of non-import of APPSTAND.
Resolution:
CD $AU_TOP/forms/US/ — must compile in this directory, . In this way can FRMCMP find APPSTAND FMB file
frmcmp_batch Module = $CUX_TOP/forms/US/CUXORDENT FMB Userid = apps/apps the Module_Type = FORM output_file = $CUX_TOP/forms/US/CUXORDENT FMX [@ more @]
From “ITPUB blog” link: http://blog.itpub.net/394664/viewspace-1057829/, if you want to reprint, please indicate the source, otherwise will be investigated for legal responsibility.
Reproduced in: http://blog.itpub.net/394664/viewspace-1057829/
Chrome console reports Failed to load resource: net::ERR_BLOCKED_BY_CLIENT one of the solutions
Possible cause: self – installed AD plugin blocks related image
Solution: Set the whitelist for the current project page
Take the “AD Terminator” as an example:
1. Open the “AD Terminator” setting option
2. Enter the “Website Whitelist” and add the project domain name. If it is a local project, call localhost directly, as shown in the figure below
3, “Enter” key
Ok. The end.
[SSL: CERTIFICATE_VERIFY_FAILED] Certificate Verify Failed (_ssl.C:579)

==========================
Creating target directory...
==========================
Command start time 2018-02-27 09:30:03
Connection to node2.jky.com closed.
SSH command execution finished
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:03
==========================
Copying ambari sudo script...
==========================
Command start time 2018-02-27 09:30:03
scp /var/lib/ambari-server/ambari-sudo.sh
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:03
==========================
Copying common functions script...
==========================
Command start time 2018-02-27 09:30:03
scp /usr/lib/python2.6/site-packages/ambari_commons
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:04
==========================
Copying OS type check script...
==========================
Command start time 2018-02-27 09:30:04
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:04
==========================
Running OS type check...
==========================
Command start time 2018-02-27 09:30:04
Cluster primary/cluster OS family is redhat7 and local/current OS family is redhat7
Connection to node2.jky.com closed.
SSH command execution finished
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:04
==========================
Checking 'sudo' package on remote host...
==========================
Command start time 2018-02-27 09:30:04
Connection to node2.jky.com closed.
SSH command execution finished
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:05
==========================
Copying repo file to 'tmp' folder...
==========================
Command start time 2018-02-27 09:30:05
scp /etc/yum.repos.d/ambari.repo
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:05
==========================
Moving file to repo dir...
==========================
Command start time 2018-02-27 09:30:05
Connection to node2.jky.com closed.
SSH command execution finished
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:05
==========================
Changing permissions for ambari.repo...
==========================
Command start time 2018-02-27 09:30:05
Connection to node2.jky.com closed.
SSH command execution finished
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:06
==========================
Copying setup script file...
==========================
Command start time 2018-02-27 09:30:06
scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:06
==========================
Running setup agent script...
==========================
Command start time 2018-02-27 09:30:06
('WARNING 2018-02-27 09:30:14,621 NetUtil.py:116 - Server at https://master.jky.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2018-02-27 09:30:14,621 HeartbeatHandlers.py:115 - Stop event received
INFO 2018-02-27 09:30:14,621 NetUtil.py:122 - Stop event received
INFO 2018-02-27 09:30:14,621 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2018-02-27 09:30:14,621 ExitHelper.py:67 - Cleanup finished, exiting with code:0
INFO 2018-02-27 09:30:16,903 main.py:223 - Agent died gracefully, exiting.
INFO 2018-02-27 09:30:16,904 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2018-02-27 09:30:17,196 main.py:90 - loglevel=logging.INFO
INFO 2018-02-27 09:30:17,197 main.py:90 - loglevel=logging.INFO
INFO 2018-02-27 09:30:17,197 main.py:90 - loglevel=logging.INFO
INFO 2018-02-27 09:30:17,198 DataCleaner.py:39 - Data cleanup thread started
INFO 2018-02-27 09:30:17,199 DataCleaner.py:120 - Data cleanup started
INFO 2018-02-27 09:30:17,199 DataCleaner.py:122 - Data cleanup finished
INFO 2018-02-27 09:30:17,252 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2018-02-27 09:30:17,254 main.py:349 - Connecting to Ambari server at https://master.jky.com:8440 (192.168.201.13)
INFO 2018-02-27 09:30:17,254 NetUtil.py:62 - Connecting to https://master.jky.com:8440/ca
ERROR 2018-02-27 09:30:17,314 NetUtil.py:88 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2018-02-27 09:30:17,314 NetUtil.py:89 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2018-02-27 09:30:17,315 NetUtil.py:116 - Server at https://master.jky.com:8440 is not reachable, sleeping for 10 seconds...
', None)
('WARNING 2018-02-27 09:30:14,621 NetUtil.py:116 - Server at https://master.jky.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2018-02-27 09:30:14,621 HeartbeatHandlers.py:115 - Stop event received
INFO 2018-02-27 09:30:14,621 NetUtil.py:122 - Stop event received
INFO 2018-02-27 09:30:14,621 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2018-02-27 09:30:14,621 ExitHelper.py:67 - Cleanup finished, exiting with code:0
INFO 2018-02-27 09:30:16,903 main.py:223 - Agent died gracefully, exiting.
INFO 2018-02-27 09:30:16,904 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2018-02-27 09:30:17,196 main.py:90 - loglevel=logging.INFO
INFO 2018-02-27 09:30:17,197 main.py:90 - loglevel=logging.INFO
INFO 2018-02-27 09:30:17,197 main.py:90 - loglevel=logging.INFO
INFO 2018-02-27 09:30:17,198 DataCleaner.py:39 - Data cleanup thread started
INFO 2018-02-27 09:30:17,199 DataCleaner.py:120 - Data cleanup started
INFO 2018-02-27 09:30:17,199 DataCleaner.py:122 - Data cleanup finished
INFO 2018-02-27 09:30:17,252 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2018-02-27 09:30:17,254 main.py:349 - Connecting to Ambari server at https://master.jky.com:8440 (192.168.201.13)
INFO 2018-02-27 09:30:17,254 NetUtil.py:62 - Connecting to https://master.jky.com:8440/ca
ERROR 2018-02-27 09:30:17,314 NetUtil.py:88 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2018-02-27 09:30:17,314 NetUtil.py:89 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2018-02-27 09:30:17,315 NetUtil.py:116 - Server at https://master.jky.com:8440 is not reachable, sleeping for 10 seconds...
', None)
Connection to node2.jky.com closed.
SSH command execution finished
host=node2.jky.com, exitcode=0
Command end time 2018-02-27 09:30:19
Registering with the server...
Registration with the server failed.
原因:
这是由于较新的Python 2.7.5版本中的一个缺陷造成的,该缺陷会导致无论证书状态如何,证书验证都失败。
(这是由于Python 2.7.5的新版本中存在缺陷,导致无论证书状态如何,证书验证都失败)。
解决步骤:
注意:作为一种解决方案,我们强烈建议Python不要更新到比Python -2.7.5-48.el*更新的版本。x86_64(或者降级到那个版本,如果更新的话)。
你可以通过python -V或python -c ‘import sys来验证你的版本;print(sys.version)’或yum列表安装了|grep python。您需要确认主要版本是2.7.5,构建版本是2017年2月或更早,完整版本是2.7.5-48或更早。
或者,如果您希望保持在较新的版本上,您可以禁用Python中的证书验证:
sed -i 's/verify=platform_default/verify=disable/' /etc/python/cert-verification.cfg
** I solved the problem with this command. You only need to enter this command on both nodes. The screenshot of this article is only executed on the first node, so the second node fails again
(Note: As a solution, we strongly recommend it
Don’t
Update Python to a newer version (or downgrade to it, if updated) than Python-2.7.5-48. el *.x86_64.
You can import sys via Python-v or Python-C ‘; Print (sys.version) ‘or install yum list | grep python. You need to confirm that the primary version is 2.7.5, the version is February 2017 or earlier, and the full version is 2.7.5-48 or earlier.
Or, if you want to keep it in the new version, you can disable certificate validation in Python 🙂
* Through Python-V, I can only check that my Python version is 2.7.5, but I don’t know whether it is 2.7.5-48 or not. Therefore, I can’t reduce the version to 2.7.5-48 according to others’ solution and disable certificate verification intelligently. Hopefully, there is a way to fix the problem by changing the Python version
Problem solving resources:
1.https://interset.zendesk.com/hc/en-us/articles/115011874548–SSL-CERTIFICATE-VERIFY-FAILED-certificate-verify-failed-ssl-c-579-
2.https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certifi.html