Server :: Files In /var/crash Directory?
Jun 16, 2010I see vmcore files in /var/crash directory.is it ok to delete the contents of /var/crash directory ?
View 1 RepliesI see vmcore files in /var/crash directory.is it ok to delete the contents of /var/crash directory ?
View 1 RepliesI'm using OpenSSH 5.5p1 on Fedora 15. I'm trying to get a chrootDirectory to work. Specifically trying to figure out why I can't write files to a sub-directory of the chroot directory. I created a user test_user and created a group called sftp. I added test_user to the sftp group. I edited /etc/ssh/sshd_config as follows:
Code:
Subsystem sftp internal-sftp
Match group sftp
ChrootDirectory /home/sftp_users/%u
X11Forwarding no
[code]....
Is there any command available inorder to read the server crash dump files?
View 4 Replies View RelatedI have uShare 1.1a setup to talk to my XBox 360. If I share a directory that has no subdirectories, the video files display on the XBox. However, most of my files are in sub-directories on a different partition - I don't really want to copy them to the share, but uShare doesn't seem to recognise any sub-directories or files contained therein.
I have tried setting up symbolic soft links directly to the video files (although this is a pain, it is better than moving the files)...
Code:
ln -s /home/jonftp/TV-Shows/Buffy/Season-1/Buffy-101.avi /home/share/Buffy-101.avi
...but these don't show up on the XBox either.
How can I get uShare to "drill down" the directory structure to list the files or how can I get uShare to follow symbolic links?
How would i go about copying files to a directory, yet skip the files that already exist in the directory, and also remove the files that are in the directory. For example:
Code:
$ls /dir1
img001.jpg
img002.jpg
[code]....
Now i would like to copy from dir1 to dir2, but the contents of dir2 would be:
Code:
$ls /dir2
img003.jpg
here i want to ask u a simple do quations like
1.how to create repository of Server directory which contains rpm files
now i will tell how to create repo and problem is in it
at first i had created one directory in filesystem /data
#mkdir /data
now i mounted the ftp server to /mnt
#mount 192.168.1.254:/var/ftp/pub/ /mnt
and copied directory of Server
#cp -r /mnt/Server /data
# createrepo -v /root/Server
# vim /etc/yum.repos.d/rhel-debuginfo.repo
[Code]....
2.how to install total packages by using repository through yum command what are the steps to update and remove the packages
There are millions of files in many directories. Wherenver i try rm * or find or use xargs, they say 'argument list too long' and exit. How can i deleted files in a directory with so many files without deleting the directory itself.
View 3 Replies View RelatedI recently started using SVN with Apache for my web development, although I find it really annoying that I have to issue two SVN commands (one local, one remote) to update my web site. I have been looking into SVN post-commit hooks to solve this problem. The only problem is that apache does not have permission to modify files in my user directory... So here is how everything is setup. I am running Slackware 13 full install. There have been no installations overriding any of the default installs.
[Code]....
64-bit lucid lynx server (gnome) According to Ubuntu Software Center, Tight VNC Server is installed. However,mlocate doesn't show any vnc files in any *bin directory
ps -A doesn't show a vnc service running none of the menus have an item for vnc server
I can connect to the ubuntu computer from Windows tightvnc clients on two different windows boxes. I can use the keyboard to type in the password. After that, remote control, i.e., the mouse, doesn't work.
The problem is that the mouse cursor (controlled from the windows client) moves but otherwise has no effect. I can move the cursor, but it acts as if the client (or server) is set to view-only. The effect of that is that I can't launch any programs (not even a terminal).
I've tried various combinations of settings on the client and on the server, but I can't get it to work correctly.
On the ubuntu machine, remote desktop sharing enabled.
on some earlier versions of ubuntu this worked correctly when connecting from the same windows client using tightvnc.
I tried connecting from another windows client and got the same results.
I've just discovered that crontab is creating a new file in the root directory every time it executes a cronjob, and it doesn't erase over the old file so there are thousands of files in the root directory, they have the same name as the script file (appended with a numeral) but are all blank.here is what one of the cronjob's looks like[URL]
View 10 Replies View RelatedI'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.
I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).
When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:
Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.
Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)
How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?
View 1 Replies View RelatedRecently I mounted a larger partition into my home directory since I was running out of space, Everything went smoothly, but it caused me to wonder about something I cant figure out. While playing with the mount unmount commands when I was copying everything over... before editing my fstab.
Is there a way to access the files that existed in a directory before you mount a partition to that directory? after mount the original files are gone.unmount and they are back, Where do they go?
i want to copy a few files from my windows directory into the wine directory - its no big deal, just a few preference files so i dont have to set something up all over again. trouble is, i had the files copied, but i cant find the wine/ c: drive directory anywhere, anyone know where this can be found??
View 8 Replies View RelatedIs there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?
View 2 Replies View RelatedI want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.
I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively
View 4 Replies View RelatedWhen I run "ls -al somedir*" (I use the "ll" shortcut, actually), Linux not only list files that match, but also the contents of directories whose name also happens to match.Is there a way to limit "ls" so that it will only show names (files and directories) and ignore the contents of the directories?
View 2 Replies View RelatedAfter i try to find logfiles follow date/month/year. i want copy this files to another directory with name's directory is time you find(date/month/year).
View 4 Replies View RelatedI have two questions:How do I remove files from Directory A if their name appears in Directory B?How do I move foo.jpg and bar.jpg from Directory C to Directory D if and only if foo.png and bar.png appear in Directory D?I suspect there's probably a bash one-liner for this, but...I can't come up with it.
View 5 Replies View RelatedIf I have a directory /foo with a few files in it, how do I symlink each entry in /foo into /bar/? For instance, if /foo has the files a, b and c, I want to create three symlinks:
/bar/a -> /foo/a
/bar/b -> /foo/b
/bar/c -> /foo/c
I'm running squeeze on i686, my last update was this morning (9/9/2010). Running the stock kernel 2.6.32-5-686
My PC keeps crashing when copying files. The monitor displays the desktop, but the mouse doesn't move, nothing responds and I can't even ssh in to debug it.
This happens when copying files using nautilus and the command line. I'm trying to copy files from my local hard disk to an nfs drive which is mounted in my system and has been working fine for years.
how to debug this after a hard reboot?
This has only just started happening, last night was the first time.
My computer crashes occasionally and all of the files that have been written in the last few hours seem to disappear. On XFS sometimes they turn up in lost+found after xfs_repair. The files in ext4 seem to be gone for good.Is there any way to force linux to flush the meta-data more often or something so my files stop disappearing?
View 2 Replies View RelatedLast week my server crashed. I'm trying to diagnose the cause.
This is the relevant error message in /var/log/messages:
Code:
I'm assuming that I can conclude, then, that apache/httpd was the cause of the memory leak?
Next, I've been tracking my memory usage. Using top, this is an average memory load level for my server:
Code:
I'd like to confirm if my understanding of this data is correct, because Plesk indicates that my memory usage is only 50% or less. (Though I have read a number of reports indicating that Plesk's measurements are frequently wrong.)
Top says: Of the 2,073,156K total memory, 1,982,572K (95.63%) is being used, 90,584K (4.37%) is free. Of that sum, 421,948K (20.35%) are being used as buffers. Additionally, of the 2,096,472K of Swap, 60K is used, and 887,700K (42.34%) is cached.
My questions: Is my memory actually being 95% used? Or is the buffered quantity (20.35%) not a use of physical/virtual memory? (i.e. is it disk usage?) Does the amount of cached Swap influence the percentage of physical/virtual memory being used?
In other words, who is correct? Plesk says I'm using 40-50% of my memory, whereas top says 85-95%.
Is it possible to like have SMS sent to your cellphone when the server crashes or a process on the server dies?
View 4 Replies View RelatedWhenever I try to play certain WMV files in VLC, my computer screen goes black and in full mode. I can hear audio, but the computer effectively crashes and task manager won't open, forcing me to restart. What is the problem? I don't think it's a virus, as the file works perfectly for everyone else
View 5 Replies View RelatedI am trying to burn a few video files to dvd using brasero, but after the burning process is about half the way through it simply disappears with no error at all. Only the terminal says
++ WARN: [brasero] Discarding incomplete final frame LPCM stream 0
++ WARN: [brasero] Discarding incomplete final frame LPCM stream 0
**ERROR: [brasero] Horizontal size is greater than permitted in specified Level.
How to burn my videos now.
Yesterday, while upgrading from Ubuntu 10.04 to 11.04, the computer crashed. For this reason, when I reboot, Ubuntu doesn't recognize any longer the root folder and so on... and halts execution in a blank screen (well before the login screen).I'm currently running LiveCD and I can see the Filesystem with the root folder, the bin folder, home folder and so on....My question is How can I access the files I had in my desktop from LiveCD? I know the user and password so how can I access it?
View 4 Replies View RelatedJust wanted to share this with anyone wanting to know.If your headless server crashes, GRUB2 (at least on Ubuntu Server) is designed to force the GRUB menu to load up next time it starts up, which means you are locked out of SSH until someone physically makes a kernel selection on the PC.To prevent this do the following change to your grub.cfg file.#nano /boot/grub/grub.cfg
I was looking for a solution for this for a long time and found no hel with google. Let me know if there is a better way.I aware this file will get overwritten and need reediting if the Kernel gets updated.
my mysql is hogging my server resources andd sometimes crash it.Is there a way to increase memory it uses?I get this message alot..
Time: Mon Dec 6 08:21:33 2010 -0600
Account: mysql
Resource: Virtual Memory Size
[code]....