• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 7.52 And FreeBSD

Other FreeBSD Plesk Tips

Here's another thread I started that has additional FreeBSD tips. I started it when I was still using Plesk 7.1.6. I think everything in there still applies to the current 7.5.2/FreeBSD 5.3 release though. There are some other tips I haven't gotten around to adding yet, but when I get some time, I will.
 
Maillog problem...

All things are runnnig OK on Plesk 4.9 + plesk 7.5.4, but I have 2 problems...

1. The qmail/splogger can´t write to /usr/local/psa/var/maillog, in this way I don´t have any logs from mail.

2. Whit no mail log I can´t debug if need this... and worst .. I can´t tax trafic from uses.. :(

Is some one can help ..

TIA.
 
Hello.

Qmail should be using syslog for logging.
Assuming permissions for the file and directories are correct,
Check your /etc/syslog.conf file.
Make sure mail.* is pointing to /usr/local/psa/var/maillog

Cheers
 
in reality the syslog.conf pointing to ..

mail.* /usr/local/psa/var/log/maillog

witch is de default place in BSD..

and the output from ls -la in /usr/local/psa/var/log/maillog


-rw-r--r-- root psaadm 0 Oct 17 12:20 maillog

and besides the non loging.. all processes are running file include the qmail sending and receiving messages...
 
This is the prob..

Syslog runnig => OK
syslog.conf => OK
log files .. => OK..

if you edit the /usr/local/qmail/rc and remove the (splogger qmail)

and restart the qmail (/usr/local/psa/rc.d/qmail restart) all logs are here.. (but on console)

I have no doubts.. the syslog is OK, the files are Ok, the permisiosn.. but start having doubts about the splogger process..

you mail is logging OK ?? what version of Plesk and Bsd you running..

Here (this is the crash test dummy machine ) FreeBSD 4.9 + plesk 7.5.4...
 
Hi Spyder,
We have several machines running bsd.
4.10, 4.11, 5.x
All are logging fine.
I still suspect syslogd.

Is your /var/log/messages file updating?

Cheers.
 
Example
(edited IP entry :) )

Oct 17 18:47:00 srv15 ntpdate[8263]: step time server IP.IP.IP.IP offset 0.040897 sec


....

This is the prob...

Like I said.. If I remove the splogger from qmail rc.. I start receive the message of mail processing @ console..


I will try replace the splogger.. from one fresh install..

ahh .. in de middle of day I try the "stupid" reboot aproach.. obviusly the problem still here.. no maillog.. :(
 
Hi Spyder.
Just to rule it out....
from command line, enter:

logger Syslogd Test

Then tail your /var/log/messages file.

Let me know if that worked.

EDITED....
Nevermind, I misread your last post...

What are the permissions of the splogger file?
Also, from the command line enter this...
echo "SpLogger Test" |/usr/local/psa/qmail/bin/splogger

Then look in the /usr/local/psa/var/log/maillog file for the
entry that should contain "SpLogger Test"
Did that work?
 
Hi, lets in slices :)

==> logger Syslogd Test

tai in var/log/messages

Oct 18 09:47:01 srv15 ntpdate[50643]: step time server IP.IP.IP.IP offset 0.043357 sec
Oct 18 10:17:09 srv15 su: junior to root on /dev/ttyp0
Oct 18 10:17:30 srv15 junior: Syslogd Test

----

srv15:root# ls -l|grep splogger
-r-xr-xr-x 1 root qmail 6772 Aug 24 10:23 splogger

----
srv15:root# echo "SpLogger Test" |/usr/local/psa/qmail/bin/splogger
srv15:root# tail maillog
srv15:root#

ls -l

-rw-r----- 1 root psaadm 0 Oct 18 04:13 maillog
 
Hello Spyder,

If you can, do the other test also...
logger Syslogd Test

Then look for "Syslogd Test" in /var/log messages.
 
From the last post..

==> logger Syslogd Test

tai in var/log/messages

Oct 18 09:47:01 srv15 ntpdate[50643]: step time server IP.IP.IP.IP offset 0.043357 sec
Oct 18 10:17:09 srv15 su: junior to root on /dev/ttyp0
Oct 18 10:17:30 srv15 junior: Syslogd Test

Tia
 
Hello spyder,
I am at a loss.
syslod is working.
as you mention, splogger is not.

I think you might want to get support involved..

Cheers.
 
Hi,

Wrost... I just do one new instalation NOW, bas FreeBSD 4.9 + plesk 7.5.4 and qmail still not logging ...

Some Ideia ??? You can try this ?

Tia.
 
Back
Top