Search found 212 matches

by chris
Thu Dec 04, 2014 8:36 pm
Forum: Shell
Topic: rm: command not found
Replies: 1
Views: 62276

Re: rm: command not found

I don't know the source of your problem.
might be that the command is not found in /bin or /sbin

You can try by adding the absolute path:

Code: Select all

/bin/rm
That should work.
by chris
Mon Nov 24, 2014 8:22 am
Forum: Servers
Topic: Solved: dovecot disable imap but keep imaps
Replies: 1
Views: 67130

Re: dovecot disable imap but keep imaps

You can set inet_listener imap to port 0 (= off)
/etc/dovecot/dovecot.conf

Code: Select all

protocols = imap

service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
by chris
Thu Oct 30, 2014 7:46 pm
Forum: Apache
Topic: SSL firefox shows wrong message
Replies: 1
Views: 66511

Re: SSL firefox shows wrong message

I had the same problem once;
I forgot to install the certificate chain file
SSLCertificateChainFile /etc/ssl/crt/intermediate.crt

It should be delivered by your registar together with you normal certificate.

<VirtualHost *:443>
DocumentRoot /var/www/website
ServerName www.domain.com ...
by chris
Thu Oct 09, 2014 7:15 pm
Forum: Servers
Topic: smb password : Failed to find entry for user
Replies: 1
Views: 62156

Re: smb password : Failed to find entry for user

You need to add that user locually. Try:

Code: Select all

useradd mySmbUser
Then:

Code: Select all

smbpasswd -a mySmbUser
by chris
Sat Sep 06, 2014 6:48 pm
Forum: General
Topic: How to Add YouTube Videos to phpBB
Replies: 1
Views: 57481

Re: How to Add YouTube Videos to phpBB

If you have version 3 or higher of phpbb,
you can add your own BBCode buttons.

Log in to your Administrative Control Panel (ACP) and click on the Posting tab on the top menu.
then Add a new BBCode button.

Enter the following in the "BBCode usage" box:
[youtube]{SIMPLETEXT}[/youtube]
and in the ...
by chris
Sat Jun 28, 2014 12:16 pm
Forum: Postfix
Topic: postfix/smtpd[2898]: fatal: no SASL authentication mechanism
Replies: 3
Views: 90026

Re: postfix/smtpd[2898]: fatal: no SASL authentication mecha

I think you have 2 problems.

first one is with TLS;
the file /etc/ssl/certs/ca-certificates.crt is missing, or can't be read by postfix.
Make sure the file exists and is readable.
My be something went wrong with the installation.
You could try to copy it from another machine.

Second problem is ...
by chris
Mon Jun 09, 2014 6:11 pm
Forum: Shell
Topic: tar (child): bzip2: Cannot exec: No such file or directory
Replies: 1
Views: 64089

Re: tar (child): bzip2: Cannot exec: No such file or directo

sound to me that bzip2 is not installed on your system.

check for the command bzip2

if you can find it, install it on Debian (or ubuntu) with

Code: Select all

apt-get install bzip2
If you use another flavor of linux, either use yum (CentOS, RedHat, mandrive, ...) or emerge (gentoo)
by chris
Wed May 28, 2014 6:08 pm
Forum: Servers
Topic: DNS-server used in DDOS attack
Replies: 1
Views: 63782

Re: DNS-server used in DDOS attack

The same can happen if you are running a NTP-server (Network Time Protocol).
This service is less common to be set on a web-server then a DNS-server.
But if it is running it can also be (mis-)used to setup a DDoS-attack.

The easiest solution is to upgrade to the latest version (at least 4.2.7p26 ...
by chris
Wed May 28, 2014 5:48 pm
Forum: Servers
Topic: DNS-server used in DDOS attack
Replies: 1
Views: 63782

DNS-server used in DDOS attack

Last week someone come too me with the following problem:
He received a mail from his hosting-provider that is server was used in DNS DDoS-attack.

I find it it important enough to post it here.
The problem was the configuration of his DNS-server (named),
a common problem.
The solution is just a add ...
by chris
Tue May 13, 2014 7:57 pm
Forum: Shell
Topic: read piped info into a script
Replies: 1
Views: 60769

Re: read piped info into a script

I think piped info is just as standard input.

Something like this should work

Code: Select all

MESSAGE="$(< /dev/stdin)"
Standard input get stored in variable MESSAGE

You can test the script with this
echo "this is a test" | script.sh