Installing the newest version of Zabbix Agent on Windows Server - service

I've got a problem in installing the newest version of Zabbix agent on Windows Server via vm boxes in Linux, since the old version of zabbix has not been uninstalled perfectly. Zabbix agent service is existed however the system cannot file the file related to specified address in services.

Uninstall the Windows service:
zabbix_agentd.exe --config c:\zabbix_agentd.conf --uninstall
You might also want to use the zabbix_agentd.win.conf example file, if the config file isn't a copy of that one already.

Related

VSCode remote ssh: Can't install extensions on remote server

I am trying to install an extension (as an example cmake tools) on my remote server (ubuntu Arm 64). I have enabled remote.downloadExtensionsLocally feature). When I try to install the extensions, it seems downloaded locally but can't be installed on the target server.
My Host: Windows 10
My Server: Ubuntu 64 ARM running on a rasp4
Here are my user settings (I have enabled a proxy. no diff with/without proxy):
and here are my remote settings:
and this is my windows trace logs after clicking on install button (As can be seen the extension has downloaded successfully):
and my remote server log:
Please check if your Linux kernel/version is compatible with the doc. I guess that the requirements on your server are not met. Please check them:

Installing Discovery on Server with Information Server

I am trying to install Discovery on the same server as IIS which already has a DB2 instance. As the Discovery installation guide says, to install with an existing DB2 instance the repository database must be manually configured. It then goes on to say that this can be done using scripts which are found under the install directory. In other words, before I install I have to use something only available after installation.
Has anyone got a workaround - a link to somewhere I can get the scripts perhaps?
I managed to get it working by installing onto a clean VM and then copying the scripts from the installation folder and other files referenced in the scripts onto the IIS server and running from there. Had to search and replace the DB2 install directory within the scripts as they expect a default install of :\Program Files\IBM\SQLLIB whereas the IIS default install of DB2 is to \IBM\SQLLIB.

How to install a plugin in redmine 1.4.4 via SSH on redmine VM?

I have got access to redmine VM via SSH and have plugin files on my local machine. Now I need to install it in redmine.
Can anyone explain the steps to do it? I am using a windows 7 machine as SSH client.
You can use SFTP client such as WinSCP (Windows client that I uses) or find any other.
SFTP is SSH File Transfer Protocol, i.e. you will have access to VM's file system via SSH connection, and Redmine plugins installation will be just files copying :)
Also, SFTP clients can launch simple commands as touch (touch tmp/restart.txt command needed to restart Ruby on Rails applications)
Put the plugin directory in the vendor/plugins sub directory of your Redmine installation. Check the plugin installation instructions for any additional steps that might be necessary.
Redmine 1.4.4 is several years old, you should first make sure with a local test that the plugin actually works with that version. And you should really upgrade to a recent version of Redmine (current stable is 3.2) as there have been quite a few security issues in Rails and Redmine since 1.4.4 was released.

PHP CentOS OpenOffice Headless

I have a (dv) server from mediatemple running CentOS.
I am trying to convert .doc or .ppt to .pdf files using php shell_exec
After searching through stackoverflow and dozens of sites I ran this command under root through ssh.
yum install openoffice.org-headless
Then I ran, soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard & which I thought was supposed to run it headless on the server.
I keep running into this error.
# javaldx: Could not find a Java Runtime Environment!
How can I install this Java Runtime Environment and then what should I be using for the shell_exec command?
Any help appreciated.
You might have to upgrade your DV. I was running into the same issue after I installed Open Office. I was running the 512MB virtual server. I upgraded to the 2048MB virtual server and was able to run open office headless without any issues.
You do not have to install the java runtime as it is already installed.

Unable to install PostgreSQL on dev machine

I'm trying to install PGSQL 8.3 (and 8.4 and 9.0) on my work laptop. At the end of the installation, the installer complains it can't init the cluster. Investigating more, I noticed that the service is not even installed. I did use the "OneClick Installer", not the pgAdmin stand alone install. I tried installing as Administrator and as a regular user. In all the cases, the pgsql system account is created and the files copied, but the service is not.
I successfully installed PGSQL many times on my home PC. Both the laptop and desktop use Windows 7 64 bits (former is Professional, later is Ultimate). The only differences I can think of are that the laptop is part of an Active Directory and uses McAfee, while the desktop is only on a workgroup and uses Windows Security Essentials.
Are you sure the postgres user is allowed to create files in the data directory? The installer defaults to putting the data directory where the binaries are installed (e.g. c:\Program Files) which is usually not writeable by a regular user (and I never understood why the installer contains such an idiotic default).
McAffee could be an issue though. I have heard several stories about virus scanners infering with the Postgres (or other DBMS). Can you turn McAffee off - at least for the data directory?
Another problem could be that the installer is not able to create the postgres windows user (that is used to run the service).
If you are a local administrator on that machine, try to create the user before the installer does it. The installer will then not try to create the user account.
As a last ressort, you could install PostgreSQL without the installer (this is what I usually do).
Download the ZIP file from http://www.enterprisedb.com/products-services-training/pgbindownload
Unzip it into a convenient location
Run initdb (make sure you do that using the postgres user account - the one that is used to run the service later!)
run pg_ctlr register to create the Windows service
If any of those steps fails you'll see a proper error message which is not always the case with the installer.
Anti-virus is a well known issue:
http://wiki.postgresql.org/wiki/Running_&_Installing_PostgreSQL_On_Native_Windows#Antivirus_software
PostgreSQL connection problems
(answer is from one the core developers)
Postgresql 8.4 and BitDefender 11
With earlier versions of PostgreSQL, I found I had to delete the user "postgres" before reinstalling would work. Not sure what versions had that problem, though.