[syslog-ng]permission denied on syslog-ng

Nica Smith syslog-ng@lists.balabit.hu
Mon, 21 Apr 2003 17:02:23 -0700


this is wat i received after running 

sh -x /etc/init.d/syslog-ng start

[root@netengeng root]# sh -x /etc/init.d/syslog-ng start
+ INIT_PROG=syslog-ng
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ TEXTDOMAINDIR=/etc/locale
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/sysconfig/i18n
+++ LANG=en_US.UTF-8
+++ SUPPORTED=en_US.UTF-8:en_US:en
+++ SYSFONT=latarcyrheb-sun16
++ '[' pty '!=' pty ']'
++ export LANG
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL=echo -en \033[60G
+++ SETCOLOR_SUCCESS=echo -en \033[0;32m
+++ SETCOLOR_FAILURE=echo -en \033[0;31m
+++ SETCOLOR_WARNING=echo -en \033[0;33m
+++ SETCOLOR_NORMAL=echo -en \033[0;39m
+++ LOGLEVEL=3
+++ PROMPT=yes
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ SYSLOGNG_PATH=:/usr/local/sbin
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin
+ export PATH
+ '[' -f /etc/sysconfig/syslog-ng ']'
+ SYSLOGNG_OPTIONS=
+ RETVAL=0
+ umask 077
+ ulimit -c 0
+ start
+ echo -n 'Starting syslog-ng: '
Starting syslog-ng: + daemon syslog-ng
+ local gotbase= force=
+ local base= user= nice= bg= pid=
+ nicelevel=0
+ '[' syslog-ng '!=' syslog-ng ']'
+ '[' -z '' ']'
+ base=syslog-ng
+ '[' -f /var/run/syslog-ng.pid ']'
+ '[' -n '' -a -z '' ']'
+ ulimit -S -c 0
+ '[' color = verbose -a -z '' ']'
+ '[' -z '' ']'
+ initlog -q -c syslog-ng
+ '[' 0 -eq 0 ']'
+ success 'syslog-ng startup'
+ '[' -z '' ']'
+ initlog -q -n /etc/init.d/syslog-ng -s 'syslog-ng startup' -e 1
+ '[' color '!=' verbose -a -z '' ']'
+ echo_success
+ '[' color = color ']'
+ echo -en '\033[60G'
                                                           + echo -n '[  '
[  + '[' color = color ']'
+ echo -en '\033[0;32m'
+ echo -n OK
OK+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n '  ]'
  ]+ echo -ne '\r'
+ return 0
+ return 0
+ RETVAL=0
+ echo

+ '[' 0 -eq 0 ']'
+ touch /var/lock/subsys/syslog-ng
+ return 0
+ exit 0

when i tried to do /etc/init.d/syslog-ng start, i received this error message.. 

[root@netengeng root]# /etc/init.d/syslog-ng start
-bash: /etc/init.d/syslog-ng: Permission denied

[root@netengeng ~]# /etc/init.d/syslog-ng start
/etc/init.d/syslog-ng: Permission denied.

thank you.

- wander.

--

On Tue, 15 Apr 2003 13:57:29  
 Clausing, James A (Jim), SOLCM wrote:
>
>	As root run
>
># sh -x /etc/init.d/syslog-ng start
>
>	This will show the script executing.  Respond back to the list
>and let us know where in the script the error is being generated (the
>last few lines with '+' in front of them).  Then also give us the
>complete error message.  We don't have enough info to troubleshoot this.
>
>-----Original Message-----
>From: Nica Smith [mailto:wanderlust27@lycos.com]
>Sent: Tuesday, April 15, 2003 04:30
>To: syslog-ng@lists.balabit.hu
>Subject: [syslog-ng]permission denied on syslog-ng
>
>
>my syslog-ng.conf is located at 
>usr/local/etc/syslog-ng/syslog-ng.conf
>
>then i copied init.d.RedHat-7.3 /etc/init.d (from contrib) to 
>/etc/init.d/syslog-ng
>
>when i do /etc/init.d/syslog-ng start, i received an error "permission
>denied".
>
>what did i miss? need ur help. tnx.
>
>
>- wander
>
>
>____________________________________________________________
>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>http://login.mail.lycos.com/r/referral?aid=27005
>_______________________________________________
>syslog-ng maillist  -  syslog-ng@lists.balabit.hu
>https://lists.balabit.hu/mailman/listinfo/syslog-ng
>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>_______________________________________________
>syslog-ng maillist  -  syslog-ng@lists.balabit.hu
>https://lists.balabit.hu/mailman/listinfo/syslog-ng
>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005