BLOG HOME -  UK WEB HOSTING -  PHP MYSQL HOSTING -  RESELLER HOSTING -  eUKhost FORUMS -  VPS HOSTING

Redeployment Questions for Support Team - cPanel

Here are the answers for questions asked in redeployment test (Cpanel question Paper.

1. How can I install a Perl and Pear Module ?

Ans: Perl Modules: You can install perl modules from Main WHM à Software –> Install a Perl Module

Via SSH : #/script/perlinstaller

` Pear Module: #pear install

2. What is the requirement for CGI and Perl scripts to finction properly ?

Ans : 1.cgi/perl environmental directory must be set of your domain.

2.All perl/cgi scripts should be uploaded under respective “cgi-bin” directory.

3.All cgi script must have only read and execute permissions for group and others(i.e 755..

3. How do I manually kill the exim mail queue?

Ans: You can do it via ssh as root user:

# /usr/local/cpanel/whostmgr/bin/whostmgr2 killeximq

4. How do I manually move an account to another server?(Applicable for Cpanel server only.

Ans: 1: check for the username of the account.

# cat /etc/userdomains | grep domain.com

2: Take the backup of that account:

# /scripts/pkgacct

3: Make this backup file available for download:

# cp cpmove-username.tar.gz /usr/local/apache/htdocs/

4: Download it under /home directory on new server:

# wget http://oldserver’s IPaddress/cpmove-username.tar.gz

5. You can restore it with a using following script.

# /scripts/restorepkg

This will restore your account on new server as it was old server, just make sure the version of php, mysql and format of mailbox on both server.

5. Where is the exim antivirus config file?

Ans: # /etc/antivirus.exim

6. Where is the PureFTPd configuration file and users configuration file ?(path for both files.

Ans : The absolute path for PureFtpd configuration is /etc/pure-ftpd.conf and that of ftpusers is /etc/proftpd/username or /etc/vaftpd/username.

7 .How do I enable anonymous uploads with PureFTPd?

Ans : edit /etc/pure-ftpd.conf add following line

“anonymouscantupload On” and

restart pure-ftpd service.

8. How can I debug problems with an email account ?

Ans: Trace the path of the email when sent from the server and see what path it follows:

#exim –d2 –bt user@domain.com or

1. check for error if any under /var/log/exim_mainlogs files for email account.

2. check the MX record for the domain.

3.check if the email account exists on server.

4.check for the entry of domain /etc/localdomains, /etc/userdomains, /etc/valiases/domain.com and /etc/vfilters/domain.com

5.Make sure that the exim is upto date.

9. I get strange errors like sd(8,10. write failure, user limit block reached - when adding FP extensions, adding accounts, maybe others ?

Ans: 1. Check for the disk quota assigned to that account.

2. Make sure that no partition on server is 100% used.

3. Make sure that the partition is not mounted as readonly.

10. When logging into CPanel, I get a 404 error saying it can’t find a theme (./frontend/bluelagoon/index.html. , the page can not be displayed ?

Ans : It means that the bluelagoon theme is missing.

Either install bluelagoon skin on server or change the default theme/skin for the account to use most commonly used theme i.e. “X” theme.

11. Can SSL Certificates be added to an addon domain or subdomain when the main account already has one ?

Ans: yes, You can install a SSL ceritificate on your addon domain or subdomain. You need to assign a dedicated/static IP for that addon or sub domain. You can do it by VirtualHost entry for that domain under main httpd.conf file and update A record for it under respective DNS zone files.

12. How can I add PHP support to my apache webserver ?

Ans : You need to compile required php version with apache on server.

Either you can do it with #/scripts/easyapache or by downloading source files for the required version of php and then complie it with apache. You will exact steps under our forums.

13. How to verify cpanel’s license and update it manually ?

Ans : You can verify your cpanel’s license at http://verify.cpanel.net/

To update the license file you need run following script on shell as root user.

#/usr/local/cpanel/cpkeyclt

If its taking long to finish it, disable firewall on server temporary.

14. If I have phpsuexec enabled, how can I override the default settings in php.ini ?

Ans : If you have phpsuexec enabled on serer, then users can override the default php settings by creating a php.ini file under respective “DocumetRoot” and add parameters with correct vaule.

15. What do I put in the outgoing section to get my email in outlook ?

Ans : The question is some what tricky.

You cannot use outgoing section to get emails for your account under outlook. You need to set your mail servers details under INCOMING section to get email under outlook. Generally, you should use mail.domain.com or domain.com or servers’s main IP address as your SMTP(outgoing. and POP3(incoming. mail server.

16 .How do I create Domain Account on a dedicated server, for connecting the site using external FTP software?

Ans : You can create an account on sever via WHM à Accounts Function à Crate a new Account.

17. There is no website configured at this address(Show cpanel default page.. What does this mean?

Ans: Check the A record for the domain and make sure that the VirtualHost entry in main httpd.conf file for that domain is intact on same server where A record is pointing.

18 .How can I see my site as soon as it is created?

Ans : You will be able to access the website at

http:///~/

Make sure to replace server IP address with actual IP and and username with actul username with which the domain is created.

19. How do I upload an existing subscriber list to a newly created mailing list?

Ans : 1. Copy the subscribers list un a notepad and arrange one email account on one line.

2. Login to your mailing list from cpanel with mailing list admin password.

Go to MemberShip Management à Mass Subscription and upload the text file.

20. How do I upload my web page files from my computer hard drive ?

Ans : You can upload your files via CPanel à File Manager or using any FTP client.

Note: All files/directories that you would like to access via browser must be uploaded under the defulat DocumentRoot set for your domain.

21. How long does subdomain propagation take after giving a new site a sub.domain.com name ?

Ans : Once the subdomain is added, its start resolving immediately. Just make sure that the A record is properly added under respective zone file.

22. Is it possible for an individual user to access the webmail programs without going via the cPanel control panel?

Ans : Yes, you can access webmail with respective email account and password at

http://server’sIPaddress/webmail or

http://server’sIPaddress:2095 or

http://domain.com/webmail

http://domain.com:2095.

Also, you can use port 2096 insteadof 2095. It’s a secure port for webmail with cpanel server.

23. Where do I need to place my index files?

Ans : You should upload all your files under the DocumentRoot set for your account.

With cpanel server its “/home//public_html”

24. How do I change nameservers in cpanel?

Ans : You can not change the nameservers from Cpanel interface. There is no option available to update nameservers under cpanel.

If you wish to update your nameservers, you need use

“WHM à DNS Function à Edit DNS zone” function or

you can edit with via ssh by editing the respective domain’s DNS zone.

25. How do I block unsolicited mails ?

Ans : You can use BoxTrapper or SpamAssassin or exim mail filers to block unsolicited mails.

26. Can I change the domain name associated with my cPanel account? And how ?

Ans: Yes, you can change the domain name associated with your account. You can do it using WHM à Account Functions à Modify an Account.

27. How can I change the mail port 25 to another port number ?

Ans ; Simple way to run exim on different port is via

WHM à Service Configuration à service Manager à Exim on another port.

Or by editing /etc/exim.conf and add new port next to parameter

“daemon_smtp_port = smtp-new” and

add following entries in /etc/services

smtp25/tcp mail

smtp-new portnumber/tcp

28. Can you easily change the A records to point to an IIS server through WHM?

Ans: Yes, you can easily update the A record of domain to point to IIS server.

WHM à DNS Functions à Edit DNS Zone.

29. How do I make sure that my server is running the latest version of cPanel?

Ans : You can verify the version of your cpanel by login to your WHM or CPanel. The version is displayed on Top right hand corner.

You can make sure it is latest by running following script.

#/scripts/upcp –force.

30. What is significance of /etc/localdomains, /etc/userdomains and /etc/remotedomains files.

Ans : /etc/localdomains : If the MX record of the domain is pointed to same server then there must be entry for that domain under /etc/localdomains file for local delivery of email.

/etc/userdomains : Its for authentication purpose. The file /etc/userdomains file contains the domain and its user info. If there is any mismatch, then cpanel wont authenticate to log in.

/etc/remotedomains : If you are using remote mail server then entry for that domain must be removed from /etc/localdomains files and should added in /etc/remotedomains files for proper routing of emails.

31. Who is official vendor for Fantastico or from where you can download the fantstico’s installer.(Hint: websitename.)

Ans : NetenBerg is the official vendor of fantastico.

Websites : http://netenberg.com/

http://netenberg.net

32. Which of the following softwares are available under cpanel–> Fantastico?

b2evolution

PHP-Nuke

PHPRaider

PerlDesk

SMF

CubeCart/Zencart

4Images Gallery

PHPauction

Ans : All above scripts are available under CPanel à Fantastico excluding PHPRaider.

33. How I can add counter via cpanel?

Ans : You can add counters via Cpanel à Cgi-Centre à Counter.

34. How I can change my contact email address?

Ans: You can do it via CPanel à Update Contact Info.

# vi /home// .contactemail

35. I login to my cpanel via WHM but webmail and phpmyadmin not working though reset of option under cpanel are working fine. Why ?

Ans: You can access cpanel with servers root password but you can access mail or phpmyadmin for account with servers root password.

If you want to access mail or phpmyadmin then you need to username and password for that account.(End-user security..

36. How I can check the exact date of account creation and deletion ?

Ans: You can check the exact date of account creation and deletion under cpanel’s Accounts logs with command :

# cat /var/cpanel/accounting.log | grep domain.com

37. Which of the following is mandatory to run a website ?

a. Domain Name

b. IP Address

c. Web Hosting Company

d. Browser

Ans : IP Address.

You can run a website without any webhosting company and domain name. Also, you need not have to bother for browser as it is not required at server side to run a website.

38. How I can change the default skin/theme assigned to my account to X theme via command line.

Ans : You need to edit the account’s config file.

#vi /var/cpanel/users/ and update the parameter “RS” i.e RS=x

39. What is cpanel default Skeleton Directory path?

Ans : Its “/root/cpanel3-skel/”

40. Got following error in exim mail logs what would be the wrong and how it fix it ?

“2007-10-27 05:09:50 H=82-36-188-5.cable.ubr03.soli.blueyonder.co.uk [82.36.188.5]:3729 I=[74.200.193.218]:25 F=<0adsm@flowerweb.nl> temporarily rejected RCPT <100bestgolfcourses@libertaryan.com>: lowest numbered MX record points to local host ”

Ans: Generally you will get this error if the domain is using remote mail server and the entry for that domain exists under /etc/localdomains on local server and Vice Versa.

To correct it, first check the MX record for the domain and update the entry for it under /etc/localdomains file accordingly.

41. Enable access for “webalizer Stats” without login to cpanel.(domain: eukhost.com username: admsup .

Ans: You need to run following commads via SSH as root user.

# cd /home/username/www

# ln -s ../tmp/webalizer stats

# chown username.username stats

# cd ../tmp

# chmod 755 ./

# chmod 755 ./webalizer

It will allow http://domain.com/stats/ for viewing stats without logging in to cpanel

42 . What are requirements for SSL.

Ans : 1. The SSL must be issued from a trusted authority.

2. Domain must have a dedicated/static IP address.

43. How can I enable Frontpage on port 443 with SSL ?

Ans : When you install fromtpage extension for your domain via

WHM/Cpanel à Install FrontPage Extensions, it will automatically enable it on port

443 for your domain.

44. Apache seems to crash with this error : [notice] child pid x exit signal File size limit exceeded (25.)

Ans: The error is cause of File size limit. With 32 Bit system apache support max filesize upto 2GB. If any file accessed/required by apache exceeds this limit, you will get above error. You can check for the file under “/usr/local/apache/” and “/var/log/” directories.

45. How can I setup default page which is generated when any new domain is created on server?

Ans: You need to add that file under the default skeleton directory.

46. What is the path for accounts cofiguration file?

Ans: #/var/cpanel/users/

47. What directory content the information of packages created by resellers?

Ans: All packages created by reseller are stored under directory “/var/cpanel/packages” with reseller’s username added a prefix to that package name.

48. I am getting unroutable maildomain error while sending emails to my client? List the possible reasons.

Ans : 1. Your server is not resolving the domain.

2. Make sure the domain is registered and MX record is correctly pointing to some hostname. The MX record for mail server should not any IP address. It should be set to some hostname.

3.Check if the domain have exceeded the limit of “maximum emails each domain can send out per hrs”.

4.Make sure that exim is upto date.

49. What is the path for cpanel’s configuartion file?

Ans: # /var/cpanel/cpanel.config

50. Our Helpdesk is a copyrighted product of which company ?

a. Cerberus Helpdesk International LLC

b. Cerberus LLC

c. WebGroup Media LLC

d. Websupport International LLCF

Ans : You can check it on homepage of our helpdesk J

51. Following is the most important transmission media for Internet Worldwide

a. Satellites

b. CAT5 Cables

c. Fiber Optics

d. Telephone lines

Ans : Fiber Optics

52. Our Recently setup high configuration servers for shared and reseller hosting are using which CPU ?

a. Q6600

b. x3210

c. AMD Opteron

d. Intel Quad Xeon

Ans : Q6600

53. Fibre Optics are made up of

a.Copper

b.Glass

c.Optics

d.Fibre

Ans: Glass

54. Define following protocal and the default port for respective protocal.

a.SMTP

b.HTTP and Secure http

c.FTP

d.DNS

e.bind

f.rndc

g.pop and secure pop

h.imap and secure imap

Ans : You have to find it yourself.

digg this

This post is compiled by eUKhost.com

Leave a Comment

You must be logged in to post a comment.