Web Hosting Talk







View Full Version : strange problems when restarting httpd - [: =: unary operator expected whats that


Cephren
04-26-2002, 04:04 AM
Anyone seen this?

[root /etc]# /etc/rc.d/init.d/httpd restart
/etc/rc.d/init.d/httpd: [: =: unary operator expected
/etc/rc.d/init.d/httpd: [: =: unary operator expected
Shutting down Web Service: httpd
/etc/rc.d/init.d/httpd: [: =: unary operator expected

What are those unary operator expected?

jahsh
04-26-2002, 07:21 PM
have you tried /etc/rc.d/init.d/httpd stop
and then /etc/rc.d/init.d/start
see if you get the same error, also check /var/log/httpd/error for what might be causing this.

cbaker17
04-26-2002, 11:09 PM
Again im not a tech but use to mess with apache config, it looks like a problem with your httpd.conf file (apache config file) perhsp restore it with a previous version if that fixes it then hunt down what happened to your current version.