human choroinic gonadotropin

Archive for July, 2010


 Powered by Max Banner Ads 

Can not create domain in plesk

Friday, July 30th, 2010

error,

we got this error
Failed domain creation: Unable to update domain data: Unable to create dnsmng object: dnsmng failed: Empty error message from utility.
———————- Debug Info ——————————-
0: DomainPropertiesUIPointer.php:284
DomainPropertiesUIPointer->accessItem_create(string ‘POST’)
1: DomainPropertiesUIPointer.php:62
DomainPropertiesUIPointer->accessItem(string ‘POST’, NULL null)
2: UIPointer.php:601
UIPointer->access(string ‘POST’)
3: plesk.php:43
Solution
This issue is related to Microsoft DNS Server 6.0.6002.18005 currently installed on the server and also used for DNS. This version has compatibility issues and I have used Plesk UI to switch DNS service to Bind. Please use Bind here after.

After changing DNS, I have successfully created a test domain

Reason: Remote host said: 601 Attempted to send the message to the following ip’s:

Saturday, July 24th, 2010

To solve this issue, you need to change the SMTP outgoing ip.

Thank you.

webmail in cpanel server showing internal server error

Tuesday, July 20th, 2010

Solution

need to change the permission for perl from 700 to 755

/usr/bin/perl

Thank you.

check ip blacklist or whitelist in firewall or iptables

Monday, July 19th, 2010

iptables -L -n –line | grep 61.153.249.242

if black list then you will see like that

DROP       all  —  61.153.249.242

whitelist like below

ACCEPT     all  —  61.153.249.242

Thank you.

Image can not show in the website

Monday, July 19th, 2010

You need to go to WHM then disable mod_security for that domain or addon domain, then you will be able to access the website and show all the images

Thank you.

addon domain and park domain below to who?

Monday, July 19th, 2010

/scripts/whoowns  parkdomain or addondomain

for ex.

maindomain is alzwea.com  user for the main domain is alzweac , addon domain is ayad.com

/scripts/whoowns ayad.com

the result is alzweac

Thank you.

Checking if IP is blocked from Iptables

Sunday, July 18th, 2010

How to check if IP is blocked from IptablesCheck if IP is blocked:
# iptables -L -n –line | grep [IP Address]

If IP appear as DROP or REJECT, the IP has been blocked

Unblock the IP Address:
# iptables -I INPUT -s [IP Address] -j ACCEPT

Blocking back an IP Address:
# iptables -A INPUT -d [IP Address] -j DROP

Note: Full path to IPTABLES is /sbin/iptables, you can replace command # iptables with /sbin/iptables

References

http://support.hivehost.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=6

because of a protocol error, this session will be disconnected, Can not RDC to the server

Thursday, July 8th, 2010

When a user remote controls another user’s session using Remote Desktop Services Manager or Terminal Services Manager on a Windows Server 2008-based computer, and then stops remote controlling, one or both sessions are disconnected with the following error:

Remote Desktop Disconnected

Because of a protocol error, this session will be disconnected. Please try connecting to the remote computer again.

CAUSE

This problem occurs if Remote Desktop Connection Client version 6.0.6001 or 6.0.6002 is used with the highest RDP Compression setting. Windows Server 2008 SP1/SP2 defaults to a lower RDP Compression setting, and thus will only exhibit the above symptoms if the setting has been changed to “Optimized to use less network bandwidth”, which is the maximum. Windows Server 2008 R2 defaults to the maximum RDP Compression setting.

WORKAROUND

Change the RDP Compression setting on the server to “Balances memory and network bandwidth” (recommended) or “Optimized to use less memory” using Group Policy. If using Windows Server 2008 R2 you may also choose “Do not use an RDP compression algorithm”. An alternative workaround is to use a different Remote Desktop Connection Client version than those mentioned above, however, this may not be practical. Below are instructions for making the change to the local group policy; if preferred you can use a domain group policy instead.

Windows Server 2008 R2

1. Logon to the Remote Desktop Services Session Host computer as an administrator
2. Start–Run gpedit.msc
3. In the left pane, under Computer Configuration, navigate to following:

Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment

4. In the right pane, double-click on Set compression algorithm for RDP data
5. Select Enabled, and choose Balances memory and network bandwidth
6. Click OK to save the change

Windows Server 2008 (SP1 or SP2) or enterprices

1. Logon to the Terminal Services computer as an administrator
2. Start–Run gpedit.msc, click Continue if prompted by UAC
3. In the left pane, under Computer Configuration, navigate to following:

Administrative Templates\Windows Components\Terminal Services\Terminal Server\Remote Session Environment

4. In the right pane, double-click on Set compression algorithm for RDP data
5. Select Enabled, and choose Balances memory and network bandwidth
6. Click OK to save the change

STEPS TO REPRODUCE

Windows Server 2008 R2 x64

1. Install 2008 R2 Standard (Full Installation) x64 from DVD using defaults
2. Upon first logon, scroll down the initial configuration tasks window and click on Enable Remote Desktop
3. Choose Allow connections from computers running any version of Remote Desktop (less secure), click OK
4. Open up Computer Management and create a test user, make them a member of the Remote Desktop Users group, on the Remote Control tab, uncheck “Require user’s permission”
5. Connect from a PC using Remote Desktop Client version 6.0.6001 or 6.0.6002 to the server, logon as administrator
6. Connect from a PC using Remote Desktop Client version 6.0.6001 or 6.0.6002 to the server, logon as the test user
7. In the administrator’s session, open up Remote Desktop Services Manager, right-click on the test user and choose Remote Control, click OK
8. After you are viewing the test user’s desktop, press Ctrl-Tab to end the Remote Control

Windows Server 2008 x64

1. Install 2008 Standard (Full Installation) x64 from DVD using defaults
2. Upon first logon, scroll down the initial configuration tasks window and click on Enable Remote Desktop
3. Choose Allow connections from computers running any version of Remote Desktop (less secure), click OK
4. Open up Computer Management and create a test user, make them a member of the Remote Desktop Users group, on the Remote Control tab, uncheck “Require user’s permission”
5. Change RDP Compression algorithm to “Optimized to use less network bandwidth” using instructions above
6. Connect from a PC using Remote Desktop Client version 6.0.6001 or 6.0.6002 to the server, logon as administrator
7. Connect from a PC using Remote Desktop Client version 6.0.6001 or 6.0.6002 to the server, logon as the test user
8. In the administrator’s session, open up Terminal Services Manager, right-click on the test user and choose Remote Control, click OK
9. After you are viewing the test user’s desktop, press Ctrl-Tab to end the Remote Control

NOTE: This problem may occur when connecting to a Windows Vista or Windows 7 host under similar conditions. I have not tested this theory, however.

As always I welcome your comments/questions/corrections/suggestions/etc.

Thank you for reading.

References

http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/4523ce86-9a0b-4e6c-90d1-225ddda67ce5

export emails and password from SmarterMail

Tuesday, July 6th, 2010

1- you need to go to smartermail and select the domain and create postmaster email and make it as admin not a user.

2- you need to download this softwar (TSMADump)  from this URL   http://josh.com/tsma/TSMADump/index.htm

or  http://www.ipserverone.info/email/how-to-view-all-user-password-in-smartermail-using-tsmadump/

3- put this software in c:/TSMADump.exe

4- go to command prompt then run this command

TSMADump.exe /ouser.txt user http://domain.com:8080 postmaster@domain.com password domain.com

ouser.txt the file that will save the password and emails there

domain.com mean your domain same like alzwea.com or aljazeera.net

passowrd mean your postmaster email password

that is all then you will find the file ouser.txt in c:/ and have all the passwords and emails

have a nice day.

Ayad

permission re-configure in for domain in cpanel server

Tuesday, July 6th, 2010

you need to ssh to the server then go to domain directory for example

cd /home/alzweac then run below command

/scripts/upcp –force

Thanks