/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-08 / won't open pound.cfg

[ << ] [ >> ]

[ Pound Altering Mongrel Output / "Tony ... ] [ Problem w/ Openssl / beno <zope(at)2012.vi> ]

won't open pound.cfg
"jon.johnston" <jon.johnston(at)gmail.com>
2006-08-04 01:38:50 [ FULL ]
I have setup and fully tested a pound server working as a front end to a 
Lotus Domino server. Then I've moved it to a different 
(customer/production) site, changed the host name, IP addressing.

When I run

pound -v -f /root/pound.cfg

I get
can't open configuration file "/root/pound.cfg" (Operation not 
permitted) - aborted

This worked fine before the move.

running strace gives me an
open("/root/pound.cfg", O_RDONLY)       = -1 EPERM (Operation not permitted)

What might have changed here.....????? What should the proper 
permissions on pound.cfg be - is this the problem?

Thanks for any insight.

Jon Johnston
Creative Business Solutions
IBM, Microsoft, Novell/Suse and Sophos Consulting
952-544-1108
http://www.cbsol.com
Blog:http://bingo.cbsol.com

Re: [Pound Mailing List] won't open pound.cfg
"Simon Matter" <simon.matter(at)ch.sauter-bc.com>
2006-08-04 07:29:02 [ FULL ]
> I have setup and fully tested a pound server working as a front end to
a[...]

             ^^^^^^^^

That's usually a very bad place for config files, ONLY root can read
anything here. Without knowing what actually is your config, I guess
you're running (does not mean starting) pound as non root user and then it
won't be able to read it's config.

Simon
[...]

Re: [Pound Mailing List] won't open pound.cfg
"jon.johnston" <jon.johnston(at)gmail.com>
2006-08-04 15:43:12 [ FULL ]
Simon Matter wrote:[...][...][...][...]
getting the error whether it's in /etc/ , /root/ - wherever it is .....

config is running as user "pound", group "pound" - owner of pound.cfg in 
/etc/ is pound.pound with 777.... permissions don't seem to matter, I 
still get the error.


Jon Johnston
Creative Business Solutions
IBM, Microsoft, Novell/Suse and Sophos Consulting
952-544-1108
http://www.cbsol.com
Blog:http://bingo.cbsol.com

Re: [Pound Mailing List] won't open pound.cfg
Jeffrey Brown <jbrown(at)camsys.com>
2006-08-04 16:05:33 [ FULL ]
Maybe try recreating the config file from scratch.  There could be an 
invalid character or something in the file.

For what it's worth, here is my config setup:

camproxy01:/usr/local/etc # ls -lah
total 20K
drwxr-xr-x   2 root root  176 Jul 18 11:40 .
drwxr-xr-x  11 root root  264 Feb 21 12:40 ..
-rw-------   1 root root 4.5K Feb 16 11:44 newcert.pem
-rw-------   1 root root 1.6K Jul 18 11:40 pound.cfg
-rw-------   1 root root 1.5K Mar 15 12:58 pound.cfg.orig
-rw-------   1 root root 1.6K Jul 18 11:40 pound.cfg~

and the pound process runs as user pound and group pound

Jeffrey R. Brown
Cambridge Systematics, Inc.

"jon.johnston" <jon.johnston(at)gmail.com> wrote on 08/04/2006 09:43:12
AM:
[...]
to a[...]
then it[...]
pound(at)apsis.ch.[...]
http://www.apsis.ch/pound/pound_list/archive/2006/2006-08/1154648330000[...]
[...]
pound(at)apsis.ch.[...]
Attachments:  
text.html text/html 4325 Bytes

RE: [Pound Mailing List] won't open pound.cfg
"Joe Gooch" <mrwizard(at)k12system.com>
2006-08-04 17:32:15 [ FULL ]
Don't forget your directories, too.  If you ls -ld / /root you'll
probably see that /root is restricted to root only.

If it's in etc, check ls -ld / /etc to make sure the pound user can
access those directories.

Joseph Gooch
Sapphire Suite Product Manager
K12 Systems, Inc.
(866) 366-9540
 
[...]
to[...]
then[...]
http://www.apsis.ch/pound/pound_list/archive/2006/2006-08/1154648330000[...]
.....[...]
in[...]
pound(at)apsis.ch.[...]

Re: [Pound Mailing List] won't open pound.cfg
"jon.johnston" <jon.johnston(at)gmail.com>
2006-08-04 21:40:42 [ FULL ]
Joe Gooch wrote:[...][...]
>>>> I have setup and fully tested a pound server working as a
front end
>>>>         [...][...]
>>>> Lotus Domino server. Then I've moved it to a different
>>>> (customer/production) site, changed the host name, IP
addressing.
>>>>
>>>> When I run
>>>>
>>>> pound -v -f /root/pound.cfg
>>>>
>>>>         
>>>              ^^^^^^^^
>>>
>>> That's usually a very bad place for config files, ONLY root can
read
>>> anything here. Without knowing what actually is your config, I
guess
>>> you're running (does not mean starting) pound as non root user and
>>>       [...][...]
>>> won't be able to read it's config.
>>>
>>> Simon
>>>
>>>
>>>       
>>>> I get
>>>> can't open configuration file "/root/pound.cfg" (Operation not
>>>> permitted) - aborted
>>>>
>>>> This worked fine before the move.
>>>>
>>>> running strace gives me an
>>>> open("/root/pound.cfg", O_RDONLY)       =EPERM (Operation not
>>>> permitted)
>>>>
>>>> What might have changed here.....????? What should the proper
>>>> permissions on pound.cfg be - is this the problem?
>>>>
>>>> Thanks for any insight.
>>>>
>>>> Jon Johnston
>>>> Creative Business Solutions
>>>> IBM, Microsoft, Novell/Suse and Sophos Consulting
>>>> 952-544-1108
>>>> http://www.cbsol.com
>>>> Blog:http://bingo.cbsol.com
>>>>
>>>> --
>>>> To unsubscribe send an email with subject 'unsubscribe' to
>>>>         [...]
>>>> Please contact roseg(at)apsis.ch for questions.
>>>>
>>>>         [...]
>>>>         
>>>       [...][...][...][...][...][...][...][...]
Well, I got disgusted, re-installed everything from scratch and 
everything is working fine. A bit drastic, but it allowed me to check my 
documentation.

thanks for assistance.


Jon Johnston
Creative Business Solutions
IBM, Microsoft, Novell/Suse and Sophos Consulting
952-544-1108
http://www.cbsol.com
Blog:http://bingo.cbsol.com

MailBoxer