Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changed squirrelmail and now apache doesn't work.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Moonlit_Knight
n00b
n00b


Joined: 27 Mar 2003
Posts: 39

PostPosted: Sat May 03, 2003 2:49 am    Post subject: Changed squirrelmail and now apache doesn't work. Reply with quote

I had finally gotten apache (1.3.27 working with mod_ssl, and mod_php. I had squirrelmail working, and had installed phpBB to play with (not configured yet).

My home network has a private DNS namespace (not a valid internet name) and everything worked fine internally. I had squirrelmail configured to use my Exchange server as it's imap server with the internal name. That worked fine, except that when the mail was relayed, it kept the private internal name, not the external valid name I have.

Well, I changed squirrelmail to use the public external name, and it didn't work.. apache wouldn't respond at all. I went back into squirrelmail, but the configuration back to the way it was, and apache wouldn't respond. I rebooted the system -- apache still won't respond.

If I do a ps -ef or ps -A | grep apache, I don't see apache running. If I do a /etc/init.d/apache start, it reports that apache is already started. If I restart apache.. nothing. If I do a netstat -a, I don't see anything really listening.

I'm not sure what else to look at!! I was hoping to rollout SquirrelMail for my home email, since OWA is too insecure.

Thanks,

Moonlit Knight
Back to top
View user's profile Send private message
antik
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 212

PostPosted: Sat May 03, 2003 2:08 pm    Post subject: Re: Changed squirrelmail and now apache doesn't work. Reply with quote

Moonlit_Knight wrote:
I had finally gotten apache (1.3.27 working with mod_ssl, and mod_php. I had squirrelmail working, and had installed phpBB to play with (not configured yet).
Moonlit Knight


Try generate new certificate for ssl.
http://slacksite.com/apache/certificate.html
_________________
"Yes, I know Linux runs faster, but they can do that because they have thrown out the weight of the airbag, collision frame and safety belt." —Poul-Henning Kamp
Back to top
View user's profile Send private message
Moonlit_Knight
n00b
n00b


Joined: 27 Mar 2003
Posts: 39

PostPosted: Sun May 04, 2003 5:02 pm    Post subject: Reply with quote

I did generate a new cert following those instructions, and no luck. I don't think it's ssl, because Apache won't even respond with a non-ssl request. If I look at top, there doesnt' appear to be an apache process running.

I don't see any trace of apache when I do a netstat -a either. (Maybe this is the wrong command for netstat... I'm still too much of a linux n00b to be sure :)

Moonlit Knight
Back to top
View user's profile Send private message
xpunkrockryanx
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2002
Posts: 87
Location: College Place, WA, USA

PostPosted: Mon May 05, 2003 8:00 pm    Post subject: Reply with quote

i'd look in your system and apache logs to see what it spits out after you do a /etc/init.d/apache stop, and then /etc/init.d/apache start (assuming that doesn't just fix the problem right there).

-ryan
Back to top
View user's profile Send private message
Moonlit_Knight
n00b
n00b


Joined: 27 Mar 2003
Posts: 39

PostPosted: Wed May 07, 2003 5:14 am    Post subject: Reply with quote

Another dumb n00b question.

What log and where is it?

Moonlit Knight
Back to top
View user's profile Send private message
xpunkrockryanx
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2002
Posts: 87
Location: College Place, WA, USA

PostPosted: Wed May 07, 2003 5:30 am    Post subject: Reply with quote

don't feel bad for asking. we've all got to start somewhere!

i think it depends on what logger you use. most people should have /var/log/syslog, and /var/log/apache/error-log. in any case, there will be logs in /var/log/ that might give you a clue.

-ryan
Back to top
View user's profile Send private message
Moonlit_Knight
n00b
n00b


Joined: 27 Mar 2003
Posts: 39

PostPosted: Mon May 12, 2003 11:23 pm    Post subject: Reply with quote

Now that I finally have a few minutes again.

It does appear that apache is shutting down.

Here's the last few lines of /var/log/apache/error_log

Code:

[Thu May  1 21:12:28 2003] [notice] caught SIGTERM, shutting down
[Thu May  1 21:12:33 2003] [warn] module ssl_module is already loaded, skipping
[Thu May  1 21:12:33 2003] [warn] module mod_ssl.c is already added, skipping
[Thu May  1 21:12:34 2003] [notice] Apache/1.3.27 (Unix)  (Gentoo/Linux) mod_ssl/2.8.14 OpenSSL/0.9.6i PHP/4.3.1 configured -- resuming normal operations
[Thu May  1 21:12:34 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu May  1 21:12:34 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri May  2 21:19:27 2003] [notice] caught SIGTERM, shutting down


It just seems to shutdown.. I'm not sure why.

Thanks,

Moonlit Knight
Back to top
View user's profile Send private message
xpunkrockryanx
Tux's lil' helper
Tux's lil' helper


Joined: 22 Sep 2002
Posts: 87
Location: College Place, WA, USA

PostPosted: Tue May 13, 2003 5:29 am    Post subject: Reply with quote

it looks like apache shuts down in this case nearly exactly one day from when it started up. did it work at all between the 1st and the 2nd? i don't really know what else could be causing it to crash like that. i might try re-emerging apache? guess i'm not of much help. hopefully somebody more knowledgable than myself can lend a hand :wink:

-ryan
Back to top
View user's profile Send private message
Moonlit_Knight
n00b
n00b


Joined: 27 Mar 2003
Posts: 39

PostPosted: Tue May 13, 2003 9:40 pm    Post subject: Reply with quote

Well, I think it was coincidence.. but I could be wrong. After I tried out squirrelmail with https, that seemed to be when it shutdown. Hopefully someone can jump in :)

I don't mind re-emerging it.. although I've done that twice with the same problem each time :\

Moonlit Knight
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum