• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Licensing Plesk 12.5

kojot

Regular Pleskian
Hello to all,
I'm new with this, but last few days firstly I tried to find solutions online.
Because I didn't successed I register here to ask for help.

Before few days I installed over SSH the newest Plesk version on Hetzner Dedicated server with Debian 8.1
They gave to me xml license key, and after login here
https://2xx.2xx.1xx.5:8443 I uploaded key, but with error:

key11.PNG

After that every time when I tried to logon I'm redirected to
https://2xx.2xx.1xx.5:8443/server/create_subscription.php

After fullfilling all fields, because I can chose IPv4 IP address only "none", I got this message
plesk11.PNG

Can you please direct me how to solve this problems?

I tried to add license key over SSH, but I found only instructions with licence.sh script, but I dont have that file. I have pure .xml file.

I found this part of manual
 To install a license key through the command line interface: To install a Panel license key using the Panel CLI, you should first upload it to the machine with the Panel, and then install it with the license utility:
license <--install|-i> For example, 1.
On Linux/Unix:
./license -i /tmp/pp10key.xml

But I can't find location of this licence utility to triger this command.
 
Last edited:
[root@ppu12-5 ~]# /usr/local/psa/bin/license --help

Usage: license command [options]

Available commands:
--install or -i <file name|activation code>
If a file name is provided, installs the license key from the file. If a code is provided, installs the license key that is associated with the code.
 
Hello,

The issue with "Call to a member function getWebServerPackage()" is fixed in MU#1 for Plesk 12.5. You can force to install it using plesk installer: Tools & Settings > Updates and Upgrades > Update Components

Overall seems you installation or initial configuration has finished with errors.

You do the following:
# plesk repair installation
To correctly finish the installation

#plesk bin ipmanage --reread
To reread IP addresses. Now it seems they are not filled in Plesk database.

To call utility license you can use the following command:
# plesk bin license <here the command>
 
Hi CoyoteKG,

in addition to IgorG 's and vlikhtanskiy 's posts, you should consider to use "find" and/or "locate" commands on linux. Please see the linux manual pages for it.

Example commands:​

updatedb ( to update your database, which stores informations for your locations )
locate name_of_a_command ( or even paths like for example "/license" )

... will answer with the path(s) on your command line, which are found on your system, regarding to your search string.
 
Hello, thx to all for quick response

@IgorG
I have error after entering that licence key
root@Debian-81-jessie-64-LAMP /usr/local/psa/bin # ./license -i /home/PLSK.xxxxxx.xml
The license key was successfully installed.
PHP Fatal error: Call to a member function getWebServerPackage() on null in /opt/psa/admin/plib/ServiceControl/Unix.php on line 53
Error occured while sending feedback. HTTP code returned: 502


@vlikhtanskiy
I started repair installation, I will be back here after finish.

unfortunealy I have errors
Code:
INFO: [Tue Sep  8 11:36:53 CEST 2015]: Serice: nginx, Action: start
 Trying to start service nginx... failed
* nginx.service - Startup script for nginx service
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
   Active: failed (Result: exit-code) since Tue 2015-09-08 11:36:53 CEST; 2ms ago
  Process: 7042 ExecStartPre=/usr/bin/test $NGINX_ENABLED = yes (code=exited, status=2)

Sep 08 11:36:53 Debian-81-jessie-64-LAMP test[7042]: /usr/bin/test: missing argument after ‘yes’
Sep 08 11:36:53 Debian-81-jessie-64-LAMP systemd[1]: nginx.service: control process exited, code=exited status=2
Sep 08 11:36:53 Debian-81-jessie-64-LAMP systemd[1]: Failed to start Startup script for nginx service.
Sep 08 11:36:53 Debian-81-jessie-64-LAMP systemd[1]: Unit nginx.service entered failed state.

WARNING!
Some problems are found during start service nginx(see log file: /var/log/plesk/rc_actions.log)

Continue...

 Reconfiguring SSL ciphers and protocols...
 Regenerating web servers' configuration files...
 Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.5.30_repair.log' and '/var/log/plesk/install/plesk_12.5.30_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.

@UFHH01
thx! It is very usefull command. Like I said, unfortunealy I'm new with Linux and Plesk, but I have will to learn
 
Last edited:
Code:
root@Debian-81-jessie-64-LAMP ~ # plesk sbin nginxmng --enable
Unable to retrieve driver for Apache.

exit status 1

someone have similar problem
http://kb.odin.com/en/125228

Is proftpd problem?
I have preinstalled it with Debian
 
Last edited:
Great! Thats it!
Now my instalation of Plesk is finished without errors.

Now I have next problem.
error.PNG
 
File /etc/awstats/awstats.model.conf is a part of awstats package. Make sure that package is correctly installed and reinstall it if necessary.
 
Back
Top