Articles of fedora

Fedora 25 NFS和NFS服务器w / NIS在升级到nfs-utils之后不会启动x86_64 1:2.1.1-5.rc4; 内核:分割错误:0000 SMP

这导致NFS挂起到我们不得不重启的地步。 我们在Fedora 25上运行NIS。NFS和NSF-server不会启动。 每一秒钟甚至有一个“ systemd: Looping too fast. Throttling execution a little每秒钟都会systemd: Looping too fast. Throttling execution a little ”的信息。 我在这里尝试了一些debugging选项,但是我不确定要查找什么。 我会向Bugzilla发布一个bug,但是我希望这里有人知道它可能是什么。 nfs-utils x86_64 1:2.1.1-5.rc4.fc25 kernel at the time was 4.11.5-200.fc25.x86_64 systemctl status nfs-idmapd * nfs-idmapd.service – NFSv4 ID-name mapping service Loaded: loaded (/usr/lib/systemd/system/nfs-idmapd.service; static; vendor preset: disabled) Active: active (running) since Fri 2017-06-30 21:49:52 […]

所有NIS用户使用ypserv:#011-> Fedora 25上的#3错误

由于这个bug ,将内核降级到4.10.16之后,主NIS服务器将不允许任何NIS用户(只有本地用户可以login)。 它只是与以下error: -3超时error: -3 ,我从来没有见过。 任何想法可能是什么原因造成的? 所有NIS命令如ypwhich,rpcinfo和ypxfr都可以毫无问题地解决。 那么可以与rpcinfo,ypbind,autofs,nfs或nfs-server? 这里是一些来自ypserv的debugging日志。 Jul 2 22:38:08 dsm ypserv: ypdb_close() called Jul 2 22:38:08 dsm ypserv: #011-> Error #-3 […] Jul 2 22:38:30 dsm systemd: [email protected]: State 'stop-final-sigterm' timed out. Killing. Jul 2 22:38:30 dsm systemd: [email protected]: Killing process 21434 (systemd) with signal SIGKILL. Jul 2 22:38:30 dsm systemd: […]

Linux:转发一个samba共享

我有两个Linux机器和一台Mac。 1)Linux-1在内部networking上。 Linux-1有一堆外部硬盘,并运行一个samba服务器smb-1,从这些硬盘共享文件。 2)Linux-2有两个networking接口,一个内部networking和一个外部networking接口。 它挂载smb-1。 它还运行samba-smb-2,它试图与外部networking上的计算机共享。 3)Mac-OS希望通过smb-2挂载来访问smb-1的文件和文件夹。 但它不能。 它看到smb-2,并将其挂载,但它所得到的是没有文件的共享点目录。 这个设置是可能的吗? 我可以共享已经共享的samba服务器文件吗? 谢谢…

通过代理连接Skype for Linux Beta

你们好吗? 我收到以下问题。 我试图用几种方法解决它,但没有成功。 在我们的组织中,要通过互联网进行导航,您需要configuration代理服务器。 我已经安装Skype for Linux Beta(v5.3.0.1),并且在打开它时收到以下消息。 对不起,我们无法连接到Skype。 请检查您的互联网连接,然后重试。 当我检查debugging日志时,我收到以下消息: [Mon, 31 Jul 2017 11:24:12 GMT][INFO][AuthenticationManager] Redirect to login at login.live.com/oauth20_authorize.srf?client_id=00000000480BC46C&redirect_uri=h ttps%3A%2F%2Flogin.live.com%2Foauth20_desktop.srf&scope=service%3A%3Alw.skype.com%3A%3AMBI_SSL&response_type=token&cobrandid=90010&locale=en-US&client_flight=hsu%2Chlm% 2Chld%2CReservedFlight33%2CReservedFlight67&psi=skype&uaid=5c02b3d4d7b7e468f7ef81d0cfbefafa&lw=1 [Mon, 31 Jul 2017 11:24:12 GMT][WARN]Failed loading page. [-102] ERR_CONNECTION_REFUSED. Url: login.live.com/oauth20_authorize.srf?client_id=00000000480BC46C&re direct_uri=https%3A%2F%2Flogin.live.com%2Foauth20_desktop.srf&scope=service%3A%3Alw.skype.com%3A%3AMBI_SSL&response_type=token&cobrandid=90010&locale=en-US&client_fligh t=hsu%2Chlm%2Chld%2CReservedFlight33%2CReservedFlight67&psi=skype&uaid=5c02b3d4d7b7e468f7ef81d0cfbefafa&lw=1 我必须从url中删除https://因为我是新来的。 奇怪的是,当Skype开始,似乎认识到代理(这是一个假设) [Mon, 31 Jul 2017 11:24:11 GMT][INFO][EcsConfig] Downloading ECS Config [Mon, 31 Jul 2017 11:24:11 GMT][INFO][HttpsRequest] […]

从另一个被克隆的Fedora实例的rsync之后修复UUID,错误:没有这样的设备

我们在实验室中增加了一个新的工作站,之前的Clonezilla镜像是旧的,所以我从头开始安装Fedora 26。 我们使用rsnapshot / rsync来同步实验室机器,每天从主机或主机。 运行rsync作业并重新启动机器后显示error: no such device. Press any key to continue… error: no such device. Press any key to continue… 这个问题与这个Ubuntu用户的问题基本上是一样的,我用这个错误来确认在/etc/fstab和/etc/default/grub文件中使用哪个UUID。 重启使我进入恢复模式,看起来我可以访问所有命令(不仅仅是grub命令)。 对于其他用户可能会发现这一点,屏幕截图显示错误,如“ systemd[1]: Timed out waiting for device dev-disk-by ”,“ Dependency failed for /boot. Dependency failed for Local File System. Dependency failed for /boot. ”“ Dependency failed for Local File System. […]

Fedora 26服务器:Node.js应用程序在没有直接启动时永远挂起

我试过用systemd或者cron启动一个Node.js应用程序,这个应用程序与非特权帐户和特权帐户一起使用,但是似乎唯一的方法是使用node app.js或者whatever_monitoring_package app.js 我使用nginx作为反向代理,所以我的第一个猜测是检查nginx的日志是否有一些错误,但没有。 然后我尝试直接通过http://IP:PORT启动它,但没有任何内容。 我的防火墙的规则是好的,三重检查。 浏览器说“等待…”。 systemd正常工作,cron通常在启动时执行。 没有错误。 提前致谢。

IPtables – 如何找出哪个进程/可执行文件被删除了一条链

如何找出哪个进程或程序更改IPtables(删除它的一个链)? 我运行Fedora 23服务器。 我使用它和其他人共享互联网连接,并实施公平,dynamic的stream量整形。 最后我用Niceshaper。 它增加了IPtables的链。 最近我发现我的服务器被入侵了。 它被用作IPv6上的DNS服务器。 IP6表被改变了。 我清除了所有。 certificate所有的/ etc /设置是未修改的。 validation所有安装的软件包,并certificate它们是未修改的。 不幸的是还有一些错误。 尽pipe事实上服务器的configuration几个月没有改变,Niceshaper工作正常,但是在检测到ns_upload链被移除后,它现在开始退出。 我想找出哪个进程删除链来修复它。 我会感谢你的帮助。

在Fedora 26下,为什么“virsh start”不能启动一个引用“sudo virsh net-list”显示正在运行的networking的QEMU VM呢?

在Fedora 26下,我使用“GNOME Boxes”来创build一个虚拟机。 这个默认行为 – 请让我知道,如果这不是你的经验,对于FEDORA 26 – 是创build一个通过桥接networking,而不是NAT连接的QEMU虚拟机。 这不适合我的用例 – 我不希望机器在大厅里能够启动与客人的连接。 总之,我想在VirtualBox中是“NAT”,而不是“Bridged”联网。 我相信我已经正确地重新configurationlibvirtd的默认networking使用NAT: sudo virsh net-dumpxml default <network> <name>default</name> <uuid>xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid> <forward mode='nat'> <nat> <port start='1024' end='65535'/> </nat> </forward> <bridge name='virbr0' stp='on' delay='0'/> <mac address='xx:xx:xx:xx:xx:xx'/> <ip address='192.168.122.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.122.2' end='192.168.122.254'/> </dhcp> </ip> </network> networking似乎正在运行: $ sudo virsh net-destroy default Network default destroyed $ […]

openvpn没有互联网与firewalld

我试图用openvpnconfiguration我的fedora服务器(fc26),以redirect我的手机(galaxy S6 edge with Android 7.0 stock)的互联网/局域网stream量。 我遵循互联网上的一些教程,但我仍然有一个问题。 所有的命令都是关于iptables的,但是我想用firewalld。 我的手机和服务器之间的连接运行良好,但是当我尝试上网时,什么也没有… 我会在这里使用的configuration: 服务器conf: port 1194 proto udp dev tun ca CA cert CRT key KEY dh dh.pem server 10.8.0.0 255.255.255.0 ifconfig-poll-persist ipp.txt push "redirect-gateway def1 bypass-dhcp" push "dhcp-option DNS 208.67.222.222" push "dhcp-option DNS 208.67.220.220" client-to-client keepalive 10 120 cipher AES-256-CBC persist-key persist-tun status openvpn-status.log verb 3 […]

无法在Fedora 26中安装像node-gyp这样的noarch软件包。似乎失败了

由于某种原因,我无法安装node-gyp软件包,因为我在Fedora 26中遇到了下面提到的错误。任何人都可以帮我解决这个错误。 dnf install node-gyp-3.5.0-1.fc26.noarch Last metadata expiration check: 1:22:28 ago on Fri 29 Sep 2017 10:45:37 AM +0530. Dependencies resolved. ================================================================================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================================================================================= Installing: node-gyp noarch 3.5.0-1.fc26 fedora 40 k Transaction Summary ================================================================================================================================================================================================================================= Install 1 Package Total download size: 40 k Installed size: 89 k Is this ok [y/N]: y […]