• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PleskBadURIException: Invalid URI: start

Faraz

New Pleskian
I just faced this error when i try to open server setting or mail server settings page.

ERROR: PleskBadURIException: Invalid URI: start

Additionally, an exception has occurred while trying to report this error: PleskBadURIException
Invalid URI: start (UIPointer.php:46)
 
Have you tried fix it with

# /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair

?
 
Hi IgorG,
tried it.. but no luck.


===> Checking for previous installation ... found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Trying to start service mysqld... mysqld (pid 3007) is running...
done
Trying to establish test connection... connected
done
Trying to start service mysqld... mysqld (pid 3007) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Version is OK, no need to create psa database.
Trying to backup MySQL database... Warning: Not dumping MySQL database 'atmail' as it doesn't exist
done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20150818-095325.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
Upgrade or repair for 'apsc' (stage 'prep') is not required
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.12.0.18-12.0.18.20150818-095327.dump.gz
===> Cumulative upgrade and repair of APS controller database has been completed.
Connection to APSC DB is possible
===> Cumulative APS controller upgrade and repair (final stage) has been started.
Upgrade or repair for 'apsc' (stage 'post') is not required
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
Trying to reset database user password for 'pma_SYYliCPc6Zws@'... done
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
Trying to resolve hostname 'localhost.localdomain' and validate its IP address... done

Trying to reset database user password for 'pp_sb_db@localhost'... done
Trying to reset database user password for 'horde@localhost'... done
Trying to reset database user password for 'pma_SYYliCPc6Zws@localhost'... done
Trying to set psa database version to 012000018... done
After end of upgrade for 'core' (stage 'prep') following actions are registered as failed: 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd 20111115171314-upgrade_mysqlnd_old_passwd.
===> Plesk database was not upgraded completely. See installation log for details.
Database is up-to-date
===> Cumulative Plesk upgrade and repair (final stage) has been started.
Upgrade or repair for 'core' (stage 'post') is not required
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
Trying to upgrade and repair Courier-IMAP services configuration (prep stage)... Upgrade or repair for 'courier_imap' (stage 'prep') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (post stage)... Upgrade or repair for 'courier_imap' (stage 'post') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (bootstrapper-post stage)... Upgrade or repair for 'courier_imap' (stage 'bootstrapper-post') is not required
done
Trying to condrestart service courier-imapd... done
Trying to condrestart service courier-imaps... done
Trying to condrestart service courier-pop3d... done
Trying to condrestart service courier-pop3s... done
Reconfiguring mail subsystem...
Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... ok
==> Checking for: mail_spam_restore... not found, skipped
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not found, skipped
==> Checking for: mail_outgoing_restore... ok
==> Checking for: mail_transport_restore... ok
done
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
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.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.

**** Product repair completed successfully.

STOP Bootstrapper 12.0.18 repair AT Tue Aug 18 09:54:44 BST 2015
 
Last edited:
Any related error messages in /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log and /usr/local/psa/admin/logs/panel.log ?
 
In

this error is persistent in /var/log/sw-cp-server/error_log
2015/08/18 09:55:57 [crit] 26968#0: *430 connect() to unix:/var/run/sw-engine.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.69, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "192.168.0.124:8443"

/var/log/sw-cp-server/sw-engine.log Nothing special..


[07-Aug-2015 04:03:57] NOTICE: Terminating ...
[07-Aug-2015 04:03:57] NOTICE: exiting, bye-bye!
[07-Aug-2015 04:03:58] NOTICE: fpm is running, pid 10398
[07-Aug-2015 04:03:58] NOTICE: ready to handle connections
[13-Aug-2015 04:10:28] NOTICE: Terminating ...
[13-Aug-2015 04:10:28] NOTICE: exiting, bye-bye!
[13-Aug-2015 04:11:11] NOTICE: fpm is running, pid 26957
[13-Aug-2015 04:11:11] NOTICE: ready to handle connections
[13-Aug-2015 04:11:53] NOTICE: Terminating ...
[13-Aug-2015 04:11:53] NOTICE: exiting, bye-bye!
[13-Aug-2015 04:11:53] NOTICE: fpm is running, pid 27454
[13-Aug-2015 04:11:53] NOTICE: ready to handle connections
[18-Aug-2015 09:40:48] NOTICE: Terminating ...
[18-Aug-2015 09:40:48] NOTICE: exiting, bye-bye!
[18-Aug-2015 09:57:51] NOTICE: fpm is running, pid 3281
[18-Aug-2015 09:57:51] NOTICE: ready to handle connections


/usr/local/psa/admin/logs/panel.log

Here is error backtrack for this error.


[2015-08-18 10:47:46] ERR [panel] Invalid URI: start:
0: UIPointer.php:46
UIPointer::parse(string 'start')
1: functions.php:1475
wizard_get()
2: Abstract.php:71
Form_Abstract->__construct()
3: preferences.php:212
require(string '/usr/local/psa/admin/htdocs/server/preferences.php')
4: plesk.php:44
[18-Aug-2015 10:47:46 Europe/London] PleskBadURIException: Invalid URI: start
file: /usr/local/psa/admin/plib/UIPointer.php
line: 46
code: 0
trace: #0 /usr/local/psa/admin/plib/functions.php(1475): UIPointer::parse('start')
#1 /usr/local/psa/admin/plib/Form/Abstract.php(71): wizard_get()
#2 /usr/local/psa/admin/htdocs/server/preferences.php(212): Form_Abstract->__construct()
#3 /usr/local/psa/admin/htdocs/plesk.php(44): require('/usr/local/psa/...')
#4 {main}
 
No luck yet, did a full ./autoinstaller still same error..

My gut feeling is its something to do with entry in plesk settings. "localhost.localdomain" for server URL..
 
I can't,
Can't find entry in PSA database and Plesk interface is not working... If you can tell me PSA databse table name i can find this entry and change it.
 
You can change server hostname in Plesk context with following command

# plesk bin server_pref -u -hostname domain.tld
 
Managed to update hostname but same error, when try to update Server settings, or any interface with server settings.
I think i have done too many experiments on this plesk installation time for fresh install
 
Back
Top