Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: fastautomation on September 29, 2008, 07:33:02 AM
-
Can somebody please assist me, I've been running sme server for a couple of months now and all has been good. When i tried to log into the server manager the other day from ie it says that the page cannot be displayed so i tried to log in through the terminal and i get an access denied message. If anybody knows what could be causing this error please advise. thanks
-
Can somebody please assist me, I've been running sme server for a couple of months now and all has been good. When i tried to log into the server manager the other day from ie it says that the page cannot be displayed so i tried to log in through the terminal and i get an access denied message. If anybody knows what could be causing this error please advise. thanks
We need some pointers. Did you make configuration changes since last successful access? Did you install other packages?
Did you already try a reboot usingsignal-event reboot
-
I have installed other packages, PHP and wordpress. It's been awhile since I used the server manager so I don't know when the last successful login was. If I use IE to get access it shows "page cannot be displayed" and if I use putty and try get in that way it says access denied. Other than that I don't know much more.
-
Sorry, I have also tried to restart the system but no success.
-
If you install an other version of PHP than the one provided with the distro this could, I think, have the potential of destroying any web server installation. After 7-8 years with e-smith / sme server, (or something like this) I think I have never had a serious error like this, exept for due to my own unauthorized modifications. Replacing the PHP version is that kind of modification that I would expect could lead to serious problems. (But because of this expectation I have not really tried to upgrade PHP, on SME 7.3, to see that it really did not work.)
If other users have the experience that PHP can easily be upgraded, please leave some info.
To see if the httpd-admin service is running at all: ps -aux | grep httpd-admin
-
I have installed other packages, PHP
I guess that is the culprit. you should not upgrade PHP on your server with other versions than released through the official SME Server and CentOS repositories listed in the wiki.
Just some checks:
1. The version of php: php -v
2. Installed php related RPMs: rpm -qa | grep php
3. Test if the configuration of your httpd-admin server is OK:
httpd-admin -t
4. Check if the httpd-admin server is up
sv s httpd-admin
5. Check /var/log/httpd/admin_error_log for errors.
-
I ran all those commands, with the following results.
php -v
PHP 4.3.9 (cgi) (built: sep 20 2007)
httpd-admin -t
syntax error on line 578 of /etc/httpd/conf/httpd.conf:
Invalid command 'criptalias', perhaps misspelled or defined by a module not included in the server configuration
sv s httpd-admin
run: httpd-admin: (pid 4015) 279169s, normally down; run: log (pid 3029) 279189s
All the logs are blank.
I don't know linux well at all but I really need to sort his out so any suggestions would help. Thanks
-
Invalid command 'criptalias'
You need to find what is writing this into httpd.conf.
it seems like it should maybe be ScriptAlias.
http://httpd.apache.org/docs/1.3/mod/mod_alias.html#scriptalias
-
You need to find what is writing this into httpd.conf.
He/she also needs to *remove* that from httpd.conf :-)
I suspect (perhaps accidental) use of a text editor.
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
might fix the problem. Otherwise the errant template fragment will need to be found and either removed or fixed.
grep -r ' criptalias' /etc/e-smith/templates*
might find it. Notice the space after '.