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 :!:
Answers
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?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
...
Everybody on-line.
...
Looking good!
RIS Plus, LLC
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
:end
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 Server
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
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.
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... .
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
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.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Yup i did, here is the command.
What is the output of the command in the dos-box?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
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.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
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"?
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Thanks, it works perfectly now, stupid mistake.
Thanks for all the help Waldo and Kriki. =D>