Re: [CentOS] Thunderbird question

2015-06-14 Thread Steven Stern
On 06/14/2015 04:53 PM, jd1008 wrote:
 I was looking at the output of
 thunderbird --help
 
 and I see there is no cli arg that makes it
 start with a specific profile (which can be any
 one of n profiles) - unless I am not reading
 the output properly :)
 
 I am trying to avoid having to select the profile
 when starting thunderbird on different worspaces
 for different profiles.

thunderbird -P profile_name

https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#User_Profile

-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mod_suPHP

2015-05-24 Thread Steven Stern
On 05/24/2015 12:20 PM, Bob Puff wrote:
 I have been trying to get mod_suPHP working on Centos 7's httpd, just as I've
 done with versions 5 and 6.  I found a couple RPMs that others have built, and
 I even compiled suPHP from source, and got a successful compile.  Each time, I
 can see with phpinfo() that the mod_suPHP module did indeed load, yet I cannot
 seem to get any script to run in a user other than the default of 'nobody'. 
 
 Has anyone else had success with this?  For a virtual hosting environment, I
 really need this type of functionality.  7 is definitely a different animal,
 but there must be something I am missing.  I do have selinux disabled.
 
 Bob 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
I gave up and went with mod_ruid2, which is pretty much a drop-in
replacement for suPHP

-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] C7 http ITK

2015-03-20 Thread Steven Stern
I've been trying to get the mod_itk module installed on Centos 7.  The
package is in epel, but there's an error once it's installed
mod_access_compat.so undefined symbol ap_hook_check_access.

Can anyone point me to a set of RPMs that will let me run itk or another
C7 ready tool that will easily run each vhost as a different user?
-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Building mod_suphp on Centos 7

2014-11-15 Thread Steven Stern
I've downloaded the tarball. When I run ./configure, I get

[sdstern@cumberland suphp-0.7.2]$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in
config ./config

I've installed libtool, autoconf and automake. shtool and install-sh are
installed.

Any clues on how to get this to configure?

Or does anyone know of a repo where I can get an rpm for C7?



-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cannot get php errors to go to a file

2014-10-29 Thread Steven Stern
Using basically the same setup that works on C6, I have a C7 site.

in PHP.INI, it says error_log = /tmp/php_errors.log

PHP errors do not go there (or anywhere).

1. Apache has write perms to /tmp
2. I have restarted httpd since changing php.ini
3. The base php.ini is from the development version in /usr/share
4. Selinux is disabled.

Ideas?
-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cannot get php errors to go to a file

2014-10-29 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/29/2014 04:07 PM, Reindl Harald wrote:
 
 Am 29.10.2014 um 19:54 schrieb Steven Stern:
 Using basically the same setup that works on C6, I have a C7 site.

 in PHP.INI, it says error_log = /tmp/php_errors.log

 PHP errors do not go there (or anywhere).

 1. Apache has write perms to /tmp
 2. I have restarted httpd since changing php.ini
 3. The base php.ini is from the development version in /usr/share
 4. Selinux is disabled
 
 PrivateTmp=true works as you can see
 using /tmp for logfiles is plain stupid
 

I changed it to error_log = php_errors.log and now it writes errors into
the virtualhost's docroot.  How do I put it someplace not accessible to
the world, but readily found by me?

- -- 
- -- Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUUWXKAAoJEDx7wfUw/4IOn4kH/ArnB6lIXZKbt9p0w7Jk1wmm
+K+4b5fcN5ZqMb15J1s0dXqZmcdTnAeCfAV5wYz1OLRuNpwrzfb73WiLea3gMB5O
fm8xpSx+wnoEGKLV5EYeHA/uZJHxllL/GqHwTRGJj/EyzOBYRFSoSqdhntmS1Ggz
Kj16khzdLPot01C/Ie7RkPMkp1tkawyyhKtn58BWeTtuGBGmdqq+m57XtoE5nEnL
MBf3r8XtUxMbTDK5GTOP398rqF6hNDIr3jDfzyf4v+oYCm/gZR9aNZ9hkb35n5HM
TImvSeeJj3so9IET60XhX048G0RSt8F4lPBPkHAbC6gD8IgipxEHM9IVs4jenTg=
=b7nW
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cannot get php errors to go to a file

2014-10-29 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/29/2014 04:07 PM, Reindl Harald wrote:
 
 Am 29.10.2014 um 19:54 schrieb Steven Stern:
 Using basically the same setup that works on C6, I have a C7 site.

 in PHP.INI, it says error_log = /tmp/php_errors.log

 PHP errors do not go there (or anywhere).

 1. Apache has write perms to /tmp
 2. I have restarted httpd since changing php.ini
 3. The base php.ini is from the development version in /usr/share
 4. Selinux is disabled
 
 PrivateTmp=true works as you can see
 using /tmp for logfiles is plain stupid

OK ... final message. I'm logging to syslog which seems both secure and
readily findable.

 


- -- 
- -- Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUUWc2AAoJEDx7wfUw/4IOviQH/iQdriSP1UiMo8vsIQxwiCQt
zw6kD3h1BrJxF/hdsx+eUC+kgiQqiWi0OGdI/BhPzGTAr0UK/Tt2LsHJoWp7XPu9
uYeFhYdziBpzK5+8jDEUFXf839GyLtdP6YEnu2ItBOhob87paak2dw+X/EF1/RTo
PJGwYjkvVCYXB4inBZQkIkVYUxYIDzxZCJ/Ym+LUpANNcpQ0Pncd82yI7uu6JsQN
5B1Rvjyc9q5adYRblEO2n04DVYQiJCwnoOjtaF7qxIdCcRxIfN7/Znx1AxdbE5Ck
KrhhupbP4M6rnZtD/IsdYM2iWU0fUmp11xQueR7biZb07tbUdGMu+OjjHtFO9eY=
=QvoI
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C5 : Deleting un-deletable files ?

2014-09-13 Thread Steven Stern
On 09/13/2014 12:20 PM, Always Learning wrote:
 
 During a routine trawl through the ext3 files, I found some astronomical file 
 sizes, billions and billions of GB.
 They also has strange user and group names.
 I can not delete these weird files (the term used by the operating system 
 utilities).
 
 Here are a few examples. The original files were created on Windoze 98 
 version 2 circa 2001.
 
 2411957 p--x---rwx 65487 299196551 2101198676775118685 Apr  5  
 1943 2434.thm
 2411959 ?--xr-srwT  6581 42211  24637   1333254828 Jan 30  
 2029 2435
 2411960 -rwxr-xr-x 44608 305922048 3679253821 14580319157523353423 Dec  1  
 1949 2437
 
 lsattr: Operation not supported While reading flags on .
 
 stat   ...   A normal file looks this this example:
 
   File: `2436'
   Size: 47537   Blocks: 96 IO Block: 4096   regular file
 Device: fd00h/64768dInode: 2411956 Links: 1
 Access: (0755/-rwxr-xr-x)  Uid: (0/root)   Gid: (0/root)
 Access: 2014-09-13 17:36:21.0 +0100
 Modify: 2001-02-21 00:52:50.0 +
 Change: 2013-03-12 06:26:36.0 +
 
 The problem files look like this:
 
 File: `2434.thm'
   Size: 775118685   Blocks: 3429617551 IO Block: 4096   fifo
 Device: fd00h/64768dInode: 2411957 Links: 65487
 Access: (0107/p--x---rwx)  Uid: (299196551/ UNKNOWN)   Gid: (2101198676/ 
 UNKNOWN)
 Access: 1951-12-14 00:29:38.0 +
 Modify: 1943-04-05 10:37:22.0 +0200
 Change: 2011-08-13 06:50:44.0 +0100
 
   File: `2435'
   Size: 1333254828  Blocks: 1402834881 IO Block: 4096   weird file
 Device: fd00h/64768dInode: 2411959 Links: 6581
 Access: (3156/?--xr-srwT)  Uid: (42211/ UNKNOWN)   Gid: (24637/ UNKNOWN)
 Access: 1926-11-04 02:28:28.0 +
 Modify: 2029-01-30 15:25:30.0 +
 Change: 1928-09-14 11:19:14.0 +0100
 
  File: `2437'
   Size: 14580319157523353423Blocks: 1664918158 IO Block: 4096   regular 
 file
 Device: fd00h/64768dInode: 2411960 Links: 44608
 Access: (0755/-rwxr-xr-x)  Uid: (305922048/ UNKNOWN)   Gid: (3679253821/ 
 UNKNOWN)
 Access: 2014-09-13 17:36:28.0 +0100
 Modify: 1949-12-01 22:31:41.0 +
 Change: 2030-03-17 01:15:08.0 +
 
 
 rm: cannot remove `2437': Operation not permitted
 
 However using 'lsattr 2437' to expose the flags, then removing
 the flags with 'chattr -{flag) 2437' eventually permitted me to delete 
 the file with 'rm 2437'.
 
 The remaining two files appear un-touchable.
 
 lsattr 2435
 lsattr: Operation not supported While reading flags on 2435
 
 chattr -a 2434.thm  ('a' was a random choice)
 chattr: Operation not supported while reading flags on 2434.thm
 
 find . -inum 2411959 -exec rm -i {} \;
 rm: remove weird file `./2435'? y
 rm: cannot remove `./2435': Operation not permitted
 
 All advice, except to transfer everything to a new partition then reformat 
 the bad partition (which I will do eventually), appreciated.
 
 
 

Have you run an fsck on this partition lately?


-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] MariaDB repository

2014-09-10 Thread Steven Stern
My C7 system has mariadb 5.5.37, installed from the Centos repository.
The latest version (with a security update is 5.5.39).  Mariadb.org has
its own repositories, but they don't list Centos 7 as an option. Is
anyone using the repository for Centos 6 with Centos 7?

See
https://downloads.mariadb.org/mariadb/repositories/#mirror=jmudistro=CentOSdistro_release=centos6-amd64version=5.5


-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MariaDB repository

2014-09-10 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/10/2014 10:29 AM, Johnny Hughes wrote:
 On 09/10/2014 09:58 AM, Steven Stern wrote:
 My C7 system has mariadb 5.5.37, installed from the Centos
 repository. The latest version (with a security update is
 5.5.39).  Mariadb.org has its own repositories, but they don't
 list Centos 7 as an option. Is anyone using the repository for
 Centos 6 with Centos 7?
 
 See 
 https://downloads.mariadb.org/mariadb/repositories/#mirror=jmudistro=CentOSdistro_release=centos6-amd64version=5.5



 
 Red Hat does backporting for updates, and CentOS rebuilds that 
 backported code.
 
 If you look at the security issues you are talking about in mariadb
 5.5, you will see that they are ROLLED IN already:
 
 https://rhn.redhat.com/errata/RHSA-2014-0702.html
 
 But backported in the current version.
 
 (The list of CVE's patched is on that page)
 
 If you have other questions about backporting, read this:
 
 https://access.redhat.com/security/updates/backporting
 
 So the short message is, if you want to know if a CVE fix is
 included, you can see on the errata page or here:
 
 https://access.redhat.com/security/cve/
 
 All the CentOS announcements are here:
 
 http://lists.centos.org/pipermail/centos-announce/
 
 Thanks, Johnny Hughes

Thanks for the excellent (and reassuring) response.


- -- 
- -- Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUEG9UAAoJEDx7wfUw/4IOZtUH+wZnu7PKPP+13cb0YmR4h/qH
O92AOXHevbhtj8FogW7puwLLeyW7ud64d+WctgXXkctkXEEbIakigFmBGryXfHiy
FrPquQxKutZTWQ6UYwvhd4huFKv3PrBrmwjzOrcD1yA8N58tUw+yWdsd8hKvxp+I
oNhxllHQdU9G1Wb9oGtbYIcQL1hhCkLj5Oh6e3ExVwVLXVcPb+/WMuZRp8yP/cAy
DVa1wTM0oolexY+ZMAVNmGQxvx8nL9xEoXDTkQ6F2b9WXo7Dh+7W2TvTWwT+88Fj
6IBduDMuT8IOLduw9upeFodh27L/VY/LFX85HvpGIPFfxVZ2BEfjgJuCkyHKr84=
=JO4x
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Minimum RAM for CentOS7

2014-09-07 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/07/2014 01:31 PM, Oliver Schad wrote:
 On Sun, 07 Sep 2014 11:08:18 -0700
 Keith Keller kkel...@wombat.san-francisco.ca.us wrote:
 
 On 2014-09-07, Oliver Schad cen...@automatic-server.com wrote:

 With 1 GB RAM everything runs fine. Don't know, what they do with
 more than 512 MB RAM on a text only system during installation ...

 Could switch to a different console and bounce on top, if you're
 interested.

 512MB seems really small these days, so I'm guessing you're using this
 as a small appliance box like a NAT router. 
 
 No, a basic box for common services like DHCP, DNS, SMTP, Nginx, ...
 doesn't need much RAM, so 512 MB is really enough.
 
 Is there a reason you
 prefer CentOS over a distro targeted to your application?
 
 I don't see a reason, why I should have a zoo of distros. A productive
 basic installation of CentOS 7 needs ~ 100 MB RAM. Why the installation
 needs more than 5 times that is really interesting question.
 
 Best Regards
 Oli
 
As soon as you throw in a web server and/or MySQL, you need more.  The
RAM is really defined by what the system is going to be doing.


- -- 
- -- Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUDKmqAAoJEDx7wfUw/4IOiHEIAMOQLruNhzvZBrlc11VGoZr3
oSMXct9ihuVngPsRlJcdBLxrgmRKVDJIah+qycvEzOrk4E7gNdVtqUVQ/TMLpgHk
0izYrZfIzbJ+ArvBxY53Hb0KJ+QGdr9wgT3FiolZ8li7uS4TflzxTgPmom4xmEn2
itV9AFCtFKjAK3zRNBenRUFLbMaqNQKYLSS9IHwwSq1eswHMleK4YdQzoT93NOBz
cH1IRwjGHfLI7VBciHZiQ/YuIWOngS941uR4OrLc/RrnrP54+Xa4sPB3wFcKTUHP
GcTUbR+K2DpFonAF6hO0pjc8YXK/v2Q0zRgn49gy6Ifo2Aq2uN2pTKWYVHdLnP8=
=mSeA
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mairadb doesn't prompt for user/pass

2014-08-30 Thread Steven Stern
On 08/30/2014 10:12 PM, Tim Dunphy wrote:
 Hello,
 
  I discovered today that CentOS 7 has replaced MySQL with MariaDB. Which is
 fine, it's seems really similar. And I was already aware that it was
 written by the original team that wrote mysql.
 
 It's cool that the mysql command still gets you in!
 
 This is the version I have:
 
 [root@web1:~] #mysql --version
 mysql  Ver 15.1 Distrib 5.5.37-MariaDB, for Linux (x86_64) using readline
 5.1
 
 But for some reason all I have to do is type the word 'mysql' to get me
 into the database.
 
 That's ok for initial setup I guess. But once I was in a did away with all
 the accounts that either had blank set for the username, and updated all
 the accounts to use passwords.
 
 MariaDB [mysql] select User,'@',Host,Password from user;
 +---+---+---+---+
 
 | User  | @ | Host  | Password  |
 
 +---+---+---+---+
 
 | root  | @ | localhost | *8328225AE4A663FAKEFAKEFAKEFAKEFAKE93D61 |
 
 | root  | @ | web1  | *8328225AE4A663FAKEFAKEFAKEFAKEFAKE93D61 |
 
 | root  | @ | 127.0.0.1 | *8328225AE4A663FAKEFAKEFAKEFAKEFAKE93D61 |
 
 | admin | @ | localhost | *8328225AE4A663FAKEFAKEFAKEFAKEFAKE93D61 |
 
 +---+---+---+---+
 
 4 rows in set (0.00 sec)
 
 I also did a search from root to find any my.cnf files and didn't find any
 that has user accounts in them.
 
 Also I find that for the root accounts I can't seem to login even if I set
 the password in the database without encryption and copy/paste the password
 into the prompt.
 
 However the non-root account (admin) does let you in with the password.
 
 So I'm wondering how to secure mariadb so that it doesnt' let you in
 without typing in a username and password and also why it doesn't let you
 log in as 'root'? Is the root account disallowed from logging in by default?
 
 Thanks
 Tim
 


my.cnf doesn't have the passwords.  When you first set up mysql, you use
the mysqladmin command to set the root password.

MariaDB doesn't handle the initial set up any differently than MySQL.

man mysqladmin

C7 does do some stuff differently with the config as the real config
files are in /etc/my.cnf.d  /etc/my.cnf includes those files to build a
config.



-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] systemd session abandoned

2014-08-19 Thread Steven Stern
Things like this keep showing up in my my logs. Any idea what to look
for to (1) figure out why and (2) track it to a particular service?

systemd: Failed to mark scope session-19.scope as abandoned : Stale file
handle


-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] systemd session abandoned

2014-08-19 Thread Steven Stern
On 08/19/2014 03:13 PM, Edward M wrote:
 On 08/19/14 10:49, Steven Stern wrote:
 Things like this keep showing up in my my logs. Any idea what to look
 for to (1) figure out why and (2) track it to a particular service?

 systemd: Failed to mark scope session-19.scope as abandoned : Stale file
 handle


   This may help out:
 
 http://cgit.freedesktop.org/systemd/systemd-stable/commit/?id=f517790db5277fa71d6ae3617244f1acc4b62572
 
 http://cgit.freedesktop.org/systemd/systemd-stable/tree/src/core/scope.c#n433

I did this service file myself... does anything here look fishy?

$ more /etc/systemd/system/dropbox.service

[Unit]
Description=Dropbox as a system service

[Service]
ExecStart=/home/sdstern/.dropbox-dist/dropboxd
User=sdstern
# 'LANG' might be unnecessary, since systemd already sets the
# locale for all services according to /etc/locale.conf.
# Run `systemctl show-environment` to make sure.
Environment=LANG=en_US.utf-8

[Install]
WantedBy=multi-user.target



-- 
-- Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos