![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Files created in last 24 hours | jayaramanit | Shell Programming and Scripting | 1 | 09-08-2007 04:34 AM |
| Files created by particular user | Anshu | UNIX for Dummies Questions & Answers | 2 | 06-13-2006 08:12 AM |
| How safe is it to remove files(/var/spool/mail)? | larcom61 | UNIX for Dummies Questions & Answers | 2 | 12-02-2005 01:48 AM |
| files created within last 10 mins | frustrated1 | UNIX for Dummies Questions & Answers | 5 | 08-03-2005 10:09 AM |
| Two Files Created For Every One? | Atama | UNIX for Dummies Questions & Answers | 1 | 04-12-2002 04:44 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Files still being created in /var/spool/mmdf/lock/home
Hi all
I need help finding a process that is continuing to create files in the above area. There are three sub folder titled addr q.local and msg . I have already found a process called mmdf running and have used the kill command to stop this from running. I have also looked for sendmail or qmail but neither are running. These files continue to be created and all start with msg and then have very obscure names after the dot. The system in question is also running slow which I can only assume is caused by the same process that it doing this. The O/S is Sco Unix Release 5. Any help would be appreciated. |
|
||||
|
Hi,
One approach i can think of is to first list the process ids 1. ps -eaf | tr -s " " | cut -f 1 -d " " > mytemppid.txt 2. sed '1d' mytemppid.txt > mypid.txt //Deleting first line teh header Now for each process id see what files it has opened using 4. /usr/proc/bin/pfiles <pid> Where pid is the process-id of the process. It lists the inode numbers of all the files, opened by that process. Since its list inode number you need to know the inode number fo your file . ls -li gives inode number for your file. Hope this helps. Regs, Reddy |
|
||||
|
Quote:
eccentric that you dont get any output atleast you can try this, try executing the commands individually and you can find the point besides, -a option would eliminate listing of session leaders and process that are not connected to the terminal |
|
|||||
|
mmdf is the SCO mail daemon - the files being created are probably email to be sent. If it's like Sendmail, the mail will still be running even though you killed the mmdf process. This means killing the process doesn't stop email from being created and put into the queue to be sent - it just means you can't receive mail on that server (again, assuming MMD works like Sendmail).
Check what type of files are being put into the directories - file * should list them. If they are type ascii, cat a couple of them. You will probably find they are emails. Check to see if any of the files seem to be spam. You may not have your mmdf set up properly and could be a relay for a spammer. Killing off the mmdf probably didn't do a thing for you. And if the system is slow (and email isn't going out), then you probably have a problem with DNS (again, this is assuming that mmdf works like Sendmail) OR with someone using your system as a mail relay. mmdf relay MMDF overview Quote from MMDF overview: Quote:
|
|
||||
|
Quote:
|
![]() |
| Bookmarks |
| Tags |
| sendmail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|