0

N-Able Failed to register appliance: 3021 Customer does not exist or customer ID error.

Posted by paris on May 4, 2017 in Random
The issue
When you see Agent Status Failed for a device it is normally due to the Appliance ID reverting to a default value of -1. 
To troubleshoot this you can look in the agent log files located in C:\Program Files (x86)\N-able Technologies\Windows Agent\log\agent.log. You will see entries like the below. 
 
[17] 2017-01-22 10:21:19,759 INFO  com.nable.agent.AgentService SelfReg: Starting
[17] 2017-01-22 10:21:19,759 INFO  com.nable.agent.AgentService SelfReg: ApplianceID:-1 CustomerID:-1
[17] 2017-01-22 10:21:49,186 ERROR com.nable.agent.AgentService SelfReg: Failed to register appliance: 3021 Customer does not exist or customer ID error.
[17] 2017-01-22 10:21:49,186 INFO  com.nable.agent.AgentService SelfReg: Registration failed, retrying in 15 minutes
[17] 2017-01-22 10:21:49,186 INFO  com.nable.agent.AgentService SelfReg: Ending

 

The Fix
You will need to stop the Windows Agent Maintenance and Windows Agent services
Edit the ApplianceConfig.xml file located in C:\Program Files (x86)\N-able Technologies\Windows Agent\config
Locate the Appliance ID in NCentral (see screenshot1) and update the relevant field in the Appliance Config file (see screenshot2)
This updated version then needs to overwrite the old file. Open Notepad as admin or just save to a temp location and copy/paste it over the top. 
Start the services and monitoring will be restored. 
 


 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

 
0

S7 Telstra phone not going to voicemail after update

Posted by paris on Apr 28, 2017 in Random

User updated their Sasumg S7 to the latest firmware, and ever since the phone did not go to voicemail anymore.

Opened up Phone and Settings and checked all the call forwarding was set to the correct number. Even when phone was off still did not divert.

Called Telstra and they said this reset happens. They did some changes and it worked 2 hours later

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , ,

 
0

User not appearing in User Contacts ( GAL ) for Avaya Phone System

Posted by paris on Apr 28, 2017 in Random

A user was not appearing in User Contacts on an Avaya Phone System. This is like a global address list of all phones.

 

There is actually a Ex Directory tick box that can be turned on for this to happen under the Users/ User Tab make sure this is removed

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , ,

 
0

Android Contacts screen overlay detected

Posted by paris on Apr 27, 2017 in Random

On a brand new Android S6 Device , I tried to add a new contact view the Contacts App mapped through the phone, however I was greated with the error

screen overlay detected

It took me to the overlay settings , so I thought I would just enable this for the contacts or phone App , however I could not turn this on as it did not have overlay features

Rebooting the Device fixed this problem!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , ,

 
0

Trusted login failed; “domain.LOCAL” is not the right domain. (0x80042385)

Posted by paris on Apr 26, 2017 in Random

User had been setup with Active Directory as OS Type and not synced using the connector. ( The container will not show the correct OU ) 

Should be set to Windows NT if not synced from active directory and created manually for trusted Login

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Tags: , , ,

 
0

Avaya Phone System forwarding for external calls only \ Link an external phone number to an internal number

Posted by paris on Apr 20, 2017 in Random

Had a user complain only external calls went to the default hunt group forward.

Open Avaya IP Office Manager

Go to User’s , and check forwarding Tab

Go to Incoming Call Route

Add an incoming call route to the extension 

Save the Config to write back to phone system

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , ,

 
0

Securing Apache to use Certificate Authentication auth_x509

Posted by paris on Apr 16, 2017 in Code, Random

 

Query to see if Certificate Exists via  x509 based logins

<?php
include(__DIR__."/auth_mysql.php");
 
/**
 * Mysql based authentication
 * The standard username/password based authentication library
 *
 * @package CMS
 * @author Sid Karunaratne
 **/
class auth_x509 extends auth_mysql
{
	public function pre_login()
	{
		foreach($_SERVER as $key => $value)
		{
			if (!$value || strncmp($key, 'SSL_CLIENT_S_DN_Email', 21) !== 0)
				continue;
			$user = $this->_check_email_is_valid($value);
			if ($user)
				return $user;
		}
		return false;
	}
 
	protected function _check_email_is_valid($email)
	{
		$user = $this->db->select("
					u.id,
					u.name,
					GROUP_CONCAT(g.id SEPARATOR ',') as team_ids,
					u.username as email,
					GROUP_CONCAT(g.name SEPARATOR ', ') as teams,
					permission_last_set
				")
			->from("_auth_user u")
			->join("_auth_user_group_xrefs aux", "aux.user_id = u.id")
			->join("_auth_group g", "g.id = aux.group_id")
			->where("u.username", $email)
			->group_by("u.id")
			->get()->result();
		if (!$user)
			return false;
 
 
		// The user is valid
		$user = array_shift($user);		
		$user = $this->_finalise_user_login($user);
		return $user;
	}
 
	public function login($credentials)
	{
		return false;
	}
}
// END class auth_x509

 

 

httpd-ssl.conf

Listen 443
 
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
 
<VirtualHost *:443>
DocumentRoot "/srv/http/"
ServerName website.domain.com:443
ServerAdmin email@address.com
ErrorLog /var/log/httpd/ssl.error.log
TransferLog /var/log/httpd/ssl.access.log
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
 
SSLEngine on
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM
SSLProxyEngine off
# The certificate CACert signed
SSLCertificateFile /etc/httpd/conf/ssl/dev.zealothost.net.crt
# The private key
SSLCertificateKeyFile /etc/httpd/conf/ssl/dev.zealothost.net.key
# CACert's certificate - Seems to not be required
SSLCertificateChainFile /etc/httpd/conf/ssl/ca.crt
# CACert's certificate - The CA I require certificates to be signed with
SSLCACertificateFile /etc/httpd/conf/ssl/ca-dskort.crt
SSLOptions +StrictRequire +OptRenegotiate +StdEnvVars +ExportCertData
 
SSLVerifyClient require
SSLVerifyDepth 1
</VirtualHost>

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , ,

 
0

Export failed startindex cannot be less than zero – Veeam Restore

Posted by paris on Apr 12, 2017 in Random

Just tried to restore a veeam SQL backup , however got the error message

Export failed startindex cannot be less than zero

Changed the location of the MDF/LDF files to local instead of a network path , and this fixed the issues 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , ,

 
0

Reset Skype for Business settings

Posted by paris on Apr 12, 2017 in Random

Had a user who was getting blank screens when opening chat windows for Skype for Business and he couldn’t see text or type in messaging window so I thought I’d reset all the settings :

1)

Close Lync.exe

Close Outlook.exe

2)

Delete Folder : \%AppData%\Roaming\Microsoft\Office\16.0\Lync

Delete in Registry following key:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Lync

3) Reopen Skype for Business

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , ,

 
0

Mimecast – Connection Attempt – Attempt Greylisted

Posted by paris on Apr 4, 2017 in Random

Find the email in Administration – Gateway – Tracking

See : Connection Attempt

Go to Administration – Monitoring – Connections

See : Attempt Greylisted

Go to : Gateway – Policies – Greylisted

Add new Policy to Overide the existing Policy and Whitelist email address or domain

Get Email sent again

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , ,

Copyright © 2017 Welcome to Pariswells.com All rights reserved. Theme by Laptop Geek. Privacy Policy