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:
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.
Just to set the scene, I'm not a Linux expert, but am learning the hard way! I have a 6 server cluster that needs upgrading (this includes quite a few of our own packages), and am currently working on a spare server. Lenny is now installed, and my next problem is that libapache-template-perl doesn't seem to exist in Lenny. So, is there a definitive list of 'replacement' packages, if not what can I do about this one.
I'm trying to upgrade a Debian Etch box to Lenny. I've opened /etc/apt/sources.list, did a global replace etch->lenny. Then I did "apt-get update" as root. After some activity, I got the following message:
W; GPG error: http://security.debian.org lenny/updates Release: the following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxx And then another error of the same nature for the different, FTP site. Then it said I might to run apt-get update to correct that.
<Big Red Flashing Sign that reads, "NEWBIE with two Linux books and very little brain"> I just installed Sarge from a CD onto an old PC and ended up with Debian Linux 3.1, Kernel 2.4.
PC Specs: Spacewalker Mainboard (AK31V3.1) SocketA AMD Athlon/Duron Processor based DDR Main Board 2x 256MG DDR DIM Q 350w power supply NVIDIA GeForce AGP8X 6200 Graphics Card 256 MB RAM Award Modular Bios v6.00PG 12/05/2003 LG Monitor USB Mouse, Standard keyboard
I did not configure any servers or do any package selections but did manage to get the internet connection working (actually Debian managed that all by itself). I'd like to "upgrade" to Lenny.
Do I need to upgrade to Etch first or can I go straight to Lenny? At what point do I "upgrade" the kernel (before upgrading to Etch/Lenny? After?)
I'm trying to upgrade an etch system to lenny, I've updated my sources list to lenny and ran apt-get update. When I try apt-get install apt
apt-get install apt I get the following:
Reading package lists. Done Building dependency tree. Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation:
The following packages have unmet dependencies. apt: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch10+b1 is to be installed Depends: libstdc++6 (>= 4.2.1) but it is not going to be installed E: Broken packages
if I try apt-get install apt libc6, it wants to upgrade a whole heap of packages - will this be a safe thing to do ?
I've been upgrading a bunch of our servers from sarge to etch and then to lenny, on two of these servers, cron has broken, cronjobs will not run. On another two (that have no significant differences from the others) cron is unaffected I created a simple job to run while I was testing
*/1 * * * * root /usr/local/mailtest-1 in the script is echo test mail from busted server | mail -s "test mail from your busted server" [URL]. and that runs fine if I run it manually, I've added it into /etc/crontab and crontab -e but haven't got a single mail from it. The cron service is running
I tried apt-get remove --purge and then a re-install but it doesn't seem to have worked. All the logs have stopped rotating as well so I'm starting to think that maybe it's not a fault with cron but with some other service that it depends on. However, I've not been able to figure out what that might be.
Testing an upgrade Etch>Lenny 5.08, and one issue I've found is that "sudo konqueror" in a teminal no longer gives root priveleges, instead konqueror starts with limited rights. It also seems that using a .desktop shortcut, an attempt to run konqueror under any credentials other than the logged-on user fails.
Yet, 'sudo kwrite' works. Anyone met this before, or know why?
On my debian web server I curently have ImageMagick 6.3.7 08/07/09 Q16 since this is an old version of imagemagick i wanted to upgrade my system that still runs etch, and afterwards upgrade imagemagick. I can not see what version the current lenny imagemagick package has, but I assume it is newer then 6.3.7, no?
When i ugraded I found out that my apt-sources used stable rather than etch. So I already had a mix of lenny and etch I suppose. I then had > cat /etc/debian_version 4.0 Before I upgraded I changed my apt sources from stable to etch, updated the package-tools and did a dist-upgrade (for details, I followed these instructions). After restarting I have still 4.0 as debian version. Also uname -r is 2.6.17. How can I do a correct update?.
Also my services were not started (ftp,ssh, apache2), so I asked my hoster to start the ssh service. This morning everything was up again, but it seems like nobody there have had a look at this. How do I absolutely ensure that my ssh service is start at boot. It is a remote webserver, so I need at least this service to be running.
I am running a server that has Etch on it. I have only recently been given this responsibility as I am the "IT-guy". I am running postifx, squid, shorewall, courier, samba and other things. The network has about 75 users with emails and data. I do not want to do anything that would risk their data and emails getting lost.
Is it still recommended that I upgrade to Lenny and then Squeeze?
We are running on a debian lenny 5.0.5 server and we would like to upgrade our hadware with this card :
Apparently the AAc drivers [URL] should allow us to make a material raid 5 with this card. (I hope installing the drivres after/during the installation will be enough and we will not hae to compile the os with it !) Though after searching for days the entire web i couldn't find any feedback on how runs this card with a debian lenny ? confirm us that it WILL run smoothly on a debian 5.0.5 ? If not, well .. we are trying to make a material raid 5 with 4 SATA II HD on a server without PCI-X port (only express 16x 8x 4x 2x 1x. us a robust raid controler that is assured to run fine with debian lenny ?
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>
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
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.
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 ...
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.
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?
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.
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?
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?