Ok, ça roule, j'ai remplacé la variable par le chemin absolu et c'est en ordre
Merci
You are not logged in. Please login or register.
MySecureShell forum → Posts by wasp
Pages 1
Ok, ça roule, j'ai remplacé la variable par le chemin absolu et c'est en ordre
Merci
J'ai fait une erreur de manipulation.... Ah ces fins de semaines...
Le fichier mysecureshell existe bien mais son contenu est:
$MSS_LOG {
weekly
size=500k
rotate 10
compress
delaycompress
missingok
notifempty
}
Je pense que l'erreur survient sur la variable $MSS_LOG que le daemon ne sait pas interpréter.
Je vais changer cette variable par "/var/log/sftp-server.log" et voir si l'erreur ce reproduit.
Merci
Hello,
Ben le fichier /etc/logrotate.d/mysecureshell n'existe pas...
J'ai compilé à partir des sources car avec les rpm j'ai des problèmes de dépendances.
Eventuellement il serait possible de me transmettre le contenu du fichier et je le crée manuellement
Merci
Bien volontiers:
#
!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0et le logrotate.conf
# 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
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.Est-ce que MySecureShell doit modifier le contenu de ces fichiers à l'installation?
red Hat Enterprise Linux Server release 5 (Tikanga)
Bonjour,
J'ai une erreur de type
/etc/cron.daily/logrotate:
error: mysecureshell:1 lines must begin with a keyword or a filename (possibly in double quotes)
error: mysecureshell:9 unxpected }La rotation des logs est implémentée pour MySecureShell. Quelle peut en être l'erreur?
Merci
Bonjour,
ouah, tout bête... C'était effectivement un problème entre le Y et le y...
Merci
Xavier
En rpm j'ai des problèmes de dépendances,
J'ai toujours fait l'installation ./install.sh fr (en l'occurrence ici je lance ./install.in).
Avec les version 0.9 et 0.95 je n'avais pas besoin de faire le ./configure et make
Cependant je passe les étapes suivantes:
########################################
# MySecureShell #
#########################################
Welcome to the MySecureShell installation script !
Detecting needed files for installation:
Existing file MySecureShell [ OK ]
Existing file sftp_config [ OK ]
Do you want to test MySecureShell (check libraries requirement) ? (Y/n)
Y
This script will made a few operations:
- Install MySecureShell in /bin
- Make a configuration file in /etc/ssh/sftp_config
- Introduce if which MySecureShell as a valid shell
- Install utilities in /usr/bin
WARNING: The server will shutdown and all sftp connected clients will be killed !
- Do you want to continue installation ? (Y/n)
Y
Mais il s'arrête là:
Possible choices are "y" for Yes and "n" for No !
MySecureShell Installation [ FAILED ]Une idée????
merci
Hello,
Je suis sur une redhat et je veux mettre à jour de 0.95 à 1.0....
#########################################
# MySecureShell #
#########################################
Welcome to the MySecureShell installation script !
Detecting needed files for installation:
Existing file MySecureShell [ FAILED ]
MySecureShell Installation [ FAILED ]Ca ne marche pas. Pourtant je lançais à l'identique le "install.sh" lors de l'upgrade du 0.90 au 0.95
Un conseil?
Merci
Pages 1
MySecureShell forum → Posts by wasp
Powered by PunBB, supported by Informer Technologies, Inc.