Solved

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

Posted on 2010-08-23
3
929 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 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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Problem: Windows 32bit running out of paging space. Solution: Add additional page files on separate partitions. Background: By default Windows creates only one page file on the partition you install Windows on. You may know that the maximu…
Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now