Category Archives: How to Fix
Flutter – iOS: Command /bin/sh failed with exit code 255
Flutter – iOS: Command /bin/sh failed with exit code 255
I developed in Android studio. Packaging in Xcode will report an error “Flutter – iOS: Command /bin/sh failed with exit code 255”.
solution:
- 1 execute
flutter cleanin Android studio Terminal. - 2 after execution, execute
flutter build ios --release - 3 to Xcode directly package.
Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
for the python that comes with the system, vanilla python. We tend to select virtualenv for installation, but if the system’s default python environment is shipped with anaconda, the following error
pops out when executing the command
setuptools pip wheel failed with error code 1
for python on Anaconda, how do we set up a virtual environment?There are two ways.
1. Using conda to install virtualenv, execute the following command
PIP uninstall virtualenv
conda install virtualenv
virtualenv YourVirtualEnvName
this method is available for pro test.
bis. Conda comes with the function of creating virtual environment
-
check whether conda has
installed
conda -V
-
check if conda has been updated to the latest version
conda update conda
Blockquote>
-
create virtual environment
conda cret-n YourVirtualEnvName python= X.X.X anaconda
this X.X.X is a version of python that can be used by using the commandconda search "^python$". -
activate virtual environment
source activate YourVirtualEnvName
-
install third-party package
conda install -n YourVirtualEnvName [Package]
if-n YourVirtualEnvNameis not added, the installation will executeunder system python
Blockquote> -
inactivated virtual environment
source deactivate
Blockquote>
-
delete virtual environment
conda remove -n YourVirtualEnvName -all
Failed connect to github.com:443 ; no error and the remote end hung up unexpectedly
while using git in combination with github to submit code to github today, an error was reported as follows:
1: Push failed: failed with error: unable to access “https://github.com/cmshome/HelloWorld.git/” : failed connect to github.com: 443; No error
2: Push failed
span> failed with The error: The remote end hung up unexpectedly
span> The remote end hung up unexpectedly
span> RPC failed; result=7, HTTP code = 0
ouch, a random search on the Internet, it is the need to set up what git proxy, but there is no actual screenshot of what, you can refer to.
and luckily, we’re done. Write down solutions to problems.
first look at the following two pictures:
, this graph is the log of all the errors. At the beginning, I kept pushing, but at the end, it was a success.
so let’s see what version of git is in my local computer. Details are shown in the figure above.
when I installed it on my computer, there were two ICONS:
is the same as your question. The key to viewing the above version and solving the problem has to do with “git shell”.
:
:
and then, this line of command, post, as follows, for friends who encounter the same problem to use:
git config –global http.proxy “localhost:1080”
is the command that saved me from fire and water and helped me a lot.
there is a prerequisite:
because, my own computer USES over the wall tools, is to have their own VPN, and is turned on. For details on which VPN tool I’m using, see the icon below:
, I don’t know, will not over the wall after setting this, will also be perfect to solve the problem?
below is the link to version control of the project that I practiced on Windows in conjunction with IntelliJ IDEA 2017.1 x64 editor:
win 7 64 bit IntelliJ IDEA details how to use GitHub(git) for project version control and management
article has my cloud disk share of the tools I used to implement this version management function at the time.
think this article useful, don’t bother, just point a like, if dislike trouble, also trouble point a like, if really don’t want thumb up, it is not can not.
but if you want to put your foot on it, get out of here, here, here.
watch out for my 30-meter broadsword. Hem. Think of all afraid!!
Vs_ Code remote SFTP connects to the server to modify the nginx configuration information and reports all configured authentication methods failed
solution: for example, the server side is
on Linux
- modify the SSH configuration file, enter the command :sudo vim /etc/ssh/sshd_config, modify as follows:

- save exit, restart SSH service :sudo service SSH restart
Quick solution org.gradle.api . tasks.TaskExecutionException : Execution failed for task ‘: app:compileJava ‘
problems encountered in development
gradle cannot compile org. Gradle. API. The tasks. TaskExecutionException: Execution failed for task ‘: app: compileJava’ p>
if you have the same problem, hopefully in less than a minute, read on:
as shown in figure: p>
error graph
error graph details
or you can click on the details
p>
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':front-core:compileJava'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:50)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:98)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:51)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:37)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:207)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:192)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:124)
at sun.reflect.GeneratedMethodAccessor780.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
... 32 more
gradlew compileDebugSource — stacktrac-info
tip: If according to the command not found then the next AndroidStudio generated gradlew under which path in the root directory, and then CD to the project root directory and then in the above command prefix./(slash in front of a point) can strong>
the above command in the terminal of AndroidStudio input, recompile view gradle specific error message
run after the above command: p>
p>
Task :front-core:compileJava FAILED
Putting task artifact state for task ':front-core:compileJava' into context took 0.0 secs.
Up-to-date check for task ':front-core:compileJava' took 0.001 secs. It is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':front-core:compileJava'.
Compiling with JDK Java compiler API.
警告: [options] 未与 -source 1.7 一起设置引导类路径
/Users/mrq/AndroidStudioProjects/SenseInsight/common/front-core/src/main/java/com/sensetime/insight/front/Visitor.java:25: 警告: @Builder will ignore the initializing expression entirely. If you want the initializing expression to ser as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.
private int age = -1;
^
/Users/mrq/AndroidStudioProjects/SenseInsight/common/front-core/src/main/java/com/sensetime/insight/front/Visitor.java:30: 警告: @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.
private String gender = "";
^
/Users/mrq/AndroidStudioProjects/SenseInsight/common/front-core/src/main/java/com/sensetime/insight/front/FaceImage.java:36: 警告: @Builder will ignore the initializing expression entirely. If you want the initializing expression to sve as default, add @Builder.Default. If it is not supposed to be settable during building, make the field final.
private int sended = 0;
^
/Users/mrq/AndroidStudioProjects/SenseInsight/common/front-core/src/main/java/com/sensetime/insight/front/detect/FaceHandler.java:8: 错误: 程序包com.sun.tools.internal.jxc.ap不存在
import com.sun.tools.internal.jxc.ap.Const;
^
1 个错误
3 个警告
:front-core:compileJava (Thread[Task worker for ':',5,main]) completed. Took 1.239 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':front-core:compileJava'.
> Compilation failed; see the compiler error output for details.
the above error is very detailed, one error, three warnings can be ignored, direct to the error
p>
/Users/mrq/AndroidStudioProjects/SenseInsight/common/front-core/src/main/java/com/sensetime/insight/front/detect/FaceHandler.java:8: 错误: 程序包com.sun.tools.internal.jxc.ap不存在
import com.sun.tools.internal.jxc.ap.Const;
^
, you can see what’s going on, what’s going on in which path, which class, what’s going on and my problem is I can’t find this package, and I can just fix it and I’m sure as long as I get to the problem, it’s not that hard for the programmer monkey to fix it, right?
actually, my problem was that I made a mistake when I was running Constant, and the Const package was automatically imported. However, my AndroidStudio did not set the automatic deletion of useless packages, so this problem occurred when I was packing. Here, I would also like to show the Settings of AndroidStudio’s automatic guide package and automatic delete package
automatic guide set
p>
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
there was a problem with the transfer project today:
Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR
looked for a long time, do not know what is wrong, thought it was cross-domain, looked at me there is no cross-domain
Is
a question of permissions?But I have all the permissions
p>
I used the background of laravel-admin, and it occurred to me that it might be because of the request protocol, because my current request is HTTPS protocol, and my project HTTPS protocol can also be accessed. So I changed the request protocol from HTTPS to HTTP
p>
and then it’s normal
p>
p>
cl.exe Error resolution of ‘failed with exit status 2
occurs
error: Command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\ Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe’ failed with exit status 2
such an error, in addition to possible VS installation problems, could also be a problem with the running Program. For example: Python setup.py build_ext –inplace is required to install an algorithm framework, but it runs incorrectly, as shown in the figure below. 
An error occurred during win10 PostgreSQL installation: “failed to load SQL modules into the database cluster“
on disk d
right click – property – security

click edit,
each user, each user group, give full control,
uninstall, reinstall postgresql to this directory

[solved] sql30082n security processing failed with reason “24” (“user name and / or password invalid”)
login when the following problems occur:
Could not connect to DB: SQLSTATE[08001] SQLConnect: -30082 [IBM][CLI Driver] SQL30082N Security processing
failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
check the relevant solutions:
http://www-01.ibm.com/support/docview.wss?uid=swg21327771
http://www-01.ibm.com/support/docview.wss?uid=swg21416382
and look for the error code on the command line:
[db2inst1@xxx ~]$ db2 ?sql30082N
SQL30082N Security processing failed with reason "<reason-code>"
("<reason-string>").
Explanation:
An error occurred during security processing. The cause of the security
error is described by the "<reason-code>" and corresponding
"<reason-string>" value.
The following is a list of reason codes and corresponding reason
strings:
0 (NOT SPECIFIED)
The specific security error is not specified.
1 (PASSWORD EXPIRED)
The password specified in the request has expired.
2 (PASSWORD INVALID)
The password specified in the request is not valid.
3 (PASSWORD MISSING)
The request did not include a password.
4 (PROTOCOL VIOLATION)
The request violated security protocols.
5 (USERID MISSING)
The request did not include a userid.
6 (USERID INVALID)
The userid specified in the request is not valid.
7 (USERID REVOKED)
The userid specified in the request has been revoked.
8 (GROUP INVALID)
The group specified in the request is not valid.
9 (USERID REVOKED IN GROUP)
The userid specified in the request has been revoked in the
group.
10 (USERID NOT IN GROUP)
The userid specified in the request is not in the group.
11 (USERID NOT AUTHORIZED AT REMOTE LU)
The userid specified in the request is not authorized at the
remote Logical Unit.
12 (USERID NOT AUTHORIZED FROM LOCAL LU)
The userid specified in the request is not authorized at the
remote Logical Unit when coming from the local Logical Unit.
13 (USERID NOT AUTHORIZED TO TP)
The userid specified in the request is not authorized to access
the Transaction Program.
14 (INSTALLATION EXIT FAILED)
The installation exit failed.
15 (PROCESSING FAILURE)
Security processing at the server failed.
16 (NEW PASSWORD INVALID)
the password specified on a change password request did not
meet the server's requirements.
17 (UNSUPPORTED FUNCTION)
the security mechanism specified by the client is invalid for
this server. Some typical examples:
* The client sent a new password value to a server that does
not support the change password function.
* The client sent SERVER_ENCRYPT authentication information to
a server that does not support password encryption.
Authentication type catalog information must be the same at
the server and the client.
* The client sent a userid (but no password) to a server that
does not support authentication by userid only.
* The client has not specified an authentication type, and the
server has not responded with a supported type. This might
include the server returning multiple types from which the
client is unable to choose.
* The CLIENT AUTHENTICATION type is not supported by "IBM Data
Server Driver for ODBC and CLI" and "IBM Data Server Driver
package"
18 (NAMED PIPE ACCESS DENIED)
The named pipe is inaccessible due to a security violation.
19 (USERID DISABLED or RESTRICTED)
The userid has been disabled, or the userid has been restricted
from accessing the operating environment at this time.
20 (MUTUAL AUTHENTICATION FAILED)
The server being contacted failed to pass a mutual
authentication check. The server is either an imposter, or the
ticket sent back was damaged.
21 (RESOURCE TEMPORARILY UNAVAILABLE)
Security processing at the server was terminated because a
resource was temporarily unavailable. For example, on AIX, no
user licenses may have been available.
<strong>24 (USERNAME AND/OR PASSWORD INVALID)
The username specified, password specified, or both, are
invalid. Some specific causes are:
1. If you have recently changed permissions on DB2 critical
files such as db2ckpw or moved to a new Fixpak, the db2iupdt
command which updates the instance might not have been run.
2. The username being used might be in an invalid format. For
example, on UNIX and Linux platforms, usernames must be all
be lowercase.
3. An error might have been made in specifying the catalog
information. For example, the correct authentication type
might not have been specified or, if applicable, the remote
server might not have been cataloged on the local system.</strong>
25 (CONNECTION DISALLOWED)
The security plugin has disallowed the connection.
26 (UNEXPECTED SERVER ERROR)
The server security plugin encountered an unexpected error. The
administration notification log file on the server contains
more specific problem information. The following are examples
of issues that can cause problems:
* The security service was not started.
* The userid starting the DB2 service did not have admin
privileges.
27 (INVALID SERVER CREDENTIAL)
The server security plugin encountered an invalid server
credential.
28 (EXPIRED SERVER CREDENTIAL)
The server security plugin encountered an expired server
credential.
29 (INVALID CLIENT SECURITY TOKEN)
The server security plugin encountered an invalid security
token sent by the client.
30 (CLIENT PLUGIN MISSING API)
The client security plugin is missing a required API.
31 (WRONG CLIENT PLUGIN TYPE)
The client security plugin is of the wrong plugin type.
32 (UNKNOWN CLIENT GSS-API PLUGIN)
The client security plugin does not have a matching GSS-API
security plugin available for connection to the database.
33 (UNABLE TO LOAD CLIENT PLUGIN)
The client security plugin cannot be loaded.
34 (INVALID CLIENT PLUGIN NAME)
The client security plugin name is invalid.
35 (INCOMPATIBLE CLIENT PLUGIN API VERSION)
The client security plugin reports an API version that is
incompatible with DB2.
36 (UNEXPECTED CLIENT ERROR)
The client security plugin encountered an unexpected error.
37 (INVALID SERVER PRINCIPAL NAME)
The server security plugin encountered an invalid principal
name.
38 (INVALID CLIENT CREDENTIAL)
The client security plugin encountered an invalid client
credential.
39 (EXPIRED CLIENT CREDENTIAL)
The client security plugin encountered an expired client
credential.
40 (INVALID SERVER SECURITY TOKEN)
The client security plugin encountered an invalid security
token sent by the server.
41 (SWITCH USER INVALID)
The client is configured to request a trusted connection and
switch user in the trusted connection. A trusted connection was
not established and so the switch user request is invalid.
42 (ROOT CAPABILITY REQUIRED)
Authentication using local client or server passwords is not
currently enabled.
43 (NON-DB2 QUERY MANAGER PRODUCT DISALLOWED CONNECTION)
A non-DB2 query manager product has disallowed the connection.
User response:
Ensure that the proper userid and/or password is supplied.
The userid may be disabled, the userid may be restricted to accessing
specific workstations, or the userid may be restricted to certain hours
of operation.
17
Retry the command with a supported authentication type. Ensure
that catalog information specifies the correct authentication
type.
20
Make sure the authentication mechanism for the server is
started, and retry.
<strong>24
Solutions to specific problem causes described previously in
this message are:
1. Run DB2IUPDT <InstName> to update the instance.
2. Ensure that the username created is valid. Review the DB2
General Naming Rules.
3. Ensure that catalog information is correct.</strong>
25
Change the database name used for the connection or the TCP/IP
address used to connect to this database.
26
Fix the problem identified by the plugin error message text in
the administration notification log.
If you are unable to correct the problem, invoke the
Independant Trace Facility and retry the scenario to collect
information for IBM support.
27
Verify that the server credential is provided during security
plugin initialization and that it is in a format recognized by
the security plugin. As the credential will be used to accept
contexts, it must be an ACCEPT or BOTH credential.
28
Contact your DBA. The server's credential must be renewed
before the command is resubmitted. If renewing alters the
credential handle, then a db2stop and db2start will be
necessary. For information on how to renew your server's
credential, consult the documentation available for the
authentication mechanism used by the security plugin.
29
Resubmit the statement. If the problem still exists, then
verify that the client security plugin is generating a valid
security token.
30
Check the administration notification log file for the name of
the required missing API. Add the missing API to the security
plugin.
31
Specify the right type of security plugin in the appropriate
database manager configuration parameter. For example, do not
specify a userid-password based security plugin for the
SRVCON_GSSPLUGIN_LIST database manager configuration parameter.
32
Install the matching security plugin that the database server
used on the client. Ensure that the indicated security plugin
is located in the client-plugin directory.
33
Check the administration notification log file on the client
for more information. Fix the problem identified by the error
message text in the administration notification log.
34
Specify a valid security plugin name. The name should not
contain any directory path information.
35
Ensure that the security plugin is using a supported version of
the APIs and that it is reporting a correct version number.
36
Check the administration notification log file on the client
for more information. Fix the problem identified by the error
message text in the administration notification log.
37
Check the administration notification log file for the
principal name. Make sure the principal name is in a format
that is recognized by the security plugin.
38
Verify that the client credential (generated by
db2secGenerateInitialCred or provided as an inbound delegated
credential) is in a format recognized by the security plugin.
As the credential will be used to initiate contexts, it must be
an INITIATE or BOTH credential.
39
The user issuing the statement must obtain the appropriate
credentials (or re-obtain their initial credentials) and then
resubmit the statement.
40
Resubmit the statement. If the problem still exists, then
verify that the server security plugin is generating a valid
security token.
41
Re-establish a trusted connection with valid credentials and
re-submit a switch user request.
42
To enable local client or server authentication for non-root
installations, the system administrator must run the db2rfe
script. Alternatively, authentication can be done using a
security plugin.
43
If additional explanation is required, contact your
administrator for the query manager product.
sqlcode: -30082
sqlstate: 08001
Related information:
Security plug-in API versioning
Authentication
Security plug-ins
seems to be useless until finally, the original code about database connection ini file, db2inst1 was incorrectly written as db2instl – – no words
notice 1 and l, ok, flip the table!
Problem solving: PDF cannot be opened, and acrobat failed to connect to a DDE server appears
1, start menu — enter services.msc enter, start Service page
2, find Network List Service Properties, right click on it and select property
3, set the start type as automatic, then apply.
Error “/run/lvm/lvmetad.socket: connect failed: No such file or directory” – but not Grub related
systemctl enable lvm2-lvmetad.service
systemctl enable lvm2-lvmetad.socket
systemctl start lvm2-lvmetad.service
systemctl start lvm2-lvmetad.socket
div>