Debian Configuration :: No Sshd On Startup (lenny)?

May 30, 2010

I tried recompiling a new kernel yesterday (2.6.34) on my debian sarge box, but I ran into multiple difficulties. These difficulties forced me to do a double dist-upgrade to lenny. The new kernel was (seemingly) compiled without any hiccups, and I ran dpkg -i on both the image and the header debs. They didn't install properly into grub, but I think I managed to fix that manually.Next thing I did was rebooting the server. It refused to come back up. Luckily my ISP has recovery tools, so I managed to switch back to the old kernel. It boots just fine with that kernel, but the problem is that there is no ssh daemon running! I can access it through ftp and do limited jobs through php, but nothing big, as I have no root access.Now, enough backstory. My question is: How can I install openssh-server onto the server remotely? I cannot access the server personally, as the server is in a completely different country.

View 14 Replies


ADVERTISEMENT

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

Debian :: Get GUI From Startup Login With Lenny?

Apr 14, 2010

I tried running a racing game I downloaded yeterday and the screen just went black and started flashing on and off occasionally for a minute. I rebooted the system and after an error free boot it asked for my login. My problem is that I login fine but only get a terminal prompt and no regular GUI screen...

View 2 Replies View Related

Debian :: Lenny Not Booting After Wrong Startup Script Added?

May 14, 2010

I added a script to start a service and Lenny wont boot anymore,its stuck at the point where the script is supposed to load. I used update-rd scriptname defaults I was trying to add NTLM Authorization Proxy Server, by adding a script

Code:

python /root/ntlmaps/main.py

This is the second time i am trying this, that last i did this i added a & at the end( this should send it to the background?) and it worked fine.I have mounted the root file system through live-cd, but iam not able to figure out how to undo this silly mistake of mine

Edit: I just managed to get the system back up. Looks like i was confusing /mnt/etc/init.d with /etc/init.d ...

I added the & to the end of the line, making it

Code:

python /root/ntlmaps/main.py &

I referred to [URL] while doing this exercise and apparently there should be some code for shutting down too, dont really know how to do that, on the command line i use kill 9 <PID>, but theres probably some other way for it here...

View 1 Replies View Related

General :: Debian Lenny Won't Startup Koha Daemons At Boot

Oct 11, 2009

I have installed Koha on Debian Lenny. It does work well, but I have to manually start the koha-zebra-ctl.sh by entering /usr/share/koha/bin/koha-zebra-ctl.sh start The is, however, that this starts at boot from /etc/init.d/koha-zebra-daemon. Like /etc/init.d/koha-zebra-daemon start (does not work now) In the koha-zebra-daemon file I have:

#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename

[code]....

I have made a symbolic link;

ln -s /usr/share/koha/bin/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon

I have tried checking whether the symbolic link exists with readlink, but this never seems to return anything anywhere.

View 6 Replies View Related

General :: Debian Lenny Won't Startup: Failed Code 126 - Permission Denied

Dec 12, 2010

I had debian lenny running smoothly for a while, then I think the power went out and the computer didn't shutdown smoothly. The next time I started it up I ran into this error: Checking root file system.../etc/rcS.d/S10checkroot.sh: line 274: /sbin/logsave: Permission deniedfailed (code 126)This happens in single user mode as well. I've tried fscking all my partitions but it doesn't help. I've booted in bypassing the normal init and changed the permissions of /sbin/logsave to 777 and during boot I get a message of: The file system check corrected errors on the root partition but requested that the system be restarted. failed!Then the system just reboots automatically without letting me to anything.

View 7 Replies View Related

Debian :: Grub Screen At Startup With Dual Boot Lenny And Karmic Koala

Feb 1, 2010

I have a laptop with Karmic Koala in dual boot with Lenny. I need to reinstall Lenny however if I do that I will loose Karmic Koala in the grub screen because of the new version of grub that comes with Karmic Koala. Which means that I will need to reinstall Karmic Koala after Lenny so that they both appear in the grub screen at startup. If I reinstall only Lenny is it possible to use Gparted to change the boot back to Karmic Koala and have them both in the grub screen again? Or is there another way around it?

View 10 Replies View Related

Debian Configuration :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Debian Configuration :: Save To Install Kernel 2.6.35.2 On Debian Lenny 5.0.5 Or Stick With Automatic Updates

Aug 20, 2010

is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...

View 14 Replies View Related

Debian Configuration :: Adding Compex ReadyLink NIC To Debian Lenny?

Nov 4, 2010

I have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).

lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-

1. Make Menuconfig
2. Loaded an alternate kernel config file (my working kernel config file)
3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)

I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-

ifup eth1
The error messages given are:-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

View 1 Replies View Related

Debian Configuration :: Sshd Service Never "really" Starts On System Boot

Dec 3, 2010

I'm not really sure what the problem is here, but sshd does seem to start on system boot. tty1 does list "OpenBSD Secure Shell server" at least. Also, # service --status-all; indicates that sshd is running, but if I try and actually ssh into my box, I get a "Connection refused" response.

I am, however able to restart the service manually and everything magically works again. Odd...?

View 1 Replies View Related

Debian Configuration :: Pxe Setup On Lenny

Feb 27, 2010

i am trying to get a pxe server working on a debian so other clients can boot off it. the problem has two parts.

1. getting the pxe working. so far the tftp part doesnt work. the client says tftp error. so i guess the dhcp portion is working, but theres something wrong with the /var/lib/tftpboot or the deamon config itself.
2. the other issue is that in the shop many system's have non-working disk drives. also many of them do not have a usb boot option in the bios. all i need to do is get the "bare" kernel file or grub(?) to boot over pxe and give me the ability to boot from a usb flash drive and load the rest of the linux files from there. my primary intention is NOT netinstall. although it wouldnt hurt. my intention is running a linux live usb on systems without bios usb boot support. ive read somewhere that a full pxe live boot requires nfs setup. i am asking for that, just so i can boot from a flash drive.

View 4 Replies View Related

Debian Configuration :: Lenny Will Not Boot With 2.6.30 Or .32

Mar 20, 2010

I have a lenny box:

Linux ulet 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux

In order to get a newer kernel that would recognize a linksys usb wifi adapter I got the advice to upgrade to a newer kernel - 2.6.30 or newer. Which I am able to get from backports.

But when I try with .30 or .32 my machine will not boot. I do have a raid, but it is only used for data files - I do not boot from it or have any system files on it.

First I get this error:

I have not resumed the machine so I have no idea what is going on. So I press ENTER:

View 14 Replies View Related

Debian Configuration :: Reinstall It As Per The The One On Lenny?

Apr 20, 2010

I managed to break my video4linux module rendering all my video devices useless, can anyone tell me how to reinstall it as per the the one on Lenny. I'm looking for the original one and not v4l2.

2.6.26-2-686 I have a presentation to do tonight and need it working for that.

View 3 Replies View Related

Ubuntu :: Can't Stop Sshd From Startup?

Jun 30, 2010

i installed it, but every time i start my system, sshd is running, but i can't find out where it's startup entry is located.Code:ls /etc/rc*.d | grep sshreturns nothing, which indeed is true, 'cause i removed the links from the runlevel directories. i checked the rc.local file which is empty and never added a line anywhere to start the ssh daemon explicit.i'm using the latest ubuntu with updates and everything (at least i think so). in my gnome startup application preferences the only thing related to ssh is the ssh key agent. but if i deactivate it, sshd still startsup.

Code:
sudo update-rc.d -f ssh remove
didn't helped either

[code]....

View 9 Replies View Related

Debian Configuration :: Wlan Really Slow Under Lenny

Jan 10, 2010

i use a telekom s100 set-top-box, which originally had a prism54 wlan-card. but wlan was very slow. but the driver was working well and it did not seem to be a configuration issue, so i assumed that its that card which is so slow. following i purchased a atheros based wlan-card which is working perfectly well with the ath5k driver of my linux kernel (2.6.26-1-686). but the connection is pretty bad anyway. i get max 300kb/s from pc to pc. as its the same with 3 different cards i tested in the s100 i assume it is a configuration issue? or might there be chipset or mini-pci-slot limitation?

when i check the connection with iwconfig the bitrate is somewhere between 1-54mb/s, rising to 54mb/s and then falls back to 1mb/s, rising to 54mb/s again, falling down, its an infinite loop. im using wpa_supplicant for the connection, but i don't think thats the malefactor. well, you never know .. i tried to set the bitrate with iwconfig wlan0 rate 54M but that ended in a disconnection ...

[Code].....

View 3 Replies View Related

Debian Configuration :: Lenny Or Sid As A Domain Controller?

Feb 18, 2010

Can Debian act as a Windows Domain Controller? I'm just curious because my boss recently tossed out some old servers and I grabbed them. They're good machines but I can't afford to pay $1000 for Server 2003 R2 just to setup a domain at my place and run Endpoint Protection and such. I've never used a domain setup in Linux before so I thought I'd ask and possibly try to, if Debian/Linux is capable of such a thing.

View 6 Replies View Related

Debian Configuration :: Deluge Installation On Lenny?

Feb 18, 2010

I have problem with installing Deluge. I did not find any manual how to install Deluge. And I wanna install deluge newest version, and that is on Debian testing packages. So how can I install Deluge from debian testing packages. I read a little bit Deluge forum and there I see, there is lot of problems with Deluge on Debian Lenny. And all I need is use Deluge from web interfaces, thats all. How could I set it up?

View 6 Replies View Related

Debian Configuration :: Configure The Postgresql In Lenny?

Mar 3, 2010

I've been trying to configure Postgresql in Debian for some time now, in order to install a ERP program in my computer, but when trying to follow the tutorial for the program configuration I end up stalled. Basically its says this:

1) under su, start by finding the postgresql.conf file (it points the location of the file in /var/lib/postgres/data, but it isn't there) and find the line saying 'tcpip_socket' and changing it to "true"

After a little search and help, I found this file in /etc/postgresql/<version>/main/ but the mentioned line is absent, locate it or tell me where to add it in the file? I've read the file front to back and I'm pretty sure the line isn't there.This is, according to the tutorial, to enable the server to connect to a Java program through the JDBC.

2) after editing postgresql.conf, edit pg_hba.conf and add the following line to the end of the file: host all all 127.0.0.1 255.255.255.255 trust

I get stuck after this, because I'm now supposed to restart the server by using '/etc/init.d/postgresql restart', but bash replies that the path is invalid. The program I'm trying to install is hosted here: [URL]. It's a portuguese ERP program.

View 3 Replies View Related

Debian Configuration :: Xen On Lenny Making Etch Vms?

Mar 16, 2010

Why is my Xen server (An up-to-date Lenny box) making Xen DomUs as Etch boxes? I run a command such as:

[Code]...

This is 100% replicable. I certainly never asked it to create an Etch VM! I cannot find anything in the docs to change this. And for the record, I did let it finish creating it, and it most definitely made an Etch box.

View 2 Replies View Related

Debian Configuration :: Lenny Won't Boot All The Way Without Monitor

Apr 16, 2010

I've got Lenny installed with the desktop environment included. Remote desktop has been activated and I can see Lenny's desktop on a second computer using VNC. When I disconnect the monitor from the first PC which is running on Lenny and start that one up it won't boot all the way and I cannot connect through VNC (connection refused).

Etch has no problem with that. When I connect a monitor to the stalling Lenny I read: Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?

What can I do to establish a full boot on Lenny so I can use VNC the way Etch (and other distros) allows me to? This has something to do with the autodetect system, I suppose. Could I tell X Server to ignore the fact no monitor is connected or could I fool X Server into believing there is a monitor?

View 3 Replies View Related

Debian Configuration :: Where Does Lenny Keep Kernel Source?

Apr 30, 2010

I am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.

1) Where does Lenny keep the kernel source?
2) Are the kernel sources from Debian and www.kernel.org the same?
3) If I want to download the kernel source manually, where do I get it from?

View 7 Replies View Related

Debian Configuration :: Lenny Cannot Survive Reboot

May 9, 2010

If I reboot my machine, the interface is down. How do I set the interface so it will start after I rebooted the machine?How do I do it in Debian?

View 3 Replies View Related

Debian Configuration :: Install A Package From Sid On Lenny?

May 11, 2010

however I am not looking to dist-upgrade, I merely want one package from Sid on my Lenny server. Namely, mantis (version 1.1.8 is in sid, 1.1.6 in main/stable)

View 2 Replies View Related

Debian Configuration :: Installing MySQL 5.1 In Lenny

May 17, 2010

I've been trying to install MySQL in Lenny via source binaries, following the instructions given on the MySQL official website[url]

But when i try to run the scripts/mysql_install_db --user=mysql command, doesn't work.

For the record, i'm particularly interested on installing MySQL with the generic source binaries.

View 1 Replies View Related

Debian Configuration :: Enable The Sound In Lenny?

Jun 30, 2010

I'm using Debian Lenny, the only problem that I have is that the sound card isn't recognize by the system, I have installed ALSA 1.0.20 and I followed several tutorials trying to enable my sound card (ATI tech Azalia (Intel HDA)but all tries fail.

So, after install another distro -debian based- in the same pc I figured out that the sound card is enable and running by default, the ALSA version is the same -1.0.20- but the kernel is different -2.6.31.xx- so my questions are:

1. do you recommend me to upgrade my lenny's kernel to fix the problem?

2. is there a way to upgrade specific packages -for example samba, alsa, kernel- using unstable or testing versions instead of upgrade the entire distro? actually I'm confortable with lenny

3. what configuration should I check in the "other" distro to use that parameters in lenny?

View 14 Replies View Related

Debian Configuration :: GCC Not Working In Fresh Lenny

Aug 13, 2010

I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:

wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gawk... (cached) mawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
wlff@debian:~/My_Apps/mpg321-0.2.12-1$

I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?

View 6 Replies View Related

Debian Configuration :: Disable IPV6 In Lenny?

Sep 25, 2010

Howto disable IPV6 in Lenny?

I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases

# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.

[Code]....

alias ipv6 offbut howto check after restart if ipv6 was loaded or not?

View 7 Replies View Related

Ubuntu :: Sshd Starts Manually But Not At Startup?

Dec 27, 2010

Not sure if this belongs here or in the upgrade forum but since the upgrade went OK I figured I would post this here. I come from a RedHat background and am not too familiar with the Ubuntu/Debian way of dealing with service startup so this may be simple. I was running 10.04 LTS on a Sony Vaio and did a distribution upgrade to 10.10. When running 10.04 LTS the sshd daemon started on boot and I was able to ssh into the PC. Now that did the update I can start the daemon using the command "sudo /etc/init.d/ssh start" but it doesn't start when the systems boots.

I even tried creating the entries in the /etc/rc.#.d directories like this:
/etc/rc0.d/K20ssh -> ../init.d/ssh
/etc/rc1.d/K20ssh -> ../init.d/ssh

[code]....

View 5 Replies View Related

Debian Configuration :: Missing Dependency For Headers-2.6.29 On Lenny?

Jan 13, 2010

Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?

View 14 Replies View Related







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