લેખ ડિરેક્ટરી
છેઈન્ટરનેટ માર્કેટિંગમાં સ્ટાફLinuxસર્વર પર, ઇન્સ્ટોલ કરોCWP7 નિયંત્રણ પેનલ અપાચે 2.4.25, પરંતુ અપાચે સેવા શરૂ થતી નથી, નીચેની ભૂલ દેખાય છે▼
httpd.service - Web server Apache Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2022-04-13 05:21:29 EST; 4min 53s ago Process: 12087 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE) Apr 13 05:21:29 www.etufo.org systemd[1]: Starting Web server Apache... Apr 13 05:21:29 www.etufo.org apachectl[12087]: AH00526: Syntax error on line 12 of /usr/local/apache/conf/sharedip.conf: Apr 13 05:21:29 www.etufo.org apachectl[12087]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration Apr 13 05:21:29 www.etufo.org systemd[1]: httpd.service: control process exited, code=exited status=1 Apr 13 05:21:29 www.etufo.org systemd[1]: Failed to start Web server Apache. Apr 13 05:21:29 www.etufo.org systemd[1]: Unit httpd.service entered failed state. Apr 13 05:21:29 www.etufo.org systemd[1]: httpd.service failed.
જ્યારે Apache2 ભૂલની જાણ કરે ત્યારે કેવી રીતે અનઇન્સ્ટોલ અને પુનઃસ્થાપિત કરવું?
તેથી, માંCentOS 7 Apache સેવાને અનઇન્સ્ટોલ કરો અને કાઢી નાખો.
નીચે આપેલ CWP અનઇન્સ્ટોલ દૂર કરો અપાચે સેવા આદેશ દાખલ કરો ▼
yum remove cwp-httpd
કાઢી નાખવા અને પુનઃસ્થાપિત કરવા માટે Apache service yum આદેશ
第 1 步:અપાચે સેવા સ્થાપિત કરવા માટે yum આદેશ
CWP ને અનઇન્સ્ટોલ કર્યા પછી અને અપાચે સેવાને કાઢી નાખ્યા પછી, Apache સેવાને પુનઃસ્થાપિત કરવા માટે yum આદેશનો ઉપયોગ કરો▼
yum install cwp-httpd
第 2 步:અપાચેને સક્રિય કરવા માટે, તમારે અપાચે સેવા શરૂ કરવાની જરૂર છે.
SSH▼ માં નીચેનો આદેશ દાખલ કરો
systemctl start httpd
第 3 步:આગળ, સિસ્ટમ સ્ટાર્ટઅપ પર શરૂ કરવા માટે અપાચે સેવા સેટ કરો:
systemctl enable httpd
第 4 步:અપાચે સેવા સ્થિતિ જુઓ
અપાચે વિશેની માહિતી પ્રદર્શિત કરો અને હાલમાં ચાલી રહેલી અપાચે સેવાની સ્થિતિ જુઓ:
systemctl status httpd
હોપ ચેન વેઇલિયાંગ બ્લોગ ( https://www.chenweiliang.com/ ) શેર કર્યું "જ્યારે Apache2 ભૂલની જાણ કરે ત્યારે કેવી રીતે અનઇન્સ્ટોલ અને ફરીથી ઇન્સ્ટોલ કરવું? Apache service yum કમાન્ડ કાઢી નાખવા અને ફરીથી ઇન્સ્ટોલ કરવા માટે" તમારા માટે મદદરૂપ છે.
આ લેખની લિંક શેર કરવા માટે આપનું સ્વાગત છે:https://www.chenweiliang.com/cwl-27525.html
નવીનતમ અપડેટ્સ મેળવવા માટે ચેન વેઇલિઆંગના બ્લોગની ટેલિગ્રામ ચેનલ પર આપનું સ્વાગત છે!
📚 આ માર્ગદર્શિકામાં ઘણું મૂલ્ય છે, 🌟આ એક દુર્લભ તક છે, તેને ચૂકશો નહીં! ⏰⌛💨
ગમે તો શેર કરો અને લાઈક કરો!
તમારી શેરિંગ અને લાઈક્સ એ અમારી સતત પ્રેરણા છે!