Windows and linux information and one stop centre for myself. Having difficulties to remember all things at once. This blog will remain be my references on the internet. Other people can take benefit from it. Thank you for visiting
Friday, August 15, 2008
PLESK: email error : This address no longer accepts mail
to resolve the problem i have to remove the domain from /var/qmail/control/rcpthosts and /var/qmail/control/virtualdomains.
after that we have to restart the qmail by /etc/init.d/qmail restart
now its working..
Sunday, August 10, 2008
Running script after PPP established
Under Fedora Core / RHEL /CentOS Linux you need to create or edit file - /etc/ppp/ip-up.local (Debian / Ubuntu Linux user see below for more information).
There is also a file called /etc/ppp/ip-up and it should not be modified -- make local all changes to /etc/ppp/ip-up.local file only.
Step # 1: Open /etc/ppp/ip-up.local file# vi /etc/ppp/ip-up.local
Step # 2: You can call your shell script - /etc/rapp/logtime.sh or any other program from this file by adding following line:/etc/rapp/logtime.sh
Save and close the file.
Step # 3: Set executable permission
Next set the file executable for the owner:# chmod 700 /etc/ppp/ip-up.local
Then set the file executable for script - /etc/rapp/logtime.sh# chmod +x /etc/rapp/logtime.sh
From now on, the file /etc/ppp/ip-up.local will be executed immediately after the ppp0 interface has been brought up by your dialer.
Debian / Ubuntu Linux
Under Debian / Ubuntu Linux put your script in /etc/ppp/ip-up.d/ directory itself. /etc/ppp/ip-up script is run by the pppd after the link is established. It uses run-parts to run scripts in /etc/ppp/ip-up.d you should create script(s) there.# cp /etc/rapp/logtime.sh /etc/ppp/ip-up.d/
# chmod +x /etc/ppp/ip-up.d/logtime.sh
Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...
-
when trying to apt-get update i got this error message :- W: There is no public key available for the following key IDs xxxxxxxxxxxx t...
-
Skrip ini aku guna kat server aku.. backup mysql setiap hari. Hanya perlu ubah pada bahagian setting sahaja. chmod dan set cron untuk daily ...
-
This tutorial will help you get AWStats and Lighttpd working together. AWStats is an excellent log analyzer, and works well with Lighttpd. T...