Pxe Debug

Good morning

I wanted to ask if someone can enlighten me in how to debug the pxe service. I have a pxe server that serves some images of linux flavors, the server is working fine in regards to the direct text and graphical installations. I have also some opensuse distro's that should be installable via ssh and vnc, if I am trying to perform this, nothing is loading anymore after the ready status(respectively after the kernel and initrd is loaded). the options for starting the ssh install are ssh=1, sshpassword=blabla, console=ttyS0,57600 and off-course initrd.

I verified the tftp server logs, everything is looking normal, the same as when the x11 or text installations that work perfectly, firewallis off. dhcp is offering an IP.

Is there some way to debug this issue, I have tried to find something on google but with no luck.

pxe server distro is opensuse 12,3

Thanks in advance.


Similar Content



"Invalid Magic Number" When Loading Initrd Into GRUB Prompt Bootloader

Hi, I'm pretty new to Linux.

I'm currently working on a project in my Linux Administration class, but have run into a bit of a bump.

I'm tasked with booting Linux (currently using CentOS 7) through the GRUB prompt. I've loaded the kernel, but I'm having an issue with the initrd.

I've tried both of these commands:
"linux /boot/initrd-plymouth.img"
"linux /boot/initramfs-3.10.0-123.el7.x86_64.img"

Neither of these commands have worked. It only returns the message "invalid magic number" for both of the commands. Any ideas on how I can fix this?

Thanks for any help in advance. It should help me understand Linux better!

Home Server Setup Recommendations

Hi Guys & Girls

I'm planning to reuse my old hw for a home server based on debian.
I want to provide my lan with 4 to 5 services like router/dhcp, tftp, pxe/fw, nfs-server, media-server, clonzilla-server, squid-dansguardian and eventually later on a small mta/webmail, horde solution.

How would you set this up?

An all-in-one machine running natively on the hw or separate vms @ kvm?
I would also like to have a stable and good manageable backup architecture, like using a central clonezilla server instance to pick up everything from the other services.

Greetings and thanks a lot

vi

Looking For A Distro For A Web Server

Im looking for a distro for a web server (Apache).

Ive always used Ubuntu but I didnt think it was the best for the job so I looked around and found CentOS.

CentOS is great, really simple to use but I wanted the latest and greatest.

Im getting replies that CentOS is about stable and I cant put the latest so I see now that distro is not for me.

Im looking for a distro that is simple to setup to run a small website off of (no big traffic, if any) and with the latest possible to be installed. It will probably be Wordpress. What distros do you guys recommend that I can run cutting edge web server technology (talking Apache 2.4.12, MySQL 5.6.24, PHP 5.6.8, etc.) and upgrade as soon as a new version comes out.

Change Default Crypto Loaded Algorithm

I figured out there is a possibility that I can change the algorithm in the built-in cryptor, in the openSUSE install. The default algo loaded is AES and I want to change it to Twofish. I saw a post in gentoo's forums where it seems to be possible, although I don't know if I can do the graphic install after it nor how to procceed.

The command would be similar to:

Code:
cryptsetup -y --cipher twofish-cbc-essiv:sha512 --key-size 256 luksFormat /dev/sda3

What should I do? How to install the system afterwards? (with graphical install). Also, is there a way to check the encryption description after the system install?

I want to install openSUSE 12.3

500 Internal Server Error When Using The Mod_rewrite

Hello.

I have such links in a web site

/post.php?id=14
/cat.php?t=y&cid=6666

and i create an .htaccess file with that content inside.

Code:
Options +FollowSymLinks 
RewriteEngine On 
RewriteRule ^([^/]*)$ /post.php?id=$1 [L] 
RewriteRule ^([^/]*)/([^/]*)$ /cat.php?t=$1&cid=$2 [L]

but on refresh, apache returns 500 Internal server error.

I looked on logs and found that :
Quote:
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
Why that happens ? Mod_rewrite is enabled in httpd.conf.

Help On Rndc. Want To Control Remote Bind Server, But Cant....

Hi All,

Please help me. I'm following the book - ' DNS and BIND, 5th Ed By Paul Albitz, Cricket Liu '. This RNDC is driving me crazy. I spent all day trying to configure rndc. Tried every possible combination in config files, but I just cant control remote server. Tried many tutorials from google, nothing helped. LQ is my last hope.

So, my story goes like this...

MASTER BIND SERVER:
Host: toystory.movie.edu
IP: 10.249.249.3/24
OS: CentOS 7.1

SLAVE BIND SERVER:
Host: wormhole.movie.edu
IP: 10.249.249.2/24
OS: CentOS 6.6

MASTER SERVER (toystory) CONFIGURATION FILES:
Code:
[root@toystory ~]# cat /etc/rndc.conf
key "toystory-key" {
	algorithm hmac-md5;
	secret "K9qBsQwusP6430cykS2AeA==";
};
options {
	default-key "toystory-key";
	default-server 127.0.0.1;
	default-port 953;
};

[root@toystory ~]# cat /etc/named.conf
key "toystory-key" {
	algorithm hmac-md5;
	secret "K9qBsQwusP6430cykS2AeA==";
};
controls {
	inet 127.0.0.1 port 953
		allow { 127.0.0.1; } keys { "toystory-key"; };
};
key "wormhole-key" {
	algorithm hmac-md5;
	secret "7PvoY3oysQz8DyASiUTlNA==";
};
controls {
	inet 10.249.249.3 port 953
		allow { 10.249.249.2; } keys { "wormhole-key"; };
};

SLAVE SERVER (wormhole) CONFIGURATION FILES:
Code:
[root@wormhole ~]# cat /etc/rndc.conf
key "wormhole-key" {
	algorithm hmac-md5;
	secret "7PvoY3oysQz8DyASiUTlNA==";
};
options {
	default-key "wormhole-key";
	default-server 127.0.0.1;
	default-port 953;
};

[root@wormhole ~]# cat /etc/named.conf
key "wormhole-key" {
	algorithm hmac-md5;
	secret "7PvoY3oysQz8DyASiUTlNA==";
};
controls {
	inet 127.0.0.1 port 953
		allow { 127.0.0.1; } keys { "wormhole-key"; };
};
server 10.249.249.3 {
  keys { "wormhole-key"; };
};

TESTING:

MASTER (toystory):
Code:
[root@toystory ~]# rndc status
version: 9.9.4-RedHat-9.9.4-18.el7_1.1 <id:8f9657aa>
CPUs found: 1
worker threads: 1
UDP listeners per interface: 1
number of zones: 104
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

[root@toystory ~]# rndc -s wormhole.movie.edu status
rndc: connect failed: 10.249.249.2#953: connection refused

SLAVE (wormhole):
Code:
[root@wormhole ~]# rndc status
version: 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.2
CPUs found: 1
worker threads: 1
number of zones: 22
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

What I'm doing wrong? Please Help!!!

Thanks

Kdebug PPPd Option Is Not Logging Into /etc/syslog To Log The Kernel Level Raw PPP

Hello

I am trying to log the Kernel level PPPd raw PPP messages (version 2.4.2) using Linux kernel 2.6.x to the /etc/syslog or /var/log/messages but the logging is not enabled for some reason.

I pass the kdebug 7 or kdebug 31 to the PPPd using /etc/ppp/options but the Kernel level debug logs are not shown in /proc/kmsg or using klogd or syslogd.

Can anyone please help me to fix this. What might be the problem?

Please reply..

Thanks,
Rakesh

Please Help Me To Start My DNS Server Logging.

I am facing problem in enabling the DNS Log making in named.conf file.
My /etc/named.conf file structure is as follows:
-------------------------------------------------------------
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; 10.40.124.2; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 10.40.124.2; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "/var/log/named.run";
severity dynamic;
print-time yes;
};

channel queries_channel {
file "/var/log/queries.log";
severity dynamic;
print-time yes;
print-severity yes;
};
channel security_channel {
file "/var/log/security.log" versions 3 size 5m;
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};

channel update_security_channel {
file "/var/log/updates.log" versions 3 size 5m;
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};

channel dnssec_channel {
file "/var/log/dnssec.log" versions 3 size 5m;
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};

channel xfers_channel {
file "/var/log/zone_transfers.log" versions 3 size 5m;
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};

category queries { queries_channel; };
category security { security_channel; };
category update-security { update_security_channel; };
category dnssec { dnssec_channel; };
category xfer-out { xfers_channel; };
};
zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
----------------------------------------------------------------
My DNS Server works fine. Only it cannot make the log.
when I will run this command:
#dig -x 10.40.124.2
the result comes fine but the log is not make in /var/log/queries.log file.
The named is running without chroot enviroment.
Please help me in solving this.

PXE Won't Boot

Hello.

I don't know if this forum is the correct one to ask about this problem. Feel free to move it to another forum.

I am running PelicanHPC, a Debian-live based clustering distro.
It sets up a DHCP server, and offer PXE boot to other machines in a network.
I have switch off the DHCP server in my router.

Problem is that when I boot from this computer through the network, it displays a message for a split of a second: Succeed download. I guess that it is downloading the NBP correctly. But then, it's just returning to BIOS and/or booting my OS normally.

The other computer is offering a non-EFI image, and this computer boots: UEFI: PXE IPv4. Maybe there is a mismatch, but I have no idea on how to fix this.

What can I do to boot it correctly?

If you need more information, just ask me about it.

Thank you

Wireless Mouse And Wireless Keyboard Is Not Working In Linux Distro's

Wireless mouse and wireless keyboard is not working in Linux distro's.

Read the similar threads on this issue. Boot mode is set for UEFI and Legacy therefore not sure what to do to enable mouse and keyboard? The mouse and keyboard use the same 'receiver' and the receiver indicator is green when Linux distro is fully loaded. Have tried various distro's, Ubuntu, and Ubuntu based distro's using LIVE DVD method on all. Latest distro tried is Peach 14.04.1 TW.40 64 bit. Motherboard is a Gigabyte GA-990FXA-UD3, CPU AMD FX6300 3.5 Ghz six core.

Thanks for any assistance.

jmwrocky