Fedora Servers :: Does Not Reboot - Nfsd: Peername Failed (err 107)
Mar 16, 2009
I am experiencing serious trouble with my nfs server at office. That server contains the home directory which is exported to all our desktops. Since a few days now, it gets freezed and thus our desktops as well. I found a way to unfreeze it by pushing the power button, the server does not reboot but instead open the boot popup, i then click on cancel. I checked the dmesg file and found these messages:
I am having a recurrent problem with my nfs server. That server hosts our homes which are exported over the network this way:
Code: # more /etc/exports /home/export*(rw,no_root_squash) and our clients mount their homes this way (in /etc/fstab): Code: myserver:/home/export /home nfs defaults,auto 0 0 Regularly the clients are getting stalled, no connection with the nfs server. When I check the logs on the server I see these lines: [Code]....
I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd
i have problem with samba share everytime when i want to browse shared folders on fedora machine from windows i always get this msg (SELinux is preventing samba (smbd) "getattr" to /proc/fs/nfsd (nfsd_fs_t).)here is my selinuxlog
Summary:
SELinux is preventing samba (smbd) "getattr" to /proc/fs/nfsd (nfsd_fs_t). %
Ok this is one of those questions that have probably been made often. But I just CANNOT find a way around this on Fedora, and i have searched for it alot. Basically, after remotely rebooting my server, i'm not able to connect through vnc because the server needs to login. I've looked into an automatic login, but this is not the way i want to go. Edit: I'm using the default fedora vnc server, and RealVNC on my Windows computer. Been to ##linux on freenode, but at the time, noone there could answer me either.
After a couple of days, some commands related to the disk (df) or files (ls) or killing process (kill -9) doesn't respond. Even I can't reboot or shutdown my server. After an hard reboot, some files are not here anymore or the log files are not filled anymore until I restart.My disk are behind the RAID controller i6 and are configure in RAID 1. The disks are two HP SCSI 72,8GB 10k RPM.Maybe I am totally wrong to check the disk access side, so I am open to other explanation.I can also add that my CPU is running under 1% et my RAM under 10%.
For some weird reason dhcpd fails to startup, but when I installed gadmin's dhcpd GUI configuration tool and click activate to start the DHCP server. It works, but for some reason I can't get it to start like a regular service. (Service dhcpd start) Fails without a error code or message.
On my server Linux Redhat i want to configure dhcp server but when i check the dhcp status the dhcpd was stopped and i try to invoked or to start it failed. Even when open the graphical mode service configuration, check the box and click start the output error message is dhcp failed. the error: Starting dhcpd:Failed. How would i start the dhcpd service to run
So that means the User Test can connect from any host without password and with the named privileges, but he has no right to grant any privileges. CONSOLE:
I just got the problem while starting the dhcp daemon. Its showing failed. I need to start it for my clients to be autoinstalled. I am having CentOS 5.2 linux. I've installed all optional packages also while installing CentOS. How to start the dhcp daemon? I've tried the /etc/init.d/dhcpd start also. But it didnt work. Showing Failed.
Setting of my NFS as following and I am failed to mount client and get connected the both computer using Fedora 11; server ~(tower) and client (note book)
NFS Server setting ... root@tomcat shylock_1]# cat /etc/sysconfig/iptables # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter .....
Please make note selinux demon has been disabled.
On Client Side: file : /etc/exports EMPTY file : /etc/hosts.allow EMPTY file :/etc/hosts.deny EMPTY [root@eagle shylock_1]# cat /etc/sysconfig/iptables # Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter .....
After making several attempt I cannot mount share on client. What I am missing here? OR is there problem with F11 with NFS server? While throwing everything including sink... I ran tcpdump on server while issuing mount command from client; I got following tcp dump.
Which reflect that client (computer - eagle) trying to make call on Server - tomcat but failing. We have a router which also server DHCP Server and issue IP but server has static IPs.
I am not able to start mysql server...when i type command sevice mysqld start it saysMySQL Daemon failed to start.Starting mysqld: [FAILED]so how to solve this problem ?
net ads join -U admin_name admin passwordgives the following error: Failed to join domain: failed to lookup DC info for domain 'domain_name' over rpc: Logon failureIn the log, is the error messagewinbindd/winbindd_ads.c:ads_cached_connection(127) ads_connect for domain SPCRANE failed: Cannot read passwordkinit admin@domain_name works correctly, so kerberos is working. The ticket is generated, and I can see it with klist. the smb.conf file has the matching realm. It is configured identically like a redhat 5 box that does work
When I try to mount the disk from my client machine I get the error: Code: [tim@localhost ~]$ sudo mount -t nfs 192.168.1.10:/media/cavern /media/cavern mount.nfs mount system call failed
Thinking the problem might be due to iptables I tried the following command as recommended by a book I found on google: Code: sudo iptables -A INPUT -i wlan0 -f -j ACCEPT didn't help so tried disabling the firewall - still getting the error Both machines are running FC11 - should i be using nfs4?
I am trying to configure and compile the pam_ldap and nss_ldap for MIPS architecture. for this they need ldap library. so I am trying to compile openldap code for MIPS first, but the configuration is failing.The command and options used for configuration is as follows.
we've just bought 30 newest nettops ACER Aspire R3700 with ION 2. I've tried ubuntu, kubuntu, xubuntu. Everything works as expected, but... the first one freezes when trying to reboot, shutdown or enter sleep mode. Checked on several hardware units. The desktop just freezes and nothing happens (ubuntu 10.10, both x32 and amd64). Also no one installs the wi-fi drivers, only ethernet
I'm trying to install squirrel mail in Fedora 10 server: I'm following this tutorial: [URL]. I'm at sudo rpm -ivh courier-imap-4.4.1.20080920-1.10.i386.rpm When I run the command I get: error: Failed dependencies: /usr/local/bin/perl is needed by courier-imap-4.4.1.20080920-1.10.i386
I found this page [URL] which actually describes the error and gives a "solution" however it doesn't seem to solve my problem error: Failed dependencies: /usr/local/bin/perl is needed by courier-imap-4.1.1-1.4.i386 Solution: export PATH=/bin:/usr/bin
Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".
Then I mounted the NFS share at the new directory I created: [root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest
When I tried to mount on the remote client: [root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest
After a while I got: # mount eric:/mnt/nfs /mnt/nfstest mount.nfs: mount system call failed
I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.
I finally got the certs to configure: openvpn --config server.conf Tue May 3 17:26:27 2011 OpenVPN 2.1.1 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jan 5 2010 Tue May 3 17:26:27 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Tue May 3 17:26:27 2011 Diffie-Hellman initialized with 1024 bit key Tue May 3 17:26:27 2011 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ] Tue May 3 17:26:27 2011 ROUTE default_gateway=192.168.122.1 Tue May 3 17:26:27 2011 TUN/TAP device tun0 opened Tue May 3 17:26:27 2011 TUN/TAP TX queue length set to 100 Tue May 3 17:26:27 2011 /sbin/ip link set dev tun0 up mtu 1500 Tue May 3 17:26:27 2011 /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2 Tue May 3 17:26:27 2011 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2 Tue May 3 17:26:27 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ] Tue May 3 17:26:27 2011 Socket Buffers: R=[114688->131072] S=[114688->131072] Tue May 3 17:26:27 2011 UDPv4 link local (bound): [undef]:1194 Tue May 3 17:26:27 2011 UDPv4 link remote: [undef] Tue May 3 17:26:27 2011 MULTI: multi_init called, r=256 v=256 Tue May 3 17:26:27 2011 IFCONFIG POOL: base=10.8.0.4 size=62 Tue May 3 17:26:27 2011 IFCONFIG POOL LIST Tue May 3 17:26:27 2011 Initialization Sequence Completed
But openvpn still won't start; where to go from here. Tue May 3 17:54:25 2011 TCP/UDP: Socket bind failed on local address 192.168.122.3:1194: Address already in use Tue May 3 17:54:25 2011 Exiting
Few days ago we had a server maintenance. The system was shutdown, we fix the CPU fan, and start the system again. But somehow when the system starts, our IMAP server - dovecot is not running. It just sit like a rock. Because the machine had a CPanel/WHM, I tried to restart dovecot using cpanel and got a message:
Code:
That was not really useful....
When I tried to restart dovecot using command line, I got nothing. really nothing.
Code:
How to find out what happens to my IMAP/dovecot? And anyway to make it run again?
hi, first i'd like to say that i'm totally new to linux, i was allways using windows.
as i was allways unable to install a good and stable ssh-server on windows, i thought it is time to change to linux. i was able to set up and configure a ssh-server on debian but found out, that fedora 15 looks more userfriendly in first place for me. but now i unfortunately experience problems..
the ssh server was already installed, i changed the service setting to that it starts automatically but after i succesfully connected to the LAN, i cannot access the shh via putty for instance. when i type "service sshd status" it says beside other things: active (running). but when i look at the /var/log/messages, it says those two lines:
sshd.service: main process exited, code=exited, status=255 Unit sshd.service entered failed state.
i searched on google without success, the only thing i found was that someone had the same problem with a bad sshd_config file, but i'm pretty sure that everything is alright with my config-file (i checked it several times).
beside this i cant login on the gui, after the firefox update (??) it always says: a problem has occured and the system can't recover bla bla... so i can only use fedora right now commandline-based.. but with this problem i will deal later on...
I am currently trying to replace my Windows Server with a CentOS 5.3 box running nfsd for file serving. I have it all up and running however I cant see anyway of securing user access rights to the shares as all you need to access them is just clone the User ID of a user authorized to access the share of any Linux system which seems a bit insecure to me? I was wondering if there was any advice on securing access to server shares in CentOS.
As I walked in my office this morning, before getting withing 5 feet of my computer, the computer started an unscheduled auto reboot but failed. After hard reset, unplugging, etc., it will still not boot off of primary system. Used Live disk of previous Ubuntu to gain access to system. Found bug#407862 regarding 'rsyslogd was HUPed' but don't know what that has to do with this specific problem. [URL]. The initial error message on screen was something like "no system disk. Insert system disk and press enter", as if I had a non-bootable CDROM inserted, but there was nothing like that.
/var/log/syslog says this: Nov 30 07:59:05 my-computer-name rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="908" x-info= URL] rsyslogd was HUPed, type 'lightweight'. Nov 30 07:59:05 my-computer-name anacron[5755]: Job `cron.daily' terminated Nov 30 07:59:05 my-computer-name anacron[5755]: Normal exit (1 job run) Nov 30 08:00:01 my-computer-name CRON[6028]: (www-data) CMD (test -x /usr/bin/php && /usr/bin/php -q /usr/share/horde3/scripts/alarms.php > /dev/null 2>&1)
Hundreds of previous syslog entries contain the following line: Nov 30 08:00:01 my-computer-name CRON[6028]: (www-data) CMD (test -x /usr/bin/php && /usr/bin/php -q /usr/share/horde3/scripts/alarms.php > /dev/null 2>&1)
I am using Slackware 13.1 on my Asus K40IN, I also use dual boot by LILO with Windows XP. In Windows XP I can reboot or shutdown by select Start -> Turn off Computer, or just physically push the power button, then the machine will shutdown. In my Slackware 13.1, I can physically push the power button, the machine show that it is switching to run level 0, and then it will power off. However, I can not turn it off or restart my machine by the command (run "halt" or "reboot" as root), it show identical things like when I physically push button, but when it turn to status "Restarting machine" or "Turning off machine", my computer hang there, it does not power off machine or restart it. Is there any one experienced this situation? What should I do to fix it?
I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory
but
[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist [root@flokipal ~]#
While doing some tests on a new Server running OpenSuse 11.1 nothing happened.When switching over to productive system serving the homedirs of 100 users the system run into trouble reporting "nfsd: non-standard errno: -117" about 2500 times per second.The nfs-share is on a seperat disk (xfs) about 5TB (2TB used) of data. The network interface is a bond0 (2 eth interfaces on E1000-nics).
I'm having some troubles with nfsd in slackware-current. When I start the service, I get the following error messages: Quote:
WARNING: Error inserting sunrpc (/lib/modules/2.6.33-smp/kernel/net/sunrpc/sunrpc.ko): Invalid module format WARNING: Error inserting auth_rpcgss (/lib/modules/2.6.33-smp/kernel/net/sunrpc/auth_gss/auth_rpcgss.ko): Invalid module format WARNING: Error inserting lockd (/lib/modules/2.6.33-smp/kernel/fs/lockd/lockd.ko): Invalid module format FATAL: Error inserting nfsd (/lib/modules/2.6.33-smp/kernel/fs/nfsd/nfsd.ko): Invalid module format
The mount fails from the clients with the error message: Quote: mount.nfs: access denied by server while mounting jupiter:/media/Backup A look at syslog from the server side gives: Quote: exportfs: exports duplicate symbol exportfs_decode_fh (owned by kernel) mountd[28198]: getfh failed: No such device kernel: exportfs: exports duplicate symbol exportfs_decode_fh (owned by kernel)