12,238 reputation
12034
bio website linuxgen.com
location Nashville, TN
age 26
visits member for 2 years, 3 months
seen 8 hours ago

Linux admin.


Apr
13
comment command 'pecl install mong'o returns 'no acceptable C compiler found in $PATH'
Try /tmp/pear/temp/pear-build-rootpks1fB/mongo-1.5.1/config.log.
Apr
13
comment command 'pecl install mong'o returns 'no acceptable C compiler found in $PATH'
What does config.log say?
Apr
7
comment How can I count all the files on my system from root?
The -n option to echo is not POSIX. Use the shell's printf.
Apr
4
comment rkhunter warnings scan, what to do
I don't see anything that needs to be corrected.
Apr
4
comment How to delete a directory from terminal?
@les your cwd won't change, but future calls to lookup the cwd will return "no such file or directory".
Apr
4
comment Which is the most portable of sed, awk, perl and sh?
embedded systems often sacrifice portability to stay minimal. Many are not POSIX compliant.
Apr
4
comment Centralized logs for tomcat logs
I don't think using scp to copy a local log is a good solution for centralized logging.
Apr
1
comment Linux Centos 6: Restart Network Service after lost ping
What have you tried?
Mar
29
comment Linux dependencies between packages
Post the output of apt-cache policy; apt-cache policy linux-kernel-generic linux-image-3.11.0-12-generic.
Mar
29
comment Debian cannot resolve hostnames
@Ivarpoiss Only in the nsswitch.conf file you posted.
Mar
29
comment Debian cannot resolve hostnames
What are the contents of /etc/nsswitch.conf?
Mar
28
comment Disk is almost full on a server with CPanel
The large home is typical of cPanel servers, which store all websites and user data there. The performance reduction from LVM is very small (except when creating snapshots). LVM also makes sense when you want snapshot features, or have the option to add more space to partition by adding another drive later. I see very little reason not use it.
Mar
24
comment make grep confirm all matches
It is unclear what you mean by "acknowledge".
Mar
21
comment Automatically memtest and then boot
Most servers I have worked with can detect RAM failures without memtest. For example, OpenManage reports these failures on Dell servers.
Mar
18
comment In shell config scripts, how can I account for differences between coreutils on BSD compared to GNU?
@mikel if you are only concerned about color (like in the example), that is fine. If you care about other features as well, checking for coreutils is useful.
Mar
18
comment proper configuration of visudo NOPASSWD for bash backup script
Have you tried removing everything except for the last line? You haven't given your user permission to run true with no password and those lines are completely unnecessary anyways.
Mar
17
comment dkms versus module-assistant
@FaheemMitha clarification to examples added
Mar
17
comment dkms versus module-assistant
m-a does build and install a debian package. m-a would not work with a manually compiled kernel, unless it was installed via Debian package. I am not sure how dkms would handle it.
Mar
17
comment dkms versus module-assistant
Those are not random web forums you linked to. They are actually discussions between Debian developers. They are quite old and dkms has made improvements since (such as handling multiple kernel versions).
Mar
17
comment How to only zip the files of a specific user?
@kiwy because they both accomplish the same thing but the changed version handles files that contain spaces.