July 29, 2015, 04:49:28 AM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Linux Proxy Server Support / Failure Ratio at 1.38
« Last post by rajesh.bahl on November 10, 2014, 05:42:14 AM »
Dear Experts,

My  squid proxy server is working okay apparently. However I often observe the following error in /var/log/squid/cache.log:-

Failure ratio is at 1.38 ( this value also varies )
Going to Hit-Only mode for 5 minutes .......

This keeps repeating after some time.
I tried searching in Squid FAQs. where it is written as this issue arises from parent cache. I wish to confirm that We have ONLY ONE squid proxy server in the entire network.

Can some one help in resolving the issue, please ?

22
Linux Servers Support / Re: service vpnserver does not support chkconfig
« Last post by jeilsoft on November 10, 2014, 02:36:10 AM »
Please check vpnserver bash file.
Make sure following line use correct format.

Code: [Select]
# chkconfig: 2345 99 01
You may miss the colon character ( : )
23
Linux Proxy Server Support / squid & Dansguardian
« Last post by ramkumar on November 05, 2014, 06:49:28 PM »
Guys, Can u help!!! I Need to block some https website for particular ip's on Linux Server with out any manual proxy settings in client side.
24
General Networking Support in Linux / Re: how to use linux for an internet cafe
« Last post by Naba_das on October 27, 2014, 10:52:39 AM »
Hi chiefdembe,

You have first install Linux and configure networking router
Please see the below mention link for router configure in linux.

http://computernetworkingnotes.com/network-administrations/linux-as-router.html
25
Linux Tutorials & How To's / [Help] REDHAT rpmforge not working
« Last post by sh.shekhar89 on October 25, 2014, 06:21:24 PM »
Hi friends,i am trying to intall rpmforge epel on redhat,i have installed it successfully, but when i am trying to install any packages using than i am getting error :
"[root@localhost yum.repos.d]# yum install openssl
Loaded plugins: katello, security
Unable to read consumer identity
Setting up Install Process
Nothing to do
"

Can any one help me how to use rpmforge.repo

do i have to change configuration files to make it work??
26
Linux Installation Support / Re: how to insatall v.l.c player
« Last post by Naba_das on October 25, 2014, 02:30:14 PM »
Hi vasthan,

At first configure "epel repo" in linux. Then run the command #yum install vlc
1. epel repo configure:-

run the command
#wget http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
#rpm -Uvh epel-release-6-8.noarch.rpm
27
Linux Installation Support / Re: getting error while installing moonlight
« Last post by Naba_das on October 25, 2014, 02:25:57 PM »
Hi ravindra,

At first install gtk+-2.0 and also configure local yum server and run the below mention command

#yum groupinstall "Development Tools"
Then
#yum install gtk+-devel gtk2-devel
28
Linux Installation Support / Re: how to run 32 bit app in 64 bit linux.
« Last post by Naba_das on October 25, 2014, 02:22:14 PM »
Hi,

Please install 32 bit libraries in 64 bit linux . Then install the run 32 bit app in 64 bit linux.

29
I think he is then supposed to add it in cron to get executed regularly ?
30
there are many you may try anyone ...
here is one
#!/bin/bash

ADMIN=yermail@yerdom.com
ALERT=90
df -H | grep -vE 'abc:/xyz/pqr | tmpfs |cdrom|Used' | awk '{ print $5 " " $1 }' | while read output; do
usep=$(echo $output | awk '{ print $1}' | cut -d'%' -f1 )
echo $usep
partition=$(echo $output | awk '{ print $2 }' )
if [ $usep -ge $ALERT ]; then
  echo  "Alert: Almost out of disk space $usep"
  df -H | mail -s "Alert: out of disk space $usep"  $ADMIN
fi
done



you may try this or this one ...



message=$(awk -v ALERT="$ALERT" '
    NR == 1 {next}
    $1 == "abc:/xyz/pqr" {next}
    $1 == "tmpfs" {next}
    $1 == "/dev/cdrom" {next}
    1 {sub(/%/,"",$5)}
    $5 >= ALERT {printf "%s is almost full: %d%%\n", $1, $5}
')
if [ -n "$message" ]; then
  echo "$message" | mail -s "Alert: Almost out of disk space" "$ADMIN"
fi




Pages: 1 2 [3] 4 5 ... 10