LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2003, 10:05 AM   #1
kanette
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Exclamation having problem with syslogd


1. You are an administrator at a small company that is currently developing a network-based application. The programmers have come to you and asked that you setup syslogd so that it will monitor the application. Note - You have set aside local6 as the facility.
1) What file will you modify to get syslogd to pay attention to the applications log requests?
2) The developers want the following to occur
debug messages go to:
/local/project23/log/debug.log
notice, info, warning messages go to /local/project23/log/message.log
crit and alert messages go to /local/project23/log/crit.log and to the screen of bobl, nancy, and Kenya if they are logged in.
Please provide your entries below:
3) Once you configured syslogd, what do you do to have the daemon read its config file?
4) The developers want you to automate the backup and compression of the logs found in /local/project23/log/ to /local/project23/archive. So you have decided to write a shell script and use cron. Here are the requirements:
Every Saturday morning at 1:00am the script should be run
Archive all log files in /local/project23/log/
Compress the archive
Move the archive to /local/project23/archive
zero out the current log files
 
Old 09-19-2003, 01:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Is this homework? Plus you posted in the wrong forum.

If its homework, I'd suggest not asking. Members here will not answer questions that come off as doing the work your suppose to do yourself. We don't cheat, we just help in finding the answer, without giving it out.

In the future, pick the most relevant forum for your questions. This forum here is to introduce yourself in. Regards.
 
Old 09-19-2003, 03:15 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 171Reputation: 171
I moved the thread to Linux - Software. I was thinking about closing it, but let's allow kanette to write if it's a homework.
 
Old 09-19-2003, 03:16 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Sorry, I can't believe for a second that this is not homework, and as such against the rules you have agreed to abide by. As such, this thread is being closed. If you believe this to be unfair treatment, please contact either myself or jeremy, the site admin, directly. thanks.

## dammit mara! hehe, guess it stays open a little longer!

Last edited by acid_kewpie; 09-19-2003 at 03:17 PM.
 
Old 09-19-2003, 04:19 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
I was contacted via email stating this is not homework but kanette is asking on behalf of another person.

Regards.

PS. I did mention that in the future, if your asking questions, try to refrain from making them appear as they are questions directly from a test, book, homework or the such. This is for any member who uses this site.

LQ.org will not tolerate answering questions and doing homework on anyone's behalf. That's the whole point of homework, tests or the such, for you to find your own given answer.
 
Old 09-20-2003, 08:49 AM   #6
keex
Member
 
Registered: Jun 2002
Location: Berlin / Germay
Distribution: gentoo linux, ubuntu
Posts: 40

Rep: Reputation: 17
dear trickykid,

I don't see the point of NOT doing anybodies homework. If there is somebody needing help and has no clue how to approach the problem, then why not do it for him.
whenever I have a problem to solve, I go to the net to find a solution, this includes asking questions. So I google around and find mostly similar solutions - then I simply adjust them to my needs.

to kanette:
you might want to replace syslogd with syslog-ng (http://www.balabit.hu/downloads/syslog-ng/ you need libol too, also available under that address). with syslog-ng you can match certain strings coming from all kinds of sources (usually /proc/kmsg) and start other appropriate programs warning you or what ever... syslog-ng also listens to the network and receives messages from allover the network. you can customize all different destinations for different logs... (usertty, or upd(192.168.2.13))

here's a nice configuration with tons of emedded documentation:
http://fresh.t-systems-sfr.com/cgi-b...og-ng.conf.doc

hope that helps.
cheers, alex
 
Old 09-20-2003, 10:15 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by keex
dear trickykid,

I don't see the point of NOT doing anybodies homework. If there is somebody needing help and has no clue how to approach the problem, then why not do it for him.
whenever I have a problem to solve, I go to the net to find a solution, this includes asking questions. So I google around and find mostly similar solutions - then I simply adjust them to my needs.
Then ask yourself, what is the point of the homework then, or taking a test then? That is what teaches them how to do their own work, research and find. Not everyone knows the answer, but with a little reading and searching, they will find their answer, also learning the process to find that answer.

If a teacher asks you to do something, that doesn't mean you turn to your classmate and ask them for the answer, that is along the same lines here. We don't tolerate doing others homework, that's their work and they need to find the answer. It prepares them for their future. What good would or purpose would anybody be if they couldn't do anything on their own.

That's it. No more discussion regarding homework. If you feel like arguing about it, email me. But other than that, abide by our requests not to do others homework or answer questions off tests, quizzes, etc. That is called CHEATING, look it up if you don't know the meaning.

Regards.
 
Old 09-21-2003, 07:30 AM   #8
keex
Member
 
Registered: Jun 2002
Location: Berlin / Germay
Distribution: gentoo linux, ubuntu
Posts: 40

Rep: Reputation: 17
hmm...
OK, I read your kind reminder of what homework is, and I feel like telling you that I know what you mean. but there is no reason for you to react so very unfriendly. this is a helping community. I doubt that people here like to hear you nagging about posts instead of actually helping them. you could have pointed kanette in the right direction yourself, but instead you declared this post as 'homework' and didn't help a bit.

maybe I'm a little bit too liberal, but unlike you I tried helping. please think about the way you treat people here. I doubt you would like to be treated that way.

oh and by the way, the rules don't state anything about "doing somebody else's homework".

lets close the topic from here on... emailing is possible.
 
Old 09-21-2003, 09:39 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by keex
hmm...
OK, I read your kind reminder of what homework is, and I feel like telling you that I know what you mean. but there is no reason for you to react so very unfriendly. this is a helping community. I doubt that people here like to hear you nagging about posts instead of actually helping them. you could have pointed kanette in the right direction yourself, but instead you declared this post as 'homework' and didn't help a bit.

maybe I'm a little bit too liberal, but unlike you I tried helping. please think about the way you treat people here. I doubt you would like to be treated that way.

oh and by the way, the rules don't state anything about "doing somebody else's homework".

lets close the topic from here on... emailing is possible.
I'm quite blunt myself and don't care what people think in most cases. I don't take things too personally on a forum. If you only saw this persons reaction in an email sent, well then, nuff said.

But I could have sworn that I asked for emails beyond my last post regarding discussing this. And the for the rule, well its not posted but its more of a moral stance among the moderators and site owner that we don't do others homework.

Regards.

Again, if you feel like discussing or arguing this, email me. Other than that, I only posted this to display our reasonings on points you brought up. Also if you read the rules again, this sort of topic is covered most likely under this statement: "By becoming a member you agreed to adhere to these guidelines. These guidelines are subject to change and a current version is always available in the forums."
Basically if its not listed there, then its been posted in every single thread regarding homework, or what deems to be homework.
Another unwritten rule is to respect the moderators and their decisions.

I am a kind person. I don't have over 10k posts of being rude. What I don't like is people taking advantage of others. I can proudly say all my homework and tests I've done in my time I did on my own. I actually went out and found my answer, instead of asking another person to just give it to me.

I'm done now... any further comments welcome via email. Anyone else who posts regarding homework or the such will recieve warning points.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
syslogd question tgo Linux - Security 5 09-25-2005 05:48 PM
timestamping in syslogd iftiuk Linux - Newbie 0 04-08-2004 09:50 AM
syslogd ????????????????????? lub0 Linux - General 2 09-23-2003 08:17 AM
Syslogd hypnoparadise Slackware 3 09-05-2003 12:45 AM
Syslogd question tarballed Linux - Networking 8 07-12-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration