Where are the FTP logs ?

Hello,
I’m not very familiar with QNX and sorry for my english…
I have since a little while this message

inetd [ x ]: getpwnam: ftp: No. such user

I suspect that it is about a problem with the FTP daemon and I would have
liked showing logs more exactly.

Problem: I do not find them! (Or then my daemon is not configured to
activate them).
The FTP daemon is launched with:
/usr/ucb/inetd /etc/config/inetd.1

The line of the file inetd.1 (concerning the FTP) is the following one :

ftp stream tcp nowait root /usr/ucb/ftpd in.ftpd -l


Just a little help would be welcome.
Thanx





Salut,

pas très familier avec QNX, j’ai depuis quelques temps le message suivant
qui s’affiche sans arret :

inetd[x]: getpwnam: ftp: No such user

Je me doute qu’il s’agit d’un problème avec le serveur FTP et j’aurais aimé
visualiser les logs plus précisément.
Problème : je ne les trouve pas ! (ou alors mon démon n’est pas configuré
pour les activer).

Le démon FTP s’éxécute au lancement avec :
/usr/ucb/inetd /etc/config/inetd.1

La ligne du fichier inetd.1 (concernant le FTP est la suivante)

ftp stream tcp nowait root /usr/ucb/ftpd in.ftpd -l

Un petit peu d’aide serait la bienvenue.
Merci.
A+


\

Romain PETIT
(mailto:rompetit_chez_ifrance.com)

Ftpd should send its messages to syslogd. Look at /etc/syslog.conf
to see where its output file is. The syslogd daemon will not work
unless the file(s) specified in syslog.conf exist.

I quess if syslogd is not running then ftpd’s messages go to the
console.

To get more detail, add -d to ftpd’s args.

Richard

Romain PETIT wrote:

Hello,
I’m not very familiar with QNX and sorry for my english…
I have since a little while this message

inetd [ x ]: getpwnam: ftp: No. such user

I suspect that it is about a problem with the FTP daemon and I would have
liked showing logs more exactly.

Problem: I do not find them! (Or then my daemon is not configured to
activate them).
The FTP daemon is launched with:
/usr/ucb/inetd /etc/config/inetd.1

The line of the file inetd.1 (concerning the FTP) is the following one :

ftp stream tcp nowait root /usr/ucb/ftpd in.ftpd -l

Just a little help would be welcome.
Thanx

French

Salut,

pas très familier avec QNX, j’ai depuis quelques temps le message suivant
qui s’affiche sans arret :

date> inetd[x]: getpwnam: ftp: No such user

Je me doute qu’il s’agit d’un problème avec le serveur FTP et j’aurais aimé
visualiser les logs plus précisément.
Problème : je ne les trouve pas ! (ou alors mon démon n’est pas configuré
pour les activer).

Le démon FTP s’éxécute au lancement avec :
/usr/ucb/inetd /etc/config/inetd.1

La ligne du fichier inetd.1 (concernant le FTP est la suivante)

ftp stream tcp nowait root /usr/ucb/ftpd in.ftpd -l

Un petit peu d’aide serait la bienvenue.
Merci.
A+


Romain PETIT
(mailto:rompetit_chez_ifrance.com)

Ftpd should send its messages to syslogd. Look at /etc/syslog.conf
to see where its output file is. The syslogd daemon will not work
unless the file(s) specified in syslog.conf exist.

My file /etc/syslog.cong :

/tmp/syslog must exist!

. /tmp/syslog

and /tmp/syslog exists (but deseperatly empty)

I quess if syslogd is not running then ftpd’s messages go to the
console.

syslogd is running ! (/usr/bin/syslogd)

To get more detail, add -d to ftpd’s args.

like this in the /etc/config/inetd.1 ?
ftp stream tcp nowait root /usr/ucb/ftpd in.ftpd -l

Thx,

Romain PETIT wrote:

Ftpd should send its messages to syslogd. Look at /etc/syslog.conf
to see where its output file is. The syslogd daemon will not work
unless the file(s) specified in syslog.conf exist.

My file /etc/syslog.cong :

/tmp/syslog must exist!

. /tmp/syslog

and /tmp/syslog exists (but deseperatly empty)
Try:

logger “bonjour”

You should see “bonjour” in /tmp/syslog. If you do not, slay syslogd
and restart it.

The old version of syslogd (before 1999) had problems. It would stop
logging after a few hours or days. The new syslogd (size=42441) is
quite reliable.

I quess if syslogd is not running then ftpd’s messages go to the
console.

syslogd is running ! (/usr/bin/syslogd)

To get more detail, add -d to ftpd’s args.

like this in the /etc/config/inetd.1 ?
ftp stream tcp nowait root /usr/ucb/ftpd in.ftpd -l
Yes. Add -d to the end of the line.

Richard

Thx,

You should see “bonjour” in /tmp/syslog. If you do not, slay syslogd
and restart it.

Thx ! It works (slay and restart).

Then I found my problem :
active line concerning tftp /etc/config/inetd.1

tftp dgram udp wait ftp /usr/etc/tftpd in.tftpd

and dir /usr/etc doesn’t exist.

Have a good day, Richard.
Bye