Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-07-04 at 21:30 -0400, Jose wrote:
Thanks for the reply
I tried it and got it back on line, but using the script fails
Using syslogd -rd got this:
You have to try using the same syntax as the script uses, which is:
startproc -p ${syslog_pid} ${syslog_bin} ${params}
Or you could modify the first line of the script to
#!/bin/bash -x
so that it prints the entire lot to the screen when it runs and you can see what happens, hopefully.
- -- Cheers, Carlos E. R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQFIb3YBtTMYHG2NR9URAp4dAJ0QKmlmRO2QaCWxnNbH0SaVtl6NkgCfWh9q C7HxW7/f7ceZcHFnRoA0nYE= =W6tK -----END PGP SIGNATURE----- Hi
I tried it the way from the script, but I only get the same message saying the following: Starting syslog servicesstartproc: Empty pid file /var/run/syslogd.pid for /sbin/syslogd This is the output for the /bash -x option: vmware:/etc/init.d # ./syslog start + . /etc/sysconfig/syslog ++ KERNEL_LOGLEVEL=1 ++ SYSLOGD_PARAMS=-r ++ KLOGD_PARAMS=-x ++ SYSLOG_DAEMON=syslogd ++ SYSLOG_NG_PARAMS= + BINDIR=/sbin + test -n syslogd + test -x /sbin/syslogd + case "$SYSLOG_DAEMON" in + syslog=syslogd + config=/etc/syslog.conf + params=-r + syslog_pid=/var/run/syslogd.pid + syslog_bin=/sbin/syslogd + klog_bin=/sbin/klogd + syslog_use= + test -s /etc/syslog.conf + test -x /sbin/syslogd + test -x /sbin/klogd + test -s /var/lock/subsys/syslogd + read -t 5 syslog_use + test -z /sbin/syslogd + syslog_use_pid=/var/run/syslogd.pid + case "$(uname -r)" in ++ uname -r + case "$KLOGD_PARAMS" in + . /etc/rc.status ++ LC_ALL=POSIX ++ export LC_ALL ++ test -z '' -o -z '' +++ exec +++ stty size +++ read L C +++ echo LINES=24 COLUMNS=80 ++ eval LINES=24 COLUMNS=80 +++ LINES=24 +++ COLUMNS=80 ++ test 24 -eq 0 ++ test 80 -eq 0 ++ export LINES COLUMNS ++ case ":$PATH:" in ++ test -t 1 -a xterm '!=' raw -a xterm '!=' dumb ++ stty size +++ echo -en '\033' ++ esc=$'\E' ++ extd='' ++ warn='' ++ done='' ++ attn='' +++ echo -en '\017' ++ norm='' +++ echo -en '\015 ' ++ stat=' ' ++ rc_done=' done' ++ rc_running=' running' ++ rc_failed=' failed' ++ rc_missed=' missing' ++ rc_skipped=' skipped' ++ rc_dead=' dead' ++ rc_unused=' unused' ++ rc_unknown=' failed'' ++ rc_reset=''p=' ++ rc_save='' ++ rc_restor'=' ++ _rc_service=./syslog ++ _rc_status=0 ++ _rc_status_all=0 ++ _rc_todo=start ++ test start = status ++ test -n start + rc_reset + _rc_status=0 + _rc_status_all=0 + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + return 0 + case "$1" in + test -e /var/lock/subsys/earlysyslog + test '' = early + test -e /dev/xconsole + killproc -p /var/run/klogd.pid /sbin/klogd + test -s /var/run/syslogd.pid + echo -n 'Starting syslog services' Starting syslog services+ test -z 1 + startproc -p /var/run/syslogd.pid /sbin/syslogd -r startproc: Empty pid file /var/run/syslogd.pid for /sbin/syslogd + rc_status + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + case "$_rc_todo" in + local i + return 0 + echo /sbin/syslogd + test 0 -eq 0 + startproc /sbin/klogd -c 1 -x + rc_status + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + case "$_rc_todo" in + local i + return 0 + rc_status -v + rc_check + _rc_status_ret=0 + test 0 -eq 0 + test 0 -eq 0 + return + test 0 -gt 7 + _rc_status_ret=0 + case "$_rc_todo" in + local i + for i in '"$@"' + case "$i" in + local vrt= + local out=1 + local opt=en + test -n '' + opt=e + case "$_rc_status" in + vrt=' done' + echo -e '' done done + _rc_status=0 + return 0 + rc_exit + exit 0 vmware:/etc/init.d # I tried installing syslogd on a suse 11, as I was pretty sure I have done this before on a 10.2 and had no problems with this, and I got no problem using suse 11, I even copied the script from this 11 test and I keep getting the same problem, I am suspecting there is something broken on the system, but I can't figure out what it is yet. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org