- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Issue Starting NIC SFTP Agent
I wonder if anyone can assist. Having an issue on a event source where the NIC SFTP Agent stops immediately after being started.
When running the service in debug mode we get the following:
C:\NICsftpagent>nicsftpagent.exe -v
Debugging NIC SFTP AGENT.
Thu Oct 23 14:20:56 <3> %NIC-3-251014: SFtp Agent, SFtp Agent, -, -, -, -, Detail: 0: Host {IPAddress}, Configuration error: Unknown dir key: 'hasheader', please correct your configuration and restart the agent
Any ideas what's causing this? Tried the usual things like recreating the key pair, service re-install and server reboot.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mattaus,
Looks like you have something wrong in your sftpagent config file. Check it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I thought the same but can't see any issues with it. I've even compared it with the out of box sftpagent.conf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mattaus,
The out of the box file must be modified to adapt it to your setup!
Cheers.!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I understand that. The only differences were the variables relating to my environment.
Thanks
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mattaus
In the configuration file looks for the following entries fileN.has_header or dirN.has_header
Set to false if the log file does not have a header line at the top. Set to true for all other cases. If the value is
true, the header is sent with every file.
Cheers.!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
My conf file doesn't have either of these entries. Its the out of the box BES (Blackberry) file.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Matt
can you show the config file? Have you copied this agent from some server? what is the version of the agent?
Regards
Gaurav Khanna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Mattaus,
The out of the box config file for Blackberry BES has the following setup:
#
# RIM Blackberry Enterprise Server Definitions
#
dir0=C:\EnvisionScripts
dir0.dirspec=nicsftpfolder
dir0.filespec=*.CSV
dir0.interval=60
dir0.compression=false
dir0.hasheader=true
dir0.enabled=true
dir0.ftp=<enVision_IP>,nic_sshd,public_key.txt,RIMBES_
file0.delete_after_read=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Apologies it does contain dir0.hasheader=true but I've noticed the log files do have headers. Should I remove it still?
We're running version 4.1.0.188 of the agent and its a new install.
Thanks
