Join Proxy in DMZ not running properly

I have a Windows ZCM 23.4 in DMZ and the Micro Focus ZENworks Join Proxy service is running. Proxy data does not populate when remoting and manually adding it does not work either. I checked what ports the server was listening on, using netstat -ano | find /i "7019", and it is not showing 7019; nothing is using 7019. Using the PID of the service, I showed all ports the service was using and it is just 61492.  I have restarted the server several times with no change on this.

I have tried with the firewall both off and on and have no change. Any ideas how I can figure out why it isn't trying to use port 7019 and what I can do to fix it?

Parents
  • 0  

    Anything here?

    %ZENworks_HOME%\logs\zen-join-proxy.log

    --

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

    Be sure to "Like" My (and a few others) Cool Solutions below! 

    https://community.microfocus.com/members/craigdwilson/bookmarks

  • 0 in reply to   

    The zen-join-proxy.log is only adding blank lines. It last logged anything some time back and has over a hundred [nul] entries at the end of the log. The last entry was an error recorded as:

    [Exception while updating joinproxy details to to server. ] [java.lang.NullPointerException
        at com.novell.zenworks.joinproxy.service.client.JoinProxyConfigData.decrypt(ZoneConfigJoinProxyServiceClient.java:433)
        at com.novell.zenworks.joinproxy.service.client.JoinProxyConfigData.getLatestConfigData(ZoneConfigJoinProxyServiceClient.java:406)
        at com.novell.zenworks.joinproxy.service.client.ZoneConfigJoinProxyServiceClient.init(ZoneConfigJoinProxyServiceClient.java:85)
        at com.novell.zenworks.joinproxy.service.client.ZoneConfigJoinProxyServiceClient.getInstance(ZoneConfigJoinProxyServiceClient.java:76)
        at com.novell.zenworks.joinproxy.nativeprocessors.ZMDNativeProcessor.process(ZMDNativeProcessor.java:180)
        at com.novell.zenworks.joinproxy.ZenJoinProxyWorkerThread.run(ZenJoinProxyWorkerThread.java:74)
    ] [] [] [JoinProxy]
    java.lang.NullPointerException: null
        at com.novell.zenworks.joinproxy.service.client.JoinProxyConfigData.decrypt(ZoneConfigJoinProxyServiceClient.java:433) ~[zenjoinproxy-23.4.0.jar:?]
        at com.novell.zenworks.joinproxy.service.client.JoinProxyConfigData.getLatestConfigData(ZoneConfigJoinProxyServiceClient.java:406) ~[zenjoinproxy-23.4.0.jar:?]
        at com.novell.zenworks.joinproxy.service.client.ZoneConfigJoinProxyServiceClient.init(ZoneConfigJoinProxyServiceClient.java:85) ~[zenjoinproxy-23.4.0.jar:?]
        at com.novell.zenworks.joinproxy.service.client.ZoneConfigJoinProxyServiceClient.getInstance(ZoneConfigJoinProxyServiceClient.java:76) ~[zenjoinproxy-23.4.0.jar:?]
        at com.novell.zenworks.joinproxy.nativeprocessors.ZMDNativeProcessor.process(ZMDNativeProcessor.java:180) [zenjoinproxy-23.4.0.jar:?]
        at com.novell.zenworks.joinproxy.ZenJoinProxyWorkerThread.run(ZenJoinProxyWorkerThread.java:74) [zenjoinproxy-23.4.0.jar:?]

  • 0 in reply to 

    Don't post it here, but check your joinproxy_config.properties 

  • 0 in reply to 

    The joinproxy_config.properties is empty. It has nothing in the file. Can I regenerate it?

  • 0   in reply to 

    Hi, Not sure if you got the answer.. On my server, these steps worked:

    * microfocus-zenworks-configure -c CreateJoinProxySettingsConfigureAction

    * zac ref bypasscache

    * systemctl restart microfocus-zenjoinproxy.service

  • 0 in reply to   

    I was able to recreate the files using the CreateJoinProxySettingsConfigureAction but the %ZENSERVER_HOME%\Conf\joinproxy_config.properties was just recreated at 0 bytes.

    I also performed the zac ref bypasscache just fine.

    I tried to restart the ZENworksJoinProxy service (Windows) and it hangs trying to shut down (error 1053). I have waited for an hour and it never fully goes down.

    I went ahead and restarted the server to see if it made any difference but it did not.

    Incidentally, I notice each time I restart the server a new joinproxy_config.properties is created at %ZENWORKS_HOME%\Conf and that has all the proper joinproxy_device_servers listed.

Reply
  • 0 in reply to   

    I was able to recreate the files using the CreateJoinProxySettingsConfigureAction but the %ZENSERVER_HOME%\Conf\joinproxy_config.properties was just recreated at 0 bytes.

    I also performed the zac ref bypasscache just fine.

    I tried to restart the ZENworksJoinProxy service (Windows) and it hangs trying to shut down (error 1053). I have waited for an hour and it never fully goes down.

    I went ahead and restarted the server to see if it made any difference but it did not.

    Incidentally, I notice each time I restart the server a new joinproxy_config.properties is created at %ZENWORKS_HOME%\Conf and that has all the proper joinproxy_device_servers listed.

Children
  • 0   in reply to 

    Hi, We may need to look at the event viewer logs and may be also join proxy logs.. Before that, did you run zdc to see if there are no obvious differences?

  • 0 in reply to   
    look

    I know this is an old question but here it is.

    Quick Tasks, such as device refresh, or launch application, work as expected on remote (off site) devices.

    Remote Control, Remote Diagnostics, Remote View do not work on remote (off site) devices.

    Server is not producing new zen-join-proxy.log files even with ZCM restart.

    ZDC will not run. It generates an error connecting to DB.

    [DEBUG] [10/31/2024 08:57:20.361] [2044] [ZDC] [1] [] [DiagnoseZen] [] [Exception ocurred.] [com.novell.zenworks.zdc.exception.ZDCException: Exception ocurred.
        at com.novell.zenworks.zdc.DiagnoseZen.collect(DiagnoseZen.java:268)
        at com.novell.zenworks.zdc.DiagnoseZen.startZDC(DiagnoseZen.java:147)
        at com.novell.zenworks.zdc.DiagnoseZen.start(DiagnoseZen.java:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.novell.zenworks.zdc.boot.Bootstrap.main(Bootstrap.java:117)
    Caused by: com.novell.zenworks.zdc.exception.ZDCException: Could not establish database connection!
        at com.novell.zenworks.zdc.DiagnoseZen.loadConfDataAndConnectToDB(DiagnoseZen.java:337)
        at com.novell.zenworks.zdc.DiagnoseZen.collect(DiagnoseZen.java:251)
        ... 7 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: "User" (or "UserName") and "Password" connection properties must be specified for NTLM authentication.
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2446)
        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1787)
        at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1229)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:270)
        at com.novell.zenworks.zdc.db.AbstractJDBCDBAdapter.connect(AbstractJDBCDBAdapter.java:119)
        at com.novell.zenworks.zdc.db.SQLServerDBAdapter.connect(SQLServerDBAdapter.java:108)
        at com.novell.zenworks.zdc.db.DatabaseConnector.connect(DatabaseConnector.java:70)
        at com.novell.zenworks.zdc.DiagnoseZen.loadConfDataAndConnectToDB(DiagnoseZen.java:331)
        ... 8 more
    ] [] [] [ZENServer]