Rechercher : dans
Par :

Suseconfig --module syslog-ng ne marche pas

Dernière réponse le 17 fév 2009 à 14:49:59 sezam2, le 13 fév 2009 à 13:01:48 
 Signaler ce message aux modérateurs

Bonjour,
hi
i use suse 10 sp2

i am making same change in the file /etc/syslog-ng/syslog-ng.con.in
i follow the instructio of this howto http://www.novell.com/coolsolutions/feature/18044.html

but som were it sais to Save the file and run SuSEconfig --module syslog-ng

and when i tri to do so her what happens

:~> suseconfig --module syslog-ng
-bash: suseconfig: command not found

even with sudo

sudo suseconfig --module syslog-ng
-bash: :~: command not found33


SOS i realy need this

help
thanks

Configuration: Windows XP
Firefox 3.0.6

Meilleures réponses pour « suseconfig module syslog ng ne marche pas » dans :
Linux – Gentoo – Activation de la journalisation VoirLa distribution Gentoo offre différents systèmes de journalisation. Il est possible d’installer : sysklogd qui est l'ensemble d'utilitaires traditionnel emerge sysklogd =>Fichier de configuration: /etc/syslog.conf syslog-ng qui est un...
La compilation et les modules en C et en C++ VoirCet article a pour vocation d'introduire les notions de bases de la compilation en C et en C++ et de la programmation modulaire. Il permet de mieux comprendre les messages d'erreur du compilateur. Les notions abordées ici sont indépendantes du...
Activer/Désactiver un module complémentaire VoirInternet Explorer Mozilla Firefox Internet Explorer Ouvrez votre navigateur Internet Explorer , allez dans < Outils > qui se trouve en haut a droite. Ensuite dans < Gérer les modules complémentaires >, et en puis < Activer ou...

1

eZula, le 13 fév 2009 à 13:07:54

:~> suseconfig --module syslog-ng
-bash: suseconfig: command not found 


Shell's commands are case-sensitive. So try, as root, with

SuSEconfig --module syslog-ng

Répondre à eZula

2

sezam2, le 13 fév 2009 à 13:16:28

I did it
but same thing
see


sudo suseconfig --module syslog-ng
sudo: suseconfig: command not found²


the proble wich is making me crasy tht

if i do

:/etc/sysconfig> ls|grep suse
suseconfig

i fing the suseconfig

even like this

sudo ./sudo suseconfig --module syslog-ng

same thing

Répondre à sezam2

3

sezam2, le 13 fév 2009 à 13:25:21

See even if i am su same thing
# suseconfig syslog-ng
bash: suseconfig: command not found


the problem that i have to make it woek as soon as possible

Répondre à sezam2

4

eZula, le 13 fév 2009 à 13:26:39

Except if you write the result in the forum it is not normal that your shell return the result with this case. For example if, as simple user, I type

SuSEconfig hello


it returns

SuSEconfig: command not found


and not


suseconfig: command not found


You understand ?

Type su in your shell and press Return key. Then enter your password (which won't appear) et press another time Return.

Now, paste this line

SuSEconfig --module syslog-ng


what's the answer ?

=========

edit > ok for your last post

Répondre à eZula

5

sezam2, le 13 fév 2009 à 13:31:27

If u have seen my last post you will discover it

# suseconfig syslog-ng
bash: suseconfig: command not found

Répondre à sezam2

6

sezam2, le 13 fév 2009 à 13:36:02

Sorry

i was fool

i did not gat it the first time


thank you

Répondre à sezam2

7

eZula, le 13 fév 2009 à 19:00:14

Have you tried with all the path :

/etc/sysconfig/suseconfig --module syslog-ng

Répondre à eZula

8

sezam2, le 13 fév 2009 à 22:03:46

Hi the problem was resolved before my last post

but her is a new one

this one i passed a lot of time to reslove it but nat a chance

i added in syslog-ng.config.in this i waas folowing this how to for setting syslog server

http://www.novell.com/coolsolutions/feature/18044.html

destination std {
file ("/var/log/HOSTS/$YEAR-$MONTH/$HOST/$FACILITY-$YEAR-$MONTH-$DAY"
owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(y\es)
);
};
ligne 201

ligne 202


after lanching:
SuSEconfig --module syslog-ng

this erro ocures

Starting SuSEconfig, the SuSE Configuration Tool...
Running module syslog-ng only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.syslog-ng...
Checking //etc/syslog-ng/syslog-ng.conf.SuSEconfig file: syntax error at 202
Parse error reading configuration file, exiting. (line 202)
Please correct the //etc/syslog-ng/syslog-ng.conf.in file.
Finished.

Répondre à sezam2

9

 sezam2, le 17 fév 2009 à 14:49:59

It me answering me hihihi


the solution is first

1 ad a file names syslog-ng.conf.SuSEconfig

destination std {
file ("/var/log/HOSTS/$YEAR-$MONTH/$HOST/$FACILITY-$YEAR-$MONTH-$DAY"
owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes) it was y/es
);
};

2 run this command
SuSEconfig --force --module syslog-ng it is better

for more detail fiolow this link

http://www.commentcamarche.net/forum/affich 11051806 syslog ng not retsarting

Répondre à sezam2