Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Syslog-ng] erreur posix au démarrage du démon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
maicroft
n00b
n00b


Joined: 08 Nov 2006
Posts: 37

PostPosted: Thu Jul 07, 2011 10:54 am    Post subject: [Syslog-ng] erreur posix au démarrage du démon Reply with quote

Bonjour ,

Je viens vers vous car après moultes recherche je n'ai pas trouvé de solution à mon problème , lorsque que je veux démarrer mon démon syslog-ng avec ma config je me retrouve avec ce message d'erreur :

Quote:
Arcadia etc # /etc/init.d/syslog-ng start
* Caching service dependencies ...
/etc/init.d/../conf.d/syslog-ng: line 12: syntax error near unexpected token `('
/etc/init.d/../conf.d/syslog-ng: line 12: `options { long_hostnames(off); sync(0); };'
/etc/init.d/../conf.d/syslog-ng: line 12: warning: syntax errors in . or eval will cause future versions of the shell to abort as Posix requires [ ok ]
/etc/init.d/../conf.d/syslog-ng: line 12: syntax error near unexpected token `('
/etc/init.d/../conf.d/syslog-ng: line 12: `options { long_hostnames(off); sync(0); };'
/etc/init.d/../conf.d/syslog-ng: line 12: warning: syntax errors in . or eval will cause future versions of the shell to abort as Posix requires
* syslog-ng: error loading /etc/init.d/../conf.d/syslog-ng
* ERROR: syslog-ng failed to start
Arcadia etc #


J'ai tenté avec plusieurs fichiers de config différent , avec les sample fournis dans l'ebuild rien n'y fait , par contre avec le fichier vide de base il démarre .

J'ai tenté de réinstallé les packages OpenRC and baselayout 2 , de recompilé tous mon système mais toujours pareil , donc si quelqu'un a une idée je suis preneur :)

Quote:
Arcadia etc # emerge --info
Portage 2.1.10.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-2.0.2
Timestamp of tree: Thu, 07 Jul 2011 09:15:01 +0000
app-shells/bash: 4.1_p9
dev-lang/python: 2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig: 0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Merci d'avance de votre aide.
Back to top
View user's profile Send private message
Poussin
l33t
l33t


Joined: 08 Jun 2007
Posts: 659
Location: Liège

PostPosted: Thu Jul 07, 2011 11:33 am    Post subject: Reply with quote

tu n'essaierais pas d'utiliser les fichiers de config de syslog-ng (présent là: /etc/syslog-ng/) comme config pour le démarrage du service (là /etc/conf.d/) ? Parce que ça n'a rien avoir...
Back to top
View user's profile Send private message
maicroft
n00b
n00b


Joined: 08 Nov 2006
Posts: 37

PostPosted: Thu Jul 07, 2011 12:13 pm    Post subject: Reply with quote

Mais quel noob interstellaire je fais .....

Oki mea culpa et merci de m'avoir mis un pied au fesses pour me réveiller .....
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3102
Location: Paris

PostPosted: Thu Jul 07, 2011 2:42 pm    Post subject: Reply with quote

maicroft wrote:
Mais quel noob interstellaire je fais .....

Oki mea culpa et merci de m'avoir mis un pied au fesses pour me réveiller .....


/me lit rapidement...
"coup de pied aux fesses interstellaire"

/me pense:
"De là haut je vois ma maisoooooon..."

Ok je sors ;)
_________________
-Gentoo hardened [EoL]: µ-serv Gen8 G1610T, 8Go ECC ; NF9D-2700, 4Go
-FreeBSD 11/Vimage/Jails: DS61, i3 2100T, 16Go ; FreeNAS: µ-serv N40L, 8Go ECC
-Réseau: ERL-3 + ESL-24 + GS108Tv2
-NAS: RN312
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum