Linux unknown user id

Содержание
  1. Linux Mint Forums
  2. Random getpwuid_r(): failed due to unknown user id (0)
  3. Random getpwuid_r(): failed due to unknown user id (0)
  4. unable to chown a directory recursiverly «unknown user id»
  5. 1 Answer 1
  6. You must log in to answer this question.
  7. Related
  8. Hot Network Questions
  9. Subscribe to RSS
  10. Linux Mint Forums
  11. GLib-WARNING **: getpwuid_r(): failed due to unknown user id
  12. GLib-WARNING **: getpwuid_r(): failed due to unknown user id
  13. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  14. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  15. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  16. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  17. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  18. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  19. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  20. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  21. GLib-WARNING **: getpwuid_r(): failed, Is critical
  22. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  23. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  24. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  25. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  26. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  27. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  28. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  29. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use
  30. Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Linux Mint Forums

Random getpwuid_r(): failed due to unknown user id (0)

Questions about other topics — please check if your question fits better in another category before posting here

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Random getpwuid_r(): failed due to unknown user id (0)

Post by antimatter » Tue Nov 08, 2011 9:45 am

Hello,
I’m sorry for starting another discussion about this bug, but as the other discussions context do not match, it felt legitimate to start a new one.

As the thread title already mentions, I am getting this error message a lot lately. But it doesn’t happen during boot, shutdown, awakening from or suspend to disk. The system is always up and running for a while (30+ minutes) and in the middle of my work the screen goes black and on top there’s this message:

GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

There’s also a process id included at the front, but this is always different.
My user id is 1000. I checked by issuing the ‘id’ command.

This problem is quite serious for me, because the following does not work, when the error occurs:
— Ctrl+Alt+Backspace
— Ctrl+Alt+Del
— Ctrl+Alt+Fx
— Ctrl+C
— Alt+F4
— Any other shortcut, I can remember

Mouse freezes too. The only thing I can do is forcing the machine to turn off by holding the power button pressed.
This problem happens once or twice a weed the machine wasn’t doing any exotic operations. I was reading a document, surfing the web or nothing at all (idle).
The machine is a HP Probook laptop, model 6450b. I’m running Mint 10 64-bit.
I switched to Mint in March this year and reinstalled it a few weeks ago. Before the reinstall, which I didn’t do any different compared to March, I never had this problem.

Any help will be much appreciated. If you need further information about the system, just ask.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Источник

Читайте также:  Google drive установить linux

unable to chown a directory recursiverly «unknown user id»

I trying to chown the directory for changing the permissions of the directory. But it shows some error as unknown user id I tried to chown using the command : chown -R www-data [directory name] it shows the error as unknown user id www-data How to get rid of this.

I’m guessing you’re using a guide for a Debian-based distro which has a www-data user, except you’re trying to use the guide on a distro that doesn’t have that user. Please point to the guide and tell us what distro you’re using.

yes, you are true. I’m using Debian-based distro, actually this problem occurred in webdesigning in drupal. I couldn’t get write permissions for a directory.

If you’re using a Debian-based distro, you should have a www-data user. I’d figure out why you don’t.

1 Answer 1

Your problem is simple, that user/id doesn’t exist:

$ chown adsfadsf files chown: invalid user: ‘adsfadsf’ 

Verify the user exist and try again.

You must log in to answer this question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.12.43529

Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Linux Mint Forums

GLib-WARNING **: getpwuid_r(): failed due to unknown user id

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

GLib-WARNING **: getpwuid_r(): failed due to unknown user id

Post by Sadeck » Fri Mar 04, 2011 10:36 am

I get this error when shutting down and booting Linux Mint 10.

GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

Is this error serious, will it get worse and how do I get rid of it?

Intel Pentium Dual Core 2.0GHZ T4200 HP Pavillion Laptop DV6-1225EI
ATI RADEON HD4530 graphics card with 512MB dedicated and 1750MB shared
320GB HARDRIVE
4GB RAM
WIFI
BLUETOOTH
HDMI
5-1 DIGITAL MEDIA READER

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 » Fri Mar 04, 2011 10:44 am

tdockery97 Level 14
Posts: 5058 Joined: Sun Jan 10, 2010 8:54 am Location: Mt. Angel, Oregon

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by tdockery97 » Fri Mar 04, 2011 10:55 am

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 » Fri Mar 04, 2011 11:05 am

Читайте также:  Rofi linux что это

tdockery97 Level 14
Posts: 5058 Joined: Sun Jan 10, 2010 8:54 am Location: Mt. Angel, Oregon

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by tdockery97 » Fri Mar 04, 2011 11:27 am

Exactly. If you wade through the huge number of posts in the Ubuntu forums that are referenced in a Google search, there is a patch that will supposedly fix the warning message.

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by DrHu » Fri Mar 04, 2011 3:17 pm

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by Kendall » Fri Mar 04, 2011 3:29 pm

It’s non-critical and hasn’t caused any issues for either of the editions I build here, or for Pepeprmint. Remember that it’s just a warning, and warnings don’t mean anything is «wrong» per se. From my early looking, it appears the warning is present in the 11.04 builds as well.

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by Sadeck » Sun Mar 06, 2011 4:33 pm

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 » Sun Mar 06, 2011 4:35 pm

GLib-WARNING **: getpwuid_r(): failed, Is critical

Post by dante19992 » Mon Mar 07, 2011 2:04 am

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by BigSteve_G » Mon Mar 07, 2011 5:39 pm

So are the packages used in LMDE more stable then the ones in Ubuntu based Mint? because I thought the packages were from the Romeo repository & so things were the other way around?

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 » Mon Mar 07, 2011 9:27 pm

So are the packages used in LMDE more stable then the ones in Ubuntu based Mint? because I thought the packages were from the Romeo repository & so things were the other way around?

I believe most of your LMDE packages (if not all of them) come from debian repositories. I havn’t used LMDE in a while but that was how it was when I did

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by llogg » Tue Mar 08, 2011 7:29 pm

Forcing the install of the latest version of plymouth for ubuntu solved the issue for at least one mint user:
http://forums.linuxmint.com/viewtopic.php?f=90&t=64980

I haven’t done it because it simply slows down the recovery from sleep and has never caused a reboot or freeze, and I’m afraid forcing the install of ubuntu’s plymouth version might have unintended consequences.

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by maxfac » Fri Apr 22, 2011 10:35 am

Same issue here. I am using:

Julia
Samsung N210 — Intel GMA 3150.

The message can be seen during shutdown and when resume from suspend. I was so annoyed that I clean reinstalled 3 times (from Live USB) and burnt it ‘fresh’ on USB everytime through unetbootin — Still no luck.

It seems the warning message doesn’t affect some people though. And sudo dpkg-reconfigure plymouth didn’t seem to do anything either.

Must be someone out there who knows what is going on?

AlbertP Level 16
Posts: 6701 Joined: Sun Jan 30, 2011 12:38 pm Location: Utrecht, The Netherlands

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by AlbertP » Fri Apr 22, 2011 10:59 am

It’s a bug in the Plymouth boot splash (the Linux Mint logo during boot). You can disable Plymouth by replacing ‘splash’ with ‘nosplash’ in /etc/default/grub in the CMDLINE_LINUX_DEFAULT line, and then turning off splash in Startup Manager (somewhere in the menu). You will get a boot screen without Mint logo, just some text you possibly won’t understand, but it works.

Читайте также:  Установка дополнительных пакетов linux

Image

Registered Linux User #528502

Feel free to correct me if I’m trying to write in Spanish, French or German.

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by maxfac » Sat Apr 23, 2011 2:51 pm

Thanks a lot. It did solve the problem. What I did was just to remove ‘quiet splash’ as this is = ‘nosplash’. The Glib warning is no longer there. I wonder if there is an update for linux mint. As I understood it, the Ubuntu users have similar issues, and a fix update has been released, here > https://launchpad.net/ubuntu/+source/pl . 2ubuntu5.1

I am tempted to apply that update but don’t want to end up having Ubuntu splash screen.

AlbertP Level 16
Posts: 6701 Joined: Sun Jan 30, 2011 12:38 pm Location: Utrecht, The Netherlands

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by AlbertP » Sat Apr 23, 2011 3:55 pm

You won’t get an Ubuntu screen: the screen is not in the ‘plymouth’ package but in a seperate one, which does not get changed with the fix you gave.

Image

Registered Linux User #528502

Feel free to correct me if I’m trying to write in Spanish, French or German.

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by Sadeck » Wed May 25, 2011 1:42 pm

Does anyone know if this error has been spotted in the Release Candidate Linux Mint 11?

AlbertP Level 16
Posts: 6701 Joined: Sun Jan 30, 2011 12:38 pm Location: Utrecht, The Netherlands

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by AlbertP » Wed May 25, 2011 2:03 pm

Image

Registered Linux User #528502

Feel free to correct me if I’m trying to write in Spanish, French or German.

  • Important Notices
  • ↳ Rules & Notices
  • ↳ Releases & Announcements
  • ↳ Main Edition Support
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Graphics Cards & Monitors
  • ↳ Printers & Scanners
  • ↳ Storage
  • ↳ Sound
  • ↳ Networking
  • ↳ Virtual Machines
  • ↳ Desktop & Window Managers
  • ↳ Cinnamon
  • ↳ MATE
  • ↳ Xfce
  • ↳ Other topics
  • ↳ Non-technical Questions
  • ↳ Tutorials
  • Debian Edition Support
  • ↳ LMDE Forums
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Networking
  • ↳ Tutorials
  • ↳ Other Topics & Open Discussion
  • ↳ LMDE Archive
  • Interests
  • ↳ Gaming
  • ↳ Scripts & Bash
  • ↳ Programming & Development
  • Customization
  • ↳ Themes, Icons & Wallpaper
  • ↳ Compiz, Conky, Docks & Widgets
  • ↳ Screenshots
  • ↳ Your Artwork
  • Chat
  • ↳ Introduce Yourself
  • ↳ Chat about Linux Mint
  • ↳ Chat about Linux
  • ↳ Open Chat
  • ↳ Suggestions & Feedback
  • International
  • ↳ Translations
  • ↳ Deutsch — German
  • ↳ Español — Spanish
  • ↳ Français — French
  • ↳ Italiano — Italian
  • ↳ Nederlands — Dutch
  • ↳ Português — Portuguese
  • ↳ Русский — Russian
  • ↳ Suomi — Finnish
  • ↳ Other Languages
  • ↳ Čeština-Slovenčina — Czech-Slovak
  • ↳ Magyar — Hungarian
  • ↳ 日本語 — Japanese
  • ↳ Polski — Polish
  • ↳ Svenska — Swedish
  • ↳ Українська — Ukrainian

Powered by phpBB® Forum Software © phpBB Limited

Источник

Оцените статью
Adblock
detector