406738128 406738128
关注数: 12 粉丝数: 122 发帖数: 1,215 关注贴吧数: 133
安装系统升级DNF插件失败.我想从25升级到26 #sudo dnf install dnf-plugin-system-upgrade Repository updates is listed more than once in the configuration Repository updates-debuginfo is listed more than once in the configuration Repository updates-source is listed more than once in the configuration Repository fedora is listed more than once in the configuration Repository fedora-debuginfo is listed more than once in the configuration Repository fedora-source is listed more than once in the configuration Repository fzug-free is listed more than once in the configuration Repository fzug-free-source is listed more than once in the configuration Repository fzug-nonfree is listed more than once in the configuration Repository fzug-nonfree-source is listed more than once in the configuration Failed to synchronize cache for repo 'fedora',禁用。 Failed to synchronize cache for repo 'fedora-steam',禁用。 Failed to synchronize cache for repo 'phnxrbrn-evopop',禁用。 Failed to synchronize cache for repo 'updates',禁用。 Failed to synchronize cache for repo 'google-chrome',禁用。 Failed to synchronize cache for repo 'google-chrome-beta',禁用。 上次元数据过期检查:0:02:07 前,执行于 Sat Feb 16 07:09:31 2019。 没有可用软件包 dnf-plugin-system-upgrade。 错误:没有任何匹配 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 按照更新步骤: 1、更新系统 # dnf update --refresh 2、安装插件 # dnf install dnf-plugin-system-upgrade 3、下载Fedora24版本的更新包 # dnf system-upgrade download --releasever=24 --allowerasing 吧友谁知道为什么的fedaora25 到第2步始终失败?怎么也安装不了dnf 插件....
systemctl 自己写的service 无法自启动。 请吧友给看看我哪出错了; 首先我在/usr/lib/systemd/system/下建了一个叫 lmgrd.service的服务,用它来启动另一个服务。我把她设成开机自启了,用的命令是systemctl 和 sysv-rc-conf 。但是都不行,不能开机自启动,但是手动可以,手动启动需要管理员权限。 下面是lmgrd的内容: [Unit] Description=launch flexlm server [Service] ExecStart=/opt/flexnetserver/lmgrd -c /opt/flexnetserver/lic.dat //这就是我要开启的服务。通过自己建的lmgrd来开启别人写的这个服务。 Type=forking User=aaron //我的用户名 Group=aaron [Install] WantedBy=multi-user.target 保存退出 # 启动新加的service systemctl daemon-reload systemctl start lmgrd # 查询下看成功没有 systemctl status lmgrd # 出现Active: active (running) since ...表示手开成功; # 最后让他自动启动 systemctl enable lmgrd 完成 重起。。。。。。。。。。 systemctl status lmgrd 终端提示: ×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× aaron@X10DAi:~$ systemctl status lmgrd ● lmgrd.service - launch flexlm server Loaded: loaded (/lib/systemd/system/lmgrd.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since 三 2016-12-28 17:25:30 CST; 3h 25min ago Main PID: 1470 (code=exited, status=35) 12月 28 17:25:29 X10DAi systemd[1]: lmgrd.service: Unit entered failed state. 12月 28 17:25:29 X10DAi systemd[1]: lmgrd.service: Failed with result 'exit-code'. 12月 28 17:25:30 X10DAi systemd[1]: lmgrd.service: Service hold-off time over, scheduling restart. 12月 28 17:25:30 X10DAi systemd[1]: Stopped launch flexlm server. 12月 28 17:25:30 X10DAi systemd[1]: lmgrd.service: Start request repeated too quickly. 12月 28 17:25:30 X10DAi systemd[1]: Failed to start launch flexlm server. ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× sysv-rc-conf 列表里也有lmgrd,但就是不能开机自启。
ubuntu systemd 自启动服务出错,请看这里; 请吧友给看看我哪出错了; 首先我在/usr/lib/systemd/system/下建了一个叫 lmgrd.service的服务,用它来启动另一个服务。我把她设成开机自启了,用的命令是systemctl 和 sysv-rc-conf 。但是都不行,不能开机自启动,但是手动可以,手动启动需要管理员权限。 下面是lmgrd的内容: [Unit] Description=launch flexlm server [Service] ExecStart=/opt/flexnetserver/lmgrd -c /opt/flexnetserver/lic.dat //这就是我要开启的服务。通过自己建的lmgrd来开启别人写的这个服务。 Type=forking User=aaron //我的用户名 Group=aaron [Install] WantedBy=multi-user.target 保存退出 # 启动新加的service systemctl daemon-reload systemctl start lmgrd # 查询下看成功没有 systemctl status lmgrd # 出现Active: active (running) since ...表示手开成功; # 最后让他自动启动 systemctl enable lmgrd 完成 重起。。。。。。。。。。 systemctl status lmgrd 终端提示: ×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× aaron@X10DAi:~$ systemctl status lmgrd ● lmgrd.service - launch flexlm server Loaded: loaded (/lib/systemd/system/lmgrd.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since 三 2016-12-28 17:25:30 CST; 3h 25min ago Main PID: 1470 (code=exited, status=35) 12月 28 17:25:29 X10DAi systemd[1]: lmgrd.service: Unit entered failed state. 12月 28 17:25:29 X10DAi systemd[1]: lmgrd.service: Failed with result 'exit-code'. 12月 28 17:25:30 X10DAi systemd[1]: lmgrd.service: Service hold-off time over, scheduling restart. 12月 28 17:25:30 X10DAi systemd[1]: Stopped launch flexlm server. 12月 28 17:25:30 X10DAi systemd[1]: lmgrd.service: Start request repeated too quickly. 12月 28 17:25:30 X10DAi systemd[1]: Failed to start launch flexlm server. ××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××× sysv-rc-conf 列表里也有lmgrd,但就是不能开机自启。
1 下一页