General :: Can't Force Reboot From Program?

Jul 7, 2011

running Linux release 2.4.19-uc0, build #511 embedded on a device. It is stripped down to a very minimal configuration and so many of the normal commands are not present.I'm trying to force a reboot from an application I've got running. I've tried the following:

system("shutdown -r");
or
sync();

[code]....

View 4 Replies


ADVERTISEMENT

Ubuntu :: Force A Fsck Run At Next Reboot?

Nov 28, 2010

I know I can force a fsck run at next reboot using

Code:
shutdown -rF now

or

Code:
touch /forcefsck

can I force the fsck to more indepth checks such as doing directory optimisations, bad blocks checks, etc. maybe by passing parameters to the fsck call during startup?

View 7 Replies View Related

Ubuntu :: Force A Check Drive For Next Reboot?

Mar 17, 2010

todays update required a restart an then it went into check disc mode but i dont have time to wait and ended it.is there a way to force a check disc on a reboot when i do have time?

View 5 Replies View Related

Software :: Make Libata.force=1.5G Work Without Reboot?

Jun 6, 2011

how to make the SATA port as 1.5G or 3G, 6G by command line operation without reboot PC by editting grub.conf?I need to switch the SATA port as 1.5G <-> 6G without reboot.

View 2 Replies View Related

Ubuntu :: 10.10 Freezing - Cannot Force Reboot - Shutdown - Run - Enter Terminal

Nov 5, 2010

Two or three times on a daily basis it just freezes and I do not know why. For example, I am doing some minor coding, surfing the web and just some regular stuff and suddenly, out of nowhere, it just freezes. I cannot force reboot, cannot shutdown, cannot run, cannot enter terminal, nothing. Totally helpless. Only physical reboot do the work. Never had this issue before.

View 9 Replies View Related

Fedora Installation :: Force The Gnome Fallback To Start Up Directly On A Reboot?

Aug 12, 2011

After a great deal of pain I have Fedora 15 running in Virtual Box 4.1 on a older Mac Book Pro running Lion. When I boot Fedora 15 I get a black screen. I can get a virtual console by banging on the fn ctrl option f2 keys I can then use 'startx' to get another black screen but clicking around for a bit gives me the gnome fallback windowing. Is there any way I can force the gnome fallback to start up directly on a reboot?

View 5 Replies View Related

Software :: How To Force Program To Uninstall

Mar 9, 2010

Code:
johnh@tux:~$ sudo -i
root@tux:~# apt-get purge webmin-bind
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following packages were automatically installed and are no longer required:
linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.

The following packages will be removed:
webmin-bind*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1,339kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 180904 files and directories currently installed.)
Removing webmin-bind ...
/var/lib/dpkg/info/webmin-bind.prerm: 6: /usr/sbin/update-webmin: not found
dpkg: error processing webmin-bind (--purge):
subprocess installed pre-removal script returned error exit status 127

Errors were encountered while processing:
webmin-bind
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@tux:~#

View 3 Replies View Related

Ubuntu Security :: Brute Force Program With Gui?

Nov 8, 2010

im looking for a good brute force program that has i gui. i used to use brutus on windows but now im only running ubuntu so i need to find one.

View 3 Replies View Related

Ubuntu Servers :: Force Java Program To Use More CPU

Mar 23, 2011

I have ubunto 10_4 X86-64 (I use putty to connect)
installed apps
screen
mysql server-client
my java program
open jdk* 64bit
apanche2 (the web server stuff)
and its aVPS machine
Xeon 2.0 64bit 4 GB ram

How can I make (or force) my java program to use more then 1 core? I would like it to be using just 5 of the 6 that I have. I use a .sh to run it this is the code for it.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xshare:auto -Xmx2662M -jar craft.jar

View 5 Replies View Related

Software :: Force Program To Run Totally From RAM/swap

Feb 4, 2011

At the moment im using a live linux distribution and running a program to test the security of my website. Unfortunatly this program is running from, and seems to fill up rootfs, at which point the program crashes and dissapears.

Is there any way to force a program to run totally from RAM, which i would presume would automatically use a swap file because of the in built memory management in linux, of which is a 30GB partiton.

I know i could just install the distribution to the partition instead, however it has peaqued my interest in just how much control linux has over the programs running on it.

So the question is - Is it possible to run a program totally from RAM, forcing all inputs/outputs to be re-directed to/from RAM to keep the rootfs clear whilst the application does what it needs to?

View 9 Replies View Related

Debian :: Force A Program To Use A Specific Version Of GTK When Compiling

Jul 15, 2010

I decided I was going to compile XChat from source today for "fun." What I ended up doing was spending a few hours getting it to compile, then find out everything didn't work the way I thought it did. I was under the impression that after I ran "sudo make install" I was "upgrading", when in reality I'm just installing a seperate version alongside the old one. Apparently I have to keep the old version so every program that was compiled with it will continue to work, so how do I:

1) Force a program to use a specific version of GTK when compiling.
2) Find where my version of GTK installed to.

I've asked some people and I've just been told to "learn LD_PRELOAD". I've googled and can't figure how I could even apply that to my current problem

View 3 Replies View Related

Ubuntu :: What The Shortcut Keys Are To Force Quit A Program

May 15, 2010

what the shortcut keys are to force quit a program that has frozen up in Ubuntu 10.04? I use to know it, but can't remember

View 4 Replies View Related

Ubuntu :: The Program "Force Quit" Is Frozen

Mar 11, 2011

I have added to my Panel the "Force Quit" program to click and use so I don't have to type it in on the rare occasions that I need it. I accidentally clicked it today not needing it. Not knowing this would be an issue, I clicked on it thinking it would force itself to quit and just close itself. I know I should have just hit esc to close it.

The problem I have now is that it is now frozen on my screen and for the life of me I cant figure out how to get rid of it. Yes I tried esc. I tried opening System Monitor and looking for it to end the prog and couldn't find it. I know I could fix this by just restarting the x server, but at the moment I happen to have several things open that I either cannot save right now or are actively running.

View 7 Replies View Related

Debian :: Program For Automatic Or Remote Reboot Process?

May 21, 2010

I looking for a program for automatic or remote reboot process...

Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...

View 3 Replies View Related

General :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.

View 2 Replies View Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.

View 6 Replies View Related

Ubuntu :: Program/script In 9.10 Server Is Erasing/cleaning The /tmp Directory At Each Reboot?

Jan 20, 2010

Anyone know what program/script in Ubuntu 9.10 server is erasing/cleaning the /tmp directory at each reboot? I want to have it not do that, and replace it with something that removes older files first to achieve a certain free space level.

View 1 Replies View Related

General :: Make A Script To Open A Program Then Operate Within That Program?

May 7, 2010

I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?

View 5 Replies View Related

General :: Force Mono Sound On 9.10?

Mar 15, 2010

My headphones broke so audio only works on the right speaker. As a temporary fix I want to force all sounds to play in mono in the right speaker. I run Ubuntu 9.10. Is there a way to complete this?

View 1 Replies View Related

General :: Can I Force-logout Other Session From A New SSH

Sep 27, 2010

I sshed into a Linux machine (bash shell) from a public Windows machine (in our lab) and forgot to log out. I'm now back at my seat in another room and I am too lazy to walk back and log out that session; I can ssh into the Linux machine from my current PC though. Can I force-logout the other session from a new SSH session?

When I ssh to the Linux box from my current PC and type users command, I can see that I'm still logged in there; my name is listed twice - one for the current session and another for the session from lab PC.

I don't have root privileges on the said machine, but I guess that shouldn't matter as I'm just trying to log out myself.

View 1 Replies View Related

General :: Force Firefox To Use Different Library?

Aug 12, 2011

I'm trying to upgrade to Firefox 5 on RHEL5, and am getting the following error:

./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/isdtc/tdiakiw/bin/firefox5/firefox/libxul.so)

As the computer is a work machine,I don't have access to update the libraries directly. To try and get around this I downloaded the libstdc++.so.6.0.10 library.strings libstdc++.so.6.0.10 | grep GLIBCXX shows:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2[code]....

Is there some way of forcing firefox to use this library instead? I have tried adding the directory containing the new library (with a so name) to LD_LIBRARY_PATH and then running, but I'm still getting the same error message

./firefox
+ moz_libdir=/usr/local/lib/firefox-5.0.1
+ found=0

View 1 Replies View Related

General :: Force Redownload With Wget?

Jan 15, 2010

I had the bad surprise that wget doesn't redownload when a file of the same name already exist.

Is there an option to force him to redownload without deleting the file first on linux ?

View 3 Replies View Related

General :: Force A Folder To Have GID Number?

Jun 20, 2010

I created a group, and after adding the users into this group, they have a /home/worksharing that is shared

Code:

addgroup teamnight --gid 2578

So that everyone of the teamnight can read/write data of the /home/worksharing , how can this folder be forced, so that all from it e.g. subdirectories, directories, files,... will take the GID group number 2578 of teamnight?

View 10 Replies View Related

General :: Sound - Force Downmix To Mono?

Jun 22, 2010

For personal reasons (I'm hearing impaired) I need my linux machine to produce mono downmixed sound. Downmixed, not just single channel.

Is there any possibility to force such behavior in ALSA / PulseAudio server? Hardware mixing (short-circuiting L and R channels with some resistors) is not possible at the moment. I'm looking for a software solution to mix two channels into one.

I know that some media players have this functionality, but I'd like the whole system (ie games, flash applications, etc) to produce downmixed audio.

View 2 Replies View Related

General :: Force A Process To Run In Virtual Memory?

Dec 9, 2010

I am running a series of tests for an implementation of a remote pager that sends page faults to other computers in a network. Long story short, I was wondering if there is an easy way to force a process to use virtual memory as oppose to physical RAM so that I can better measure the performance of my implementation against how the system would perform while swapping to the hard drive.

View 4 Replies View Related

General :: Ssh + Force User And Group On Mkdir?

Apr 19, 2010

im trying to implements mercurial repositories using ssh access.The problem is that if a login via ssh with the user "userA" all file upload vi that user are created with the owner: userA:userA and i need to use the group of the parent directory... is that posible ?For example:

repos ( root:repo)
-> project1 ( root:repoPrj1 )
-> file1 ( userA:usearA ) -> here i want userA:repoPrj1

View 1 Replies View Related

General :: How To Force Mencoder To Stop Streaming

Aug 11, 2010

Is there a way to instruct mencoder to stop streaming/recording after a specified period associated with a loss of signal?I use mencoder to record over-the-air television recordings. Most of the time there are no problems.Occasionally a station's transmission signal disappears, caused by quirky atmospheric conditions, usually at night.Noticing these signal outages is easy by the mencoder error message:dvb_streaming_read, attempt N. %x failed with errno %y when reading %z bytes"Lengthy outages are unbearable because mencoder silently waits forever rather than quit.

The significant problem with lengthy signal outages is mencoder continues recording for the time specified by the -endpos parameter. Thus, for example, if the recording is scheduled for 2 hours and there is a 20 minute loss of signal, the recording does not end until 2 hours and 20 minutes after starting.Generally, when the interruption is lengthy the recording is ruined and I don't care to watch. I would like to programmatically tell mencoder to stop waiting and quit.Is there a way to do this? Say, after ten minutes of no signal, just terminate do not notice any parameters that might offer that option, but I could be overlooking something obvious. I tried the -skiplimit parameter with no success.

View 11 Replies View Related

General :: Apache And Php, Force File Extension?

Apr 18, 2011

I am playing with my LAMP server1. why can i access a php file on the server only by typing http://serverip/file with no .php extension on?2. later i tryed to play with .htaccess, but when i uploaded it to the server it just disappeared, why is that

View 4 Replies View Related

General :: Force Restart On CTRL+ALT+DEL On XFCE?

Jan 2, 2011

I've hired a dedicated Ubuntu10.10 Server on a remote colocation. I needed a GUI to be able to hook into my KVM guests, so I installed xubuntu-desktop.

My dedicated server provider provides me very useful free service. I can request a CTRL+ALT+DEL to my server through their web based server control panel, and I can boot into a live image from their network. This is vital for me to be able fix back configuration problems.

However after I have installed xubuntu-desktop (XFCE I believe), the CTRL+ALT+DEL no longer reboots the machine.

I've been struggling with this simple issue for quite a few days, I simply can't get it to work.

I've tried setting it through XCFE 4 Settings Manager. It does not work. From my understanding any keyboard shortcuts defined here are specific to user, so I think they'll not work when the server is in login screen (no user logged in).

I've tried to put control-alt-delete.conf files in /etc/init and /etc/event.d/ , neither seems to trigger reboot. Documentary propose /etc/event.d has been deprecated since Ubuntu9.04, i tried it anyways.

Content of the file is

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.

[Code].....

View 3 Replies View Related

General :: Normal For Mkisofs To Use Only 5% Cpu Power / Force It To Use More?

Aug 2, 2010

Is it normal for mkisofs to use only 5% cpu power? it seems to take an awful long time to create a .iso file. Is there a way to force it to use more?

View 4 Replies View Related







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