我今天发现我的Perforce服务器是不可访问的,经过大量的研究之后,我认为服务器一定是自动升级了p4服务器程序。现在p4d没有运行,所以我不能用它做任何事情。
该服务器是为一个大学生团队设置的,当时他们提供了一个免费的20个用户许可证。看来他们已经放弃了这个选项,我看不出有任何选项可以恢复到那个授权下的版本。如果需要的话,我可以接受新的5用户限制,但前提是我能通过我发现自己所处的状况。
下面是使我处于绑定状态的命令和响应。如你所见,我遇到了一个循环问题。我无法运行p4d,因为超过了许可证计数。我不能在维护模式下运行服务器,因为数据库需要升级,而且我不能运行升级,因为我没有足够的许可证。
我的第一个偏好是降级到运行良好的版本。如果这是不可能的,那么删除一些用户,以便我至少可以让事情正常工作也是可以接受的。
服务器正在运行Ubuntu14.04LTS
谢谢你的帮助。
root@ubuntu14-server:/opt/perforce/servers/p4test# p4d
Perforce server error:
Warning! You have exceeded the usage limits of Perforce Helix. Version 16.1 allows up to five users without commercial licenses. You may continue your current usage with previous versions of our software.
Try deleting old users with 'user -d'.
License count: 11 users used of 5 licensed.
For additional licenses, contact Perforce Sales at sales@perforce.com.
root@ubuntu14-server:/opt/perforce/servers/p4test# p4d -n
Perforce server error:
Database is at old upgrade level 23. Use 'p4d -r /opt/perforce/servers/p4test -xu' to upgrade to level 25.
root@ubuntu14-server:/opt/perforce/servers/p4test# p4d -r /opt/perforce/servers/p4test -xu
Perforce server error:
Warning! You have exceeded the usage limits of Perforce Helix. Version 16.1 allows up to five users without commercial licenses. You may continue your current usage with previous versions of our software.
Try deleting old users with 'user -d'.
License count: 11 users used of 5 licensed.
For additional licenses, contact Perforce Sales at sales@perforce.com.两个星期前的/var/log/dpkg.log显示了正在发生的更新:
2016-10-11 20:41:01 upgrade perforce-p4dctl:amd64 2015.1-1227227~trusty 2015.2-1443805~trusty
2016-10-11 20:41:01 status half-configured perforce-p4dctl:amd64 2015.1-1227227~trusty
2016-10-11 20:41:04 status unpacked perforce-p4dctl:amd64 2015.1-1227227~trusty
2016-10-11 20:41:04 status half-installed perforce-p4dctl:amd64 2015.1-1227227~trusty
2016-10-11 20:41:04 status half-installed perforce-p4dctl:amd64 2015.1-1227227~trusty
2016-10-11 20:41:05 status unpacked perforce-p4dctl:amd64 2015.2-1443805~trusty
2016-10-11 20:41:05 status unpacked perforce-p4dctl:amd64 2015.2-1443805~trusty
2016-10-11 20:41:06 install helix-p4dctl:amd64 <none> 2016.1-1446835~trusty
2016-10-11 20:41:06 status half-installed helix-p4dctl:amd64 2016.1-1446835~trusty
2016-10-11 20:41:07 status triggers-pending ureadahead:amd64 0.100.0-16
2016-10-11 20:41:07 status half-installed helix-p4dctl:amd64 2016.1-1446835~trusty
2016-10-11 20:41:08 status unpacked helix-p4dctl:amd64 2016.1-1446835~trusty
2016-10-11 20:41:08 status unpacked helix-p4dctl:amd64 2016.1-1446835~trusty发布于 2016-11-04 21:43:28
我也有同样的问题
如果您已经通过包管理器进行了更新:
Centos
yum downgrade helixUbuntu
apt-get install «pkg»=«version»手动
http://ftp.perforce.com/perforce/16.1版本是将限制从20更改为5的版本。
问题是,即使降级到2015.2版,它也不会开始抱怨5个用户的许可证。(嗯?)
但是,如果您运行p4 -n,您将能够登录、访问管理并删除一些用户以继续前进(我希望访问gitlab,lol)
https://stackoverflow.com/questions/40200970
复制相似问题