Jeff Kaplan Posted September 18, 2019 Share Posted September 18, 2019 Hello, I'm receiving an error when attempting to set the NTP servers on an ADC VPX running on an EC2 instance. When navigating to System > NTP Servers an Error window pops up saying "Error in retrieving NTP Server. File does not exist.". When adding an NTP server via the command line I receive "ERROR: File does not exist.". This ADC is running on AWS and was upgraded from 12.1-53.12 to 13.0-41.20.nc. Any help would be appreciated Link to comment Share on other sites More sharing options...
Farhan Ali1709152717 Posted September 19, 2019 Share Posted September 19, 2019 Seems like a Bug, Please try this Create a file under /nsconfig with the name "ntp.conf" Paste this line includefile /etc/ntp.common.conf Then try adding the ntp server. Sample:- root@ip-192-168-1-236# cat /nsconfig/ntp.conf includefile /etc/ntp.common.conf > add ntp server 192.168.55.57 Done > shell Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. root@ip-192-168-1-236# cat /nsconfig/ntp.conf includefile /etc/ntp.common.conf server 192.168.55.57 minpoll 6 maxpoll 10 restrict 192.168.55.57 nomodify notrap nopeer noquery root@ip-192-168-1-236# 6 Link to comment Share on other sites More sharing options...
Mihai Cziraki1709160741 Posted September 19, 2019 Share Posted September 19, 2019 also make sure the file is not owned by root. It should be nobody. you can use this to change it: chown nobody:nobody /nsconfig/ntp.conf 1 Link to comment Share on other sites More sharing options...
Jeff Kaplan Posted September 19, 2019 Author Share Posted September 19, 2019 Something must have happened during the upgrade. No command would work, cd, mkdir, cat. I'm starting over with the 13.0 AMI. Thanks. Link to comment Share on other sites More sharing options...
Stephan Hardtmann Posted October 2, 2019 Share Posted October 2, 2019 On 9/19/2019 at 9:28 AM, Farhan Ali1709152717 said: Seems like a Bug, Please try this Create a file under /nsconfig with the name "ntp.conf" Paste this line includefile /etc/ntp.common.conf Then try adding the ntp server. Sample:- root@ip-192-168-1-236# cat /nsconfig/ntp.conf includefile /etc/ntp.common.conf > add ntp server 192.168.55.57 Done > shell Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. root@ip-192-168-1-236# cat /nsconfig/ntp.conf includefile /etc/ntp.common.conf server 192.168.55.57 minpoll 6 maxpoll 10 restrict 192.168.55.57 nomodify notrap nopeer noquery root@ip-192-168-1-236# It Works great... Thx. Link to comment Share on other sites More sharing options...
Ken Z Posted October 11, 2019 Share Posted October 11, 2019 guys same problem with a new import of the VPX appliance 13.0 Build 41.20 Same issue occurs with running the initial config step 3 - setting hostname, Timezone and NTP server. Creating the /etc/ntp.conf file fixes it. Regards Ken Z Link to comment Share on other sites More sharing options...
Matt Folker Posted October 18, 2019 Share Posted October 18, 2019 How do i create the file? Link to comment Share on other sites More sharing options...
Stephan Hardtmann Posted October 18, 2019 Share Posted October 18, 2019 Create it local and transfer it through WinSCP or equivalent tool into /nsconfig path on netscaler Link to comment Share on other sites More sharing options...
Matt Folker Posted October 18, 2019 Share Posted October 18, 2019 2 minutes ago, Stephan Hardtmann said: Create it local and transfer it through WinSCP or equivalent tool into /nsconfig path on netscaler Thanks but i figured it out. I just used the touch command to create the file. Link to comment Share on other sites More sharing options...
Stephan Hardtmann Posted October 18, 2019 Share Posted October 18, 2019 That's the way it goes, of course. :-) Thanks for the information. Link to comment Share on other sites More sharing options...
Farhan Ali1709152717 Posted October 21, 2019 Share Posted October 21, 2019 Citrix has fixed the issue in next release which will be 13.0.47.6 + above. The Bug id is NSCONFIG-2277 1 Link to comment Share on other sites More sharing options...
Gabriele Pallassini Posted October 25, 2019 Share Posted October 25, 2019 great! but a simple testing phase in Citrix? ;-) i'll try the "workaround" now Regards GP 1 Link to comment Share on other sites More sharing options...
Roland van der Kruk Posted December 6, 2019 Share Posted December 6, 2019 On 9/19/2019 at 9:28 AM, Farhan Ali1709152717 said: Seems like a Bug, Please try this Create a file under /nsconfig with the name "ntp.conf" Paste this line includefile /etc/ntp.common.conf Then try adding the ntp server. Sample:- root@ip-192-168-1-236# cat /nsconfig/ntp.conf includefile /etc/ntp.common.conf > add ntp server 192.168.55.57 Done > shell Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. root@ip-192-168-1-236# cat /nsconfig/ntp.conf includefile /etc/ntp.common.conf server 192.168.55.57 minpoll 6 maxpoll 10 restrict 192.168.55.57 nomodify notrap nopeer noquery root@ip-192-168-1-236# Worked for me, I created the file with WinSCP and then added the NTP servers through the gui. thanks. 1 Link to comment Share on other sites More sharing options...
Steve Cheung1709161299 Posted December 13, 2019 Share Posted December 13, 2019 1. create a file on your local machine with the name: ntp.conf 2. edit the file and add the following line in it: includefile /etc/ntp.common.conf 3. Using WinSCP, copy the file to the root/flash/nsconfig/ directory of the netscaler 4. login to netscaler from your browser 5. click on Configuration tab 5. on the top right below nsroot, click on the wheel setting 6. Redo Step #3 - Host Name, DNS IP Address, Time Zone and NTP Server Link to comment Share on other sites More sharing options...
Sean Bruce Posted December 19, 2019 Share Posted December 19, 2019 Can confirm this worked for me. Running 13.0.41 I just needed to create the ntp.conf file. Did not populate the file with anything. Once the file was created I was able to utilize the GUI to add a time server. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now