351 reputation
13
bio website
location
age
visits member for 4 years, 1 month
seen Jun 25 '12 at 15:30

Nov
23
comment ZFS on Linux for RHEL/OEL Installation
Did you attempt the regression test suite included in those instructions? I agree that their instruction list is confusing, but if you have successfully executed the yum command then, based on these instructions, you should have the necessary software installed.
Nov
23
awarded  Yearling
Feb
25
answered Virtual machine : is it possible to run a 32 bits guest OS on a 64 bits host OS?
Feb
24
comment How to list all physically installed Network Cards (Debian)?
Do you have physical access to the host? Can you confirm that any expansion cards are properly seated? Are all NIC's from the same manufacturer?
Dec
23
answered Monitoring HP and Dell hardware in Gentoo
Dec
7
comment sshd segfaults errors every minute on Red Hat system
@columbo - Maybe this should be the subject of a different post, considering the pages of comments already, but I would glad to walk you through some forensic and security steps to analyze what may have be, or remain, compromised and ways to protect yourself in the future. If you do spawn a new thread, please link me to the post if I may be of assistance.
Dec
6
comment sshd segfaults errors every minute on Red Hat system
@columbo - I would recommend saving the file in case there are unintended consequences, but I think that you can safely remove/relocate the file out of /var/spool/cron. You may wish to restart the cron daemon after this as well.
Dec
6
comment sshd segfaults errors every minute on Red Hat system
@columbo - What did the grep command above return? Is there a file in /var/spool/cron/crontabs/ named apache?
Dec
6
comment sshd segfaults errors every minute on Red Hat system
@columbo - That is true that cron runs, typically, from files in /var/spool/cron, however, I would recommend instead of editing or removing these files manually that you leverage the crontab command. grep -ilr "vi.recover" /var/spool/cron/* will print the name of all files in /var/spool/cron which contain the string "vi.recover" which should correspond, roughly, to the username of the owner of the cron file. Becoming that user and executing crontab -l to view the cron and crontab -e to edit should allow you to comment out or remove the entry entirely.
Dec
3
answered How do I add or switch to a Linux server
Dec
3
comment sshd segfaults errors every minute on Red Hat system
@columbo - I apologize for not replying earlier, I missed your update above. The init script appears correct, based on your earlier post that SSHD is set to /usr/sbin/sshd in the file. Have you tried stopping SSH entirely and deleting the /var/tmp/vi.recovery/sshd file?
Dec
2
comment sshd segfaults errors every minute on Red Hat system
@columbo - Can you find the case statement in the file and past the start expression in your question above?
Dec
2
comment sshd segfaults errors every minute on Red Hat system
@columbo - You should have a file, probably /etc/init.d/ssh, that is called to start up the service. If you view the file and look for the start logic, there will likely be multiple lines, it should help by telling us from where it is executing sshd.
Dec
2
comment sshd segfaults errors every minute on Red Hat system
@columbo - Were you ever trying to edit or view the /usr/sbin/sshd executable? Typically the /var/tmp/vi.recover directory is for files that were open in vi/vim when it, vi, exited uncleanly. What is the command in the init file for ssh that starts the daemon?
Dec
2
comment sshd segfaults errors every minute on Red Hat system
@columbo - I apologize, I should have explained. The strace process will create a file named sshd-strace.pid for each process that is spawned, just sshd in this case. That file will contain the stack trace for the process(es) spawned. With reference to the sshd file, is that the executable sshd or the sshd_config file?
Dec
2
comment sshd segfaults errors every minute on Red Hat system
@columbo - Well, based on this reference [eldos.com/documentation/sbb/documentation/…, an error 6 from SSH references an incorrectly composed packet. That this is happening every minute suggests to me a library problem, hence my questions regarding SSL. I would recommend stack tracing one or more of these processes to see if there might be a common library or routine where they are failing. strace -vff -osshd-strace sshd would watch one stack, alternatively you can add this to your init script and restart the service.
Dec
1
comment Bash script to replace a file if it has a particular string
Corrected by quoting the backticks which preserves the spacing. Thanks for the catch.
Dec
1
revised Bash script to replace a file if it has a particular string
added 2 characters in body
Dec
1
comment Bash script to replace a file if it has a particular string
Good point, updated in the comment. Thanks.
Dec
1
revised Bash script to replace a file if it has a particular string
added 2 characters in body