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
Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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