How to install syslog-ng??
hello,
http://opensystems.wordpress.com/200...ith-syslog-ng/ i entered this site to see how to install syslog-ng on Solaris 10, but i encountered problems since the the first step. Quote:
thanks |
Hi,
Ask a moderator to merge this thread with this. You shouldn't open new threads for the same problem. Regarding the error you've misspelled the command. It's svcadm not svcadmn Regards |
Quote:
Code:
bash-3.00# svcadm disable system-log |
I guess you have somehow messed your PATH.
Try: Code:
/usr/sbin/svcadm disable system-log |
OK!
now the other steps... :) Quote:
|
Quote:
i chose 1, then: Quote:
Quote:
... ... ... Quote:
any suggestion? |
Greetingz!
ziadh, I've got a few questions for you (or rather, questions you've probably asked yourself by now...) 1) Are you doing the pkgadd as root? (you kinda probably should...) 2) Does /usr/local exist? 3) Is /usr/local it's own filesystem, and is that read-only? 4) Have you tried pkgrm first, since it appears the package was partially installed? 5) Have you read the man pages for pkgadd and pkgrm? 6) Has this system been patched (ever)? There are some critical patches for the pkgadd and pkgrm commands that you might need. And finally the big question; Why didn't you grab syslog-ng from SunFreeWare.com or BlastWave.org? I'm sure there's nothing wrong with this guy, he seems to be on the level. I'm just curious is all... |
Dear xeleema,
Quote:
|
Quote:
Quote:
man pkgadd man pkgrm If you don't get out of the "I'll read the documentation later" phase, you're going to do something dangerous and blow away the system...and the documentation. Quote:
Let's start you off with a few basic guidelines; Rule #1: Do not use the root account. Rule #2: YOU do not USE the ROOT ACCOUNT, use sudo if you *really* need root! (install it if it's not present) Rule #3: If a process halts, gives an error, or SEGFAULTs, you read the man pages. Rule #4: Only one System Administrator to a computer. Rule #5: One fight question at a time. Rule #6: No "Diet" drinks, no overhead lights. Rule #7: Fights Troubleshooting sessions will go on as long as they have to. Rule #8: If this is your first night at FIGHT CLUB LQ, you HAVE to fight google. Now for a few things you're going to (eventually) need to know; How to Boot off a Solaris CD into Single User Mode Patch Check Advance (PCA) - Great tool for patching a system. Read the docs first. Basic Docs on Solaris (from Oracle) - This includes man pages. So now that that's all out of the way... Okay, "introduce" us to your system with the following commands (remeber to wrap the outputs in [code] & [/code]); uptime Not as important as you would think, but I don't trust anything that has the root password taped to the monitor with an uptime over 500 days. uname -a This will tell us the platform (sparc or x86), the revision of the kernel you're using, the version of the O.S (somewhat), and maybe the model of system you have. cat /etc/release This will tell us the exact version of the operating system, and what "update" it is. prtdiag -v | head -20 This should tell us the exact make and model of system you have, and how much RAM/CPU you have. df -hFufs This will tell us exactly which filesystems are which, and where they're mounted at. pkginfo -l SMCsyslng Prints the current state of the package you installed (or attempted to). |
Any luck?
|
well, actually today is my last day of training, my main mission was configuration os syslog and freeradius servers which i did on SuSe and Windows...
and the last 2 weeks i lost so much time just installing these servers on solaris10, i hope from now on i will never use any Linux/Unix system, :)) so now i leave the company and i hope that the next engineer will be able to solve these problems. thank you for your help, if by any chances i'll work on linux again, i'll come back for sure into this site because you guys helped me more than the people in here with me in the office!!! |
All times are GMT -5. The time now is 12:33 AM. |