The color of ZBX Availability is only red and getting following error message: Get value from agent failed: cannot connect to [[IP]:10050]: [4] Interrupted system call. I added a new host based on documentation zabbix
And ideas how to resolve this issues?
Related
We have create private cloud instance but I am unable to connect to it using MYSQL workbench, php or a ODBC client.
From the same compute instance I can connect using mysql -h IP -u user -p *****. With GCP services I usually find gotcha in some document and I have tried digging everything possible. Here below error from a ODBC client:
BIP2393E: Database error: ODBC return code '-1' from data source ''DEVA'' using ODBC driver manager ''/opt/iib-10.0.0.20/ie02/lib/libodbcinterface.so''.
The integration node received an error when processing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database about this error.
Use the following messages to determine the cause of the error. Typical problems are an incorrect data source, or table names. Correct either the database or the integration node configuration. Use the mqsicvp command to test connectivity to this database.
BIP2322E: Database error: SQL State ''HY000''; Native Error Code '2003'; Error Text ''[unixODBC][MySQL][ODBC 5.3(a) Driver]Can't connect to MySQL server on '1x.1x.1x.1x' (110)''.
The error has the following diagnostic information: SQL State ''HY000'' SQL Native Error Code '2003' SQL Error Text ''[unixODBC][MySQL][ODBC 5.3(a) Driver]Can't connect to MySQL server on 'x.x.x.x' (110)''
This message may be accompanied by other messages describing the effect on the integration node itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error. Use the mqsicvp command to test connectivity to this database.
If I try and use a local proxy I get below:
BIP8299I: User 'user' from security resource name 'BIGDEVA' will be used for the connection to datasource 'DEVA'.
BIP8290I: Verification passed for the ODBC environment.
2020/07/16 20:29:41 New connection for "sql-instance"
2020/07/16 20:31:49 couldn't connect to "sql-instance": dial tcp x.x.x.x:3307: connect: connection timed out
BIP2393E: Database error: ODBC return code '-1' from data source ''DEVA'' using ODBC driver manager ''/opt/iib-10.0.0.20/ie02/lib/libodbcinterface.so''.
The integration node received an error when processing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database about this error.
Use the following messages to determine the cause of the error. Typical problems are an incorrect data source, or table names. Correct either the database or the integration node configuration. Use the mqsicvp command to test connectivity to this database.
BIP2322E: Database error: SQL State ''08S01''; Native Error Code '2013'; Error Text ''[unixODBC][MySQL][ODBC 5.3(a) Driver]Lost connection to MySQL server at 'reading initial communication packet', system error: 0''.
The error has the following diagnostic information: SQL State ''08S01'' SQL Native Error Code '2013' SQL Error Text ''[unixODBC][MySQL][ODBC 5.3(a) Driver]Lost connection to MySQL server at 'reading initial communication packet', system error: 0''
This message may be accompanied by other messages describing the effect on the integration node itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error. Use the mqsicvp command to test connectivity to this database.
Private cloud instance I meant that the network it sits in has no internet access, I guess it was not needed. Subnet A holds the client VM and Subnet B holds the DB instance and they have SA account based firewall rules. Though we found the issue as the firewall was open on service accounts on the VM so using a mysql client was working but apparently GKE POD subnet need it's own firewall rules and it doesn't inherit VM SA account/tag rules whereas a standalone docker container on it's own does.
I am trying to start a virtual machine but there is an error occurring at the line on which libvirt_domain_create() function is called.
The error is:
Error while starting domain:operation forbidden: read only access prevents virDomainCreate
I am using root as a user and i have added root in the libvirtd and apache group in Centos7.
Please tell how to start the virtual machine in php-cli as this error is coming in php-cli.
Thanks in advance.
It is hard to say without seeing the code, but based on the error message it sounds like you explicitly opened the connection to libvirt in read-only mode.
I deployed my sails app in ec2 and I have mysql database in rds.
when I use mysql in rds from my local, it worked absolutely fine. But when I connect myswl in rds from the ec2 it is giving me this error:
error: A hook (`orm`) failed to load!
error: Error (E_UNKNOWN) :: Encountered an unexpected error
: Could not connect to MySQL:
Error: Handshake inactivity timeout
Please help me solve this issue. Should I configure my ec2 instance to connect to rds?
When adding inbound connection in the security options, don't use anywhere. As you can imagine, this is not secure at all. Instead use the security group associated with your instance. Of course, if you want to connect to your database remotely, add only your external IP address to the rules. "Anywhere" is like an invitation to the whole world saying: "Try to hack me!"
I figured it out. Added a inbound connection in security options with anywhere option.
I have a java web application which is deployed on a linux server using tomcat and mysql. Most of the time in the morning , When i try to login , it gives the following error : "The last packet successfully received from the server was 60,244,374 milliseconds ago...." This is a common issue and i have already insert some properties in my tomcat connection and i need to wait for testing. Meanwhile , I want to customize this error message to "Server is down". Can someone tell me how to catch this exception?
Note that i use spring security for authentication and for database : hibernate and jpa (jndi)Please find attached error message. This error message is too complex for user!
I am trying to install Drupal using IIS 7 on Windows and it gets pretty far in the installation before it fails with the below error message. I always end up having to go back into Windows Services and start the MySQL service back up because it stopped when this error happens. I've tried installing Drupal Commons and just the vanilla Drupal distribution.
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information
follows. Path: http://www.example.com/install.php?
profile=commons&locale=en&id=1&op=do StatusText: Service unavailable (with
message) ResponseText: PDOException: SQLSTATE[HY000]: General error: 2006
MySQL server has gone away: SELECT expire, value FROM {semaphore} WHERE
name = :name; Array ( [:name] => variable_init ) in lock_may_be_available()
(line 167 of D:\Projects\example.com\Web\includes\lock.inc).Uncaught
exception thrown in shutdown function.PDOException: SQLSTATE[HY000]:
General error: 2006 MySQL server has gone away: DELETE FROM {semaphore}
WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 2549963715563580905eb52.94473467 )
in lock_release_all() (line 269 of
D:\Projects\example.com\Web\includes\lock.inc).
I did try setting the service properties to restart on failure and that seems to have gotten me further along in the installation process but not sure what causes this?
I set the MySQL Windows Service properties to restart automatically when failure occurs. It still randomly fails but gets a lot further and is eventually successful.
I also optimized MySQL but not sure it really helped:
https://www.drupal.org/node/259580