Suseconfig --module syslog-ng ne marche pas

Résolu
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

9 réponses

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


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

    SuSEconfig --module syslog-ng
    1. 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
      1. 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
        1. Contributeur
          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
          1. if u have seen my last post you will discover it

            # suseconfig syslog-ng
            bash: suseconfig: command not found
            1. Sorry

              i was fool

              i did not gat it the first time

              thank you
              1. Contributeur
                Have you tried with all the path :

                /etc/sysconfig/suseconfig --module syslog-ng
                1. 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.
                  1. 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