Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] Stuck at Starting Hostname Service...
- DeadTOm76
- Posts: 54
- Joined: 2017-09-22 15:36
- Location: USA
- XMMP/Jabber: deadtom@deadtom.me
[Solved] Stuck at Starting Hostname Service...
This is after a fresh installation of Debian Bullseye, the system hangs at "Starting Hostname Service..." with no errors.
If I ctrl-alt-F5 and log into the console, and try a "systemctl start hostname", it returns "unit hostname.service not found".
Any idea where I go from here?
If I ctrl-alt-F5 and log into the console, and try a "systemctl start hostname", it returns "unit hostname.service not found".
Any idea where I go from here?
Last edited by DeadTOm76 on 2023-01-07 01:40, edited 1 time in total.
- donald
- Debian Developer, Site Admin
- Posts: 1093
- Joined: 2021-03-30 20:08
- Has thanked: 188 times
- Been thanked: 244 times
Re: Stuck at Starting Hostname Service...
Typo perfectionish.
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
- DeadTOm76
- Posts: 54
- Joined: 2017-09-22 15:36
- Location: USA
- XMMP/Jabber: deadtom@deadtom.me
Re: Stuck at Starting Hostname Service...
Yes, verified that the correct hostname is in /etc/hostname and /etc/hosts. Should I run the command anyway?
- DeadTOm76
- Posts: 54
- Joined: 2017-09-22 15:36
- Location: USA
- XMMP/Jabber: deadtom@deadtom.me
- donald
- Debian Developer, Site Admin
- Posts: 1093
- Joined: 2021-03-30 20:08
- Has thanked: 188 times
- Been thanked: 244 times
Re: Stuck at Starting Hostname Service...
When you run hostnamectl from the command line does it respond with hostname, icon-name and so forth?
Looks like this:
Looks like this:
Code: Select all
donald@domaster ~ $ hostnamectl
Static hostname: domaster
Icon name: computer-laptop
Chassis: laptop
Machine ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Boot ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Architecture: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Typo perfectionish.
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
- DeadTOm76
- Posts: 54
- Joined: 2017-09-22 15:36
- Location: USA
- XMMP/Jabber: deadtom@deadtom.me
-
- Global Moderator
- Posts: 2715
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 201 times
Re: Stuck at Starting Hostname Service...
This suggest you getting a prompt, and what does it list as the domain?
Is the hang on "Starting Hostname Service..." or perhaps the following line returning the status of an interface. I'd expect a 'fail to raise' error on the next line. Have you waited for a timeout?
- DeadTOm76
- Posts: 54
- Joined: 2017-09-22 15:36
- Location: USA
- XMMP/Jabber: deadtom@deadtom.me
Re: Stuck at Starting Hostname Service...
Fixed it by adding "nomodeset" to Grub.
Finally up and running.
Thanks!
Finally up and running.
Thanks!
- donald
- Debian Developer, Site Admin
- Posts: 1093
- Joined: 2021-03-30 20:08
- Has thanked: 188 times
- Been thanked: 244 times
Re: [Solved] Stuck at Starting Hostname Service...
Ahhh, good fix. Please add a [solved] to the thread subject to help future searchers. Thank you.
Typo perfectionish.
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: [Solved] Stuck at Starting Hostname Service...
No, "nomodeset" is never a good fix and is merely a workaround which degrades graphic resolution and performance because it disables kernel mode-setting and acceleration.
What is or are the GPU(s) ?
Are they supported by the running kernel ?
If AMD/ATI Radeon, is the package firmware-amd-graphics installed (required) ?
If Intel or Nvidia and using the driver "nouveau", is the package firmware-misc-nonfree installed (may help) ?
What is or are the GPU(s) ?
Code: Select all
lspci -nnkd ::0300 ; lspci -nnkd ::0302 ; lspci -nnkd ::0380
If AMD/ATI Radeon, is the package firmware-amd-graphics installed (required) ?
If Intel or Nvidia and using the driver "nouveau", is the package firmware-misc-nonfree installed (may help) ?
- DeadTOm76
- Posts: 54
- Joined: 2017-09-22 15:36
- Location: USA
- XMMP/Jabber: deadtom@deadtom.me
Re: [Solved] Stuck at Starting Hostname Service...
I wondered about this, and continued to have graphics problems after this.p.H wrote: ↑2023-01-07 11:29 No, "nomodeset" is never a good fix and is merely a workaround which degrades graphic resolution and performance because it disables kernel mode-setting and acceleration.
What is or are the GPU(s) ?Are they supported by the running kernel ?Code: Select all
lspci -nnkd ::0300 ; lspci -nnkd ::0302 ; lspci -nnkd ::0380
If AMD/ATI Radeon, is the package firmware-amd-graphics installed (required) ?
If Intel or Nvidia and using the driver "nouveau", is the package firmware-misc-nonfree installed (may help) ?
I'm using an AMD Radeon RX 6600.
Code: Select all
12:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [1002:73ff] (rev c7)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:5022]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
So far, so good.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: [Solved] Stuck at Starting Hostname Service...
It appears that this GPU is not supported by kernel 5.10.
Code: Select all
/sbin/modinfo -k 5.10.0-20-amd64 -F alias amdgpu | grep 'pci:v00001002d000073FF' || echo 'no match'
PS: No need to quote the whole previous post.
- donald
- Debian Developer, Site Admin
- Posts: 1093
- Joined: 2021-03-30 20:08
- Has thanked: 188 times
- Been thanked: 244 times
Re: [Solved] Stuck at Starting Hostname Service...
I looked into this last night and found most complaints and fixes around this were Nvidia card users, good to knowledge that it is the GPU and not just a brand of card.p.H wrote: ↑2023-01-07 20:36It appears that this GPU is not supported by kernel 5.10.returns no match.Code: Select all
/sbin/modinfo -k 5.10.0-20-amd64 -F alias amdgpu | grep 'pci:v00001002d000073FF' || echo 'no match'
Typo perfectionish.
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: [Solved] Stuck at Starting Hostname Service...
Thinking twice, nomodeset should not have any effect if no KMS driver is available for this GPU...