Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SquirrelMail Keeps Disappearing [SOLVED]
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
ryker
Guru
Guru


Joined: 28 May 2003
Posts: 412
Location: Portage, IN

PostPosted: Mon Jan 31, 2005 6:30 pm    Post subject: SquirrelMail Keeps Disappearing [SOLVED] Reply with quote

I have been having a major problem with my squirrelmail install. I have been using squirrelmail since March 2004 without problems. I've always kept up to date on the ebuilds and I am now running 1.4.4. Over the past week or so, I occasionally have been getting a 403 forbidden error when I try to access the web page. I get on the server and check the install directory and almost everything is gone from the directory. I am using the vhost flag so I use webapp-config to install into the proper host. All I have to do is run webapp-config and I'm good to go again. Next day, same problem.
Here is ls -la of squirrelmail after webapp-config install:
Code:

total 91
drwxr-xr-x  16 root   root     528 Jan 31 12:25 .
drwxr-xr-x  36 root   root    1096 Jan 30 02:50 ..
-rw-r--r--   1 root   root     331 Jan 31 12:25 .webapp
-rw-r--r--   1 root   root   63088 Jan 31 12:25 .webapp-squirrelmail-1.4.4
drwxr-xr-x   5 root   root     216 Jan 31 12:25 class
drwxr-xr-x   2 root   root     408 Jan 31 12:25 config
-rwxr-xr-x   2 root   root      92 Jan 31 09:34 configure
drwxr-xr-x   3 root   root      72 Jan 31 11:59 contrib
drwxrwxr-x   2 apache apache   832 Jan 31 12:25 data
drwxr-xr-x   3 root   root     544 Jan 31 12:24 doc
drwxr-xr-x   4 root   root    1160 Jan 31 12:25 functions
drwxr-xr-x   3 root   root     104 Jan 31 12:25 help
drwxr-xr-x   2 root   root     464 Jan 31 12:25 images
drwxr-xr-x   3 root   root     168 Jan 31 12:25 include
-rw-rw-r--   1 apache apache   338 Jan 31 12:25 index.php
drwxr-xr-x   2 root   root     144 Jan 31 12:25 locale
drwxr-xr-x  35 root   root    1128 Jan 31 12:25 plugins
drwxr-xr-x   2 root   root     272 Jan 31 12:24 po
drwxr-xr-x   2 root   root    1376 Jan 31 12:24 src
drwxr-xr-x   3 root   root    1616 Jan 31 12:25 themes

Here is ls -la after I have problems:
Code:

total 6
drwxr-xr-x   8 root root  200 Jan 30 02:50 .
drwxr-xr-x  36 root root 1096 Jan 30 02:50 ..
drwxr-xr-x   2 root root  264 Jan 30 02:50 config
drwxr-xr-x   2 root root  736 Jan 30 02:50 data
drwxr-xr-x   2 root root   96 Jan 30 02:50 functions
drwxr-xr-x  26 root root  752 Jan 30 02:50 plugins
drwxr-xr-x   2 root root  136 Jan 30 02:50 src
drwxr-xr-x   2 root root  128 Jan 30 02:50 themes


Scarry. At first I thought I am being hacked but I don't see any problems in my logs.
Anybody have any ideas?
_________________
Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM


Last edited by ryker on Tue Feb 01, 2005 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Jan 31, 2005 7:56 pm    Post subject: Reply with quote

When exactly does this happen ?
After an emerge, or webapp-config ?
What's in the emerge logs?
I'd just tail one of the files you know will be gone on a different terminal, so you can get a timestamp of exactly when it happens.
Or use fam.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
ryker
Guru
Guru


Joined: 28 May 2003
Posts: 412
Location: Portage, IN

PostPosted: Tue Feb 01, 2005 4:25 pm    Post subject: Reply with quote

I found the problem. I was using glsa-check in a cron job and I was using it inappropriately. I was running
Code:

glsa-check --fix all

Well, it turns out this does what it is supposed to do and it emerges the latest version of packages that have security problems, including the latest version of squirrelmail. Hence, this broke my squirrelmail, until I did a webapp-config to install it into the host again. If I wasn't using the vhost use flag, I probably wouldn't have noticed. I have had this cron job going since last June.
Now I am using
Code:

glsa-check --fix new

This should, of course, only apply new fixes. :)
Thanks for the reply.
_________________
Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM
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