Multiple Nav x.xx Servers on one PC

Methos
Member Posts: 46
I`m trying to get a new Nav 3.01 server running on my PC. I already have 3 other servers running(Different versions of navision).
My hosts and services are setup, and i am able to ping my new server, but I seem to have run out of ports to use.
Annybody got some advice ?
[EDIT]
[SOLUTION]
Read the how to carefully it works great. Check the attached commands also for the correctness of your commands :!:
My hosts and services are setup, and i am able to ping my new server, but I seem to have run out of ports to use.
Annybody got some advice ?
[EDIT]
[SOLUTION]
kriki wrote:Check this : http://www.mibuso.com/forum/viewtopic.php?t=7479
Read the how to carefully it works great. Check the attached commands also for the correctness of your commands :!:
0
Answers
-
Methos wrote:I`m trying to get a new Nav 3.01 server running on my PC. I already have 3 other servers running(Different versions of navision).
My hosts and services are setup, and i am able to ping my new server, but I seem to have run out of ports to use.
Annybody got some advice ?
Ran out of ports??
Which port numbers do you use?
We have 20 db servers using on our machine... .
Can you send a snippet of the host and services file?0 -
Could it be that you have a firewall program on your server?Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
Methos wrote:I seem to have run out of ports to use.0
-
After doing some research on the forum I dont think that it is the ports.
I`ll try getting a port scanner to find some open ports.
My Command i use to start the server keeps returning error that port is in use, no matter what port I try.
Here are the relevant parts of the hosts and services files and the command I use to start the server.
HOSTS
127.0.0.1 localhost
10.10.10.11 ATB
10.10.10.11 Wil-PC
10.10.10.11 W-PC
10.10.10.126 OZZSERVER
10.10.10.126 NAV 4.1 Server
10.10.10.126 OZZNAV3.01SERVER
SERVICES
Wil-PC 2407/tcp
Bert-PC 2408/tcp
OZZServer 2409/tcp
NAV 4.1 Server 2410/tcp
370A 2411/tcp
OZZNAV3.01SERVER 2412/tcp
COMMAND.BAT
:Begin
c:
cd Program Files\Navision Attain 3.01A W1\SERVER
server servername=OZZNAV3.01SERVER,nettype=tcp,commitcache=yes,database=E:\OZZ Nav 3.01A SERVER\OZZ.fdb
pause
:end0 -
It's odd that you have multiple IP-addresses in your HOST file.
Try to change your host file to this (for getting service "OZZNAV3.01SERVER" to work):
127.0.0.1 localhost OZZNAV3.01SERVER
10.10.10.11 ATB
10.10.10.11 Wil-PC
10.10.10.11 W-PC
10.10.10.126 OZZSERVER
10.10.10.126 NAV 4.1 Server0 -
Check this : http://www.mibuso.com/forum/viewtopic.php?t=7479Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thanks kriki, I found that How to yesterday. I followed the instructions but the cmd`s does not start a new service. I did not install the versions from the cd`s, Copied files from other PC. The server start command starts the server but the command window has to stay open otherwise it stops, i.e a manual server start command.
Waldo I tried edditing the host like said but it didn`t work.
As for the other IPs in the host, it was setup that way when I got the PC, (second hand). The other Ips also have navision servers running on them. Is it really nessacerry for those IPs to be in my hosts file?
I tried removing the other hosts but no results.0 -
The Host file is just there to link a "name " to an "ip" for that machine. If you connect to "OZZSERVER", it'll connect to "10.10.10.126".
So, if you try to install on your local machine, on another port than the default, you have to use the services file to link a port to a name, and the host file to link the name to an Ip. That way, the name links to an IP and a Port. then, you can use this name to set up your database server.
I have one small remark:
In the services file, the ports should be in order, so you can't put your additional ports at the end of the file.
Other thing (which is a bit out of the blew): do not use tabs in the services file, use spaces to order the file. I had an issue once, which was solved by using spaces in stead of tabs... . I still find it a bit unbelievable, but still, it's worth trying... .0 -
Thanks lots Waldo.
One of ports in the services folder was out of sequence, my predesessor on the PC seems to have neglected it.
But now I am confused, how dit the other servers I had work, even though the ports where out of sequence? :-k .
Now it is only to get the services for all of these to regester so I dont have to start them manually each time my PC shuts down, and off course the irritating command prompt constantly open on my task bar.0 -
Methos wrote:Thanks kriki, I found that How to yesterday. I followed the instructions but the cmd`s does not start a new service. I did not install the versions from the cd`s, Copied files from other PC. The server start command starts the server but the command window has to stay open otherwise it stops, i.e a manual server start command.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Did you add the INSTALLASSERVICE-parameter?
Yup i did, here is the command.server servername=OZZNAV3.01SERVER,nettype=tcp,commitcache=yes,CACHE=10000
database="E:\OZZ Nav 3.01A SERVER\OZZ Foundries.fdb", INSTALLASSERVICE
net start OZZNAV3.01SERVER0 -
Waldo:
There is no service I can see to check if it is localsystem or not. Maybe i`m just missing it.
I have a couple of MBS services that fail to start and are bassically useless, having trouble removing them. How do I delete them?
The result of the dos window is - It runs through all the parameters of the command etc. and then gives the following text at the end:
Database server successfully started.
Press ESC to shut down the server.0 -
Methos wrote:Did you add the INSTALLASSERVICE-parameter?
Yup i did, here is the command.server servername=OZZNAV3.01SERVER,nettype=tcp,commitcache=yes,CACHE=10000
database="E:\OZZ Nav 3.01A SERVER\OZZ Foundries.fdb", INSTALLASSERVICE
net start OZZNAV3.01SERVERRegards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Methos wrote:The result of the dos window is - It runs through all the parameters of the command etc. and then gives the following text at the end:
Database server successfully started.
Press ESC to shut down the server.
Strange, this is the output when the "installasservice" is left out ... .
So it's normal that there is no service ... .
This is a long shot:
execute this:
server servername=OZZNAV3.01SERVER,nettype=tcp,commitcache=yes,CACHE=10000, database="E:\OZZ Nav 3.01A SERVER\OZZ Foundries.fdb"
the database should be started.
press ESC and ENTER to stop the database server
then type this:
server installasservice
Check your services and pray [-o<
I noticed there was no comma between "cache" and "database", but i suppose that was a "typo"?0 -
#-o 8-[
Thanks, it works perfectly now, stupid mistake.
Thanks for all the help Waldo and Kriki. =D>0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions