Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dzseti

Pages: [1]
1


Using phpmyadmin with cwp on centos 7 server. Was working, but after changes to apache configuration (maybe other changes too) have the following problem:

1) From cwp load phpmyadmin login page 2) Enter credentials correctly (sure that credentials correct because otherwise get error message) 3) See new token in URL, but login page reloaded repeatedly

Have tried: - reinstalling mariadb - ensuring root has full sql rights granted - reinstalled and updated phpmyadmin to latest

Not sure how to debug this one

2
SPF / Re: policyd-spf skip_addresses not IP network
« on: June 16, 2017, 11:10:43 PM »
Solved this by:

1) installing pip for python 3 following this: https://stackoverflow.com/questions/32618686/how-to-install-pip-in-centos-7

2) then seeing what modules were missing by invoking the script from ssh with
Code: [Select]
sudo -u nobody /usr/bin/python3.4 /usr/libexec/postfix/policyd-spf     I added the following:
2a) module spf with
Code: [Select]
pip3 install pyspf2b) module dns with
Code: [Select]
pip3 install py3dns2c) module policydspfsupp with
Code: [Select]
pip3 install pypolicyd-spf
3) then changed back to python3 (as per the original solution above) in /etc/postfix/master.cf
Code: [Select]
user=nobody argv=/usr/bin/python3 /usr/libexec/postfix/policyd-spf
4) restarted postfix

3
SPF / Re: policyd-spf skip_addresses not IP network
« on: June 12, 2017, 01:09:05 PM »
When I follow this I get an error as follows

Code: [Select]
Traceback (most recent call last):
  File "/usr/libexec/postfix/policyd-spf", line 35, in <module>
    import spf
ImportError: No module named 'spf'

(As a work around until I get this fixed in master.cf I use: user=nobody argv=/usr/bin/python /usr/libexec/postfix/policyd-spf
instead of: user=nobody argv=/usr/bin/python3 /usr/libexec/postfix/policyd-spf

Also I have to disable the ipaddress modules in python. While this causes other problems the server can at least receive mails)


4
Get the following error when starting advanced file manager:

Notice: Undefined variable: 66%7? "/,&@',1) in /usr/local/cwpsrv/htdocs/admin/admin/fileManager2.php on line 2097152

Pages: [1]