Profile Details

Toggle Sidebar
Recent updates
  • Claus
    Claus started a new discussion, Update to PHP 5.6

    Update to PHP 5.6

    Hi
    I have a ClearOS 7.3.0 and I run Joomla
    and now it Joomla wants to have PHP 5.6, on ClearOS 7.3.0 there is only
    PHP 5.4.16
    How can I update to PHP 5.6?

  • Claus

    Hi

    I found a gay with the same problem by a search on google

    I put this on top of the .htaccess file and then it works
    also my rewrite test work now

    Options +SymLinksIfOwnerMatch

    my wordpress site is in /var/www/htlm/web/

    and the .htaccess file is now

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    Options +SymLinksIfOwnerMatch
    RewriteEngine On
    RewriteBase /web/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /web/index.php [L]
    </IfModule>
    # END WordPress

    Claus

  • Claus
    Claus started a new discussion, mod_rewrite don't work I get forbidden

    mod_rewrite don't work I get forbidden

    hi

    when I make a .htaccess file with mod_rewrite rule I get forbidden
    it is clearOS 7 and the mod_rewrite is on
    so I can't get wordpress tol work with permalink

    Claus

  • Claus
    Claus started a new discussion, message_size_limit postfix

    message_size_limit postfix

    Hi

    I want to set my message_size_limit=209700000 = 200mb
    how can I do this claros can only go to 100mb
    can I run this code
    postconf -e message_size_limit=209700000

    Claus

  • Claus
    Claus started a new discussion, run scritp after boot

    run scritp after boot

    hi

    How can I run a scritp on boot in ClearOS 7.2 I use to put it in rc-local but that have change
    it look likes, I can't get it to Work

    CB

  • Claus
    Claus replied to a discussion, Dropbox will not start

    Hi

    I don't have a dropbox pid file, I have try to uninstall and reboot install Again but it is the same
    will not start dropbox

    run this code and get this

    dropbox.service - LSB: start and stop dropbox
    Loaded: loaded (/etc/rc.d/init.d/dropbox)
    Active: failed (Result: resources) since Mon 2016-09-26 19:48:15 CEST; 4min 26s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 6261 ExecStart=/etc/rc.d/init.d/dropbox start (code=exited, status=0/SUCCESS)

    Sep 26 19:48:15 bloknet.lan systemd[1]: Starting LSB: start and stop dropbox...
    Sep 26 19:48:15 bloknet.lan dropbox[6261]: Starting dropbox
    Sep 26 19:48:15 bloknet.lan systemd[1]: PID file /var/run/dropbox.pid not readable (yet?) after start.
    Sep 26 19:48:15 bloknet.lan systemd[1]: Failed to start LSB: start and stop dropbox.
    Sep 26 19:48:15 bloknet.lan systemd[1]: Unit dropbox.service entered failed state.
    Sep 26 19:48:15 bloknet.lan systemd[1]: dropbox.service failed.


    what to do?

    CB

  • Claus
    Claus started a new discussion, Dropbox will not start

    Dropbox will not start

    hi

    I get this erro when I try to start dropbox

    Sep 25 21:32:00 bloknet.lan systemd[1]: Starting LSB: start and stop dropbox...
    Sep 25 21:32:00 bloknet.lan dropbox[9867]: Starting dropbox
    Sep 25 21:32:00 bloknet.lan systemd[1]: PID file /var/run/dropbox.pid not readable (yet?) after start.
    Sep 25 21:32:00 bloknet.lan systemd[1]: Failed to start LSB: start and stop dropbox.
    Sep 25 21:32:00 bloknet.lan systemd[1]: Unit dropbox.service entered failed state.
    Sep 25 21:32:00 bloknet.lan systemd[1]: dropbox.service failed.

    what can I do to fix it?

    CB

  • Claus
    Claus replied to a discussion, iptabeles rule

    Hi

    Her is my output of the 2 code

    code is in Custom Firewall

    3 lines it Work in Clearos 6,7 ther is 2 line also in the code youput in reply

  • Claus
    Claus started a new discussion, iptabeles rule

    iptabeles rule

    Hi

    I have this iptabeles rule in my old clearOS 6,7 and now I am on 7,2
    but in 7.2 I got 2 line with the samme rule if I test with iptables -L -n in ssh

    ACCEPT udp -- 1xx.xxx.61.21 192.168.1.25 udp dpt:5060
    ACCEPT udp -- 1xx.xxx.61.21 192.168.1.25 udp dpt:5060

    my rules
    iptables -t nat -A PREROUTING -s sip.viptel.dk -d xxx.xxx.xxx.xxx -p udp --dport 5060 -j DNAT --to-destination 192.168.1.25

    iptables -A FORWARD -s sip.viptel.dk -p udp -d 192.168.1.25 --dport 5060 -j ACCEPT

    iptables -t nat -A POSTROUTING -p udp --dport 5060 -s 192.168.1.0/24 -d 192.168.1.25 -j SNAT --to-source 192.168.1.1


    why do I have 2 lines in 7,2?

    CB

  • Claus
    Claus started a new discussion, h