Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2008, 02:55 PM
Member
 
Join Date: Jan 2007
Posts: 62
Crop is on a distinguished road
Default Errors

I get these errors when I try to execute a script that mails the contents:

Quote:
find: /proc/27428/task: No such file or directory
unable to open lastlog-file lastlog
Here is the script:

Code:
cat file | mail -s "File Contents" my@email.com
Any ideas?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-05-2008, 04:52 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 390
Tor is on a distinguished road
Default

It just means that your lastlog file is missing. Do

Code:
# touch /var/log/lastlog
as root and it should fix the problem.
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 07:55 PM
Member
 
Join Date: Feb 2008
Posts: 32
Jame is on a distinguished road
Default

You might want to check into how your lastlog got removed though.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Errors ptt3 Linux Web Server 1 03-30-2008 03:48 PM
PHP Errors Off Linux Web Server 1 03-25-2008 12:55 PM
ell Ubuntu to Fix File System Errors Automatically at Boot Onur Linux General 0 08-27-2007 02:12 AM


All times are GMT. The time now is 05:28 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.