[CentOS] BackupPC problem - wrong user

2015-09-08 Thread Timothy Murphy
I recently moved BackupPC from CentOS-6 to CentOS-7.
But when I browse to localhost/BackupPC I'm told
  Error: Wrong user: my userid is 48[apache], instead of 984(backuppc)

As far as I can tell, the BackupPC settings are exactly the same
as they were before the move.

It seems htttpd is running the program as user apache
rather than backuppc, as required.
Is there a simple setting in /etc/httpd/ that will tell httpd
to run as a different user?


-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BackupPC problem - wrong user

2015-09-08 Thread anax

Hi Tim
if you try with suexec?

suomi

On 2015-09-08 12:18, Timothy Murphy wrote:

I recently moved BackupPC from CentOS-6 to CentOS-7.
But when I browse to localhost/BackupPC I'm told
   Error: Wrong user: my userid is 48[apache], instead of 984(backuppc)

As far as I can tell, the BackupPC settings are exactly the same
as they were before the move.

It seems htttpd is running the program as user apache
rather than backuppc, as required.
Is there a simple setting in /etc/httpd/ that will tell httpd
to run as a different user?



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] How to rebuild logrotate.status

2015-09-08 Thread Robert Moskowitz
I have a problem in that at first all my log files were dated 12-31-1969 
and logrotate has:


# more /var/lib/logrotate.status
logrotate state -- version 2
"/var/log/yum.log" 1969-12-31-20:26:1
"/var/named/data/named.run" 1969-12-31-20:26:1
"/var/log/httpd/error_log" 2015-8-27-4:43:1
"/var/log/wtmp" 1969-12-31-20:26:1
"/var/log/chrony/*.log" 2015-8-19-22:0:0
"/var/log/spooler" 1969-12-31-20:26:1
"/var/log/btmp" 1969-12-31-20:26:1
"/var/log/maillog" 1969-12-31-20:26:1
"/var/log/wpa_supplicant.log" 2015-8-19-22:0:0
"/var/log/secure" 1969-12-31-20:26:1
"/var/log/ppp/connect-errors" 2015-8-19-22:0:0
"/var/log/messages" 1969-12-31-20:26:1
"/var/log/cron" 1969-12-31-20:26:1
"/var/log/httpd/access_log" 2015-8-27-4:43:1


How do I get this file rebuilt with the dates currently on the files listed?


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BackupPC problem - wrong user

2015-09-08 Thread Johnny Hughes
On 09/08/2015 05:18 AM, Timothy Murphy wrote:
> I recently moved BackupPC from CentOS-6 to CentOS-7.
> But when I browse to localhost/BackupPC I'm told
>   Error: Wrong user: my userid is 48[apache], instead of 984(backuppc)
> 
> As far as I can tell, the BackupPC settings are exactly the same
> as they were before the move.
> 
> It seems htttpd is running the program as user apache
> rather than backuppc, as required.
> Is there a simple setting in /etc/httpd/ that will tell httpd
> to run as a different user?
> 
> 

It is not the backuppc settings, it is your apache settings.  The
default setup requires that apache is setup to run as:

 User backuppc
 Group backuppc

There are other ways to do this if you have to have httpd run as the
apache user for other things, but the easiest thing to do (if you can),
is to set the User and Group to backuppc in /etc/httpd/conf/httpd.conf
and restart httpd.

I have not run backuppc on CentOS-7 (I ran it on CentOS-6), I have not
run it in 3 years, and my backuppc machine(s) had no other things on
them that needed to run httpd for any other reason .. so others might
have better advise if your machine is not single purpose.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] named Update Problem

2015-09-08 Thread Günther J . Niederwimmer
Hello,

Am Montag, 7. September 2015, 09:10:03 schrieb Ron Loftin:
> Try reconfiguring your setup so that the DNSSEC files live
> in /var/named/data instead of /var/named.  That directory should be
> owned by named:named already, and it stays that way after updates, at
> least in CentOS 5.

can you please tell me the "Variable" to set the tmp-xx Files?

I can't find the correct way :-(.
 
> On Mon, 2015-09-07 at 14:31 +0200, Günther J. Niederwimmer wrote:
> > Hello,
> > 
> > I have enabled for a Domain DNSSEC and it working correct, after I change
> > the rights for /var/named to root:named 0770
> > 
> > but after a update it is always change back to root:named 0750
> > 
> > after this, DNSSEC don't work any more?
> > 
> > named have no right to write his secure files.
> > 
> > Is there a way to fix this
> > 
> > Thanks,

-- 
mit freundlichen Grüssen / best regards,

 Günther J. Niederwimmer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] named Update Problem

2015-09-08 Thread Ron Loftin

Here are the relevant lines from my /etc/named.conf file on CentOS 5.

directory "/var/named";

zone "43.168.192.in-addr.arpa" {
type master;
file "data/192.168.43";
};

This will create/modify file "/var/named/data/192.168.43" and works with
no issues after an upgrade.

On Tue, 2015-09-08 at 15:40 +0200, Günther J. Niederwimmer wrote:
> Hello,
> 
> Am Montag, 7. September 2015, 09:10:03 schrieb Ron Loftin:
> > Try reconfiguring your setup so that the DNSSEC files live
> > in /var/named/data instead of /var/named.  That directory should be
> > owned by named:named already, and it stays that way after updates, at
> > least in CentOS 5.
> 
> can you please tell me the "Variable" to set the tmp-xx Files?
> 
> I can't find the correct way :-(.
>  
> > On Mon, 2015-09-07 at 14:31 +0200, Günther J. Niederwimmer wrote:
> > > Hello,
> > > 
> > > I have enabled for a Domain DNSSEC and it working correct, after I change
> > > the rights for /var/named to root:named 0770
> > > 
> > > but after a update it is always change back to root:named 0750
> > > 
> > > after this, DNSSEC don't work any more?
> > > 
> > > named have no right to write his secure files.
> > > 
> > > Is there a way to fix this
> > > 
> > > Thanks,
> 
-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsync question

2015-09-08 Thread Carl E. Hartung
On Tue, 8 Sep 2015 10:25:33 -0700 (PDT)
Mark Milhollan wrote:

> On Mon, 7 Sep 2015, Carl E. Hartung wrote:
> >On Mon, 7 Sep 2015 13:05:59 -0400
> >Robert Moskowitz wrote:
> 
> >> rsync -ah --stats --delete -e "ssh -p613 -l root" 
> >> 192.168.192.2:/etc/name* /home/rgm/data/htt/httnet/homebase/new/etc
> 
> >Why '-e' (specify remote shell to use)? Are these systems running
> >disparate operating systems?
> 
> -e specifies the *local* transport command to use

What?! Straight from the documentation:

"   -e, --rsh=COMMAND   specify the remote shell to use"

> , and in this case it also specifies the remote port (613) and user
> (root).  Granted one should probably use their ssh configuration to
> do that but it isn't realy "wrong" (to be questioned) to do it via
> options.

I didn't explicitly state that it was "wrong," just implied (correctly)
that it was unnecessary.
> 
> 
> /mark

regards,

Carl

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7.1.1503 + Dovecot + IPA

2015-09-08 Thread Kanwar Ranbir Sandhu
Hi Everyone,

I'm running an IPA server on CentOS 7 successfully and now I want to
change my Dovecot setup to use GSSAPI for IMAP authentication instead
of a flat "userdb" file. I've already joined the Dovecot box to the IPA
domain - ssh and ipa policies and all that are working properly.

I read a number of articles on how to configure Dovecot for GSSAPI auth
and they all said the same thing (even Red Hat's official how to on it
agreed). But, when I set up Evolution on my Fedora 22 system to use
GSSAPI, Dovecot's log records this:

Sep  8 13:49:55 mailman02 dovecot: auth: Panic: file auth-request.c:
line 733 (auth_request_is_disabled_master_user): assertion failed:
(request->requested_login_user != NULL)
Sep  8 13:49:55 mailman02 dovecot: auth: Error: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0x6a02e) [0x7f27af22202e] ->
/usr/lib64/dovecot/libdovecot.so.0(+0x6a10e) [0x7f27af22210e] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f27af1da52c] ->
dovecot/auth [1 wait, 0 passdb, 0 userdb](+0x15922) [0x7f27af6c7922] ->
dovecot/auth [1 wait, 0 passdb, 0
userdb](auth_request_lookup_credentials+0x32) [0x7f27af6c9332] ->
/usr/lib64/dovecot/auth/libmech_gssapi.so(+0x2134) [0x7f27ad615134] ->
dovecot/auth [1 wait, 0 passdb, 0
userdb](auth_request_handler_auth_continue+0xe5) [0x7f27af6caf15] ->
dovecot/auth [1 wait, 0 passdb, 0 userdb](+0x109da) [0x7f27af6c29da] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x27)
[0x7f27af232a47] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xff)
[0x7f27af2338cf] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f27af232598] 
-> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f27af1df9e3] -> dovecot/auth [1 wait, 0 passdb, 0
userdb](main+0x391) [0x7f27af6c07f1] ->
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f27ae7ceaf5] ->
dovecot/auth [1 wait, 0 passdb, 0 userdb](+0xe9e1) [0x7f27af6c09e1]
Sep  8 13:49:55 mailman02 dovecot: auth: Fatal: master: service(auth):
child 23185 killed with signal 6 (core dumps disabled)

I've already asked on the Dovecot list about my GSSAPI auth problems
and was told that this is a bug in Dovecot which does not exist in the
latest release (I don't know when the problem was actually fixed).

My question is simply this: does anyone else have
dovecot-2.2.10-4.el7_0.1.x86_64 working with GSSAPI auth against an IPA
server? IPA is also running on CentOS 7.1.1503.

Regards,

Ranbir

-- 
Kanwar R.S. Sandhu

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsync question

2015-09-08 Thread Robert Moskowitz

I ran it again but with:

rsync -ah --stats --delete -e "ssh -p613 -l root" 
192.168.192.2:/etc/name* /home/rgm/data/htt/httnet/homebase/new/newetc


And the newetc directory was created with all the files.  I again ran:

rsync -ah --stats --delete -e "ssh -p613 -l root" 
192.168.192.2:/etc/name* /home/rgm/data/htt/httnet/homebase/new/etc


And none of the /etc/name.* files get moved.  Strange.

Well I got my backup.

On 09/07/2015 06:04 PM, Mike wrote:

I tried your rsync command and it worked on my LAN over ssh.
The following was placed in the destination directory:

drwxr-x---  2 root smmsp 4.0K Jul 28 21:05 named/
-rw-r-  1 root smmsp 1.6K Oct 30  2013 named.conf
-rw-r--r--  1 root smmsp 2.4K Jul 28 21:05 named.iscdlv.key
-rw-r-  1 root smmsp  931 Jun 21  2007 named.rfc1912.zones
-rw-r--r--  1 root smmsp  487 Jul 19  2010 named.root.key


On Mon, Sep 7, 2015 at 1:05 PM, Robert Moskowitz 
wrote:


I am trying to rsync the named files under /etc for backup purposes.  I
tried:

rsync -ah --stats --delete -e "ssh -p613 -l root" 192.168.192.2:/etc/name*
/home/rgm/data/htt/httnet/homebase/new/etc

The stats shows it sees all the files, but only moves the dir /etc/named
and the files within it.

It does not move the /etc/name* files (like /etc/named.conf).

By file count, it is 'seeing' all the files, but not moving them.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.1.1503 + Dovecot + IPA

2015-09-08 Thread Alice Wonder

You could try rebuilding this src.rpm -

http://awel.domblogger.net/7/libre/src/repoview/dovecot.html

That's what I use for Dovecot on CentOS 7 but I build it against 
LibreSSL so you probably don't want my binary RPM but the src.rpm will 
build against stock CentOS OpenSSL just fine w/o modification.


I don't know if it will fix your issue but it is latest release that the 
dovecot list claims has the issue fixed.


On 09/08/2015 12:00 PM, Kanwar Ranbir Sandhu wrote:

Hi Everyone,

I'm running an IPA server on CentOS 7 successfully and now I want to
change my Dovecot setup to use GSSAPI for IMAP authentication instead
of a flat "userdb" file. I've already joined the Dovecot box to the IPA
domain - ssh and ipa policies and all that are working properly.

I read a number of articles on how to configure Dovecot for GSSAPI auth
and they all said the same thing (even Red Hat's official how to on it
agreed). But, when I set up Evolution on my Fedora 22 system to use
GSSAPI, Dovecot's log records this:

Sep  8 13:49:55 mailman02 dovecot: auth: Panic: file auth-request.c:
line 733 (auth_request_is_disabled_master_user): assertion failed:
(request->requested_login_user != NULL)
Sep  8 13:49:55 mailman02 dovecot: auth: Error: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0x6a02e) [0x7f27af22202e] ->
/usr/lib64/dovecot/libdovecot.so.0(+0x6a10e) [0x7f27af22210e] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7f27af1da52c] ->
dovecot/auth [1 wait, 0 passdb, 0 userdb](+0x15922) [0x7f27af6c7922] ->
dovecot/auth [1 wait, 0 passdb, 0
userdb](auth_request_lookup_credentials+0x32) [0x7f27af6c9332] ->
/usr/lib64/dovecot/auth/libmech_gssapi.so(+0x2134) [0x7f27ad615134] ->
dovecot/auth [1 wait, 0 passdb, 0
userdb](auth_request_handler_auth_continue+0xe5) [0x7f27af6caf15] ->
dovecot/auth [1 wait, 0 passdb, 0 userdb](+0x109da) [0x7f27af6c29da] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x27)
[0x7f27af232a47] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0xff)
[0x7f27af2338cf] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f27af232598]
-> /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f27af1df9e3] -> dovecot/auth [1 wait, 0 passdb, 0
userdb](main+0x391) [0x7f27af6c07f1] ->
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f27ae7ceaf5] ->
dovecot/auth [1 wait, 0 passdb, 0 userdb](+0xe9e1) [0x7f27af6c09e1]
Sep  8 13:49:55 mailman02 dovecot: auth: Fatal: master: service(auth):
child 23185 killed with signal 6 (core dumps disabled)

I've already asked on the Dovecot list about my GSSAPI auth problems
and was told that this is a bug in Dovecot which does not exist in the
latest release (I don't know when the problem was actually fixed).

My question is simply this: does anyone else have
dovecot-2.2.10-4.el7_0.1.x86_64 working with GSSAPI auth against an IPA
server? IPA is also running on CentOS 7.1.1503.

Regards,

Ranbir


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Saving session with terminal window open upon logout

2015-09-08 Thread Gilbert Sebenste

Hello everyone,

I tried Googling this, looking through admin notes...and I couldn't find 
this. And I know someone smart out here has the answer!


When I log out of a user account, I want it to, when I log back in,
have a terminal window pop up on my Gnome windows display, as I did
before I logged out.

How do I save a session before or as I log out? I am running
Centos 6.7, 64-bit.

Gilbert

***
Gilbert Sebenste
(My opinions only!)  **
***
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] C6 firefox esr h.264 support on youtube

2015-09-08 Thread Robert Arkiletian
I was able to get h.264 support on www.youtube.com/html5 on fedora 21 by
installing

gstreamer1-libav

but that package does not exist in C6 (or it's popular third party repos)

What is the name of the package which adds h.264 to firefox on
youtube/html5 in C6?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6 firefox esr h.264 support on youtube

2015-09-08 Thread Richard


 Original Message 
> Date: Tuesday, September 08, 2015 14:57:22 -0700
> From: Robert Arkiletian 
>
> I was able to get h.264 support on www.youtube.com/html5 on fedora
> 21 by installing
> 
> gstreamer1-libav
> 
> but that package does not exist in C6 (or it's popular third party
> repos)
> 
> What is the name of the package which adds h.264 to firefox on
> youtube/html5 in C6?


I think you'll find that package in the nux repo:

  gstreamer1-libav.x86_64  1.0.6-1.el7.nux  

I don't know if that will do what you're after, and I can't try this
out as my desktop machines are all C7. 

More detail on that repository can be found at:

   


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6 firefox esr h.264 support on youtube

2015-09-08 Thread Robert Arkiletian
I had already looked at the nux repo. They may have that package for C7 but
I can't see it for C6.

I'm thinking h.264 gstreamer support must be provided by another package in
C6.

I have gstreamer-plugins-base & good installed. And I've already tried ugly
and gstreamer-ffmpeg.

On Tue, Sep 8, 2015 at 3:11 PM, Richard 
wrote:

>
>
>  Original Message 
> > Date: Tuesday, September 08, 2015 14:57:22 -0700
> > From: Robert Arkiletian 
> >
> > I was able to get h.264 support on www.youtube.com/html5 on fedora
> > 21 by installing
> >
> > gstreamer1-libav
> >
> > but that package does not exist in C6 (or it's popular third party
> > repos)
> >
> > What is the name of the package which adds h.264 to firefox on
> > youtube/html5 in C6?
>
>
> I think you'll find that package in the nux repo:
>
>   gstreamer1-libav.x86_64  1.0.6-1.el7.nux
>
> I don't know if that will do what you're after, and I can't try this
> out as my desktop machines are all C7.
>
> More detail on that repository can be found at:
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6 firefox esr h.264 support on youtube

2015-09-08 Thread Richard


> Date: Tuesday, September 08, 2015 15:24:50 -0700
> From: Robert Arkiletian 
>
>> On Tue, Sep 8, 2015 at 3:11 PM, Richard wrote:
>> 
>> 
>> > Date: Tuesday, September 08, 2015 14:57:22 -0700
>> > From: Robert Arkiletian 
>> > 
>> > I was able to get h.264 support on www.youtube.com/html5 on
>> > fedora 21 by installing
>> > 
>> > gstreamer1-libav
>> > 
>> > but that package does not exist in C6 (or it's popular third
>> > party repos)
>> > 
>> > What is the name of the package which adds h.264 to firefox on
>> > youtube/html5 in C6?
>> 
>> 
>> I think you'll find that package in the nux repo:
>> 
>>   gstreamer1-libav.x86_64  1.0.6-1.el7.nux
>> 
>> I don't know if that will do what you're after, and I can't try
>> this out as my desktop machines are all C7.
>> 
>> More detail on that repository can be found at:
>> 
>>
>> 
>
> I had already looked at the nux repo. They may have that package
> for C7 but I can't see it for C6.
> 
> I'm thinking h.264 gstreamer support must be provided by another
> package in C6.
> 
> I have gstreamer-plugins-base & good installed. And I've already
> tried ugly and gstreamer-ffmpeg.
> 

Sorry, I didn't have that repository set up for C6 and when trying
to do a quick switch I didn't actually manage to switch it from C7
to C6. I agree, I don't see it there for C6, even in their -testing.

Looking at rpmfind it appears to be available from RpmFusion back to
fedora-18. That may not be old enough (forget what the fc "base" is
for C6), but you may be able to find older fc versions with a little
looking.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Saving session with terminal window open upon logout

2015-09-08 Thread lin...@verizon.net
$ gnome-session-save

Sent from my HTC

- Reply message -
From: "Gilbert Sebenste" 
To: 
Subject: [CentOS] Saving session with terminal window open upon logout
Date: Tue, Sep 8, 2015 5:01 PM

Hello everyone,

I tried Googling this, looking through admin notes...and I couldn't find this. 
And I know someone smart out here has the answer!

When I log out of a user account, I want it to, when I log back in,
have a terminal window pop up on my Gnome windows display, as I did
before I logged out.

How do I save a session before or as I log out? I am running
Centos 6.7, 64-bit.

Gilbert

***
Gilbert Sebenste
(My opinions only!)  **
***
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos