[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ProFTPD -  "received SIGHUP -- master server rehashing configuration file"

Posted on 2010-08-23
3
Medium Priority
?
979 Views
Last Modified: 2013-12-02
I have a dedicated linux server CentOS Linux 5.5 running  ProFTPD 1.3 (set up via Webim/Usermin). It is at present a very quiet server, but eventually I hope to use it for some quite hefty FTP.

I saw this odd entry in the logs -

mydomain.net - received SIGHUP -- master server rehashing configuration file
IPv6 getaddrinfo 'mydomain.net' error: Name or service not known
mydomain.net - error setting IPV6_V6ONLY: Protocol not available


What do these lines mean? What's the problem, and how do I fix it?
0
Comment
Question by:PaliTree
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 33501658
Hi,
there is no problem.
The proftpd server received a SIGHUP (hangup signal), most probably from logfile rotation (I assume you use logrotate? Check root's crontab!) which caused closing/reopening of its logfile as well as rehashing its config .file.
The IPv6 message is quite normal in an environment where this protocol version is not being used.
wmp
0
 

Author Comment

by:PaliTree
ID: 33501918
Thanks woolmilkporc.

That's reassuring. Yes I'm using logrotate.

The only thing is - what would happen if ProFTPD was in the middle of managing a very large file upload when this happens? e.g. one taking around 24 hours! Do you know if that would cause the upload to be aborted (with restart required from the beginning?)

If so, I'm going to need to figure out a script to detect if an upload is in progress before running logrotate.



0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33501971
You should try to find out how exactly logrotate handles the logs.
There must be a logrotate script, most probably in /etc/logrotate.d/... containing the name of the xfer logile and the actions to be taken.
Please check!
And - no, a SIGHUP alone will not cause proftpd to abort a transfer.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question