dnsmng: Service /etc/init.d/named failed to start ERROR Solution – Çözüm

Merhabalar,

Plesk Panel kullandığım bir sanal sunucuda, Unable to make action: Unable to manage service by dnsmng: dnsmng: Service /etc/init.d/named failed to start (‘–start’, ‘dns’) hatasıyla karşılaştım ve gözden kaçan basit bir hatanın neden olduğunu fark ettim, sizlerle de paylaşmak istedim.

Hi All,

I had encountered a mistake on my server’s Plesk Panel and I wanted  sharing to you. Unable to make action: Unable to manage service by dnsmng: dnsmng: Service /etc/init.d/named failed to start (‘–start’, ‘dns’)

Service /etc/init.d/named failed to start ERROR Solution

Service /etc/init.d/named failed to start ERROR Çözüm

SSH Continue reading

PLESK Error: There are no available resources of this type left. Requested: 1; available: 0.

Merhabalar,
Bir gün siz de Plesk Panel ‘de aşağıdaki hatalardan birisi ile karşılaşabilirsiniz, özellikle yeni kurulum yaptıysanız eğer. Aşağıdaki hatalara şöyle bir baktığınızda (biraz da yabancıysanız) size epey korkunç gelebilir ama hayır hayır, endişe etmeyin problem çok basit; Plesk lisansını yüklemediniz ya da süresi doldu! (:
Dilerseniz Plesk için demo lisans talebinde bulunup, test edebilirsiniz;
  • Plesk demo lisans adresi -> http://sp.parallels.com/uk/products/plesk/trial/
  • Yukarıdaki adrese kayıt olun, demo talebinde bulunun e-posta adresinize gelecek olan lisans dosyasını,
  • siteadresiniz.com:8880 Tools & Settings -> License Management kısmından upload edin ve artık Plesk ‘i istediğiniz gibi kullanabilirsiniz.. (:
Problemin Sebebi / Cause : Geçersiz lisans / invalid license
Problemin Çözümü / Solition: Yeni lisans / New license

Error: There are no available resources of this type (domains) left. Requested: 1; available: 0.

Error: There are no available resources of this type (clients) left. Requested: 1; available: 0.

Warning:

Failed deployment of client
Warning:

Execution of /usr/local/psa/admin/plib/api-cli/client.php --create  -name   -notify false -owner admin -passwd '' -passwd_type encrypted -creation-date 2014-03-01 -guid 6b3c6925-b3b3-4420-bd4d-a35f3c3455b3 -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during customer account creation: There are no available resources of this type (clients) left. Requested: 1; available: 0.
Warning:

Failed deployment of client
Warning:

Execution of /usr/local/psa/admin/plib/api-cli/client.php --create  -name  -notify false -owner admin -passwd '' -passwd_type encrypted -creation-date 2014-05-05 -guid f650d65f-7828-4599-bf4d-3dcf4667b332 -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during customer account creation: There are no available resources of this type (clients) left. Requested: 1; available: 0.
Warning:

Failed deployment of client
Warning:

Execution of /usr/local/psa/admin/plib/api-cli/client.php --create  -name  -notify false -owner admin -passwd '' -passwd_type encrypted -creation-date 2014-03-19 -guid 6027bfbe-9339-428f-afdf-5c71fe435709 -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during customer account creation: There are no available resources of this type (clients) left. Requested: 1; available: 0.

Solved/Remove smiley face that WordPress Stats inserts in webpage footer :) Jetpack Check “Hide the stats smiley face image.”

I have noticed that in  Jetpack is inserting a wee smiley face at the bottom of the page footer.

solution:

Go into your Dashboard -> Jetpack -> WordPress.com Stats and click the configure button. Check “Hide the stats smiley face image.”
to be more specific While in the:

    • Dashboard
    • Select Jetpack
    • in the first configuration option WordPress.com Stats
    • Click Configure
    • On Smiley Check Hide the stats smiley face image.
    • Save Configuration
    • and okay.. 🙂

 

source: http://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-remove-smiley-face-that-wp-stats-inserts-in-webpage

How to do add a DNS A record (Mail) Setting Server Panel Plesk 11? Setting up DNS

  1. Login to your Parallels Plesk Panel.
  2. Click on the Domains link on the left panel.
  3. Click on the Open in Control Panel link for the relevant domain name.
  4. Click on the Website & Domains tab.
  5. Click on the DNS settings icon.
  6. Click on the Add Record icon.
  7. Fill in your DNS record details and click on the Ok button.
  • For the row with the Record Type of NS, click your domain name, change the following, and then click OK:
    • Record type — NS.
    • Domain Name — Leave this field.
    • Name server — Type ns1.yoursite.com, where yoursite.com is your domain name.
  • For the row with the Host of ns.yoursite.com, where yoursite.com is your domain, click it, change the following, and then click OK:
    • Record type — A.
    • Domain Name — Type ns1.
    • IP Address — Enter your server’s IP address.
  • Click Add Record, complete the following fields, and then click OK:
    • Record type — Select NS.
    • Domain Name — Leave this field blank.
    • Name server — Enter ns2.yoursite.com, where coolexample.com is your domain name.
  • Click Add Record, complete the following fields, and then click OK:
    • Record type — Select A.
    • Domain Name — Type ns2.
    • IP Address — Enter your server’s IP address
  • Click Update.
  • Go to the Server tab in Plesk, and then, from the Server Management section, click Services Management.
  • Next to DNS Server (BIND), click Refresh. Allow a few minutes for the service to restart.

 

Change MySQL Reset/Update Password – Root SSH – Kullanıcı ve Şifre İşlemleri

1. Change root password:

su - root
passwd

2. Mysql root password: –> ERROR 1045 (28000): Access denied for user ‘root’@’localhost’

service mysqld stop
mysqld_safe --skip-grant-tables &
mysql -u root
mysql>
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD ('yournewpassword') WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> quit;
service mysqld start

 

———————————————————————————————-

 

3. Kloxo admin password login:

sh /script/resetpassword master {newpassword}

 

4. Reset Kloxo mysql password: –> Error “Could not open database connection.” when access to Kloxo

sh /script/fix-program-mysql {mysqlrootpassword}

or, enough:

sh /script/fix-program-mysql

 

5. Reset Horde password: –> Error “Could not open database connection.” Open file:

cat /home/kloxo/httpd/webmail/horde/config/conf.php

then find lines something like:

$conf['sql']['username'] = 'horde_groupware';
$conf['sql']['password'] = 'aVBq4yOrS';

then run:

service mysqld stop
mysqld_safe --skip-grant-tables &
mysql -u root
mysql>
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD ('aVBq4yOrS') WHERE User='horde_groupware';
mysql> FLUSH PRIVILEGES;
mysql> quit;
service mysqld start

 

SOLVED – Windows Server More Than 2 Remote Desktop Sessions

sample q:

I’d like to have more than two concurrent remote desktop sessions. I have my users login to the headnode and submit their job from there, and my current install allows only two users to be connected at once. I’m on a college campus, so licensing wouldn’t be an issue, is there a way to add more CAL’s to make this possible?

SOLVED

http://technet.microsoft.com/en-us/library/cc753380.aspx

Applies To: Windows Server 2008 R2

You can configure the number of simultaneous remote connections that are allowed for a connection. Restricting the number of simultaneous remote connections can improve performance of the computer because fewer sessions are demanding system resources.

NOTE: If the RD Session Host role service is not installed on the computer, a connection can only allow a maximum of two simultaneous remote connections to the computer. (if you need information about installing the RD Session Host Role – then check here http://technet.microsoft.com/en-us/library/cc742813.aspx)

Use the following procedure to configure the number of simultaneous remote connections allowed for a connection.

Membership in the local Administrators group, or equivalent, on the RD Session Host server that you plan to configure, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at http://go.microsoft.com/fwlink/?LinkId=83477.

To configure the number of simultaneous remote connections allowed for a connection

  1. On the RD Session Host server, open Remote Desktop Session Host Configuration. To open Remote Desktop Session Host Configuration, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Session Host Configuration.

  2. Under Connections, right-click the name of the connection, and then click Properties.

  3. In the Properties dialog box for the connection, on the Network Adapter tab, click Maximum connections, enter the number of simultaneous remote connections that you want to allow for the connection, and then clickOK.

    If the Maximum connections option is selected and dimmed, the Limit number of connections Group Policy setting has been enabled and has been applied to the RD Session Host server.

You can also set the maximum number of simultaneous connections allowed for an RD Session Host server by applying the Limit number of connections Group Policy setting. This Group Policy setting is located in Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections and can be configured by using either the Local Group Policy Editor or the Group Policy Management Console (GPMC). Note that the Group Policy setting will take precedence over the setting configured in Remote Desktop Session Host Configuration.

source: http://social.microsoft.com/Forums/en-US/d4d9a518-210d-40e9-8638-77e23110cfb3/more-than-2-remote-desktop-sessions?forum=windowshpcitpros

SOLVED Internal error: filemng: opendir failed: Permission denied System error 13

Hata / Error: Internal error: filemng: opendir failed: Permission denied System error 13: Permission denied

Message filemng: opendir failed: Permission denied System error 13: Permission denied
File Agent.php
Line 212
Type PleskUtilException

Plesk panelin erişim izninin olmaması sebebi ile bu hata ile karşılaşılmaktadır, çok önemli bir problemdir ancak aşağıdaki çözüm işinize yarayacaktır.

Çözüldü / Solved:

# chmod 755 /var/www/vhosts/site.com/httpdocs
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain YourDomain.com

Çözüldü/Solved – PHP configure: error: xml2-config not found

PHP configure: error: xml2-config not found. Please check your libxml2 installation.

Are you attempting to compile PHP on Linux and running into, “configure: error: xml2-config not found. Please check your libxml2 installation.”

It’s easy to fix, simply install the libxml2-development package by issuing the following command on your appropriate Linux distribution.

Fixing on Red Hat / CentOS / Fedora via Yum
yum install libxml2-devel
Fixing on Debian / Ubuntu / Linux Mint via apt-get
apt-get install libxml2-dev