Solved

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

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

10 Experts available now in Live!

Get 1:1 Help Now