Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jim Danvers on March 13, 2003, 07:09:39 PM
-
I have a 5.6 box running @our help desk where we use it for storing disk images for building user pc's. I also have been using the web server to create FAQ's and whatnot that the helpdesk staff and end users can use as a reference.
I just installed the phpmyadmin package from here: http://sme.nightspirit.nl/e-smith-phpmyadmin
and now my web server is broken. I can't even get to the server-manager. Ugh..... ;(
Anyone got any ideas as to what I can do, where to look, etc... . to get it going again??? Oh - the php addon install was done prior to update2. I installed update2 after I discovered that it was broken and still no joy. ;(
TIA....
-=- jd -=-
-
try restarting the webserver from the command line and see what the error messages are. when i performed update 2 it broke libpng.so.2 and all i needed to do was install an rpm to fix it.
-
Thanks Steve. I just ssh'd into it and tried what you suggested and it immediately came back and told me about some module or something that failed to load at line and then it gave me the path to the .conf file. Cool.... <1> so I go there and open it up w/vi, get to the offending line, comment it out, try again (<2>service httpd restart) and get basically the same msg, except this time its the next line. Do (1) again then <2> again. My little web server is back! ;)
Now.... pasted in is the relevant section from the httpd.conf file:
# Administration: phpMyAdmin
Alias /phpmyadmin /opt/administration/phpmyadmin
RequireSSL on
Options -Indexes
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "phpMyAdmin"
AuthType Basic
AuthExternal pwauth
require user admin
Satisfy all
AddType application/x-httpd-php .php .php3
# php_flag magic_quotes_gpc on
# php_flag track_vars on
You guys can see where I commented out the two php_flag entries. I guess the question now becomes:
If/when I have to restart this box, is the httpd.conf file going to get rebuilt again via the templating that SME does? (I'll lose these commented out sections... and be broken again)
Should I just un-install the php thing that broke me in the first place? If so - what is the command to do so? I know its rpm -e - I don't know what 'blah' is though.... ;)
Thanks for the idea!
-=- jd -=-
-
Where are the templates of phpmyadmin stored?
/etc/e-smith/custom-templates/httpd/conf/httpd.conf/....?
Remove them and issue the command:
'/sbin/e-smith/epand-template /etc/httpd/conf/httpd.conf'
restart apache.
Try the phpmyadmin on a testserver first.... and contact the autor.
Regards,
RequestedDeletion
-
Jim Danvers wrote:
>
> If/when I have to restart this box, is the httpd.conf file
> going to get rebuilt again via the templating that SME does?
> (I'll lose these commented out sections... and be broken again)
The files are not rebuilt every time you reboot, but when you do updates and stuff. Look in /etc/e-smith/templates(-custom)/etc/httpd/conf/httpd.conf/ for the proper files to edit to have the change templated.
> Should I just un-install the php thing that broke me in the
> first place? If so - what is the command to do so? I know
> its rpm -e - I don't know what 'blah' is though.... ;)
"rpm -e packagename". It should be the same as the name of the RPM you installed, without the version numbers...
-
Thanks for the feedback guys. Hsing - Actually I did do this on another pc at home last night - I was kinda stoked about it because it was so easy and worked so well... ;) I may try it again on this box later... maybe it was the alignment jupiter and saturn or something.... Bill - ok on the un-install, guess it was the versioning that I was confused about. On the un-install - anyone know if that will clean up the htttp.conf file too? I can only assume that it (the install) is what added the extra lines to it in the first place.... )
-=- jd -=-