I am writing a C# application that reads all the directories and files on my Ubuntu web site and copies the changed files to my eSata drive on my workstation.
This is the code that reads all files and directories in my www folder.
System.IO.DirectoryInfo file1 = new System.IO.DirectoryInfo(pathA);
IEnumerable<System.IO.FileInfo> list1 = file1.GetFiles("*.*", System.IO.SearchOption.AllDirectories);
This is the error on my workstation accessing the web site after a few minutes.
A first chance exception of type 'System.IO.IOException' occurred in mscorlib.dll. Additional information: The specified network name is no longer available. f there is a handler for this exception, the program may be safely continued.
Any ideas on what is causing the network name to not be available. I can see the files on my Windows 7 workstation.
http://www.scsiraidguru.com/CSharp/CopyChange.html
Help!! In 12.04.5 Ubuntu, the /boot directory was full and had a lot of duplicate files from different dates, some I thought were unnecessary headers of updates. However, one series of files was called vmlinuz-3.2.0-29-generic. I moved all the files to /obsolete_files. I rebooted after having trouble upgrading packages (I think this is a second problem with this machine). I now get the following prompt.
grub rescue>
Is there a way to access the directory system so that I can move those files back? I really only need to retrieve one or two files off the system.
Code:
grub rescue>ls
(hd0) (hd0,msdos5) (hd0,msdos1) (fd0)
It doesn't under boot, or insmod. I can set prefixes. Am I doomed?
Hi,
Could anyone please explain as understandable as possible how could I on my Windows 8 open either single file or install (and use) entire software which is supposted to work on Linux and/or Ubuntu? I have absolutelly NO experience with Linux and have never used it. Honestly, I don't know if there is any difference between Linux and Ubuntu. I want to be inside my Windows 8 while using Linux files/sofware. The only solution I could think of are actually two but neither of them is useful for me:
1. Vmware (i don't know how to use it)
2. Rent remote computer (vps/rdp) with linux OS installed (this would let me be in Windows 8 while being able to use Linux file/software [on remote computer] but sooner or later I would want to have Windows installed there too)
Tried program Linux Reader but didn't work on my Windows 8. Although I would need solution for installation/usage of software (that can be used only on linux/ubuntu), regardless of details***, the current problem is basically related to single files only: I have two files, both in IMG extension. Don't know how to open them because Deamon Tools doesn't handle IMG. The problem is that filesystem in one of them is "Linux" and filesystem in another is "142". The error I am getting when I try to open them is:
"File with harddrive/disc snapshot is corrupted."
But this is most likely because they are supposted to be used in linux environment, hence such question.
*** when i said "details" I was referring to basically anything: type of software, size, purpose, whether or not it needs network connection, whether or not it contains logging in (username password, etc) requirement, etc.
The following solution for current situation (quoted error above) works only partially:
http://www.sysprobs.com/simple-tip-h...thout-software
I am able to open/run/mount IMG if I do what is described on this link (im basically opening iso in this case - see the website) but when opening the virtual drive, the following error message proves that the file can be used in linux/ubuntu only:
"Windows cannot access that drive. Drive could be corrupted. Make sure the drive is in condition that can be recognized by Windows. If drive isn't formatted then format it before usage."
Would need detailed instructions, for total beginner, who has never used linux/ubuntu, what to do in such case: how to use in win8 files/software that are supposted to be used in linux/ubuntu. Also answer on how to open IMG would be highly appreciated.
Kindest regards and thank you a million in advance.
Hi,
I have an tar.gz file which when right click extract here on my ubuntu computer is extracted without issue. I have all the folders and all the files (links and one executable) in them.
But when i transfert this tar.gz to another system and use the command :
Code:
tar zxvf nameofthefile.tar.gz
I see in the terminal things like that :
Code:
usr/bin/unzip/lzop
usr/bin/xargsbin/mountpoin
usr/bin/telnet
bin/pipe_prog
usr/bin/lzma
bin
usr/bin/sort
which mean that the files must be extracted but when using "ls" intot he folders they are empty. All the links are not here and only the executable is extracted.
When i copy back the archive from the new system to my ubuntu system and extract it all the files are here without issue. Why is it only creating the folders and not extracting the links ?
Hello,
Is there a command / set of commands that I can use that can show me which library files are updated after something has been installed on my system?
I have an installer which states "Library files updated" but I can see now evidence of which files have actually been modified.
This is causing some issues in the operation of the system.
Any help on this would be greatly appreciated.
Hi all!! Im new in this forum and also new at linux !!
I am installing an application that includes automatically the instalation of CentOS 6.3.
The server that hosts this application and OS had a power outage and then when i turn on the server again i get the error that you can see in this pictu http://postimg.org/image/7opm0xzel/
I have 2 disks in the system, 1 for the application and SO and other to store call recordings (thats what the application do, record calls!).
If I re-install the system it has no problem!! But i dont want to re-install the system every time i have a power outage because i lost too much and important information.
I have installed this application in other server and had no problem with power outage. In this server the diference is that it originally had raid and i "remove it" frome the BIOS. Maybe here is the problem??
Anyone can help me?? Remember im really new in linux !!
i have windows 8.1 and ubuntu 14.04 ....now wen i try to access a drive of windows in ubuntu it says failed to mount.
then i used "sudo ntfsfix /dev/sda4" for mounting the drives ......it worked for all drives except the E drive (not the system drive).
it gives error windows is hibernated , shutdown windows.
I shutdown my windows properly but still that particular drive refuses to mount..
any solns?
Hi Folks,
Installed Mint-mate 17.
It gives message:You are now disconnected" after logging in.
I restart, the network connection comes.
It is not "networking restart", but system restart.
Tried five more times. The behaviour is every time the same.
After booting the system, no network connection. But from there I restart the system, then network connection is on.
Very irritating to always boot it second time to get the network connection up.
The computer is a desktop Dell Optiplex 9010.
On the same computer, Windows 7 runs without any problem.
Any idea how to fix it?
Thanks
Hi all. I am tweaking my php.ini file and I do not understand the bolded text below...
http://phpsec.org/projects/phpsecinf...d_tmp_dir.html
Quote:
upload_tmp_dir
Test Description
Checks if the current upload_tmp_dir is a world readable or writable folder, and if it matches the common UNIX system temp directory.
Security Implications
upload_tmp_dir allows you to specify where uploaded files should be saved until the handling script moves them to a more permanent location. If this file is within the document root of the web site and/or accessible to system users other than PHP's user, it could be modified or overwritten while PHP is processing it. By default upload_tmp_dir is set to the system's standard temporary directory, which can typically be accessed by all system users.
Recommendations
Set upload_tmp_dir to a folder that is:
- outside the document root of your web site
- not readable or writable by any other system users
You can set upload_tmp_dir in the php.ini file:
; Set upload_tmp_dir to a safe location
upload_tmp_dir = /var/www/foo.bar/sessions
The setting can also be applied in apache's httpd.conf file, or an .htaccess file:
# Set upload_tmp_dir to a safe location
php_value upload_tmp_dir /var/www/foo.bar/sessions
Questions:
1.) What does the bolded text mean, and how do I do that?
**NOTE: I don't have VPS Root access, and am hoping this can be done using my regular account via SSH.
2.) Where would be a safe place to put these temporary files?
Sincerely,
Rob
I am getting the below error when try to run a perl script which copy mysql db using resync.
Could anyone please help
Creating log directories
Initializing data
WARNING: Use of this system is restricted and monitored!
This system is for the use of authorized users only. Individuals using
this computer system without authority, or in excess of their
authority, are subject to having all of their activities on this system
monitored and recorded by system personnel. In the course of
monitoring individuals improperly using this system, or in the course
of system maintenance, the activities of authorized users may also
be monitored. Anyone using this system expressly consents to such
monitoring and is advised that if such monitoring reveals possible
evidence of criminal activity, system personnel may provide the
evidence of such monitoring to law enforcement officials.
receiving incremental file list
rsync: opendir "/db/pluto/test" failed: Permission denied (13)
sent 12 bytes received 130 bytes 284.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 2 3) at main.c(1505) [generator=3.0.6]
Aborting : Database copy from primary to secondary failed.
I try to install ubuntu 9 on woindows 7.The ubuntu is working quite fine.I try to see where my bin files are located.Its in folder FILE SYSTEM.
My commands ip addr,ls are working.
The command sudo cd/usr/bin is not working.
Please let me know where problem is.