DevHeads.net

Postings by James Moe

apache2 a2enmod error after update

opensuse 42.2
linux v4.4.87-18.29-default x86_64
apache 2.4.23 (Linux/SUSE)

(I did ask this question at a general opensuse forum. No response.)

After a recent Apache2 update by zypper, a series of messages were emitted:

Output of apache2-2.4.23-8.12.1.x86_64.rpm %posttrans script:
/usr/share/apache2/apache-22-24-upgrade: line 6: a2enmod: command not
found
...more of the same...

a2enmod exists in the system at </usr/sbin/a2enmod>. Both user and root
can find the app although the user invocation complains about it being
in /usr/sbin/.

Is a2enmod important?

Default applications

Hello,
opensuse 42.3
linux 4.4.76-1-default x86_64
gnome 3.20.2

After upgrading from 42.2 to 42.3 the system now has Inkscape set as
the default PDF viewer, a poor choice.
At one time ISTR the apps were set using the Tweak Tool. Not so any
longer.

Where might I find the assignment of default applications?

Duplicate camera icon

opensuse 42.2
linux 4.4.74-18.20-default x86_64
gnome 3.20.2

Whenever I connect a camera (a Nikon) with a USB port, two camera
icons appear on the desktop. They are mirrors; whatever is done with one
icon is shadowed with the other.
Is there a way to have only one icon for cameras?

Extension connector failure

opensuse 42.2
linux 4.4.49-16-default x86_64
gnome 3.20.2
firefox 52.0.0

I went to check for an extension update (OpenWeather) and was told to
install an extension (Gnome Shell Integration 8.2) and a program (GNOME
Shell integration for Chrome).
Since I am interested only in Firefox, I did not install the connector
for Chrome.
When I go to the Gnome extensions page, the following is displayed:
"An unexpected error occurred"

Gee. An "unexpected" error. The worst kind.
There is no further information. No log entries. Nothing.

Is there a fix for this?

Is there anything to do about this error?

opensuse 42.1
gnome 3.16.2

A lot of these errors are logged in /var/log/messages. What are the
consequences of the error? Is there anything to do?

2016-11-14T15:30:35.060434-07:00 sma-station14l gnome-session[3448]:
(gnome-shell:3521): Clutter-CRITICAL **: clutter_text_get_editable:
assertion 'CLUTTER_IS_TEXT (self)' failed

A lot of these errors, then Splat!

Hello,
opensuse 42.1
gnome 3.16.2

I occasionally get a burst of the error below in </var/log/messages>.
At some point is the near future, when opening a program, Gnome freezes
solid.
The OS itself continues to function normally; there is no GUI making
the OS's functioning useless. A reboot is required. (well, I could go to
another computer, remotely log in, kill the Gnome process, return to my
workstation, log in again.

Mystery error in GRANT statement

opensuse v42.1
linux 4.1.31-30-default x86_64
10.0.26-MariaDB

I have a database named "sma-v4-01".

Mystery error in GRANT statement

opensuse v42.1
linux 4.1.31-30-default x86_64
10.0.26-MariaDB

I have a database named "sma-v4-01".

Odd mouse and Gnome behavior with new video adapter

Hello,
opensuse v42.1
linux 4.1.20-11-default x86_64
gnome 3.16.2
asus 2560x1440 monitor

This is an odd issue.
I invested in a new video adapter, a VisionTek unit based on Radeon r7
360. Its performance is quite excellent. It replaces an otherwise fine
adapter, a radeon hd4770, whose fan had become irritatingly noisy.
There appear to be two significant issues with the new adapter and the
default video driver.
First, the pointer icon flickers. It flickers like a candle does, in a
somewhat random manner.

Conflict among thunderbird, enigmail, gpg, gpg-agent, and gnome

Hello,
opensuse 42.1
gnome 3.16.2
thunderbird 38.6.0
enigmail 1.9 (20160223-1641)
gpg 2.0.24

A recent error that has occurred while sending mail:

2016-03-01 11:37:48.420 [DEBUG] errorHandling.jsm: parseErrorOutputWith:
statusFlags = 00400000
2016-03-01 11:37:48.420 [DEBUG] errorHandling.jsm: parseErrorOutputWith:
return with c.errorMsg = gpg: WARNING: The GNOME keyring manager
hijacked the GnuPG agent.
gpg: WARNING: GnuPG will not work properly - please configure that tool
to not interfere with the GnuPG system!

How do I configure Gnome keyring manager?

Migrating from apache 2.2 to 2.4

opensuse 42.1
apache 2.4.16

I just upgraded a linux distribution from opensuse 13.2 to 42.1. It
included an upgrade of apache from 2.2. to 2.4.
The initial upgrade was not to 2.4.16; rather an earlier version.
After adding mod_access_compat module, apache started fine.
Then came the update to 2.4.16.

403 and I don't understand why

httpd v2.4.10
linux v3.16.7-21-desktop x86_64

Access to this site used to work oh-so-long ago. I have had no need
to access the (local) site for many months (at least). The Apache
server has been updated regularly since then.
The directories and files are not read-protected (See below).

What other mis-configurations could cause the error?

Opening <http://courses.sma.com/moodle1xx/> yields:
----[ error message ]----
Access forbidden!
You don't have permission to access the requested directory.

mod_rewrite is ignored or disabled

Hello,
httpd v2.4.10
linux v3.16.7-21-desktop x86_64

I am consolidating a discussion started in message "ReDirect
question". The issue there is that mod_rewrite is simply ignored.
Below are the contents of .htaccess and vhost.
In both .htaccess and vhost the Rewrite* directive are simply
ignored as though they are commented out. (If I make a syntax error,
"Internal Server Error" occurs.

Using LogLevel?

apache 2.4.10

The mod_rewrite page mentions LogLevel as a useful way to trace
problems with ReWrite<whatever>. So I added "LogLevel info
rewrite:trace5" to .htaccess and got "Internal Server Error".
What else is needed to get LogLevel to work?

ReDirect question

apache v2.4.10
linux v3.16.7-21-desktop x86_64

I have reviewed the docs. I do not see what I have done incorrectly
with the first redirection below. The second Redirect is a fallback;
it works for the URL shown but the exact match does not.
Where have I gone astray?

Redirect /catalog/?app=ecom&ns=catshow&ref=books \

<a href="https://ya250.infusionsoft.com/app/storeFront/handleStoreFrontLink?displayType=Category&amp;id=1&amp;displayName=Books" title="https://ya250.infusionsoft.com/app/storeFront/handleStoreFrontLink?displayType=Category&amp;id=1&amp;displayName=Books">https://ya250.infusionsoft.com/app/storeFront/handleStoreFrontLink?displ...</a>

Redirect /catalog/ <a href="https://sma-v3.sma.com/clickcart/" title="https://sma-v3.sma.com/clickcart/">https://sma-v3.sma.com/clickcart/</a>

Postifx is pinging SMTP mail servers?

postfix 2.? (How do I get the version?)
linux 3.16.7-21-desktop x86_64

Our spam filter logs all traffic that flows through it; it is
proxy-style filter rather than an add-on for a mail server.

Recently I have noticed brief connections to the SMTP port from my
local postfix installation that do nothing: It sends the "EHLO
whatever" command, immediately followed by the "QUIT" command.
Basically, Postfix is pinging the SMTP server to... do something?
Verify the connection is still active? The ping occurs about every 5
minutes.

Searching for files that match an URL

Hello,
apache 2.2, 2.4

A long time ago I saw a method that allowed URLs to be presented
without a file extension; the http processor was given some way to
look for matching files by adding from a set of extensions.
For instance, <http://example.com/php-file-no-ext> would be found
and processed as <http://example.com/php-file-no-ext.php>.
Is this actually possible? Is there a significant cost? Or did I
mis-read the article?

How do I turn off the Update Checker?

Hello,
gnome v3.14
opensuse v13.2

Gnome has a process (packagekit?) that periodically checks for
updates. How do I disable it?
There exists an update that bricks my system. I wish to disable
updates until that is fixed.

Will these rewrite rules do what I expect?

I wish to have three rules
1. if URL = http[s]://info.massamio.com/blog, redirect to
<a href="http://blog.sohnen-moe.com/" title="http://blog.sohnen-moe.com/">http://blog.sohnen-moe.com/</a>
2. if URL = http[s]://info.massamio.com/resources, redirect to
<a href="http://blog.sohnen-moe.com/" title="http://blog.sohnen-moe.com/">http://blog.sohnen-moe.com/</a>
3.

Postfix has a bizarre dependency and does not start

opensuse 13.1
postfix 2.9.6-7.4.1

I recently upgraded a server from 12.3 to 13.1. Postfix worked
correctly in v12.3.

Postfix fails to start with this message:

Code:
- -- Unit postfix.service has failed.

Spontaneous resets

opensuse v13.1
gnome 3.10.2 Gallium 0.4 on NVC1
linux 3.11.10-7-desktop x86_64

While reading an article in a browser, doing nothing else, Gnome reset
as though I had pressed alt+f2,r.

All apps were moved to one desktop, the background went black, and the
CPU was quite busy doing something for 30 seconds. Then the background
image was restored. I had to move the apps to where I wanted them.

This happens several times a week.

Is this a known problem?

mod_rewrite help request

Hello,
I have changed the way a website refers to page in the URL. The old
method was odd, useless and unnecessarily complicated.
I wish to have rewrite rule that changes

<a href="http://www.example.com/?page=somepage.php" title="http://www.example.com/?page=somepage.php">http://www.example.com/?page=somepage.php</a>
to
<a href="http://www.example.com/somepage.php" title="http://www.example.com/somepage.php">http://www.example.com/somepage.php</a>

I've gotten this far:
RewriteEngine on
RewriteCond %{QUERY_STRING} =page
RewriteRule ^(.*)$ <<now what?>> [R,L]

Denying an IP address range

Hello,
Our site denies access by a IP address range. A couple days ago I
had a load of accesses by one of the addresses in that network,
64.37.231.140. Mostly, it works as expected.
I am confused by some of the errors recorded, a sample is shown
below. The first line is expected: Yay! it was denied access!
The next two lines indicate otherwise.

"Software Update" app

gnome 3.10.2
openSUSE 13.1

The program that regularly checks for software updates is called
"Software Update" in Gnome. I would like to limit the time window to
1am - 6am when it checks for updates.

Does anyone know what the application's actual name is? Is it possible
to limit the time frame?

Gnome freezes at the lock screen

Hello,

gnome 3.10.2
opensuse 13.1
linux 3.11.10-7-desktop x86_64

At random intervals Gnome freezes at the lock screen which shows a
background image and the time in hh:mm:ss. The time display does not
change. It responds to no key strokes.

I can log on to the computer from another host and send SIGHUP to the
gnome-session which resets it. However, this is inelegant and requires
root privilege.

Any suggestions why Gnome freezes?
Or a user method to reset the desktop?

Spontaneous reset

Gnome v3.10.2
openSUSE v13.1

Recently (the last 2 weeks) Gnome has been spontaneously resetting
as though I entered "alt-F2 r". The first time I was doing something
and thought I had fumbled the reset code in. It has occurred a couple
of times since then. And today while unlocking the desktop: All I did
was the usual ESC to get the login screen.
Has anyone else seen this?

Jerky mouse movement

Hello,
openSUSE v12.3
linux v3.7.10-1.1-desktop x86_64
gnome 3.6.2

Ever since gnome version 3.2 the mouse movement becomes more uneven as
the logon time increases. Initially the movement is smooth and even as
expected. As the session time increases to 2+ days the movement shows
regular pauses (every 1 - 2 seconds) for some fraction of a second, then
"catches up" to where it would have been had it not paused.

Just updated to v3.6.2

Hello,
openSUSE v12.3
Gnome desktop v3.6.2

Overall it seems like the fit and finish is a lot smoother. I like it.
I am posting about a nit: The desktop icons now have a thick white
border around them. Is there a way to remove the border?

A little black box

opensuse v12.2
linux v3.4.28-2.20-desktop x86_64
gnome 3.4.2
nvidia gt 470, nouveau driver

A little black box appears on the display screen; it shows on all
desktops. It is about 4px x 8px. It shows at different places on the
screen after logging in. Sometimes it is in a location that is not
noticeable; other times it is in the center area. It sometimes
disappears, then reappears.

Has any one else seen this? Is there a cure?

Preserving an application's position and size

Hello,
gnome desktop v3.4
opensuse v12.2

How do I have applications start with the same size and position
each time they start, as when they are closed?