Krasch rapport sudo system-config-samba

ubuntu
Inlägg: 27
Blev medlem: 26 apr 2008, 10:26
OS: Ubuntu

Krasch rapport sudo system-config-samba

Inlägg av ubuntu »

Försöker installera min nätverksskrivare (Hp1600) som en Winsamba skrivare och tror jag har nåt problem med samba?
När jag försöker köra sudo system-config-samba får jag följande meddelande plus att en kraschrapport genereras.
Säger att config fil /etc/libuser.conf saknas. Hur göra?

Traceback (most recent call last):
File "/usr/sbin/system-config-samba", line 41, in <module>
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 118, in __init__
self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)
File "/usr/share/system-config-samba/basicPreferencesWin.py", line 93, in __init__
self.admin = libuser.admin()
SystemError: could not open configuration file `/etc/libuser.conf': Filen eller katalogen finns inte
Användarvisningsbild
Osprey
Inlägg: 6310
Blev medlem: 06 apr 2008, 00:09
OS: Ubuntu
Ort: Göteborg/Mölndal/Falkenberg
Kontakt:

Re: Krasch rapport sudo system-config-samba

Inlägg av Osprey »

Det fick jag också ut en gång och då gjorde jag sudo touch /etc/libuser.conf och sedan funkade allting... ;D
Eller med andra ord, den blev nöjd och glad när jag hade skapat en tom fil... :)
Agera genom att ta och behålla initiativet, ta de risker detta kräver...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
Användarvisningsbild
defatist
Inlägg: 167
Blev medlem: 30 jan 2007, 11:14
OS: Ubuntu
Utgåva: 12.04 Precise Pangolin LTS
Ort: malmö

Re: Krasch rapport sudo system-config-samba

Inlägg av defatist »

Nu blev jag oxå glad :D
Har länge lidit av denna krasch :(
Beror detta på att jag kopierade home ifrån 7.10 till Hardyn? Och att det då följde med inställningar som orsakade dessa krascher.
Användarvisningsbild
maths57
Inlägg: 2911
Blev medlem: 22 jun 2007, 15:10
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Stockholm

Re: Krasch rapport sudo system-config-samba

Inlägg av maths57 »

Antar att du använder ett grafiskt verktyg för att ställa in Samba. Kolla de här länkarna där ditt problem beskrivs.

http://www.linuxforums.org/forum/redhat ... rking.html
http://groups.google.com/group/linux.sa ... 549acb322b

Citatet nedan är från http://planet.ubuntulinux.org/.
After hunting around for a quite awhile I figured out how to share my document folders from Kubuntu 8.04 Remix laptop with my Windows XP VM. The current problem with Kubuntu 8.04 is that when you run kcmshell4 fileshare you can’t configure sharing due to not having permssions. Then if you run kdesudo kcmshell4 fileshare, for some reason that I don’t know of, can’t find the command. I reported this as a bug on bugs.kde.org, but havne’t heard anything more about that.

This post will be a placeholder to help me find this out later in life.

1. Install samba
2. sudo smbpasswd jjesse and enter a password
3. Install system-config-samba (sudo apt-get install system-config-samba
4. system-config-samba will not function because there is no file located in /etc/libuser.conf
5. sudo touch /etc/libuser.conf
6. sudo system-config-samba to setup your drives

From the VM:
Open up Network Neighborhood and map the drive using the username and the password (password setup in smbpasswd)
Kolla också Easy Linux-to-Windows File Sharing.
ubuntu
Inlägg: 27
Blev medlem: 26 apr 2008, 10:26
OS: Ubuntu

Re: Krasch rapport sudo system-config-samba

Inlägg av ubuntu »

Osprey skrev:Det fick jag också ut en gång och då gjorde jag sudo touch /etc/libuser.conf och sedan funkade allting... ;D
Eller med andra ord, den blev nöjd och glad när jag hade skapat en tom fil... :)
Jag blev också glad att detta problem försvann :)
Hjalle
Inlägg: 347
Blev medlem: 25 jan 2008, 15:02
OS: Open Suse
Utgåva: 12.04 Precise Pangolin LTS

Re: Krasch rapport sudo system-config-samba

Inlägg av Hjalle »

Ubuntu, det kanske är fel att skriva detta, men jag är glad för att du hade detta problem.
För det var ett problem för mig också. Det som löste det var: sudo touch /etc/libuser.conf.

Tack
Skriv svar

Återgå till "För nybörjaren - inaktuell"