Jump to content

Nominet Module stopped working...


CSNM-Carl

Recommended Posts

Seriously *something* on your setup has changed, the modules working fine.

 

*nothing* has changed with our setup/server, I really wish you would stop saying that. :)

 

20 years software development tells me that never does software just "stop" working without something to trigger it despite many many many attempts at users claiming otherwise. And I'm still using the module exactly as i have been since its development, if it stopped on monday, try finding every filemodifies Sunday and Monday ...

 

The problem you are seeing is permissions based, so something *has* changed...

 

can you share the output from...

find /bin/ -type f -mtime -7 -print

find /sbin/ -type f -mtime -7 -print

find /usr/bin/ -type f -mtime -7 -print

ps auxf | grep httpd

find /root/ -type f -mtime -7 -print

find /home/nobody/ -type f -mtime -7 -print

find /home/apache/ -type f -mtime -7 -print

Hi,

 

For the first 3 find commands, there is no output

 

find /bin/ -type f -mtime -7 -print

find /sbin/ -type f -mtime -7 -print

find /usr/bin/ -type f -mtime -7 -print

 

For the ps command, I believe the first 4 entries are enough to determine the user running apache:

 

[root@user /]# ps auxf | grep httpd | head -n 4

root 28178 0.0 0.9 69508 38660 ? Ss 09:36 0:16 /usr/sbin/httpd

root 3227 0.0 0.6 58852 28800 ? S 18:07 0:00 _ /usr/sbin/httpd

apache 3233 0.0 0.6 59168 29256 ? S 18:07 0:00 _ /usr/sbin/httpd

apache 6006 0.6 1.3 87364 55528 ? S 18:54 0:15 _ /usr/sbin/httpd

apache 28594 0.6 1.2 87104 53412 ? S 19:01 0:12 _ /usr/sbin/httpd

 

For find /root/ -type f -mtime -7 -print, files like .viminfo and bash_history were modified last week. I don't see the relevance of listing them.

 

For the last 2 find commands:

 

find /home/nobody/ -type f -mtime -7 -print find /home/apache/ -type f -mtime -7 -print

 

The output is that the 2 folders don't exist:

 

[root@user /]# find /home/nobody/ -type f -mtime -7 -print

find: /home/nobody/: No such file or directory [root@user /]# find /home/apache/ -type f -mtime -7 -print

find: /home/apache/: No such file or directory

 

Also we are running Plesk; not cPanel/WHM. :)

 

Thanks for your help.

 

C

Link to comment
Share on other sites

if /home/apache

doenst exist then your web user doesnt have access to gpg or the kefiles, so trying to sign as the apache user wont work

 

My web user is apache, which has the home directory in /var/www, where the keys have been installed.

 

bash-3.00$ id

uid=48(apache) gid=48(apache) groups=48(apache),2523(psaserv)

 

bash-3.00$ gpg --list-key

/var/www/.gnupg/pubring.gpg

---------------------------

pub 1024D/0A6CFAF4 2007-08-23

uid TAGNAME

 

bash-3.00$ ls -la /var/www/.gnupg/

total 24

drwxr-xr-x 2 apache apache 4096 Oct 3 22:08 .

drwxr-xr-x 11 root root 4096 Aug 28 00:36 ..

-rw------- 1 apache apache 535 Aug 28 00:37 pubring.gpg

-rw------- 1 apache apache 0 Aug 28 00:37 pubring.gpg~

-rw------- 1 apache apache 600 Oct 2 18:45 random_seed

-rw------- 1 apache apache 598 Aug 28 00:37 secring.gpg

-rw------- 1 apache apache 1200 Aug 28 00:37 trustdb.gpg

 

As you can see, apache has access to the keyring and gpg.

Link to comment
Share on other sites

Stopped working after upgrading to 3.4, not signing emails :(

 

Nominet/tmp folder has 777 permissions

 

All looks OK...

 

gpg.conf is there:

 

[root@server www]# ls -la .gnupg/

total 32

drwxr-xr-x 2 apache apache 4096 Oct 4 14:36 .

drwxr-xr-x 11 root root 4096 Aug 28 00:36 ..

-rw------- 1 apache apache 8075 Oct 4 08:25 gpg.conf

-rw------- 1 apache apache 535 Aug 28 00:37 pubring.gpg

-rw------- 1 apache apache 0 Aug 28 00:37 pubring.gpg~

-rw------- 1 apache apache 600 Oct 4 14:36 random_seed

-rw------- 1 apache apache 598 Aug 28 00:37 secring.gpg

-rw------- 1 apache apache 1200 Aug 28 00:37 trustdb.gpg

 

Any ideas at all?

 

Thanks,

Carl

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated