Posts: 0
Threads: 3
Joined: Feb 2025
Reputation:
0
#!/bin/sh
test -x /usr/sbin/logrotate || exit 0
/usr/sbin/logrotate /etc/logrotate.conf
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 3
Joined: Feb 2025
Reputation:
0
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
# system-specific logs may be configured here
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 3
Joined: Feb 2025
Reputation:
0
Okay, so I went into the "ehcp" file in /etc/logrotate.d/ and found the same line inserted 34 times, so I wiped out the contents just to see what would happen...
the next day, no error message, then the following day, the same message reappears so I go back into the "ehcp" file and there's the same line 34 times again...
Is this a bug with the "automatic logrotate" setting? Only started getting these messages when I updated ehcp to 0.30
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
fixed now.
download www.ehcp.net/ehcp_yeni.tgz
just replace classapp.php with yours
restart ehcp:
/etc/init.d/ehcp restart
the problem should be solved, with logrotate working, I hope.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.