The LinuxSolved.com GNU/Linux User Communit - Forum
You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Show Posts
|
|
Pages: [1] 2 3
|
|
1
|
Others / Miscellaneous / password as binary format
|
on: May 04, 2008, 03:53:01 PM
|
|
Dear Friends ,
I have to write a RMAN script following way :
rman target sys/sys123 << ! run { allocate channel t1 type disk; backup format 'df_%t_%s_%p' (database);}
Now I want to write this script where I want to put my user password as "binary" format , don't want to use text format. like :
rman target sys/****** << !
Is there any way to do it or u have any ideas about this ? Or, is there any way to call the "password" from another text file ?
Here I mention that , I dont want to use "read" option which takes the user password manually .
plz help ... ...
|
|
|
|
|
2
|
Network Troublshooting / Linux Servers Support / Promt passowrd with invisible mode
|
on: April 15, 2008, 11:48:36 PM
|
|
Dear Friends ,
In My Oracle10g database server , I want to run the following script , which prompts for "sys" password . echo "password please:" read mypass rman target sys/$mypass@onlinete << ! run { allocate channel t1 type disk; backup format 'df_%t_%s_%p' (database);}
But the problem is , when I execute this script it promps for password but not in invisible mode . I want a situation where this script is working with prompt password but not in visible mode . I am working now in Oracle10g in AIX unix platform . Waiting for ur kind reply ...
|
|
|
|
|
3
|
Network Troublshooting / Linux Proxy Server Support / Bandwidth Limit using squid
|
on: January 22, 2008, 05:44:32 AM
|
|
Dear friends ,
I want to limit bandwidth using squid.conf . I confogure proxy server in my Redhat Enterprise Linux 4.0 . Just give me a example How can I limit bandwidth for a particular user or IP (Like 192.168.10.10) so that he/she cannot get more than 5 MB speed .
And also tell me plz what is squip delay pool class?
Waiting for your reply .. ..
|
|
|
|
|
4
|
Others / Miscellaneous / Need Script for http server
|
on: September 16, 2006, 06:53:54 AM
|
|
Dear friends ,
I have a web server . some times my user cannot browsing my web pages from my network . When they acknowledge me then I make a solution against it . But i need a Automated solution .
i.e., I need a script or third party tools , which helps me to inform about my web server or http protocol request ? so that I can realize easily either my web server down or up ?
Waiting for ur reply ... ...
|
|
|
|
|
5
|
Others / Miscellaneous / Mail Send Problem
|
on: July 13, 2006, 02:15:00 AM
|
|
Hi friends ,
Suppose i have a postfix mail server (use Redhat Enterprise Edition ). I am using the domain "server.example.com" . I have a client Client via this server, they use the Domain "client.usa.com"
Again , "Client.usa.com" Domain has 5 user . here 4 windows machine and one is Linux Machine . The Scenario is :
-------------------- | server.example.com | //202.59.133.1 -------------------- ^ ^ ^ ------------------- | Client End | //just a firewall gateway -------------------- 202.59.133.2 ^ ^ ^ -------------------- | SWITCH | -------------------- ^ ^ ^ ^ Here Four(4) windows user is connected and a another Linux Server is connected . Here this Linux machine contains also "postfix Mail server" which contains a private IP (say, 192.168.0.5). and it's Domain is "client.usa.com " Now i want a situation where ,
when a "outcoming mail" comes into my main server "server.example.com"(for red@client.usa.com) then i want to forward this mail into 192.168.0.5 linux machine via "firewall gateway (202.59.133.2)" machine .
i.e., I want to forward a outcoming mail directly to the 192.168.0.5 private ip Linux machine (which conatains postfix) from my main server(202.59.133.1) via the firewall gateway machine (202.59.133.2). Is it Possible to do ? If yes ...plz help what will i need to do for this purpose ...
|
|
|
|
|
6
|
Network Troublshooting / General Networking Support in Linux / Remote login via dialup service
|
on: June 17, 2006, 11:17:17 PM
|
|
Dear aktiwari4u ,
Thx for ur reply , I expect more help from u if u have time......... I don't understand ur reply clearly . Plz explain me little bit easy and in this purpose if any UTILITY then plz inform .
AND In this regard i want to make a mail feature which helps me to knock me or which helps to inform me automically , if any body try to access my server (proxy or mail or others) from other place via Remote Login .
|
|
|
|
|
7
|
Network Troublshooting / General Networking Support in Linux / Remote login via dialup service
|
on: June 08, 2006, 09:38:44 AM
|
|
Hi every one , I have a question and that is :
Suppose i am using Dial up Service into my home . In Dial up service i know i get a DHCP IP . Now if i want to access my Mail or Proxy Server in my Office then i can do it using SSH or Putty (Remote Login Software ) . Now i want to know , is it possible to make trace into my Mail or Proxy server , Who and when a user access into my Mail / Proxy server via Dial UP Service .
i.e., I want to know can i create a log file into my mail/proxy server so that if any user want to access into my Mail/proxy Server using Dialup service , then i can trace that IP or that User from my log file .
thx ...........
|
|
|
|
|
8
|
Others / Miscellaneous / clamsmtp problem
|
on: May 18, 2006, 02:38:48 AM
|
|
Friends , I have littlebit trouble with "clamsmtpd " configuration . I have installed clamsmtp-1.6.tar.gz in my Redhat Linux Enterprise 4 server . When i have installed i can't get any "clamsmtpd.conf " in my pc using "locate " . Then i make a "clamsmtpd.conf" from my "clamsmtp-1.6 folder" and put it into "/usr/local/etc/" location . my configuration file is :
# ------------------------------------------------------------------------------# SAMPLE CLAMSMTPD CONFIG FILE # ------------------------------------------------------------------------------# # - Comments are a line that starts with a # # - All the options are found below with sample settings # The address to send scanned mail to. # This option is required unless TransparentProxy is enabled OutAddress: 127.0.0.1:10026
# The maximum number of connection allowed at once. # Be sure that clamd can also handle this many connections #MaxConnections: 64
# Amount of time (in seconds) to wait on network IO #TimeOut: 180
# Keep Alives (ie: NOOP's to server) #KeepAlives: 0
# Send XCLIENT commands to receiving server #XClient: off
# Address to listen on (defaults to all local addresses on port 10025) Listen: 127.0.0.1:10025
# The address clamd is listening on #ClamAddress: /var/run/clamav/clamd
# A header to add to all scanned email #Header: X-Virus-Scanned: ClamAV using ClamSMTP
# Directory for temporary files #TempDirectory: /tmp
# Whether or not to bounce email (default is to silently drop) #Bounce: off
# Whether or not to keep virus files #Quarantine: off # Enable transparent proxy support #TransparentProxy: off
# User to switch to User: clamav
# Virus actions: There's an option to run a script every time a virus is found. # !IMPORTANT! This can open a hole in your server's security big enough to drive# farm vehicles through. Be sure you know what you're doing. !IMPORTANT! #VirusAction: /path/to/some/script.sh
Now when i run , "/usr/local/etc/clamsmtpd.conf" Then it shows : /usr/local/etc/clamsmtpd.conf: line 11: OutAddress:: command not found /usr/local/etc/clamsmtpd.conf: line 29: Listen:: command not found /usr/local/etc/clamsmtpd.conf: line 50: User:: command not found
Plz tell me what is the problem . Here i mention that my "clamsmtpd" and "clamd" both daemon are running properly . And my other configuration are also right .
Plz plz help...........
|
|
|
|
|
9
|
Others / Miscellaneous / About Clamav problem
|
on: May 17, 2006, 01:23:11 AM
|
|
Friend , I am facing the following problem using "clamav"
1) when i use the following command : tail -f /var/log/clamav/clamd.log
then it shows : WARNING: Socket file /usr/share/clamav/socket exists. Unclean shutdown? Removing... ERROR: Socket file /usr/share/clamav/socket could not be removed: Permission denied I don't understarnd what is the problem .
2 ) I want to know my clamd process is running or not ? then i use the following command : "ps -e | grep "clamd" It shows nothing ...................what happen !!!
|
|
|
|
|
10
|
Network Troublshooting / Linux Servers Support / MRTG and SNMP
|
on: April 12, 2006, 03:48:45 AM
|
|
Dear Ricky ,
Use the following command , Do following while you are connected to internet : Code: wge*t http://www.web4host.net/tools/install.mrtg.sh chmod +x install.mrtg.sh ./install.mrtg.sh
then run following command Code:
env LANG=C /usr/local/mrtg-2/bin/mrtg/var/www/html/mrtg/core/mrtg.cfg
after that.. to access mrtg just type
http://serverip/mrtg
I run my mrtg perfectly . But i have two question :
1) Is this MRTG is for my Machine's IP ?
2) suppose i have a cisco swich . A client network is connected via this switch port where it's IP is suppose 192.168.10.2 . In another port (port 3) my linux server is connected where my IP is 192.168.10.3 . In this moment i want to see the Network Traffic or Bandwidth of my client's Network(192.168.10.2) . For this reason is any change is need to make in the above configuration ?
plz help ...........
|
|
|
|
|
11
|
Network Troublshooting / Linux Proxy Server Support / About SquidGuard
|
on: March 14, 2006, 11:58:11 PM
|
|
Friends ,
I have two pc . One is Linux Enterprise 4 Server and other is WindowsXP . Now I configure the Following things in My Linux server :
1) Squid 2)SquidGuard 3)http My Webserver name is : shipon.example.com , When i write it into a browser it opens a page which i created as "index.html"
Now i want , Nobody can access my webserver page "shipon.example.com" from my Windows Machine .
For this reason i install SquidGuard and Blacklists . In Blacklists i found a lot of folder like Porn,Mail etc . I can't understand in which folder/file , i need to write my webpage address , so that i can't get access from my Windows pc. my squidGuard.conf file is :
dbhome /usr/local/squidGuard/db logdir /usr/local/squidGuard/logs
dest porn { domainlist blacklists/porn/domains urllist blacklists/porn/urls }
acl { default { pass !porn all redirect http://localhost/block.html } }
Plz plz help........
|
|
|
|
|
12
|
Linux Software / Linux Application / About "chpasswd"
|
on: February 28, 2006, 06:25:05 AM
|
|
Friends,
I have Linux Server "shipon.example.com' and a user 'red' .......I already configure web server . But now i want to make a webpage for changing the password for a fixed user and hence i make webpage using "chpasswd-2.1.tar" .... i have configured properly but when i change my user's passwd then it shows "Internal Server Error" . Can any one plz tell me what is the problem ?
Here i mention that i can easily run my WEBMAIL using my http server .
|
|
|
|
|
13
|
Others / Miscellaneous / abiut 'dnl'
|
on: February 28, 2006, 04:08:35 AM
|
|
Friends,
Plz tell what the meaning of the following line :
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
I know 'dnl'=delete new line but what is the purpose of using 'dnl' here in this statement . This line is taken from 'sendmail.mc' . Plz inform............
|
|
|
|
|
14
|
Others / Miscellaneous / MRTG Graph
|
on: January 25, 2006, 01:06:38 AM
|
|
Dear Brother ,
I configure MRTG for my network . and i know it shows the network traffic in my network . But i can't understand two thing and that is .......... 1) It contains two lines, one is vertically and other is Horizontally . What things show these two lines ?
2 ) If the green colour graph goes to 5 .0 KB vertically and goes 22 Horizontally , then what will i understand from this condition of graph .
plz help ..............
|
|
|
|
|
15
|
Others / Miscellaneous / Data Collecting For MRTG
|
on: January 21, 2006, 11:59:31 PM
|
|
DeAr,
I already made my MRTG Graph for my local po . Now i want to create graph for my local pc (One PC ) . In this moment I need Data for showing graph. I make some datatable using mysql but cannot place these data into the MRTG path . Can anyone plz help me How i can create up-down graph (for mrtg) in my MRTG Graph . Plz help.......
|
|
|
|
|
|
|