How To
Summary
I booted my server from ISO or network to install or upgrade SUSE Linux® Enterprise Server, and something went wrong. How do I collect logs from the wizard?
Objective
To collect support data, which can be sent to IBM for troubleshooting.
Environment
- SLES
- x86_64 architecture
Note: Some of the information on this page also applies to other architectures like s390x, ppc64, or ppc64le, but some of it is probably not applicable. In particular, using the Ctrl+Alt+F2 key combination might not work.
Steps
Saving the log file
- Press Shift+F8.
- Use the interface to save the Yast2 logs.
If the local disk is not yet mounted, then:
- Press Ctrl+Alt+F2 to switch to a text console.
- Use this command to list the available block devices:
lsblk - From the block devices, identify a suitable file system on the local disk. You might need to mount one or more of the devices and list the content.
- Mount your chosen device, for example:
mount /dev/sda2 /mnt -
Next, you can choose one of these methods to save the logs:
- Press Ctrl+Alt+F7 to switch back to the graphical console, and then use Shift+F8 again.
- Use this command:
/usr/sbin/save_y2logs y2logs.tgz
Transferring the log file to IBM Support
- If you can start the network services, you can use SCP or FTP to transfer the logs to a location from which they can be uploaded to IBM.
- Alternatively, if the server still boots normally, you can restart it and then transfer the files off the server.
- You can upload the file to your IBM Support case here:
https://www.secure.ecurep.ibm.com/app/upload_sf
Additional Information
The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a worldwide basis.
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SGMV168","label":"SUSE Linux Enterprise Server"},"Component":"SLES","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
Modified date:
01 April 2021
UID
ibm11136116