I am having the following issue that need your advice.
I am configuring syslog on Solaris 10. I have edited the /etc/syslog.conf by adding the following entry:
which the facility and address of syslog server is dividing by tab, not spaces.
However, when restarting system-log, this service is not started again and entering the maintenance mode.
The following command has been used:
After that, I checked the state of this service using the following command:
The output indicates that this service is in Maintenance mode.
Then, I do the following commands:
However, after enable, the system-log is in offline* state. By 10', it enters the maintenance mode again.
I found the following error in /var/svc/log/svc.startd.log:
I believe this issue starting from 16/05/2018, when we modified the syslog.conf by adding the mentioned entry.
However, the same entry has been added to another similar Solaris 10 server and it was working fine.
Is there anyone can give me some advice in this situation? Rebooting server is not possible because this is a critical server.
Regards,
Michael
Last edited by DukeNuke2; 06-19-2018 at 05:54 AM..
To keep the forums high quality for all users, please take the time to format your posts correctly.
First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)
Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.
Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.
I would be looking long and hard for possible formating errors in syslog.conf.
Also did you remember to:
thanks hicksd8 for your reply.
i am also concerning about syslog.conf format. However, we have reverted the changes by replacing the backup file. Then the system-log still in maintenance mode.
I have done the svcadm refresh system-log but issue still persists.
Is there any different between svcadm refresh system-log and svcadm refresh system/system-log?
I would say the issue is in space char.
syslog uses tabs as separators, be sure to check for those.
Personaly, i use disable/enable with svcadm, when restarting stuff.
During startup, also syslog should log a line or two why it failed in /var/log/ suggesting some course of action.
I have double checked the syslog.conf but it is ok.
Is there any debugging command like checking the configuration or tracing start-up command? I want to identify which step is getting stuck and leading to timeout execution.
I have double checked the syslog.conf but it is ok.
Is there any debugging command like checking the configuration or tracing start-up command? I want to identify which step is getting stuck and leading to timeout execution.
Regards,
Michael
How did you check your syslog.conf?
As noted earlier: syslog.conf uses tabs as separators, not spaces.
Hi all,
I wonder if you guys could give me some advice on this. I have messed around with Linux for the last few years, and I'm at the point where I would like to become a system administrator - as a career.
I already have a bachelor's degree, but it is in the humanities (art history) so... (2 Replies)
Hi,
I have read about a vulnerability that allows to lock any IDE/SATA hard drive with a password, unless the BIOS "freezes" the drive's (no-password) status.
Even though less secure, this protection can also be archieved by software (only few BIOSes have that feature). hdparm offers a... (4 Replies)
As topic, assume we have a service called "blahservice"
and we can start it by:
startsrc -s blahservice
what is the best practice to run such command when system start?
- directly use mkitab to add it into /etc/inittab
or
- drop startup scripts in /etc/rc.d/rcX.d
I know they... (4 Replies)
Hi all,,i'm sorry if my post is repost..but i'm need help about my problem...
My specifications is :
Sony Vaio VGN CR-323
Intel Dual-Core T2390(1.86 GHz)
Memory 2GB DDR
Harddisk 200GB
with Debian lenny 2.6.26-1-686
i'm install xen via apt-get install xen blah..blah blah
root@hell:~#... (4 Replies)
I just got a Sun solaris workstation from my friend but i don't know the password to his username. I have all the software but i dont know how to reinstall the operating system without logging in first. I dont need any of the info already on the system. Someone please help :) (5 Replies)
I want to know if there is a way to make a certain set of programs start in order at system startup with cron or something else i dont know about. (3 Replies)
I am running OpenServer 5.0.5a on a Compaq Proliant 800. When trying to start the system it goes through loading everything and at the end I get the following message.
WARNING: hd: no root disk controller was found
H iinit ime Loadable Driver May be requiredG drain8042
PANIC: srmontfun -... (1 Reply)
hi, am new to hp-ux, i just bought an hp-ux with the hp-ux 11.0 os, is very old, and i wnat to start the x window system but it send an error that said that couldn't open the x server, i try startx, xinit, and nothing, and also where i can find tutorials for hp-ux os for beginners (7 Replies)
G'day. I have some questions on the Sun Solaris 2.6 OS. I would appreciate if you could refer me some write up or information on the following questions.
1. Terminal Time Out feature ?
- Is this OS capable of doing this ? If the terminal is idle for a certain time of period. The system should... (2 Replies)