Debian Configuration :: Openssh-server Fails To Restart During Update?

Feb 12, 2010

So this very (for me) important little package fails me once again. But this time it refuses to restart/start

This is the output:

Setting up openssh-server (1:5.3p1:-1)
Restarting OpenBSD Secure Shell Server: sshd: failed!
/dev/null is not a character device!
invoke-rc.d: initscript ssh, action "restart" failed.

[Code].....

The error is within the /etc/init.d/ssh script. ("error")

This is in squeeze so I can only blame my self, but.. This is one of the packages that fair and square should not fail to install/update/start/restart no mather what!

View 9 Replies


ADVERTISEMENT

Debian :: Openssh-server Auto Configuration Fails When Upgrading Lenny To Squeeze?

Sep 10, 2010

I'm in need of a bit of assistance from you Debian users. I have two servers that I thought were identical installations, both running Debian Lenny. Tonight I started the upgrade to Squeeze on both servers and one of them went smooth. The other one started out good but fails on the postconfiguration of openssh-server. I'm getting the following message:

Code:
Setting up openssh-server (1:5.5p1-4) ...
Auto configuration failed
2524:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:366:line 67
invoke-rc.d: initscript ssh, action "restart" failed.

[Code].....

It looks like there's an error in one of the files in openssh-server that prohibits it from installing correctly. However on the other server it all went well.

View 3 Replies View Related

CentOS 5 Server :: HTTPD Won't Restart After Update: Mod_proxy_ajp Fails If Mod_proxy Not Loaded

Apr 29, 2010

I have just been told that httpd was not running on my Centos virtual server. It seems that my hosting company rebooted my server 2 days ago and that httpd restart failed due to:

Starting httpd: httpd:
Syntax error on line 213 of /etc/httpd/conf/httpd.conf:
Syntax error on line 2 of /etc/httpd/conf.d/proxy_ajp.conf:
Cannot load /etc/httpd/modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module

I had worked around and forgotten about this some time ago. The problem arose because the most recent httpd update installed proxy_ajp.conf into /etc/httpd/conf.d which was then loaded on restart The trouble is I do not use mod_proxy (I think just to try and get a lean and mean web server) and proxy_ajp.conf does not check if mod_proxy is loaded before it tries to LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

Hence httpd fails to restart. RedHats's bug tracker lists this as an old issue (which was never resolved) [URL] My workaround was to rename proxy_ajp.conf to proxy_ajp.conf.orig so that httpd would start up correctly. However any updates simply reinstall proxy_ajp.conf and so IMO the problem needs to be resolved at source. how to ensure that httpd updates do not bite me in the future? Do I really have to run mod_proxy whether or not I need it?

View 6 Replies View Related

Debian Configuration :: Update Linuximage Fails ?

Dec 9, 2010

I have squeeze using the default setup with 5 seperate partitions on hard drive. All other updates are fine but it will not install the Linux-Image-2.6.32-5-amd64. I get message that not enough room. I think this is the kernal update. I use update manager. Is there a fix for this short of resizing the partition. This is a one computer/user setup. I had this problem on a previous install of stable and ignored it thinking that it was a glitch. That install was an experimental setup and I liked it but it didn't work on the internet very well so went to testing.

View 5 Replies View Related

Debian Configuration :: Update-initramfs Fails When Upgrading To Jessie

Oct 17, 2015

I'm just completing an upgrade from wheezy to jessie and get the following error

Code: Select allProcessing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
E: intel-microcode: unsupported kernel version!

With a message like this I'm wondering if it's safe to reboot as well as how to resolve.

Is this somehow related to the change to only update the microcode on boot as reported earlier in the upgrade?

Code: Select allintel-microcode: microcode will be updated at next boot

View 5 Replies View Related

Debian Configuration :: Automatic Restart Server ?

Dec 29, 2010

I wanted to ask how to restart the Debian Server. It should start daily, at 2-3 o'clock in the morning. Don't know how to program the server.

View 4 Replies View Related

Debian Configuration :: OpenSSH Is Extremely Laggy?

Aug 27, 2010

I have an old computer a friend of mine found in a dumpster, and I've decided to use it as a file server. After finally getting it to connect to my wifi network, I tried connecting to it via OpenSSH on my main desktop. After I connected, I noticed OpenSSH was being very laggy. Whenever I type anything in there's a very noticable and annoying delay from when I type it to when it appears on screen. Now, a while ago a friend of mine was helping me fix my laptop when fglrx drivers broke x, and I set up openssh on there so he could access it. According to him, there was no lag (and he's half-way across the globe, whereas my file server is in the other room). The computer is an old Pentium 4 with one and a half gigs of RAM, two hard drives (one I use for the os/swapping and the other I use for /home). It's connected to wifi via a spare USB Linksys 802.11 bg adaptor I found lying around, and it's using the default drivers that come with Debian to connect.

View 3 Replies View Related

Debian Configuration :: PasswordAuthentication In Openssh And Freenx?

May 31, 2011

I have VNC working but I like how freenx starts in it's own session. It is handy for when my account is not logged into the server and VNC hasn't started.I have freenx working but it requires sshd_config to enable PasswordAuthentication. This isn't a major security problem at the moment since I have deny.hosts running but I still don't like it enabled. I would much rather only use the keys.

View 1 Replies View Related

Debian Configuration :: OpenSSH - Sshd Returns Login Prompt With Delay

Jul 11, 2011

On a Debian 5.0.8 I have a problem with OpenSSH server (sshd): when connecting to it from another host there is always a 10 seconds delay before sshd gives login prompt to the client. After the connection is established the communication goes on without any interruption. This long delay started to happen a few months ago and sshd_config was not changed at that time.

Here is a short description of the conversation between the putty client (on MS Windows) and sshd:
- putty client starts connection to sshd
- 10 s delay
- sshd returns "login as:"
- user types username in putty window
- sshd returns "password:"
- user types password in putty window
- sshd returns MotD and shell prompt

Here is a short description of the conversation between the OpenSSH client (on a Debian 6) and sshd:
- client does "ssh user@host.foo.bar"
- 10 s delay
- sshd returns "Password:"
- user types password
- sshd returns MotD and shell prompt

I tried connecting from:
- local host - NO DELAY
- a host on the same subnet - delay exists
- a host on another subnet - delay exists

I've found the following suggestions but to no avail (of course I restarted sshd after changing its configuration):
- on server put "UseDNS no" at the end of /etc/ssh/sshd_config
- in /etc/hosts on the server define mappings between IP addresses and host names for the ssh clients
- on client use "GSSAPIAuthentication no" in /etc/ssh/ssh_config

Here are some logs and configurations:

View 5 Replies View Related

General :: Added HDD - Server Fails To Restart ?

Apr 27, 2010

I have a issue that could get me fired, so I would appreciate your input. My knowledge about linux is limited

The company I work for has a Dell Poweredge 6850 that keeps pretty much everything (databases, websites, etc).

The server had a Virtual Drive created from 2 Physical Drives. Since the HDD space was getting low, we got a new drive, inserted it, formatted and rebooted the system.

But the system now refuses to start, giving an FAILED message, something related to EXT2 partition that cannot be read at /dev/hda1.

View 2 Replies View Related

Debian :: Recompile Openssh-server With Different Version ?

Dec 26, 2009

I would like to recompile the openssh-server with a different version string. I download and compile the source, but so far I have only been able to compile and run the client. Not the server.

Steps taken:

Is there a flag or option I need to specify to insure that it creates the sshd?

View 1 Replies View Related

CentOS 5 Hardware :: Added HDD - Server Fails To Restart

Apr 27, 2010

I have a issue that could get me fired, so I would appreciate your input. My knowledge about linux is limited
The company I work for has a Dell Poweredge 6850 that keeps pretty much everything (databases, websites, etc). The server had a Virtual Drive created from 2 Physical Drives. Since the HDD space was getting low, we got a new drive, inserted it, formatted and rebooted the system. But the system now refuses to start, giving an FAILED message, something related to EXT2 partition that cannot be read at /dev/hda1

View 1 Replies View Related

Debian :: Enable Web Interface To Access Openssh-server On My Vps?

Feb 10, 2011

Is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?

View 1 Replies View Related

Debian :: Enable A Web Interface To Access Openssh-server?

May 31, 2010

is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?

View 3 Replies View Related

CentOS 5 :: Edit Bios - Compaq Evo 5.4 Web Server Fails To Restart From A Power Outage

Jun 7, 2011

I have a small problem on my Compaq Evo Centos 5.4 web server. The web server runs just fine, the problem is it fails to restart from a power outage. Simple edit the BIOS. No! For a reason I can't think of the keyboard stops working after a few key strokes following the F10 to enter BIOS setup. Then its a power cycle. If left to BOOT the PC and keyboard are fine. After hearing about viruses which get to the BIOS I will ask can NIX get that far so I can adjust the Power ON?

View 4 Replies View Related

Debian Configuration :: Booting Often Only After Third Restart?

Aug 17, 2011

My system is a three days old Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) with an Intel(R) Core(TM) i7 CPU 60 @ 2.80GHz. It does start, goes through the grub and then spits out strange messages and just freezes before the KDE can be started. I have to restart again, until it really boots everything. This is happening in a random pattern.

I activated bootlog, but as far as I can see, the log only tracks, if the system is really booting. So I also have the dmesg copied into pastebin. These are the only two logs I know, now.

The code of the boot log goes here-
Wed Aug 17 10:24:19 2011: Setting parameters of disc: (none).
Wed Aug 17 10:24:19 2011: Setting preliminary keymap...done.
Wed Aug 17 10:24:19 2011: Activating swap...done.

[Code].....

View 9 Replies View Related

Debian :: Lost Network Configuration After Restart

Aug 11, 2011

Some problems keep bothering me and dont let me use my debian sqeeze with joy.Im in network with no DHCP on. When installing i didnt configure my eth network card.After each restart i need to configure manually my eth because it loses it.

View 7 Replies View Related

Debian Configuration :: Rules With Ipset After Restart

Mar 8, 2016

I'm using Debian 8 and I have ipset v6.23 and iptables v1.4.21. I put a rule with ipset in rules.v4 file and then I restart the iptables with netfilter-persistent service. When I reboot the iptables list is empty. But if in the file I don't put a rule with ipset, after reboot the iptables list is correct.

View 4 Replies View Related

Debian Configuration :: Jessie - Service Samba Restart

Oct 20, 2014

I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.

Output of "systemctl status samba.service":

Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
   Loaded: loaded (/etc/init.d/samba)
   Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
  Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)

Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).

[Code] ....

Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.

View 2 Replies View Related

Debian Configuration :: Disable Apache2 Does Not Restart On Boot?

Apr 19, 2011

want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd

View 1 Replies View Related

Debian Configuration :: Restart From Suspend - How Can Autorun A Program?

Jul 12, 2011

Now Debian6 suspend and rstart is all ok!

Auto start a program with login is ok.

How to auto start a program with debian suspended and restart ?

Maybe with gdm3 or NIC....?

How can I catch a event to auto start my program?

View 1 Replies View Related

Debian :: How To Know Which Packages Update Required Restart

Apr 19, 2011

Sometimes when we update/upgrade packages we get the restart required icon on the desktop panel which means we need to reboot for the update to complete. Is there someway to know which or what package required the reboot to happen ?

View 4 Replies View Related

Debian Configuration :: Shutdown/restart Privileges Under Gnome On Squeeze?

Mar 14, 2011

in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?

View 7 Replies View Related

Ubuntu :: OpenSSH Does Not Seem To Respond To Configuration

Jan 7, 2011

I just setup Ubuntu 10.04, and immediately installed OpenSSH using synaptic. I edited the /etc/ssh/sshd_config file e.g. no password authentication, non-standard port, etc. Using /etc/init.d/ssh restart I restarted the daemon, and everything worked perfectly. However, now it's almost like there is a lock on my service somehow. I edited the config file and added "PrintMotd no" and "Banner none". I killed all my active ssh sessions, restarted, and still saw the motd and the banner.

I then tried sudo /etc/init.d/ssh stop. The script reported ok, but netstat reported sshd as still listening on the port I had defined. I could still login. At this point, I don't know what else to do. I have tried looking at auth.log, I don't see anything funny there. I tried rebooting, and the config changes are (apparently) not loaded, I still see the motd upon ssh login. This is a totally clean system so I don't know what I am doing improperly.

View 7 Replies View Related

Debian Configuration :: DHCP Client Don't Start With /etc/init.d/network Restart?

May 28, 2011

I installed the latest Debian on a computer to make a backup appliance. No GUI.When the computer starts, everything is okay. The DHCP client is running, the network interface have an address, fine.If I do a /etc/init.d/network restart (or stop + start), no more DHCP client. t is stopped when the interface is down. When the interface is up, I have to start it manually.1 - is it normal ?2 - isn't ifup's job to launch the dhcp client ?3 - can /etc/network/if-up.d be the right place to resolve this ?

View 4 Replies View Related

Debian Configuration :: File Share Unavailable From A Reboot Until Restart Samba

Jul 3, 2011

I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.

View 2 Replies View Related

Ubuntu Installation :: How To Update Openssh 4.7 To 5.5

Jun 7, 2010

I use Ubuntu 8.04 Server It uses OPENSSH 4.7 version I want to upgrade from OPENSSH 4.7 to OPENSSH 5.5 [URL]..Other Ubuntu releases have updated package Can I use this one The Maverick Meerkat OpenSSH 5.5p1-4ubuntu1

View 1 Replies View Related

Debian :: Openssh-server Doesn't Check Into "authorized_keys" File

Jul 22, 2010

I have two Debian 5 servers which running on both the same version of OpenSSH (5.1p1) and OpenSSL (0.9.8g).

One week ago, I set ssh keys on both of them and create the file "authorized_keys". I was able to connect on each server via SSH without password (which is the purpose of ssh keys) but I had an issue with the SSH service and I had to restart one of my server. And since this time, when I try to connect to my other server with the same ssh command, the command ask me to type the password...

This is the result of the ssh command (with the argument -v):

Code:
OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to MY_SERVER [1.2.3.4] port 22.
debug1: Connection established.

[Code]....

View 11 Replies View Related

Debian Installation :: 7.4 - WiFi Configuration Fails

Apr 8, 2014

I've been installing multiple versions of ubunutu over years and now I better understand why I faced always problems with wifi configuration on these different baselines : Debian root of course.

Now on Debian 7.4 :
The Broadcom BCM4313 driver is not loaded by default (not free product) for my wifi card. This is stated thru the UNCLAIMED declaration

Code: Select all 
sudo lshw -c network
 *-network UNCLAIMED
       description: Network controller
       product: BCM4313 802.11b/g/n Wireless LAN Controller
       vendor: Broadcom Corporation
       physical id: 0

[Code] ...

Unclaimed means : no driver found (no kernel association)

So I installed the driver located in the non-free backports by adding this target into the repository

Code: Select alldeb http://http.debian.net/debian/ wheezy main contrib non-free

and install :

Code: Select allsudo apt-get update && apt-get install firmware-brcm80211
sudo modprobe brcm80211

Check seems OK :

Code: Select allsudo lshw -c network

  *-network
       description: Wireless interface
       product: BCM4313 802.11b/g/n Wireless LAN Controller
       vendor: Broadcom Corporation
       physical id: 0

[Code] ....

I can't connect with wlan0, it doesn't work. I found information here regarding WPA2/PSK wifi configuration on debian : [URL] ....

so I added this setup to my interfaces file an got :

Code: Select allauto lo
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet dhcp
 wpa-ssid Hznteam-Datacenter
 # hexadecimal psk is encoded from a plaintext passphrase
 wpa-psk 12345678901234567890123456

It's worth ! no more wifi network are detected and ifconfig gives no ip address allocated :

Code: Select allwlan0     Link encap:Ethernet  HWaddr 78:e4:00:4e:49:a3 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[Code] ....

View 7 Replies View Related

Debian Configuration :: Xen - Qemu - Fails To Get Into Gnome

Jan 15, 2010

I've just installed lenny from dvd, and am just settling in. I'm curious about virtual machines. so I've installed xen. With xen comes qemu by default. Now the setup I've recently become familiar with is Suse-11 which is quite slick.In Suse, Yast provides a distribution prepared virtual management section for xen, including an installer. Debian's setup is similar but not a clone. I want to try out the installer. Aside from the differences, debian has a screaming deficit. On booting dom0 in Lenny, if fails to get into gnome, badly. I can tell what's probably wrong, but I need to fix it. Now I'm also a gentoo fan and very practised at posting queries, so here goes.

Debian's config for X is somewhat unhelpful. The xorg.conf just states Configured device and configured monitor for its components. If it expanded on just what the settings were it would help. What I have is a frambuffer driver not loadinf or being implemented.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved