Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Thornhill

Pages: [1]
1
Hello Partners .
centos 6.7 + CWP install with 50 domains and around 125 email accounts
LAMP was installed by the cwp installer at the begining
all were functioning perfect but!

Apache wont start after trying to install freetds  asked by boss for conecting to some windows SQL server remotly.

i did as follow :
> yum update
> yum groupinstall ‘Development Tools’  (did not work)
> yum install httpd  (did not do it cause already had apache installed and working)
> yum install freetds
> yum install freetds-devel
> yum install php php-devel php-mssql
> service httpd restart  (showed the mentioned error)
> php -m (showed some )

Then i rebooted and apache never start again  showing this error from CWP
Iniciando httpd: /bin/bash: /usr/sbin/httpd: No such file or directory
[FALLÓ]

I did yum history undo all the above to see if i could rollback and be alive again  but did not . start apache again with same error

I am desperate cause my boss does not know i am on this problem , i just said server down for maintenance . while i try to solve this situation.

All other services are working 100%   postfix,dovecot,etc....  just apache wont start .

I have another server just  clone of this problem one , lets call it workingserver .
i checked on workingserver to compare , and also there is not httpd on /usr/sbin/ but it does starts apache with no problems.
i also compared permissions on folders and all are the same.

i have some ideas but i am scared to dead to loose any info that was created all true cwp like users , emails , vhosts, etc...

#1 idea . use cwp panel  Apache--> apache-rebuild -->  but (i dont know if i can loose all my cwp data )

#2 idea  UNISTALL AND INSTALL HTTPD from command shell , (i dont know if that could make me lost cwd data and unsynchronized with CWP for worst ? )

#3 idea  ask on cwp forum for some expert to be kind to help me out to solve this without generating other errors on the sever.

As you see i am a newbie with linux , but i know how to permissions , ownerships , and some understanding of directories , like copy , move , zip,unzip , vi files  , and much more .

i think i can handle instructions fast .

Please  someone give me a hand on this .
Thanks in adavance for coolaboration .



Pages: [1]