i am running opensuse on a akoya-notebook (see below-)
each time i run libreoffice and want to save some writer documents the openOffice-Programme smashes and vanishes…
note: i have the following version up and running:
LibreOffice 3.4.5
OOO340m1 (Build:1505)
see the errors that show up if i start libreoffice with console:
martin@linux-wyee:~> libreoffice --writer
LibreOffice(14544) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
"
martin@linux-wyee:~>
by the way - this might be of interest: see what i have on the machine.::
Linux linux-wyee.site 3.1.9-1.4-desktop #1 SMP PREEMPT Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) i686 athlon i386 GNU/Linux
linux-wyee:/home/martin # zypper lr -d
# | Alias | Name | Aktiviert | Aktualisieren | Priorität | Typ | URI | Dienst
--+---------------------------------------------+---------------------------------------------+-----------+---------------+-----------+--------+---------------------------------------------------------------------------------------+-------
1 | Aktualisierungen-für-openSUSE-12.1-12.1-1.4 | Aktualisierungen für openSUSE 12.1 12.1-1.4 | Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/12.1/ |
2 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4 | Ja | Nein | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SN-S083C_m1L3456789KLMNOP,/dev/sr0 |
3 | packman-x86_64 | packman-x86_64 | Ja | Nein | 99 | rpm-md | http://packman.inode.at/suse/12.1/ |
4 | repo-debug | openSUSE-12.1-Debug | Nein | Ja | 99 | NONE | http://download.opensuse.org/debug/distribution/12.1/repo/oss/ |
5 | repo-debug-update | openSUSE-12.1-Update-Debug | Nein | Ja | 99 | NONE | http://download.opensuse.org/debug/update/12.1/ |
6 | repo-non-oss | openSUSE-12.1-Non-Oss | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/12.1/repo/non-oss/ |
7 | repo-oss | openSUSE-12.1-Oss | Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/12.1/repo/oss/ |
8 | repo-source | openSUSE-12.1-Source | Nein | Ja | 99 | NONE | http://download.opensuse.org/source/distribution/12.1/repo/oss/
great to hear form you. Many thanks for shaing a helping hand. I have runned all your code-snippets and commands in Terminal.
see the following results:
Have a closer look: what is given back by the system - when i run** testparm -s**
martin@linux-wyee:~> testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[profiles]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
Server role: ROLE_STANDALONE
[global]
map to guest = Bad User
printcap name = cups
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
usershare allow guests = Yes
idmap config * : backend = tdb
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No
[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
martin@linux-wyee:~>
martin@linux-wyee:~> su -
Passwort:
linux-wyee:~ # dir /var/run/samba
ls: cannot access /var/run/samba: No such file or directory
linux-wyee:~ #
afterwards i created the directory - and then i restarted the computer…
but beliefe me - it still is the same behaviour… i t still smashes
martin@linux-wyee:~> libreoffice --writer
LibreOffice(3601) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
"
afterwards i created one…
martin@linux-wyee:~> mkdir /var/run/samba
mkdir: cannot create direcrory „/var/run/samba“ : no permissions
martin@linux-wyee:~> su
but see - what is this here - i do not know what i should say here…:
linux-wyee:/home/martin # libreoffice --writer
LibreOffice(3703)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
linux-wyee:/home/martin # libreoffice --writer
LibreOffice(3720)/kdeui (kdelibs): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
linux-wyee:/home/martin #
it still smashes - i have no glue… any idea here? I look forward to hear from you
> but see - what is this here - i do not know what i should say
> here…:
>
>
> Code:
> --------------------
>
>
> linux-wyee:/home/martin # libreoffice --writer
> LibreOffice(3703)/kdeui (kdelibs): Session bus not found
>
>
> --------------------
Warning: you did “su” before, you are working as root on your home
directory. This will not work and will break things.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
hello Knurpht , hello Robin Listas good day James,
afaik i did nothing of the following.
should ido such things.
@Robin Listas: your re right - i try to avoid workin as a root on the machine… this makes all very dangerous
btw: the errors are still happening… - see what i have in **the terminal **
martin@linux-wyee:~> ~> libreoffice --writer
bash: /home/martin: Ist ein Verzeichnis
martin@linux-wyee:~> libreoffice --writer
X Error: BadMatch (invalid parameter attributes) 8
Major opcode: 42 (X_SetInputFocus)
Resource id: 0x1a000173
LibreOffice(5560) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
ERROR: pid directory /var/run/samba does not exist
"
well i am pretty clueless here… what can i do now!?
> @Robin Listas: your re right - i try to avoid workin as a root on the
> machine… this makes all very dangerous
Did you, per chance, do “su” without dash, then started libreoffice?
Because it the previous post to which I responded I think you did - and
this will result in files owned by root under your home, and will impede
libreoffice from running again.
So check the permissions of all the files under “.libreoffice/”.
> Code:
> --------------------
>
> martin@linux-wyee:~> ~> libreoffice --writer
> bash: /home/martin: Ist ein Verzeichnis
What does it mean? In English
You can force a program to run in English by doing:
LANG=en_US.UTF-8 libreoffice --writer
> martin@linux-wyee:~> libreoffice --writer
> X Error: BadMatch (invalid parameter attributes) 8
> Major opcode: 42 (X_SetInputFocus)
> Resource id: 0x1a000173
> LibreOffice(5560) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
> Loaded services file OK.
> ERROR: pid directory /var/run/samba does not exist
> "
>
> --------------------
Maybe your samba config has a problem, you should solve them. Apparently LO
checks it.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
guess that the issue (s) with the Superuser - and that i sometimes do things as su - without thinkin about the status - is pretty dangerous.
guess that i have somewhat misconfigured the machine… - i do some checks accordingly…
this means
> martin@linux-wyee:~> ~> libreoffice --writer
> bash: /home/martin: Ist ein Verzeichnis
> martin@linux-wyee:~> ~> libreoffice --writer
> bash: /home/martin: Is a directory
i come back tomorrow…
btw. james (guess he was it) is still thinkin that something with samba goes wrong… read the comments at the beginning of the thread. At least he WAS thinkin that this was the cause…
i come back tomorrow … must sleep now… it is pretty late]