LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-29-2011, 06:29 AM   #1
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Rep: Reputation: 22
Smile Logging to a Remote System During the Installation


I am trying to set up a pxe install server for some fedora releases. I want to send log messages during the installation to a remote system.

According to the fedora's documentations, there are two ways to do that:
http://docs.fedoraproject.org/en-US/...e-logging.html
http://docs.fedoraproject.org/en-US/...2-options.html

Both of them work perfectly with Fedora 12, (I can install it and send log messages to a remote machine.) But none of them work with Fedora 13, 14, 15; remote logging doesn't work when I try to install these Fedora releases. I use same configuration for all of them (except for paths to installation repos).

All kickstart files are like this one:
Code:
install
url --url="ftp://192.168.31.1/Fedora/12/i386"
lang en_US.UTF-8
keyboard us
network  --bootproto=dhcp --device=eth0 --onboot=on
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
firewall --service=ssh
logging --host=192.168.31.1 --port=514
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
and all boot options are like this:
Code:
/linux/fedora/12/i386/vmlinuz initrd=/linux/fedora/12/i386/initrd ks=ftp://192.168.31.1/ks12
What's the problem?
 
Old 05-29-2011, 01:17 PM   #2
karthik3152
LQ Newbie
 
Registered: May 2011
Posts: 10
Blog Entries: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by Ashkan_s View Post
I am trying to set up a pxe install server for some fedora releases. I want to send log messages during the installation to a remote system.

According to the fedora's documentations, there are two ways to do that:
http://docs.fedoraproject.org/en-US/...e-logging.html
http://docs.fedoraproject.org/en-US/...2-options.html

Both of them work perfectly with Fedora 12, (I can install it and send log messages to a remote machine.) But none of them work with Fedora 13, 14, 15; remote logging doesn't work when I try to install these Fedora releases. I use same configuration for all of them (except for paths to installation repos).

All kickstart files are like this one:
Code:
install
url --url="ftp://192.168.31.1/Fedora/12/i386"
lang en_US.UTF-8
keyboard us
network  --bootproto=dhcp --device=eth0 --onboot=on
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
firewall --service=ssh
logging --host=192.168.31.1 --port=514
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
and all boot options are like this:
Code:
/linux/fedora/12/i386/vmlinuz initrd=/linux/fedora/12/i386/initrd ks=ftp://192.168.31.1/ks12
What's the problem?

HI i am not pretty sure about the problem whether you are trying ftp,ssh or rsh for remote logging.
I think you may check the ssh configuration file in /etc/.ssh ,may be the default options are different across the different releases of fedora.


If you are using ssh i think you may use this link useful
<link removed>

Last edited by michaelk; 06-05-2011 at 04:55 AM.
 
Old 05-29-2011, 03:03 PM   #3
Ashkan_s
Member
 
Registered: Jul 2008
Distribution: Fedora
Posts: 77

Original Poster
Rep: Reputation: 22
Maybe my explanations were incomplete and not clear enough.


I have only one pxe server running Fedora 14. I want to use it to install Fedora 12, 13, 14, 15. Remote logging will work only if I try to install Fedora 12. When I am installing other above-mentioned releases, the server receives no log messages.

Anaconda uses syslog for remote logging. It sends log messages during the installation to the specified host.
 
  


Reply

Tags
anaconda, fedora, logging


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging into a remote server anaigini45 Linux - Newbie 5 01-03-2010 06:56 AM
syslog-ng trying for remote logging sir-lancealot Linux - Server 0 06-26-2009 11:03 AM
remote logging linuxboy69 Linux - Software 3 02-25-2004 04:30 PM
Remote logging? Inexactitude Linux - Networking 5 11-23-2003 02:02 PM
Remote logging sts_cat Linux - General 2 04-30-2002 08:26 PM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration