GPG and Apt-Key make agents that do not read directly from the terminal set up and need to be set separately. Keyserver timed out when trying to add a GPG public key – Unix & Linux Stack Exchange
for example, the default command is:
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys SOMEKEY
apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys AKEYXXX
The error of not setting the agent is as follows:
root@ubuntu:/home/zhang# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4
Executing: /tmp/apt-key-gpghome.ar8g11QK0Q/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4
gpg: keyserver receive failed: Connection timed out
Set the agent as follows:
gpg --keyserver-options http-proxy=test.com:8080/" --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys SOMEKEY
apt-key adv --keyserver-options http-proxy=test.com:8080/" --keyserver hkp://keyserver.ubuntu.com --recv-keys AKEYXXX
div>
EBS R12 login error—R12.1 FRM-92050: FAILED TO CONNECT TO SERVER: /FORMS/LSERVLET
This method is from metalink
The resolution process is as follows.
Adding applications/middle tier servers to the intranet in IE8. (Internet options than; local intranet wishes are added in advance)
This is also described in the recommended browser comment 389422.1:
Set Oracle E-Business Suite to run through the “Trusted Sites” area and set the “Medium” security settings. (if required)
Step 1:Select Tools -> Internet Options -> Security tab -> Trusted Sites icon -> “Site” button from the Internet Explorer menu bar.
Step 2:If you have not set the “security level of this zone”, set it to “Medium”.
Step 3: In the ‘Add this Web site to the zone:’ field, enter the ‘hostname and domain’ of the environment running Oracle E-Business Suite; for example, https://. Then click the ‘Add’ button. Alternatively, you can simply add the ‘*’ in front of the domain name to make all websites in the domain pass through this zone. I.e. *.
If you are using a proxy server…
1. go to “Tools” option in Internet Explorer and select Internet option. 2.
2. select the “Connection” tab.
3. select the “LAN Settings” button
4. select the “Advanced” button
5. add an entry for the APS node under the exception definition…;.
Example: sydprodapp.mycompany.com.au
6. save this change to Internet Explorer…and reconnect to the R12 application
I have tried, can succeed, of course, also depends on their own computer system version, than this theme such as seems to have problems!
gunicorn.errors.HaltServer: HaltServer ‘App failed to load.’ 4
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
# return 'hello world'
if __name__ == '__main__':
app.run(debug=True)
Use the command: Gunicorn WSGI: application-b 0.0.0.0.0:8000-w 2
Error message:
[2019-01-09 15:39:40 +0800] [29565] [INFO] Starting gunicorn 19.9.0
[2019-01-09 15:39:40 +0800] [29565] [INFO] Listening at: http://0.0.0.0:8000 (29565)
[2019-01-09 15:39:40 +0800] [29565] [INFO] Using worker: sync
[2019-01-09 15:39:40 +0800] [29568] [INFO] Booting worker with pid: 29568
[2019-01-09 15:39:40 +0800] [29570] [INFO] Booting worker with pid: 29570
Failed to find application object 'application' in 'wsgi'
[2019-01-09 15:39:40 +0800] [29568] [INFO] Worker exiting (pid: 29568)
Failed to find application object 'application' in 'wsgi'
[2019-01-09 15:39:40 +0800] [29570] [INFO] Worker exiting (pid: 29570)
Traceback (most recent call last):
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 203, in run
self.manage_workers()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 545, in manage_workers
self.spawn_workers()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 617, in spawn_workers
time.sleep(0.1 * random.random())
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 245, in handle_chld
self.reap_workers()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 528, in reap_workers
raise HaltServer(reason, self.APP_LOAD_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'App failed to load.' 4>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ejior/.virtualenvs/begin/bin/gunicorn", line 11, in <module>
sys.exit(run())
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 61, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/app/base.py", line 223, in run
super(Application, self).run()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 232, in run
self.halt(reason=inst.reason, exit_status=inst.exit_status)
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 345, in halt
self.stop()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 393, in stop
time.sleep(0.1)
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 245, in handle_chld
self.reap_workers()
File "/home/ejior/.virtualenvs/begin/lib/python3.6/site-packages/gunicorn/arbiter.py", line 528, in reap_workers
raise HaltServer(reason, self.APP_LOAD_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'App failed to load.' 4>
Reason for error:
app = Flask(___)). This is defined as app. This should also be used in the command gunicorn-w 4-b 0.0.0.0.0:8000-k gevent wsgi:app.
CreateProcess failed when the inno setup packager is installed; code 740
problem: USES inno setup to package our published program test.exe. After the installation, check Launch XXX to run the program, and the following error occurs:
Unable to execute file:xxx
CreateProcess failed; code 740.
The requested operation needs to be promoted.

error reason: below are the two ICONS of test.exe, with the shield is with the administrator rights, without the shield is a normal program.


When packaging ordinary programs, the end of the installation will not report an error; An error will not be reported until the end of the installation when the administrator privilege program is packaged.
My guess is that when the installation package is executed, the installation package does not carry administrator rights, so after the installation is over, start test.exe without administrator rights and it will execute normally.
However, if you were to execute test.exe with administrator privileges, you would have permission issues.
therefore, we need to install the package with administrator rights, let the installation package run with administrator rights.
Specific implementation steps are as follows:
Let the installation packages generated by inno Setup come with administrator privileges
Download Resource Hacker
Download address: http://www.angusj.com/resourcehacker/

2. Modify setupldr.e32 file
, right click on the administrator rights to run resourcehacker.exe, select File-> Open, find the setupldr.e32 file in the Inno Setup installation directory.

I’ll change asInvoker to requireAdministrator

After modification, first select Action-& GT; Modify, then File-> Save. As follows:

3. Recompile the package script
Recompiled with Inno Setup, the resulting installation package will have a shield attached to the icon. As follows:

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Spare time not regularly update some ideas, thinking articles, welcome to pay attention to, discuss together, precipitation technology!


jsp: Failed to load resource: the server responded with a status of 400 (Bad Request)
2. If the foreground cannot send the request, see if it is a problem with JS’s validate validation, as well as js’s dataPicker time plug-in assignment and other required data validation issuesLike friends can scan my personal public account, there are good things to share with. Free access to a variety of learning video, source code, PPT materials
You can also search WeChat for Java programmer stuff
No Internet access error 137 (net::ERR_NAME_RESOLUTION_FAILED): Solution to unknown error
chrome error code: error 137 (net::ERR_NAME_RESOLUTION_FAILED): unknown error.
thought it was a DNS resolution problem, so it changed to 8.8.8.8 8.8.4.4 and so on. I can’t.
the reason is that I installed a local PHP running server: APMServ5.2.6. After using its software conflict resolution feature, I found a problem:
Finally, administrator open CMD →netsh winsock reset → restart the computer and solve the problem.
source: http://hi.baidu.com/tzg18/item/dbf826f2fd683f733d198b1b
Centos6 suddenly cannot access the network VM communication interface socket family: failed
Question:
VM communication interface socket family: failed
Determining IP information for eth0... failed; no link present. Check cable?
Solutions:
- open the terminal, administrator identity (su, then enter the password), run
/usr/bin/vmware-config-tools.pl -d, close the image, close the virtual machine, and restart the computer. ps: copy a big guy’s picture, encounter similar problem.
Failed to load bundle…Unable to resolve module `xxx` from xxx: Module `xx` does not exist
Solution.
Run the
npm start -- -reset-cache command. Reference:https://github.com/zetachang/react-native-dotenv/issues/39
VS2008 comes with crystal reports: Failed to Save Document
failed: Too many links (How to Fix)
Received feedback today that some files failed to synchronize. Looking at the logs found:
rsync: recv_generator: mkdir "/app/data/ckl/ckli2780581" failed: Too many links (31) *** Skipping any contents from this failed directory ***
- enter the relevant directory to establish file:
cd /app/data/ckl/ mkdir vd
Report the same error:
failed: Too many links
2. Check the directory
ls /app/data/ckl | wc -l 31998
The sheer number of directories may be a limitation of the file system
3. Check the file system
df -lhT Filesystem Type Size Used Avail Use% Mounted on /dev/sda1 ext3 7.9G 4.9G 2.7G 65% /
It was ext3
is roughly as follows:
nclude/linux/ext2_fs.h:#define EXT2_LINK_MAX 32000 include/linux/ext3_fs.h:#define EXT3_LINK_MAX 32000
Why 31,998?This is because when mkdir creates a directory, two subdirectories are created by default, one is. The directory (representing the current directory), and the other one is.. Directory (representing the parent directory). These two subdirectories are not deleted, “rm.” will get “RM: cannot remove ‘.’ or ‘.. ‘”. So 32000-2 = 31998.
Solution:
Ext4 has no limit on the number of directories
Mount a new disk to establish a connection to the directory
The script is as follows:
#!/bin/bash
CUR_DAY=`date +%Y%m%d`
SRC_DIR=/app
DST_DIR=/data
fdisk /dev/vdc <<EOF
d
n
p
1
1
t
83
w
EOF
echo
echo "star create vg and lv..."
pvcreate /dev/sdc1
if [ $? -eq 0 ];then
vgcreate data-volume /dev/vdc1
if [ $? -eq 0 ];then
lvcreate -L 99G -n s1_data data-volume
else
echo "lv create failed!"
exit 1
else
echo "vg create failed !"
fi
mkfs -t ext4 /dev/data-volume/s1_data
mount /dev/data-volume/s1_data ${DST_DIR}
cp -a ${SRC_DIR}/data ${DST_DIR}
mv ${SRC_DIR}/data ${SRC_DIR}/data_bak/
ln -s ${DST_DIR}/data/ ${SRC_DIR}/data
Solve the problem that comdlg32.ocx, mscomm32.ocx and other controls cannot be registered under WIN7 64-bit system
Component ‘mscomCTL. OCX’ or one of its Dependencies not dependencies
Registered: a file is missing or invalid
This control ‘mscomCTL.ocx’ has not been registered properly: the file is missing
On the command line, type Regsvr32.exe
MSCOMCTL. Ocx, if you want to register, copy a MSCOMCTL. Ocx to the partition where the system is located on another computer
Under The Windows \ System32 folder, reregister
The following methods are for reference only:
—————————
1. Find the directory where you have msCOMM32.ocx on your computer
2. Then create a new text file called
1. TXT content:
Regsvr32 mscomm32. Ocx
3. Then rename the file to 1.bat
And then double-click to run the BAT
Download in the
SYSTEM32
After the folder, start
–
Run the input
“Regsvr32 mscomctl. Ocx”
Instead, the module is prompted to load,
But for
Dllregisterserver
Failed to call,
Error code is
0 x8002810c
I checked the error code, but I still didn’t target it and used it during the session
SFCscan
Yeah, no
with
Additional questions:
It doesn’t work to de-register and re-register
I finally solved the problem by myself.
The original is not enough permissions.
You need to open the super administrator account,
And then into the super
The level administrator account is
mscomctl.ocx
Register, restart and solve the problem
First anti-register and then try to re-register!
Regsvr32 mscomctl. Ocx/u
Regsvr32 mscomctl. Ocx
To solve the
Windows 7 64
Unable to register under bit system
comdlg32.ocx
,
mscomm32.ocx
Control, etc
1
First make sure your
WIN7
It’s administrator rights
2
Download,
comdlg32.ocx
Control, such as the Internet can be searched
3
And the
comdlg32.ocx
In the
c:\Windows\SysWOW64
Note: Administrator privileges are required
4
And start
–
The program
–
The attachment
–
Command prompt, right-click, and run as administrator
5
,
Regsvr32 c: \ Windows \ SysWOW64 \ comdlg32 ocx
(Corresponding control name)
prompt
DllRegisterServer in C: \ WINDOWS \ SysWOW64 \ comdlg32 ocx succeeded
That means the control was registered successfully,
You can use
WindMencoder
.
Other need
comdlg32.ocx
Control of the program can also
In order to use.
MariaDB startup error: Failed to start MariaDB database server
Failed to start MariADB Database Server
Background: It's strange, mysql has been running well, suddenly can not connect up, check the process, found mysql processes are gone!
[root@host-39-108-217-12 mariadb]# systemctl status mariadb.service
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2018-07-06 08:54:32 CST; 1min 18s ago
Process: 29269 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 29268 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 29238 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 29268 (code=exited, status=0/SUCCESS)
Jul 06 08:54:31 host-39-108-217-12 systemd[1]: Starting MariaDB database server...
Jul 06 08:54:31 host-39-108-217-12 mariadb-prepare-db-dir[29238]: Database MariaDB is probably initialized in /var/lib/mysql/data already, nothing is done.
Jul 06 08:54:31 host-39-108-217-12 mysqld_safe[29268]: 180706 08:54:31 mysqld_safe Logging to '/var/lib/mysql/logs/mariadb.log'.
Jul 06 08:54:31 host-39-108-217-12 mysqld_safe[29268]: 180706 08:54:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/data
Jul 06 08:54:32 host-39-108-217-12 systemd[1]: mariadb.service: control process exited, code=exited status=1
Jul 06 08:54:32 host-39-108-217-12 systemd[1]: Failed to start MariaDB database server.
Jul 06 08:54:32 host-39-108-217-12 systemd[1]: Unit mariadb.service entered failed state.
Jul 06 08:54:32 host-39-108-217-12 systemd[1]: mariadb.service failed.
View mariadb error messages
[root@host-39-108-217-12 mariadb]# grep 'ERROR' /var/lib/mysql/logs/mariadb.log
180706 8:47:23 [ERROR] Plugin 'InnoDB' init function returned error.
180706 8:47:23 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
180706 8:47:23 [ERROR] Unknown/unsupported storage engine: InnoDB
180706 8:47:23 [ERROR] Aborting
180706 8:48:48 [ERROR] Plugin 'InnoDB' init function returned error.
180706 8:48:48 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
180706 8:48:48 [ERROR] Unknown/unsupported storage engine: InnoDB
180706 8:48:48 [ERROR] Aborting
180706 8:49:38 [ERROR] Plugin 'InnoDB' init function returned error.
180706 8:49:38 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
180706 8:49:38 [ERROR] Unknown/unsupported storage engine: InnoDB
180706 8:49:38 [ERROR] Aborting
180706 8:54:31 [ERROR] Plugin 'InnoDB' init function returned error.
180706 8:54:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
180706 8:54:31 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
180706 8:54:31 [ERROR] Unknown/unsupported storage engine: InnoDB
180706 8:54:31 [ERROR] Aborting
The analysis found insufficient memory, just restart the server!