file descriptor

I am using CentOS 5 on my laptop. If I open gnome-terminal by right clicking the desktop, I am getting an error that read as follows:

There was an error creating the child process for this terminal

How do I fix this problem and open a terminal by right clicking the Debian / Ubuntu / CentOS / Fedora / RHEL / Red hat Enterprise Linux 5.x desktop system?

{ 5 comments }

I‘m using RHEL 6 / CentOS 6.x and install the memcached server. However, whey I try to start the server using service memcached start command, I get the following error:

Starting memcached: failed to set rlimit for open files. Try running as root or requesting smaller maxconns value. [FAILED]

How do I fix this problem?

{ 2 comments }

How do I mount the devpts file system under Linux operating systems using bash command prompt? How can I mount the devpts on /dev/pts using /etc/fstab file under Linux operating systems?

{ 0 comments }

Q. I’ve installed Apache 2.2 from FreeBSD 7.0 ports and when I try to start I get following warning on screen:

Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
[Wed Sep 17 22:01:58 2008] [warn] (2)No such file or directory: Failed to enable the ‘httpready’ Accept Filter

How do I fix this error?

{ 11 comments }

I’ve Squid Proxy server with over 100 Windows workstation. I see following error message in my cache.log file – “WARNING! Your cache is running out of filedescriptors”. Do I need to filter proxy server requests to avoid this problem? How do I fix this problem under CentOS / Fedora / RHEL / Debian Linux?

{ 8 comments }

Q. I’m using Red hat Enterprise Linux server. I’m getting following error in /var/log/message file: Apr 16 16:38:02 server ntpd[22694]: sendto(10.0.77.54): Bad file descriptor Apr 16 16:38:08 server ntpd[22694]: sendto(66.111.46.200): Bad file descriptor Apr 16 16:38:25 server ntpd[22694]: sendto(83.133.111.7): Bad file descriptor Apr 16 16:38:28 server ntpd[22694]: sendto(81.169.156.100): Bad file descriptor How do I fix […]

{ 3 comments }

How do I save my bash shell script output to a file?

{ 4 comments }