I use a non-standard FTP port on all my servers. Let's use 6021 as an example. I have all my FTP clients configured to that port as well.
I recently set up two new servers. I changed the bind in the FTP config file to 6021 and I opened port 6021 in the firewall and restarted both. I verified from the command line by catting the config file and running the firewall port status command that both were good.
Later I couldn't FTP to one of the servers. On checking I saw bind was port 21 on both servers! I decided I must have forgotten to edit the config files (even though I remembered checking that). So I edited the config files, restarted the FTP service, and all was well.
A couples days later, the same thing happened, on BOTH servers. Their FTP port was back on 21! This time I KNOW it had been set to 6021 because I could FTP. I reset them to 6021 again and all was well again.
I do know that both servers had been restarted between incident 1 and 2, but I can't say that was true between the initial bind change and the first incident. A restart should not have changed anything anyway, but is was shortly after the restarts that I noticed.
Does anyone know of anything that could do this? Am I losing it?! LOL I wondered if some cPanel script might reset it under some circumstance, but I don't what that would be, nor does it seem likely. It's just weird...
-Pete
I recently set up two new servers. I changed the bind in the FTP config file to 6021 and I opened port 6021 in the firewall and restarted both. I verified from the command line by catting the config file and running the firewall port status command that both were good.
Later I couldn't FTP to one of the servers. On checking I saw bind was port 21 on both servers! I decided I must have forgotten to edit the config files (even though I remembered checking that). So I edited the config files, restarted the FTP service, and all was well.
A couples days later, the same thing happened, on BOTH servers. Their FTP port was back on 21! This time I KNOW it had been set to 6021 because I could FTP. I reset them to 6021 again and all was well again.
I do know that both servers had been restarted between incident 1 and 2, but I can't say that was true between the initial bind change and the first incident. A restart should not have changed anything anyway, but is was shortly after the restarts that I noticed.
Does anyone know of anything that could do this? Am I losing it?! LOL I wondered if some cPanel script might reset it under some circumstance, but I don't what that would be, nor does it seem likely. It's just weird...
-Pete