Open Shuliyey opened 9 years ago
Sorry I actually found out that the folders in /var/run are created dynamically during a service startup.
So i guess this is a cntlm bug, which the /var/run/cntlm folder wasn't created during a service (or systemctl) startup?
Hi
Sorry i did some more digging, I found out if I added these in the /etc/init.d/cntlmd script it works after reboot now
PIDDIR=`dirname $PIDFILE 2>/dev/null`
if [ -n "$PIDDIR" -a ! -d "$PIDDIR" ]; then
mkdir -p "$PIDDIR" 2>/dev/null
chown "$RUNAS" "$PIDDIR" 2>/dev/null
chmod 755 "$PIDDIR" 2>/dev/null
fi
Hi
Sure it is a distro specific problem while providing daemon start script. In this way, it is out of scope of this repository.
Despite this, see this report https://bugzilla.redhat.com/show_bug.cgi?id=1042358 Maybe, there is a errata package for CentOS. What full version have you installed?
Connect Your Wallet:
Use the Claim Method:
Claim Your Prize:
Enjoy Your Tokens:
Make sure to read the terms and conditions on the https://claim.mantarewards.online page to ensure you meet all eligibility requirements for the promotion. This offer is for a limited time, so don't miss out!
Winners: @XYUnknown, @frankwyw7, @raakasf, @Clinale, @Vespertinus, @cymcsg, @supercocoa
Hi
I realised Cntlm (installed through) RMP CentOS 7 didn't start as a daemon thread correctly.
The problem is caused by the daemon couldn't create a pid file at location /var/run/cntlm/cntlmd.pid
What I found in the daemon log is that the /var/run/cntlm folder doesn't exist in the first place. So I created the folder /var/run/cntlm and changed the owner of the folder to cntlm (since the daemon is trying to start cntlm as cntlm user).
This fixed the problem. (after I did sudo systemctl restart cntlm)
However everytime after I reboot my computer, I found that the folder /var/run/cntlm which I created to fix the problem, was gone. (This happens everytime)
Is this a CentOS bug or Cntlm bug?