Pages

Saturday, 28 July 2012

http://www.microsoft.com not accessable.

http://www.microsoft.com is not accessable from the windows server.

Just check the other sites of windows are working like

http://support.microsoft.com

http://www.msn.com

Then we can see that only the name microsoft.com  has the problem.

Just Do

" net stop dnscache " On the command line.

Then just refresh the browser you will see the http://www.microsoft.com on your browser.

;)

Reference :-http://support.microsoft.com/kb/318803

Friday, 27 July 2012

Nuke Evolution-xtreme Install

=====================================

How to install Nuke Evolution-xtreme 2.0.9d Via cPanel

=====================================

1.Download the installation file from http://www.phpnuke.org/

2.Then upload the file [zip] to the root directory of the domain to which you want to install nuke php

3.Then extract the file

4.Edit the config.php file as per the db details [you want to create DB for Nukephp to use.]

5.Then go to the phpmyadmin then find the db then export the .sql file under that DB.[From : public_html>>install>>install.sql
]
6.Then change the permission of the directories as per the error says [usual that may be the directory permision]

7. Go to the URL of the site that will lead you to the installation step.

8. Remove the install.php after successful installation also the installation directory from the root folder.

Thursday, 19 July 2012

ICP

# /usr/StorMan/arcconf SAVESUPPORTARCHIVE

All the logs are saved in /var/log/Support

Command completed successfully.

/usr/StorMan/arcconf



/root/support.zip
# zip -9 -r support.zip /var/log/Support
adding: var/log/Support/ (stored 0%)
adding: var/log/Support/ Controller 1 Device_log.txt (deflated 21%)
adding: var/log/Support/arcconfig.xml (deflated 86%)
adding: var/log/Support/RaidErrA.log (deflated 57%)
adding: var/log/Support/RaidAgnt.pps (deflated 61%)
adding: var/log/Support/ Controller 1 Monitor_log.txt (deflated 88%)
adding: var/log/Support/ Controller 1 Logs.txt (deflated 82%)
adding: var/log/Support/Controller 1 SmartStats.xml (deflated 93%)
adding: var/log/Support/ Controller 1 Stats.txt (deflated 89%)
adding: var/log/Support/UcliEvt.log (deflated 84%)
adding: var/log/Support/ Controller 1 Deaddrives.txt (deflated 73%)
adding: var/log/Support/RaidErr.log (stored 0%)
adding: var/log/Support/RaidEvtA.log (deflated 87%)
adding: var/log/Support/arcerror.txt (deflated 99%)
adding: var/log/Support/ Controller 1 Event_log.txt (deflated 94%)

move the file to the location of any of the container by

cp -r /root/support.zip /vz/root/337/usr/local/apache/htdocs/

then download the file.

Wednesday, 18 July 2012

Backup setting in solusvm.

First create the FTP user for the backup server :- [for proFTP]
 
useradd linux5backup -d /home/backup/linux5 -s /sbin/nologin
cd linux5
passwd linux5backup
service sshd restart
then run  php /usr/local/solusvm/includes/autoftpbackup.php on the server for which we have configured backup

it will show the output on the solusvm log.

Thursday, 14 June 2012

OpenVZ commands

You can switch on and off the CTID field with the 'e' key on your keyboard.

Real-time monitoring in the command line interface can be performed with
# vzstat [-p CTID] [-b|-v]
-p can be used if statistics on one or several containers are required.

-b switches to the brief mode
-v switches to the verbose mode (default)

Set a limit on the number of processes and
# vzctl set 101 --numproc 100:100 --save

check the validity of the container configuration.
# vzcfgvalidate /etc/sysconfig/vz-scripts/101.conf

Adjusting Container Disk Quota Parameters

1 In the host system type
# vzctl exec 101 df
Filesystem 1k-blocks Used Available Use% Mounted on vzfs 1048576 109752 938824 11% /
# vzctl exec 101 df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
vzfs 200000 23577 176423 12% /
2 Now, increase disk space and the number of inodes for the container.
# vzctl set 101 --diskspace 2097152:2097152 –-save
Saved parameters for Container 101
# vzctl set 101 --diskinodes 220000:250000 --sav

 3 Check the disk space and the inodes again.
# vzctl exec 101 df
Filesystem 1k-blocks Used Available Use% Mounted on vzfs 2097152 109752 1987400 6% /
# vzctl exec 101 df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
vzfs 220000 23577 196423 11% /
After you increased disk space, more inodes immediately became available.

User-Group Disk Quota

Per-user/group statistics can be obtained by entering
# vzquota stat -t

Using User-Group Disk Quota

Let us enable the user-group disk quota for a container.
Create a container.
# vzctl create 131
Set its quotaugidlimit to 150 and start this container.
# vzctl set 131 --quotaugidlimit 150 --save
# vzctl start 131
We can use UID/GID quotas inside container 131 now.
# vzctl exec 131 repquota -a
# vzquota stat 131 -t
After a container exceeds its UID/GID limits, any new attempt to create a user or a group (or, more precisely, to create on-disk files or directories owned by this user/group) will fail. Already existing users will not be affected in this case.

 for CT in $(vzlist -H -o ctid); do echo "== CT $CT =="; vzctl exec $CT uptime; done

for x in `ls /var/vz/veip/`; do echo VID=$x; sudo /usr/sbin/vzctl exec $x "w | grep load";done