Red Hat / Fedora :: How To Read / Var / Log / Last-log File?

Dec 1, 2008

does anybody know how to read the /var/log/lastlog file? I can read the wtmp with last or who. How about lastlog. anybody?

View 3 Replies


ADVERTISEMENT

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

Fedora :: Cannot Create Regular File Read Only File System?

Jun 16, 2009

All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.

View 14 Replies View Related

Red Hat / Fedora :: Sed: Can't Read *.php: No Such File Or Directory

May 9, 2010

I am using this command: Code: sed -i 's?,$HTTP_USER_AGENT,?,$HTTP_USER_AGENT."\nFile: ".__FILE__."\nLine: ".__LINE__,?g' *.php to modify a line in my php files. I want to do this recursively from the directory I am in. but I get this message in response: sed: can't read *.php: No such file or directory sed version is 4.1.2. It's important that I only change *.php files, and do so recursively.

View 1 Replies View Related

Fedora Servers :: Samba Can't Read The Config File?

Nov 24, 2009

I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf

why I can't login samba from Windows:

[global]
workgroup = MYGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.99/24

[Code]....

View 3 Replies View Related

Fedora Security :: Make The Root File System Read-only

Jun 23, 2009

I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.

These are:

I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:

That's it. Are there other solutions to make the root file system is read-only?

View 1 Replies View Related

Fedora :: GRUB Error 18 - Couldn't Read Configuration File

Apr 5, 2010

I'm playing with Fedora 12 and can't get GRUB to work. To boot, I've been using GRUB4DOS. While that works fine, I'd like to figure out what's wrong with regular GRUB 0.97. After the initial installation, GRUB came up on reboot, but it was broken -- it couldn't read the config file apparently, and no commands would work correctly. So I attempted to reinstall grub via the grub prompt. No matter what I do, or which hard disk I install GRUB on, I get "Error 18". I tried using the "grub-install" command as well as the prompt, and that did the same thing.

My system here is an ASUS M4A785TD-M EVO mo/bo. I've got four hard drives. Two 1TB SATA drives and a couple of PATA drives (300 and 500GB) on a Si608 controller card. Using the BIOS "BBS" boot menu, I can boot NTLDR and BOOTMGR off active partitions on any of the drives (with proper Boot.ini modifications to handle the change in drive order). GRUB4DOS works as well, and will boot Fedora 12 correctly off any of them (with proper menu.lst ministrations). But GRUB 0.97 that comes with Fedora just refuses to do anything other than say "Error 18".

View 4 Replies View Related

Fedora Hardware :: Flash Read Only Cant Transfer File Or Format?

Jan 20, 2011

i have problem my flash memory was working file then suddenly it says read only file system cant format either

View 1 Replies View Related

Fedora :: Editing A Line In A Daemon.conf [read Only] File?

Mar 16, 2011

I need to edit a line in a file in gedit, but its read only. I need to change

; default-sample-rate = 44100
to
default-sample-rate=44800.

Would anyone know if there is an option to make a read only file editable? Judging by the responses to the thread I followed to enable my soundcard, it is possible, and perhaps there is some setting etc that needs changing

View 3 Replies View Related

Red Hat / Fedora :: Server Unable To Read File Systems At Boot Up

Mar 4, 2010

I restore tape backup on my Linux server. At the time of booting the server it cannot able to read the filesystems.

I am getting the following message,
Code: Your system appears to have shutdown uncleanly
Forcing file system integrity check due to default setting
Checking root filesystem
fsch.ext3: file system has unsupported features (S) (/)
e2fsck: Get a never version of e2fsck! (FAILED)
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance (or type Control-D to continue):

View 4 Replies View Related

Red Hat / Fedora :: Unlinked Inode, Aborted Journal And Read Only File System?

Apr 7, 2010

I am running centos 5 on adaptec 2405 raid 10

PHP Code:

I get this error:

[code]....

View 9 Replies View Related

Ubuntu :: Unable To Create Trashing Info File: Read-only File System

Jul 21, 2010

I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message

Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system

So when I click on delete I get another error message:

Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system

At this point I can only click on Skip, Skip All, or Cancel.

I have not changed anything on the stick recently so I dont know what is causing the problem.

View 7 Replies View Related

Ubuntu :: Shell, Auto Append Number To File And Read From External File?

Oct 31, 2010

Code:
cat ${SOURCE}/{start,universal,index,end}.txt > ${SERVER}/index.html
cat ${SOURCE}/{start,universal,02042010,end}.txt > ${SERVER}/02042010.html

[code]....

View 3 Replies View Related

General :: Read .gz File Direct On Shell/terminal Without Decompressing The File?

Dec 9, 2008

How can I read .gz file direct on shell/terminal without decompressing the file?
satimis

View 5 Replies View Related

Programming :: Splitting A File Based On The Values Read From An Input File?

Jul 27, 2010

I am splitting a file based on the values read from an input file. The below one is the script.

1)How do I add the header which is present in the original file to the new split files created?(For eg. pharmacyf conatins header as table column names. The new files created (ODS.POS.$pharmacyid.$tablename.$CURRENT_DATE.dat) are without the header).

2) Also the script is creating 0 byte files for the pharmacyids which are not available in the intial file? Can this be avoided?

for pharmacyf in *
do
tablename=`echo $pharmacyf |cut -f4 -d'.' `
while read pharmacyid
do
grep -w $pharmacyid $pharmacyf >> $OUT/ODS.POS.$pharmacyid.$tablename.$CURRENT_DATE.dat
done< inputfile
done

View 2 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

General :: Error - No Such File Or Dir. Read The 'readme' File But Cannot Configure

May 23, 2011

i'm new to linux and i am running ubuntu 11.04.i'm trying to install wine. i downloaded the binary files and extracted them. i tried running the command './configure' and got a error saying :no such file or dir. i read the 'readme' file but cannot configure.

View 3 Replies View Related

Security :: File Permission - Read An Execute Only File

Dec 16, 2009

Suppose I have a binary program with only execute permission enabled for the current user. How (in general) would I be able to obtain a core dump of the file? I think I have read it somewhere but I want to know if there are more ways of doing it.

View 1 Replies View Related

Programming :: 3D Array In MAT File ->DAT File To Read In FORTRAN?

Jul 2, 2009

Alright, so I have been trying to resolve this issue for awhile, but now feel like help is very necessary.I have a 128(by)128(by)128 array in a MAT file, and am using the following MATLAB script to convert it to a DAT file:

load C_42.mat
fid=fopen('C_42.dat','wt')
fwrite(fid,Nu)

[code]...

View 2 Replies View Related

Ubuntu :: Error Creating File System: Helper Exited With Exit Code 1: Cannot Open /dev/mmcblk0p1: Read-only File System

May 2, 2010

I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.

"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"

Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).

View 9 Replies View Related

Red Hat :: File System Corruption - Super Block Could Not Be Read Or Don't Describe A Clear Ext2 File System

Jul 12, 2010

My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-

[Code]....

The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7

View 2 Replies View Related

Ubuntu :: Fix "Error Removing File: Read-only File System" With A?

May 31, 2010

Was struggling with this for a little, no really clear answers around.Anyways, edit /etc/mstab, kill the entire line with the faulty drive.Unplug the drive/usb, restart, then do a

Code:
sudo fsck -r /dev/whatever
umount it, then remount and it should be fixed

View 1 Replies View Related

General :: How To Read From Iso File

Aug 4, 2010

Are there any linux command which lets me to read Iso file byte by byte without mounting?

View 3 Replies View Related

OpenSUSE Install :: Get A 64 Bit File System To Read 32 Bit File System Drives?

Feb 2, 2010

Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?

View 7 Replies View Related

Red Hat :: Change The Owner Permission Of File As "read Only" When The File Is Rcp?

Nov 25, 2010

I am trying to change the owner permission of file as "read only" when the file is rcp remote copy ) from server to another for security reason. Any way to change to permission as readonly access for owner and group ( 550 )when transfer the file using the rcp command ? I tested but still retain the original permission as source file.

Version : RHEL 5.2
Command : #rcp(local file)(/destinationserver/
/folder/file)

[code]....

View 3 Replies View Related

Debian Multimedia :: Can't Read CBR File

Apr 27, 2015

I've downloaded a cbr (comic book) file. But I couldn't manage to read it. Tried built-in Document Viewer, Comix and mcomix. Nothing worked. Document Viewer says the file is full of empty pages, others show broken paper instead of the images. But when I unpack it, the images are normally unpacked. I can't attach it because I get an "Internal Server Error". I can however upload to somewhere else if you want to check the file.

View 4 Replies View Related

OpenSUSE :: Read A File With An .odc Extension?

Sep 10, 2010

I trying to read a file with an .odc extension.Using openOffice Calc, However there is a of garbage and irreadable characters, I found out it is a Microsoft office data connection file. Is there a way around it?

View 4 Replies View Related

Ubuntu :: How To Edit A File That Is Read Only

Jul 5, 2010

i log in and went to the policy folder to erase the file prefernces.fdi and it would not let me delete this file /move it to the trash or even edit it it said something like you are not the owner ,so i could not change the permissions to overwrite this file.what should i do i just want to be able to change this file to true so it will see my internal sc dar reader right now when i put in a sd card it does not show up.i also tried changing this in the terminal there was a post on one blog that showed how ,but i was having trouble edit the xml file in the terminal so for me it would be easier to just overwrite the prefernces.fdi file since im a beginner.

View 3 Replies View Related

Ubuntu :: File System Has Gone Read-only 10.04

Nov 8, 2010

yesterday my downloads stopped working in transmission and gave an error: 'read-only file system'i have since found that all files on my eternal hard drive are now read only.i think it may have something to do with me recently changing the download location to my external hard drive in transmission. how i can rectify this and make it so i can read write again

View 2 Replies View Related

Ubuntu :: .XCompose File Not Read?

May 17, 2011

I need to debug my XCompose settings, as currently they are not being loaded. What system reads the Compose files? At what points does it re-read the files? How do I induce it to? There are a number of Compose files under /usr/share/X11/locale/[LOCALE]/Compose. What configuration determines which of these files, if any, is read? Where is the syntax and semantics of the Compose files defined? What error log will contain errors relating to them? Where can I find the search path for Compose files? How/where can I see currently loaded shortcuts?

Note: I posted this a while ago here but got ignored, so I'm trying again.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved