CPANEL_LOG entries in csf.conf

Post Reply
cyonch
Junior Member
Posts: 13
Joined: 07 Jun 2011, 15:58

CPANEL_LOG entries in csf.conf

Post by cyonch »

Hi everyone,

We have several servers with CloudLinux 7, cPanel and LiteSpeed with these entries in csf.conf:

Code: Select all

CPANEL_LOG = "/usr/local/cpanel/logs/login_log"
CPANEL_ACCESSLOG = "/usr/local/cpanel/logs/access_log"
On several other servers with the same configuration, however, these entries are not present. We do not define these entries with automation tools, and cPanel has no idea from where these entries are coming from.
Can someone here in the forums point us in the right direction?

Thanks
Ermanno
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CPANEL_LOG entries in csf.conf

Post by ForumAdmin »

That will happen if you install csf before installing cpanel. If you edit csf.conf and change GENERIC = "1" to GENERIC = "0" and then run the following to update csf it should recreate those entries:

Code: Select all

csf -uf
cyonch
Junior Member
Posts: 13
Joined: 07 Jun 2011, 15:58

Re: CPANEL_LOG entries in csf.conf

Post by cyonch »

Thank you very much for your answer.
We tried it on one of our servers and it worked. The thing we notice is after running csf -uf, the GENERIC option is gone from the config file. Moreover, on servers where the cPanel entries are present, there is no GENERIC in the config file. On servers were GERERIC is present, there are no cPanel entries.
Is that normal behavior?

Thanks
Ermanno
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CPANEL_LOG entries in csf.conf

Post by ForumAdmin »

Yes, that's the expected behaviour
cyonch
Junior Member
Posts: 13
Joined: 07 Jun 2011, 15:58

Re: CPANEL_LOG entries in csf.conf

Post by cyonch »

Thanks. As fare as I can see, this only updates the entries, but does not change or reset anything else, is that correct?
Post Reply