Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[WANDL] LDAP port change limitation

0

0

Article ID: KB31499 KB Last Updated: 15 Mar 2017Version: 1.0
Summary:

This article explains the issue regarding WANDL IP/MPLSView LDAP port change limitation as documented in PR1216650.

Symptoms:

Port 3389 is sometimes used for internal services. If the LDAP port is changed, a nodeJS error occurs when trying to use the WebUI. The user would not be able to login.

The following error is visible in nodejs.log:

assert.js:315
assert.ifError = function(err) { if (err) {throw err;}};
ConnectionError: ldap://localhost:3389 closed
at /export/home/wandl/ipmpsview_621S3/app/NodeJS/node_modules/ldapjs/lib/client/client.js:127:15
at Array.forEach (native)
at Socket.onClose (/export/home/wandl/ipmpsview_621S3/app/NodeJS/node_modules/ldapjs/lib/client/client.js:124:39)
at Socket.emit (events.js:107:17)
at TCP.close (net.js:485:12)

The Java client picks up a new port automatically.

 

Cause:

This issue is triggered by running the system configuration script:

[wandl@wandl ~]$ /u/wandl/bin/changeconfig.sh

Reading configuration settings from /u/wandl/bin/mplsenvsetup.sh ...

Main Menu
Server Configuration Settings:
(A) Overall Settings
(B) IP Address
(C) Memory Settings
(D) Port Settings (Server to Client)
(E) Port Settings (Advanced)
(F) Online Performance Management Settings
(G) Online Fault Management Settings
(H) Advanced Configuration

Please select a number to modify.
[<CR>=return to main menu]:

Main Menu
Server Configuration Settings:
(A) Overall Settings
(B) IP Address
(C) Memory Settings
(D) Port Settings (Server to Client)
(E) Port Settings (Advanced)
(F) Online Performance Management Settings
(G) Online Fault Management Settings
(H) Advanced Configuration

Please select a number to modify.
[<CR>=accept, q=quit]: d

(D) Port Settings
   1.) Server Port..........: 7000
   2.) LDAP Server Port.....: 3389
   3.) Webserver Port.......: 8091
   4.) SSL Port........: 8443
       SSL Domain......: Unknown
       SSL Department..: Unknown
       SSL Organization: Unknown
       SSL Loc./City...: Unknown
       SSL State/Prov..: Unknown
       SSL Country.....: United States,us
   5.) Task Manager Primary Port...: 2099
   6.) HornetQ Port................: 1856
   7.) Thrift Server Port..........: 7911

Please select a number to modify.
[<CR>=return to main menu]: 2
2 selected!

Current LDAP Server Port: 3389

Please enter a new LDAP Server Port: [new_port_value]
Solution:
  1. Stop services and check the port number in the configuration file:
     
    u/wandl/bin/stop_mplsview

    Old port 3389 can be found in folders /u/wandl/app/NodeJS/server/:
     
    find ./ -type f -name "*.js" -exec grep -i -H "3389" {} \;

  2. Open the file, /northbound/routes/v1/UserAdmin/index.js with a text editor and change port to [new_port_value].

  3. Start IP/MPLSView server and check the status:
     
    u/wandl/bin/startup_mplsview
    u/wandl/bin/status_mplsview
The WebUI will work as expected afterwards.

 

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search