LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Logging to a Remote System During the Installation (http://www.linuxquestions.org/questions/fedora-35/logging-to-a-remote-system-during-the-installation-883319/)

Ashkan_s 05-29-2011 06:29 AM

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?

karthik3152 05-29-2011 01:17 PM

Quote:

Originally Posted by Ashkan_s (Post 4370039)
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>

Ashkan_s 05-29-2011 03:03 PM

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.


All times are GMT -5. The time now is 04:41 AM.