Solved

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

Posted on 2010-08-23
3
947 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 125 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
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.…

691 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