webmail in cpanel server showing internal server error
July 20th, 2010 by ayadSolution
need to change the permission for perl from 700 to 755
/usr/bin/perl
Thank you.
Solution
need to change the permission for perl from 700 to 755
/usr/bin/perl
Thank you.
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.
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.
/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.
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
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
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
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
iptables -t nat -A PREROUTING -p tcp –dport 26 -j REDIRECT –to-ports 25
so that mean if the server using port 25 for SMTP , and your ISP block port 25, then run this command and use port 26 then automaticlly will change to port 25 once reach the server
Thank you.
To enable port 587, edit the file /etc/postfix/master.cf
vi /etc/postfix/master.cf
and remove the # in front of the line:
#submission inet n – n – – smtpd
so that it looks like this:
submission inet n – n – – smtpd
and restart postfix:
/etc/init.d/postfix restart