Category Archives: How to Fix

Error LNK1169: one or more multiple defined symbols were found

The reason for the problem is that a variable is declared in a header file, but it is defined in two or more. CPP files.

Solution: generally, the compiler will tell you which variable has a problem. You need to locate the variable, and then delete one of the redundant variable definitions

There is also a helpless solution. You can open the project configuration properties connector command line and enter the following string to allow multiple settings:

/ force:multiple   original link: https://blog.csdn.net/qq_ 40222602/article/details/79712192

Xshell frequently disconnects, indicating socket error event: 32 error: 10053 connection failure

The SSH connection of xshell frequently prompts socket error event: 32 error: 10053

1. Cancel the check at the tunnel

2 modify/etc/SSH/sshd_ Configuration file under config

Change the value of clientaliveinterval to 60

Then restart the ssh server

At present, there is no frequent SSH disconnection problem, which should be effective

Error: the solution of “241” and “343” in program

When encountering the error: strain ‘,’241’,’343 ‘in program

An error is a compilation error in C/C + +.

The error refers to the source program has illegal characters, illegal characters need to be removed. Generally, the coder uses Chinese input method or directly copies and pastes the code from other places. Chinese space, Chinese quotation marks and various Chinese punctuation marks appear in the code.

Solution:
open the error file in Notepad and save it in ANSI format. You can see that some unrecognized characters become garbled.

1. Delete the space in the wrong line and the space before and after it, and try again
2. Change the color that is obviously different from other punctuation marks( Most compilers have color recognition)
3. If the code is relatively short, it is recommended to re type it all

Dpkg: error processing package XXX (- – configure) solution (red warning in the upper right corner of Ubuntu)

When executing sudo apt get upgrade in Ubuntu, the following error is reported:

Setting up bluez (4.101-0ubuntu13.1) ...
reload: Job is not running: dbus
invoke-rc.d: initscript dbus, action "force-reload" failed.
start: Job failed to start
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing package bluez (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bluez-alsa:i386:
 bluez-alsa:i386 depends on bluez; however:
  Package bluez is not configured yet.
 
dpkg: error processing package bluez-alsa:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 bluez
 bluez-alsa:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

You can solve this problem by executing the following command:

$ sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
$ sudo mkdir /var/lib/dpkg/info/
$ sudo apt-get update
...
$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    7 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up bluez (4.101-0ubuntu13.1) ...
    Setting up blueman (1.23-git201403102151-1ubuntu1) ...
    Setting up bluetooth (4.101-0ubuntu13.1) ...
    Setting up bluez-alsa:amd64 (4.101-0ubuntu13.1) ...
    Setting up bluez-alsa:i386 (4.101-0ubuntu13.1) ...
    Setting up bluez-gstreamer (4.101-0ubuntu13.1) ...
    Setting up bluez-utils (4.101-0ubuntu13.1) ...
$ sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_old/
$ sudo rm -rf /var/lib/dpkg/info
$ sudo mv /var/lib/dpkg/info_old/ /var/lib/dpkg/info/

After entering the above command, there is no problem in executing sudo apt get update and sudo apt get upgrade.

ERROR java.lang.RuntimeException: azkaban.jobExecutor.utils.process.ProcessFailureException

Error log:

java.lang.RuntimeException: azkaban.jobExecutor.utils.process.ProcessFailureException
	at azkaban.jobExecutor.ProcessJob.run(ProcessJob.java:304)
	at azkaban.execapp.JobRunner.runJob(JobRunner.java:784)
	at azkaban.execapp.JobRunner.doRun(JobRunner.java:600)
	at azkaban.execapp.JobRunner.run(JobRunner.java:561)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: azkaban.jobExecutor.utils.process.ProcessFailureException
	at azkaban.jobExecutor.utils.process.AzkabanProcess.run(AzkabanProcess.java:130)
	at azkaban.jobExecutor.ProcessJob.run(ProcessJob.java:296)
	... 8 more
27-06-2021 16:47:23 CST ods_nshop2hive ERROR - azkaban.jobExecutor.utils.process.ProcessFailureException cause: azkaban.jobExecutor.utils.process.ProcessFailureException
27-06-2021 16:47:22 CST ods_nshop2hive INFO - 	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
27-06-2021 16:47:23 CST ods_nshop2hive INFO - Finishing job ods_nshop2hive at 1624783643048 with status FAILED

The cause of the error is: the content of the job script is not in UNIX format
solution: use nopad + +, change the format to UNIX, and then upload the zip package

A solution to the problem of ineffective MacOS certificate trust configuration (clashx error: sectrustsettingscopycertificates error: – 25262)

Essential problem: certificate trust configuration file is damaged
discovery operation: /usr/bin/security dump trust settings - d
operation result:

SecTrustSettingsCopyCertificates: The Trust Settings Record was corrupted.

Delete /library/security/trust settings/Admin. Plist , which is the configuration file. Go back to the keychain and click trust configuration again

Cause

Clashx can’t even get on it

After

    looking at clashx log: found
    error: x509: failed to load system roots and no roots provided; Sectrustsettingscopycertificates error: - 25262 error checking: sectrustsettingscopycertificates seems to be a function, which has been mentioned in many issues of GitHub, most of which are go and sublime text, such as
    and
    functions https://github.com/golang/go/issues/42414 , to trust digicert global root CA
    Baidu first, said to repair the operating system, So I looked at some of them. Fortunately, there was an upgrade package, but why couldn’t it be changed??Can’t save after clicking??Strange, it’s impossible to find this kind of magic question. Do you really want to ask MAC questions
    delete the import, no, import a new one, no, update it. Sure enough, I didn’t accidentally see an article: https://stackoverflow.com/questions/33224830/error-executing-security-dump-trust-settings-in-sublime-text-3
    /usr/bin/security dump-trust-settings -d??
    the trust settings record was corrupted????Of course you have to pay attention to that?But Baidu came out and found that there was only one. It didn’t know what it was doing. It put it aside first, and it was a mess. When it came back, it used Bing search, and didn’t know how to do it. X2, Google search, the first, classic deletion configuration???https://apple.stackexchange.com/questions/374890/how-to-remove-a-corrupted-trust-settings-record
    / library/security/trust settings/Admin. Plist
    looking back, sure enough, none of the trust configurations have specified values
    as soon as I opened it, I couldn’t see anything, but one of the following UUID’s files was obviously deleted decisively. Trust digicert global root CA again, and you’re done

    However, when updating the clear space, I found that the impression notes took up another 12g, and the handsoff log wrote another 2 g, which solved the problem of “locking up the water in the world” after deleting Xcode, and made the computer live again

Rtklib DLL compilation and error link_ Showmsg error resolution

SHIYO

Using the above method, we should show the main function in rnx2rtkp. C, otherwise it will conflict with the external main function

In addition, the compiler must

Modify rtklib. H and add
?Define envelope

#define ENAGAL

#define ENACMP

#define ENAQZS

#define ENAIRN

Otherwise

When the convrnx function finishes executing, exits the dynamic library and returns to the main function, the “run time check failure # – 2 – stack around the variable ‘opt #” pop up in debug mode Is abnormal. The exception does not pop up in release mode. On the network about this exception, the main body thinks that it is caused by memory out of bounds, and the author has not found out opt yet_ The reasons of variable out of bounds will be further studied in the future. “Project – & gt; Configuration properties – & gt; c/c+ ±& gt; Code generation – & gt; The basic runtime check can be changed to the default value.

From Shang Zhenghui Science Blog
http://wap.sciencenet.cn/blog-3386358-1138019.html?mobile=1

macbook golang zsh: exec format error

On the Mac computer, compile the code of golang. After the code is successfully compiled, execute it. An error is reported

exec format error

After a long time of investigation, I finally found the problem: my computer’s configuration of golang is as follows:

GOOS="linux"

After compiling, I run it on MacOS, so I report an error.

When you know where the problem is, it’s very easy to solve it. When compiling, the execution is as follows:

GOOS=darwin GOARCH=amd64 go build -o  http -v ./main.go

About installing SQL server 0 in Windows 10 20h2 × 84bb0001 is one of the solutions

About installing SQL server 0 in Windows 10 20h2 × 84bb0001 is one of the solutions

Background solutions

Background

A brand new computer, upgrade to 20h2, and want to install a SQL Server 2005, the result is an error “try to execute unauthorized operation, error code 0 × 84BB0001”

resolvent

Those problems on the Internet, such as uninstalling and completely re installing, are different from those I encountered, but the way to report errors is the same. Let’s draw a conclusion directly

Edge fuckin ‘! No updates!!!!! After updating edge, it will be ready. Please refer to the details https://docs.microsoft.com/en-us/answers/questions/148323/windows-10-version-20h2-install-error-code-0x84bb0.html

[Solved] Imx6qdl Android 5.0 kernel 3.10 can’t mount system file system

2016.09.19
Freeing unused kernel memory: 412K (80e7c000 – 80ee3000)
type=1403 audit(42.730:2): policy loaded auid=4294967295 ses=4294967295
type=1404 audit(42.750:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
init: /dev/hw_random not found
Console: switching to colour dummy device 80×30
init: /dev/hw_random not found
fs_mgr: __mount(source=/dev/block/mmcblk1p5,target=/system,type=ext4)=-1
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblk1p5 at /system options: barrier=1 error: No such file or directory
fs_mgr: __mount(source=/dev/block/mmcblk1p4,target=/data,type=ext4)=-1
fs_mgr: fs_mgr_mount_all(): possibly an encryptable blkdev /dev/block/mmcblk1p4 for mount /data type ext4 )
fs_mgr: __mount(source=/dev/block/mmcblk1p6,target=/cache,type=ext4)=-1
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblk1p6 at /cache options: nomblk_io_submit error: No such file or directory
fs_mgr: __mount(source=/dev/block/mmcblk1p7,target=/device,type=ext4)=-1
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/mmcblk1p7 at /device options: (null) error: No such file or directory
init: fs_mgr_mount_all returned an error
init: fs_mgr_mount_all returned unexpected error 255
SELinux: Could not set context for /cache:  Read-only file system
rfkill: BT RF going to : off
init: cannot find ‘/system/bin/logd’, disabling ‘logd’
init: cannot find ‘/system/bin/lmkd’, disabling ‘lmkd’
binder: 119:119 transaction failed 29189, size 0-0
init: cannot find ‘/system/bin/servicemanager’, disabling ‘servicemanager’
init: cannot find ‘/system/bin/vold’, disabling ‘vold’
init: cannot find ‘/system/bin/surfaceflinger’, disabling ‘surfaceflinger’
init: using deprecated syntax for specifying property ‘ro.serialno’, use ${name} instead
init: using deprecated syntax for specifying property ‘ro.product.manufacturer’, use ${name} instead
init: property ‘ro.product.manufacturer’ doesn’t exist while expanding ‘$ro.product.manufacturer’
init: cannot expand ‘$ro.product.manufacturer’ while writing to ‘/sys/class/android_usb/android0/iManufacturer’
init: using deprecated syntax for specifying property ‘ro.product.model’, use ${name} instead
init: property ‘ro.product.model’ doesn’t exist while expanding ‘$ro.product.model’
init: cannot expand ‘$ro.product.model’ while writing to ‘/sys/class/android_usb/android0/iProduct’
android_usb: already disabled
read descriptors
read strings

Solution:
.burn.sh
BUILD_TARGET_DEVICE=sd (for sd boot) should be commented out and replaced by emmc boot. Depends on the boot method of the development board.