LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-27-2011, 05:19 AM   #1
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Rep: Reputation: 0
Errors installing Syslog


Code:


bash-3.00# make
make  all-recursive
Making all in .
Making all in m4macros
Making all in glib
cd .. && \
  /bin/bash ./config.status glib/glibconfig.h
config.status: executing glib/glibconfig.h commands
config.status: glib/glibconfig.h is unchanged
C -h -s  -o glib_probes.h.tmp
bash: C: command not found
*** Error code 127 (ignored)
sed -e "s,define STAP_HAS_SEMAPHORES 1,undef STAP_HAS_SEMAPHORES," < glib_probes.h.tmp > glib_probes.h && rm -f glib_probes.h.tmp
bash: glib_probes.h.tmp: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `glib_probes.h'
Current working directory /home/syslog/glib-2.25.13/glib
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. m4macros glib gmodule gthread gobject gio tests po docs'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/syslog/glib-2.25.13
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-3.00# 
i get this error while executing make command to compile GLIB, which is a dependency for SYSlog server

any suggestions?
 
Old 01-27-2011, 07:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

DON'T do this, or you'll break your system. Solaris comes with syslog. You can run
Code:
svcs -a |grep system-log
to see if it's enabled and edit /etc/syslog.conf to fit your needs
If for some reason you don't want to use the default syslog, you can install syslog-ng from sunfreeware

Regards

Last edited by bathory; 01-27-2011 at 07:34 AM.
 
Old 01-27-2011, 07:44 AM   #3
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
Hi,

DON'T do this, or you'll break your system. Solaris comes with syslog. You can run
Code:
svcs -a |grep system-log
to see if it's enabled and edit /etc/syslog.conf to fit your needs
If for some reason you don't want to use the default syslog, you can install syslog-ng from sunfreeware

Regards
Quote:
bash-3.00# svcs -a |grep system-log
online Dec_27 svc:/system/system-log:default
so it is already installed and working!
i checked etc/syslog.conf , it is different from the one i used to work on which is syslog-ng
so should i remove old syslog before instaling new one?
 
Old 01-28-2011, 12:47 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

I would stay with the original Solaris syslog. Anyway if you want syslog-ng, you can disable the system-log service and follow the instructions here.
Use the syslog-ng package from sunfreeware and make sure you've installed also its dependencies.

Regards
 
Old 02-04-2011, 04:41 AM   #5
ziadh
Member
 
Registered: Aug 2010
Location: France, Paris
Distribution: Solaris10
Posts: 88

Original Poster
Rep: Reputation: 0
beh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog errors - help! keratos Ubuntu 20 08-12-2008 04:48 PM
Syslog errors with NIS hawarden Linux - Networking 0 01-25-2006 03:45 PM
DHCPd errors in syslog APEX Linux - Networking 0 05-16-2004 02:51 PM
syslog errors AZDAVE Linux - General 0 04-27-2004 10:29 AM
some errors in syslog doublefailure Linux - General 0 03-06-2003 10:37 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration