Hi,
I just ran an install of OpenOffice 2.31 on Centos 5.1 using these instructions - http://www.melvilletheatre.com/articles/openoffice-fedora/index.html
Install seemed to go fine until I finished and then tried to start up K writer and none of the OO apps will start up from the menu. even though they are all showing up in start menu that 2.3 is installed. I'm using KDE mostly but have gnome installed also.
Can anyone give me an idea as to how to correct?
Thanks. _________________________________________________________________ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
On Thu, 06 Mar 2008 23:59:05 -0500 Therese Trudeau mswotr@hotmail.com wrote:
Install seemed to go fine until I finished and then tried to start up K writer
K Writer? That sounds very much like Koffice, which is a completely different program than OpenOffice. You won't be able to use Koffice if you haven't installed Koffice.
and none of the OO apps will start up from the menu.
even though they are all showing up in start menu that 2.3 is installed. I'm using KDE mostly but have gnome installed also.
What happens when you type "ooffice" or "soffice" at a terminal window prompt?
----------------------------------------
From: mswotr@hotmail.com To: theatre@sasktel.net Subject: RE: [CentOS] OpenOffice won't start up Date: Fri, 7 Mar 2008 00:10:48 -0500
K Writer? That sounds very much like Koffice, which is a completely different program than OpenOffice. You won't be able to use Koffice if you haven't installed Koffice.
Oh I'm sorry, I didn't mean k-writer,I meant OpenOffice 2.3 Writer - it' right off the OO menu.
What happens when you type "ooffice" or "soffice" at a terminal window prompt?
When I type in ooffice I get "command not found", and when I type soffice I get "no suitable windowing system found, exiting." _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx
_________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx
On Fri, 07 Mar 2008 00:13:01 -0500 Therese Trudeau mswotr@hotmail.com wrote:
When I type in ooffice I get "command not found", and when I type soffice I get "no suitable windowing system found, exiting."
Disable selinux, as the article tells you to.
When I type in ooffice I get "command not found", and when I type soffice I get "no suitable windowing system found, exiting."
Disable selinux, as the article tells you to.
Oh...I must not be seeing that in the article, I searched it and could not find that anywhere - seaarched for disable and selinux. could you please quote that part or indicate how I would do that? _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/
On Fri, 07 Mar 2008 00:24:29 -0500 Therese Trudeau mswotr@hotmail.com wrote:
Oh...I must not be seeing that in the article, I searched it and could not find that anywhere - seaarched for disable and selinux. could you please quote that part or indicate how I would do that?
http://sysdigg.blogspot.com/2008/01/how-to-disable-selinux-in-centos-5.html
http://sysdigg.blogspot.com/2008/01/how-to-disable-selinux-in-centos-5.html
OK I just disabled SeLinux and rebooted, still none of the OpenOffice applications will start. _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx
On Fri, 07 Mar 2008 00:49:27 -0500 Therese Trudeau mswotr@hotmail.com wrote:
OK I just disabled SeLinux and rebooted, still none of the OpenOffice applications will start.
What happens when you type "ooffice" or "soffice" at a terminal window prompt?
What happens when you type "ooffice" or "soffice" at a terminal window prompt?
Same as before - "command not found" and "no suitable windowing system found, exiting."
_________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
On Fri, 07 Mar 2008 01:03:33 -0500 Therese Trudeau mswotr@hotmail.com wrote:
What happens when you type "ooffice" or "soffice" at a terminal window prompt?
Same as before - "command not found" and "no suitable windowing system found, exiting."
That's highly unusual, because I have never seen that error caused by anything other than selinux.
What does this tell you when you type it at a command line: "/usr/sbin/sestatus"
Frank Cox a écrit :
That's highly unusual, because I have never seen that error caused by anything other than selinux.
Well, I have. For third-party applications installed to some obscure places in opt/, and not included in the PATH :oD
I bet my whole Aretha Franklin CD collection that adding the correct path will solve the problem.
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
Then send us the output of your search.
Cheers,
Niki
On Fri, 2008-03-07 at 10:00 +0100, Niki Kovacs wrote:
Frank Cox a écrit :
<snip>
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
Suggestion for future faster "finds":
After installing/removing components, run updatedb. Then instead of find, you can "locate swriter". You'll probably need to filter the output as locate's match seems to be very regex-generalized.
Also, if updating components that have control files, locate rpmsave and rpmnew so you can see if any of your configuration files need to be examined.
<snip>
Niki
<snip sig stuff>
Suggestion for future faster "finds":
After installing/removing components, run updatedb. Then instead of find, you can "locate swriter". You'll probably need to filter the output as locate's match seems to be very regex-generalized.
Also, if updating components that have control files, locate rpmsave and rpmnew so you can see if any of your configuration files need to be examined.
Thanks on that, I can see I have much to learn...:) _________________________________________________________________ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
On Fri, 2008-03-07 at 10:00 +0100, Niki Kovacs wrote:
Frank Cox a écrit :
That's highly unusual, because I have never seen that error caused by anything other than selinux.
Well, I have. For third-party applications installed to some obscure places in opt/, and not included in the PATH :oD
I bet my whole Aretha Franklin CD collection that adding the correct path will solve the problem.
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
On my 4.0 CentOS, OO 2.0, swriter is a lib component. Try oowriter. WFM.
Then send us the output of your search.
Cheers,
Niki
<snip sig stuff>
HTH
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
On my 4.0 CentOS, OO 2.0, swriter is a lib component. Try oowriter. WFM.
OK, for output of "find / -name 'oowriter', I get no output.
_________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
On Fri, Mar 7, 2008 at 5:29 AM, Therese Trudeau mswotr@hotmail.com wrote:
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
On my 4.0 CentOS, OO 2.0, swriter is a lib component. Try oowriter. WFM.
OK, for output of "find / -name 'oowriter', I get no output.
Where did you install OOo (i.e., in what directory)? Is that directory on your path?
I've been running OOo 2.31 since it came out (was on 2.30 before that), and never, ever saw this. (It's worth the effort though - 2.31 is way better....)
Have you tried uninstalling the "standard" OOo release (2.0)?
Do you have launchers for any OOo programs, or are you just using the standard menus?
mhr
Well, I have. For third-party applications installed to some obscure places in opt/, and not included in the PATH :oD
I bet my whole Aretha Franklin CD collection that adding the correct path will solve the problem.
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
Ah maybe on to something :)
OK, the output is: /home/nadsab/.openoffice.org2.0/user/config/soffice.cfg/modules/swriter /root/.openoffice.org2.0/user/config/soffice.cfg/modules/swriter
_________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx
Well, I have. For third-party applications installed to some obscure places in opt/, and not included in the PATH :oD
I bet my whole Aretha Franklin CD collection that adding the correct path will solve the problem.
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
Ah maybe on to something :)
OK, the output is: /home/nadsab/.openoffice.org2.0/user/config/soffice.cfg/modules/swriter /root/.openoffice.org2.0/user/config/soffice.cfg/modules/swriter
OH Gosh now all of the sudden it automagically works! How could that happen?
Last night I did a few restarts on the PC after installing, and OO would not start up. Then I just shut down the PC completely and went to bed - woke up this am, turned on PC and then tried starting once more (after replying to all the helpful advice here :)) and now all OO apps are working.
Is there a difference between restarting PC and completely shutting down as far as what's considered a reboot? Isn't a "restart" same as a "reboot" in Linux? _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx
Well, I have. For third-party applications installed to some obscure places in opt/, and not included in the PATH :oD
I bet my whole Aretha Franklin CD collection that adding the correct path will solve the problem.
Therese: open a Terminal, su - to root (which means: type 'su -' and then enter your root password) and type:
# find / -name 'swriter'
Ah maybe on to something :)
OK, the output is: /home/nadsab/.openoffice.org2.0/user/config/soffice.cfg/modules/swriter /root/.openoffice.org2.0/user/config/soffice.cfg/modules/swriter
OH Gosh now all of the sudden it automagically works! How could that happen?
Last night I did a few restarts on the PC after installing, and OO would not start up. Then I just shut down the PC completely and went to bed - woke up this am, turned on PC and then tried starting once more (after replying to all the helpful advice here :)) and now all OO apps are working.
Is there a difference between restarting PC and completely shutting down as far as what's considered a reboot? Isn't a "restart" same as a "reboot" in Linux?
Also one last issue in this thread and I think I'm done on this issue (and by the way thanks for all the wonderful help on this list everyone, this is a great community here). I tried re enabling SELinux and OO won't start, so I assume that I must have SE Linux disabled in order for OpenOffice to run - is this correct?
if correct, is there a way I can still keep my system secure and run OpenOffice 2.3?
I want to run OO 2.3 because I need to run Base for remote MySQL database connections with Calc. _________________________________________________________________ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
On Fri, 7 Mar 2008 09:46:56 -0500 Therese Trudeau mswotr@hotmail.com took out a #2 pencil and scribbled:
I tried re enabling SELinux and OO won't start, so I assume that I must have SE Linux disabled in order for OpenOffice to run - is this correct?
if correct, is there a way I can still keep my system secure and run OpenOffice 2.3?
You do not have to keep selinux disabled. You can re-enable it; however, you may get a couple selinux failures. This is what happens on my system when running in Enforcing mode.
1. Selinux complains about a memory access by /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
2. Selinux complains about openoffice attempting to change the memory access protection on the heap.
To solve number 1. on my system: sudo chcon -t textrel_shlib_t /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
Please mind the line wrapping. To solve issue 2. on my system: sudo setsebool -P allow_execheap=1
I am not entirely sure that it is wise to perform the second step, as it affects all applications that run on the system. So it seems a bit of a sledgehammer.
To view what selinux is complaining about you may want to install the setroubleshoot package from yum and view what it is complaining about exactly. It will also give you suggestions on how to fix the selinux complaints.
HTH
Alex White
I tried re enabling SELinux and OO won't start, so I assume that I must have SE Linux disabled in order for OpenOffice to run - is this correct?
if correct, is there a way I can still keep my system secure and run OpenOffice 2.3?
You do not have to keep selinux disabled. You can re-enable it; however, you may get a couple selinux failures. This is what happens on my system when running in Enforcing mode.
- Selinux complains about a memory access
by /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
- Selinux complains about openoffice attempting to change the
memory access protection on the heap.
To solve number 1. on my system: sudo chcon -t textrel_shlib_t /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
Please mind the line wrapping. To solve issue 2. on my system: sudo setsebool -P allow_execheap=1
I am not entirely sure that it is wise to perform the second step, as it affects all applications that run on the system. So it seems a bit of a sledgehammer.
To view what selinux is complaining about you may want to install the setroubleshoot package from yum and view what it is complaining about exactly. It will also give you suggestions on how to fix the selinux complaints.
OK Thanks. I'm wondering if a secure alternative would be to run SELinux in permissive mode instead of disabled?
_________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
On Fri, 07 Mar 2008 12:05:22 -0500 Therese Trudeau mswotr@hotmail.com wrote:
OK Thanks. I'm wondering if a secure alternative would be to run SELinux in permissive mode instead of disabled?
Permissive Mode is the same as Disabled Mode, except that selinux will log stuff for you.
On Fri, 7 Mar 2008 12:05:22 -0500 Therese Trudeau mswotr@hotmail.com took out a #2 pencil and scribbled:
I tried re enabling SELinux and OO won't start, so I assume that I must have SE Linux disabled in order for OpenOffice to run - is this correct?
if correct, is there a way I can still keep my system secure and run OpenOffice 2.3?
You do not have to keep selinux disabled. You can re-enable it; however, you may get a couple selinux failures. This is what happens on my system when running in Enforcing mode.
- Selinux complains about a memory access
by /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
- Selinux complains about openoffice attempting to change the
memory access protection on the heap.
To solve number 1. on my system: sudo chcon -t textrel_shlib_t /opt/openoffice.org2.3/program/libvclplug_gen680li.so.1.1
Please mind the line wrapping. To solve issue 2. on my system: sudo setsebool -P allow_execheap=1
I am not entirely sure that it is wise to perform the second step, as it affects all applications that run on the system. So it seems a bit of a sledgehammer.
To view what selinux is complaining about you may want to install the setroubleshoot package from yum and view what it is complaining about exactly. It will also give you suggestions on how to fix the selinux complaints.
OK Thanks. I'm wondering if a secure alternative would be to run SELinux in permissive mode instead of disabled?
I would highly suggest running it in permissive mode, and then taking care of little problems that arise when you start applications up. I ran into this same issue that you have been having with OpenOffice, as I run selinux in Enforcing mode.
Selinux doesn't complain too terribly much about my normal behaviors on my system. YMMV of course.
HTH
Alex White
On Friday 07 March 2008 17:05:22 Therese Trudeau wrote:
To view what selinux is complaining about you may want to install the setroubleshoot package from yum and view what it is complaining about exactly. It will also give you suggestions on how to fix the selinux complaints.
OK Thanks. I'm wondering if a secure alternative would be to run SELinux in permissive mode instead of disabled?
Therese, the setroubleshoot package mentioned here was installed by default on my system. If you go to that after you have had a failure it generally tells you what it saw as a threat, and what to do about it if it should be allowed. Usually it's just a matter of copy and paste a line of command.
Anne
Therese, the setroubleshoot package mentioned here was installed by default on my system. If you go to that after you have had a failure it generally tells you what it saw as a threat, and what to do about it if it should be allowed. Usually it's just a matter of copy and paste a line of command.
Thanks Anne,
Will setting to permissive prevent real time threats, or just tell me what happened after the fact of a failure? _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
On Fri, 07 Mar 2008 14:21:06 -0500 Therese Trudeau mswotr@hotmail.com wrote:
Will setting to permissive prevent real time threats, or just tell me what happened after the fact of a failure?
http://lists.centos.org/pipermail/centos/2008-March/095637.html
Will setting to permissive prevent real time threats, or just tell me what happened after the fact of a failure?
http://lists.centos.org/pipermail/centos/2008-March/095637.html
Thanks on that Frank.
So is there a way I can set SELinux to permissive, and still be secure while using Calc to connect remotely to a MySQL database? Or is there a way to leave SELinux enforced while also using Calc to connect remotely to a MySQL database? _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
On Fri, 07 Mar 2008 14:37:14 -0500 Therese Trudeau mswotr@hotmail.com wrote:
So is there a way I can set SELinux to permissive, and still be secure while using Calc to connect remotely to a MySQL database?
There is a difference between "running selinux in enforcing mode" and "being secure". The second does not necessarily require or originate from the first.
Or is there a way to leave SELinux enforced while also using Calc to connect remotely to a MySQL database?
Yes. You can use setroubleshoot to set it up.
So is there a way I can set SELinux to permissive, and still be secure while using Calc to connect remotely to a MySQL database?
There is a difference between "running selinux in enforcing mode" and "being secure". The second does not necessarily require or originate from the first.
Or is there a way to leave SELinux enforced while also using Calc to connect remotely to a MySQL database?
Yes. You can use setroubleshoot to set it up.
Thanks Frank,
I'll study up on it. Can you reccomend a good URL or reading material for setroubleshoot? _________________________________________________________________ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
On Fri, 07 Mar 2008 14:46:02 -0500 Therese Trudeau mswotr@hotmail.com wrote:
I'll study up on it. Can you reccomend a good URL or reading material for setroubleshoot?
http://fedoraproject.org/wiki/SELinux
I'll study up on it. Can you reccomend a good URL or reading material for setroubleshoot?
Thanks, I'll check it out. _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
Therese Trudeau wrote:
Will setting to permissive prevent real time threats, or
just tell me what happened after the fact of a failure?
http://lists.centos.org/pipermail/centos/2008-March/095637.html
Thanks on that Frank.
So is there a way I can set SELinux to permissive, and still be secure while using Calc to connect remotely to a MySQL database? Or is there a way to leave SELinux enforced while also using Calc to connect remotely to a MySQL database?
Sure, there is iptables (firewall).
selinux, in my opinion, works best in locked-down application server environments where you have several applications running and their access patterns are completely predictable. On a general workstation or development system, not very well, well not if you don't mind tweaking it all the time...
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
So is there a way I can set SELinux to permissive, and still be secure while using Calc to connect remotely to a MySQL database? Or is there a way to leave SELinux enforced while also using Calc to connect remotely to a MySQL database?
Sure, there is iptables (firewall).
selinux, in my opinion, works best in locked-down application server environments where you have several applications running and their access patterns are completely predictable. On a general workstation or development system, not very well, well not if you don't mind tweaking it all the time...
-Ross
OK Thanks. _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail®-get your "fix". http://www.msnmobilefix.com/Default.aspx
On Friday 07 March 2008 19:21:06 Therese Trudeau wrote:
Therese, the setroubleshoot package mentioned here was installed by default on my system. If you go to that after you have had a failure it generally tells you what it saw as a threat, and what to do about it if it should be allowed. Usually it's just a matter of copy and paste a line of command.
Thanks Anne,
Will setting to permissive prevent real time threats, or just tell me what happened after the fact of a failure?
I'm no expert on this, Therese, but I doubt the advice you've been given that setting to permissive is the same as having it disabled. Why? Because I had quite a number of problems with it set to permissive, mainly ones that stopped samba working. Once I had sorted out the necessary commands samba has behaved without problems. If it was as ineffective as setting it to disabled I would not have had to do this. I'd say set it to permissive, use setroubleshooter, and if you still can't sort it, either post here what setroubleshooter says about it or google for parts of the message.
Anne
On Fri, 07 Mar 2008 19:45:00 +0000 Anne Wilson cannewilson@googlemail.com wrote:
I'm no expert on this, Therese, but I doubt the advice you've been given that setting to permissive is the same as having it disabled.
http://fedoraproject.org/wiki/SELinux/Troubleshooting
On Friday 07 March 2008 19:58:52 Frank Cox wrote:
On Fri, 07 Mar 2008 19:45:00 +0000
Anne Wilson cannewilson@googlemail.com wrote:
I'm no expert on this, Therese, but I doubt the advice you've been given that setting to permissive is the same as having it disabled.
It sounds clear enough there, yet the fact is that it did not allow samba access until I had taken the necessary steps.
Anne
Therese, the setroubleshoot package mentioned here was installed by default on my system. If you go to that after you have had a failure it generally tells you what it saw as a threat, and what to do about it if it should be allowed. Usually it's just a matter of copy and paste a line of command.
Thanks Anne,
Will setting to permissive prevent real time threats, or just tell me what happened after the fact of a failure?
I'm no expert on this, Therese, but I doubt the advice you've been given that setting to permissive is the same as having it disabled. Why? Because I had quite a number of problems with it set to permissive, mainly ones that stopped samba working. Once I had sorted out the necessary commands samba has behaved without problems. If it was as ineffective as setting it to disabled I would not have had to do this. I'd say set it to permissive, use setroubleshooter, and if you still can't sort it, either post here what setroubleshooter says about it or google for parts of the message.
Thanks Anne,
Just a note that I re enabled SELinux, and even though I was not able to get a connection to a MySQL database in OpenOffice 2.3 earlier with SELinux set to enforcing, now I am able to connect with SELinux set to enforcing. This may have been due to a separate issue related to the JRE problem I had, which has been resolved.
What I don't understand now, is that when I run a /usr/sbin/sestatus, I get the below output:
SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted
And when I run: selinuxenabled && echo $?
I get zero for output...:
0
...which I assume means that selinux is enabled - set to enforcing.
How is it possible that Selinux is set to Enforcing and is ALSO showing a current mode of Permissive? Can anyone give me some insights on this? _________________________________________________________________ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
on 3-7-2008 11:21 AM Therese Trudeau spake the following:
Therese, the setroubleshoot package mentioned here was installed by default on my system. If you go to that after you have had a failure it generally tells you what it saw as a threat, and what to do about it if it should be allowed. Usually it's just a matter of copy and paste a line of command.
Thanks Anne,
Will setting to permissive prevent real time threats, or just tell me what happened after the fact of a failure?
permissive is all the whining without actually doing anything about it. You use permissive to collect the log entries that help you add policy. When you get the whining to stop, then you go back to enforcing.
That's highly unusual, because I have never seen that error caused by anything other than selinux.
What does this tell you when you type it at a command line: "/usr/sbin/sestatus"
I get - "SELinux status: disabled"
_________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/