Apache cannot start

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Unread post by Kalimari »

Howard,

It doesn't seem as if you have the latest ASL or it has not been configured correctly... Looking at the errors you have experienced, I think you are best off e-mailing support@atomicorp.com, I wouldn't even hazard a guess at this stage.

Good luck!
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

Thanks for trying Kalimari. I appreciate it.

Howard
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Your utilities are probably out of date:

yum update

and then

asl -u
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

Scott,

As I mentioned in the support email did Yum update:

[root@64-191-3-101 ~]# yum update
Loading "repolist" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion

then # asl -u
\Checking for updates..
ASL version is current: [1.9.8]
APPINV rules are current: [200709171131]
Updating CLAMAV to clamav: [FAILED]

Same error as before

Howard
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Try deleting /etc/asl/VERSION and running asl -u.
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

Deleted files. ran asl -u. no errors this time. Rebooted server. Apache still not running. Tried to restasrt and got:

ERROR: PleskFatalException
Create ShortcutCreate Shortcut
Up LevelUp Level
Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to start

0: /usr/local/psa/admin/plib/common_func.php3:158
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

what does /etc/init.d/httpd configtest say
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

[root@64-191-3-101 init.d]# /etc/init.d/httpd configtest
Syntax OK
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

That means apache is fine then. Plesk might be freaking out for unrelated reasons. You can start it with: /etc/init.d/httpd start
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

Just gets better......

[root@64-191-3-101 ~]# /etc/init.d/httpd start
Starting httpd: [FAILED]
[root@64-191-3-101 ~]#
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

take a look at /var/log/httpd/error_log, that might help.
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

[Fri Apr 18 04:52:58 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Apr 18 04:52:58 2008] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "64-191-3-101.hostnoc.net"
Configuration Failed

It looks like these 2 lines occur whenever the server is rebooted.

Does this help any or do you need more.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Unrelated to anything ART/ASL, but as a stab in the dark, try adding this to your /etc/hosts file:


64.191.3.101 64-191-3-101.hostnoc.net


then restart it
wizcom
Forum User
Forum User
Posts: 12
Joined: Tue Dec 27, 2005 3:13 pm

Unread post by wizcom »

You are incredible!!!

Thanks

Howard
aus-city
Forum Regular
Forum Regular
Posts: 685
Joined: Thu Oct 26, 2006 11:56 pm

Unread post by aus-city »

I found the fix by playing around..

/etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf

edit and look for:

SecComponentSignature ""

change it to:

#SecComponentSignature ""
Post Reply