I have a Redhat fedora core release 6 (2.6.22.9-61.Ns4) server and form time to time ssh fails although I am still able to ping the device and with a reboot the device will start working correctly so upon further investigation it appears the sshd daemon fails.Not knowing a great deal about Linux I thought I would ask some advice on the path I am thinking of taking. The first would be to put an entry in the cron to try and start the ssdh every hour or so. Would this cause issues in the long term run it multiple times when the sshd daemon was still running?
The Second though I had was having a bash script to check if the process was running and if not restarts it and if it was just exit the program which would seem like a neater way to do it but this is where my limited Linux knowledge hits a wall so was looking for suggestion on how to implement this?
I cannot ssh into an RHEL 5.5 server (192.168.20.104) from another RHEL 5.5 server (192.168.20.101) unless server debug is turned on 192.168.20.104, and even then, I have to wait several minutes before the connection is established. scp to and from the 104 server is also not working.Here is the debug output on the 101 server when server debug is not enabled on the 104 server-:
I've got Fedora 14 running on an EBS volume on Amazon EC2. I've created a few users and enabled port 22. When I set a password for these users, they can successfully ssh into the instance; even if they logout and login again....until:
If I reboot the machine, they can no longer ssh into the machine (permission denied). If I issue the passwd <user> command and change their passwords, they can login again....until I reboot the machine at which time they cannot login again until I change their passwords. The problem exists even from the machine. That is, if root attempts to ssh into 127.0.0.1 using their username/password, the same problem/resolution exists.
I want to make sure sshd service will start after a server reboot. On redhat or centOS I can do "chkconfig sshd on". What's the equivalent command for ubuntu?
I have problem with sshd server, its authenticate user and then terminate the session. Here is debug log: Jan 1 04:26:41 server sshd[29677]: debug1: userauth-request for user root service ssh-connection method none Jan 1 04:26:41 server sshd[29677]: debug1: attempt 0 failures 0 Jan 1 04:26:43 server sshd[29677]: debug1: userauth-request for user root service ssh-connection method password Jan 1 04:26:43 server sshd[29677]: debug1: attempt 1 failures 0 Jan 1 04:26:43 server sshd[29676]: Accepted password for root from xx.xx.xx.xxx port 50971 ssh2 Jan 1 04:26:43 server sshd[29676]: debug1: monitor_child_preauth: root has been authenticated by privileged process .....
I'm running Ubuntu 10.10. I recently installed the open ssh server so that can sftp stuff. However, I do not want the server to always be on, only when I manually start So, I did an 'update-rc.d -f ssh remove'and now I don't see any startup scripts in the rcx.d directories any more.However, when I do a 'ps ax', there is always a '/usr/sbin/sshd' process running. I try to kill it but it keeps restarting under a different process ID.How do I disable sshd?
I am trying to setup a chroot with a sshd service running. when I start the sshd in the chroot and login I get this message. Can not find anything on google.
[damien@dev ~]$ ssh -l damien localhost -p 2233 damien@localhost's password: Last login: Tue Jul 21 13:32:52 2009 from 127.0.0.1 debug3: PAM session not opened, exiting Connection to localhost closed.
I need to setup a Linux VPN server at work for resources' sharing, I currently have a server running CentOS 5.4, and tried endless tutorials on the web, but to no avail, and can't find where the logs are kept for the VPN server to check where the error is. But all my attempts to try to connect keep failing.
I have set up a nis slave server on Fedora 14. It was set up on a laptop so that the user can log in when he is at home (no NFS, local home dir). However, whenever the eth0 is disconnected, ypbind fails.
I have tried the same setup on a RHEL 4 (configured it as a slave server) against the same master nis as on the Fedora 14. Disabling eth0 on it however does not fail ypbind.
I Bought A New Centos VPS,Not Much Details Are Provided About Setup Etc..I Wanted To Check If FTP Service Is Running Or Not And Which FTP Daemon Is Running.(Is There Any FTP Daemon Pre-Installed With Centos)
I have created a VPN through network manager to a Windows 2003 server.
However when I try connecting it fails every time, I have tested with a windows XP client and this works so this would indicate I am doing something wrong in the network manager configuration.
I seem to be having a problem with mod_proxy and https websites. A simple connection to port 80 works fine but all calls to 443 fail.
I had a look at my firewall but can't see anything that would block port 443, although I get no tcpdump traffic on that port on the deb01 client when I try and connect to it. I disabled the firewall but still no luck.
My configuration consists of 3 VMs (KVM) each running a different website.
I get the following error when connecting to ssl deb01
Code: An error occurred during a connection to deb03.example.com.
SSL received a record that exceeded the maximum permissible length.
After upgrading from scratch to Ubuntu server 10.04 (previously 9.10), I noticed that my server was cast out of the Cheers bar , i.e., nobody knows its name anymore! (I have several Linux boxes on my home network).
Is there a new direction on how local networks are supposed to be configured? a new protocol? I know my problem is solved by simply installing avahi-daemon, but I wonder how other people are dealing with this issue.
i have been scratching my head and repeatedly banging it against a wall
i have a lan: m0n0wall router ubuntu server (headless/no mouse/kbd/speakers, etc in attic) 4 desktop pc's 1 dlink dsm 520
my server is exactly that it has mysql/apache/mediatomb/php/cacti/phpmyadmin/samba/nfs/mpd) ignore all other service running on server & focus on MPD. all 4 desktop pc can connect to mpd and they can see the library. BUT they cannot play any track as it states there was an error with the audio device!i have tried all the examples on the web and none work what do i do? how do i configure it to use the LOCAL soundcard NOT the one that is not present in my server? all the examples are set to use the LOCAL(one on machine running MPD) sound card which does not work until i connect a speaker to my server which again is located in my attic and only has a pc speaker so this is NOT what i want. all 4 desktops do not have mpd installed as they do not need it. all media is stored on my server the gui's that connect to mpd do not have any configuration for a sound card
I have Ubuntu 10.04 server edition which comes without any GUI.Some of the web applications are present on it.But the problem is from a past few days if I reboot then immediately after a reboot the server shows me a process polymouthd which takes 96% of CPU which makes my server damn slow is there a way to find out what is polymouthd doing in my server and how can I disable.
I'm trying to install ispCP and i need to start mysqld but it won't seem to start. I'm somewhat of a nooblet to linux (have a year of VPS 'experience', but nothing too fance) so bear with me.
When i run "service mysqld start" it fails with the error: "MySQL Daemon failed to start."
I ran: "tail -n 30 /var/log/mysqld.log" and this is the output;
[root@dragon575 mysql]# tail -n 30 /var/log/mysqld.log 110726 16:03:10 InnoDB: Completed initialization of buffer pool 110726 16:03:10 InnoDB: highest supported file format is Barracuda. 110726 16:03:10 InnoDB: 1.1.8 started; log sequence number 1588761 110726 16:03:10 [ERROR] Aborting
For some reason my DNS servers aren't able to resolve certain names. Most names resolve fine there are just a few that don't work. Nslookup doesn't work either of course, and curiously neither does "whois".
I added the "@clustering" and "@kvm" keywords to my ks.cfg file but during installation, an error about not being able to find either of these packages popped up and it wasn't installed.
I do see the Cluster and VT directories in my redhat_es5.4 directory along with the Server directory. The rest of the files install just fine.
In doing some net and forum searching, I find a reference to a base.repo file that lists the directories but I'm not sure if it's related to creating a yum repository or if not, should it have been created in the redhat_es5.4 directory.
While I've built kickstarts for several years and am comfortable with the file, this is the first time I'm working with rpms outside the main Server path.
I have a KVM server and am trying to add a new VM. The problem is I am unable to connect to the consle to finish the installation. I have put the details of the steps I took and my ssh config file for clarity. It seems I have a problem with a vnc 'security type'.
Code: $ virt-manager -c qemu+ssh://root@phoenix:2200/system [Prompt for password and connects OK]
KVM Server Code: # virt-install --connect qemu:///system -n web -r 1024 --vcpus=1 -f /dev/vms/web_os -s 5 -c ~ecosta/debian-504-amd64-netinst.iso --vnc --noautoconsole --os-type linux --os-variant debianLenny --accelerate --network network:default --hvm Starting install... Creating domain... 0 B 00:00 Domain installation still in progress. You can reconnect to the console to complete the installation process.
client I can see the new VM but when I chose to open the console, the password is asked again and again without a successful connection to the console. The following is what I found in the log. virt-manager log: .....
I then tried to make an ssh tunnel and use vncviewer to connect:
Code: $ vncviewer localhost:2 Connected to RFB server, using protocol version 3.8 Server did not offer supported security type
Code: $ ssvncviewer localhost:2 Proto: RFB 003.008 Connected to RFB server, using protocol version 3.8 Server did not offer supported security type: sectype[0] 19 Security-Type: 0 (rfbSecTypeInvalid) Latency: 12.40 ms ShmCleanup called VNC Viewer exiting.
If I ssh from my laptop (running F10) to the server (centos 5.2) it asks for the password, but everytime I enter the correct password it says incorrect password. when I do the same from the server to my laptop I can get in just fine. I think my passwords are stored as ssha in the LDAP (I tried clear passwords and that dosen't work either).
I'm trying to modify an existing user so that any files they create can be at least read (although writing and execution would be nice) by any other user. The reason is because I need the daemon running my Apache server to be able to access files created by a daemon running under this user, files which will be created and accessed in real-time.
I'm trying to run BoxBackup to sync a couple active servers to a data server. I installed the server and client, making sure to follow the instructions closely with all the certificates. The problem is the service daemon on the service won't even start. The service manage reports: "bbstored dead but pid file exists" (basically, tried to instantiate the process, but it died due to faults).
Here's the log of the daemon in /var/log/box
Code: Jul 27 13:05:10 frogbert bbstored[13429]: NOTICE: Box Backup Store Server v0.11rc8, (c) Ben Summers and contributors 2003-2010 Jul 27 13:05:10 frogbert bbstored[13433]: NOTICE: Starting daemon, version: 0.11rc8 Jul 27 13:05:10 frogbert bbstored[13433]: NOTICE: Using configuration file: /etc/boxbackup/bbstored.conf Jul 27 13:05:10 frogbert bbstored[13433]: WARNING: Exception thrown: ServerException(SocketBindError) at ../../lib/server/SocketListen.h(232)
On my virtual server I had the same issue within the last three month. The postfix daemon stopped working suddenly and I don't know why. I can restart postfix normally and it's working normally for a couple of weeks until the next crash. Does anyone have the same problems with CentOS 5.6 and postfix?
I just upgrade from 10.3 to 11.4. Everything went fairly smoothly and most things are still working execp nfsserver
getting: /etc/init.d/nfsserver start Starting kernel based NFS server: mountd statd nfsdrpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied) rpc.nfsd: unable to create inet6 TCP socket: errno 97 (Address family not supported by protocol) rpc.nfsd: unable to set any sockets for nfsd failed
dmesg: RPC: server localhost requires stronger authentication. [ 2545.282736] svc: failed to register nfsaclv2 RPC service (errno 13). [ 2545.282742] nfsd: last server has exited, flushing export cache [ 2545.282852] RPC: server localhost requires stronger authentication. [ 2545.282955] RPC: server localhost requires stronger authentication. [ 2545.283848] RPC: server localhost requires stronger authentication. [ 2545.283957] RPC: server localhost requires stronger authentication.