Software :: Start An App And Make It Run From It's Own Directory?

Jun 25, 2010

For any custom application I create which needs to run at startup, what I normally do is have an entry in my /etc/init.local that executes the app.Now if I just putCode:/data/app/prod/start And the app writes data to relative paths, it will be writing data all over the system. Is there a method of starting a script so it is aware of the folder it is in? Sure I can do "cd [folder]" then start the app, but wondering if there's a better way.

View 1 Replies


ADVERTISEMENT

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

Ubuntu Servers :: MySql Database Won't Start - How To Make It Start

May 4, 2011

I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?

View 9 Replies View Related

CentOS 5 Server :: DHCPD Doesn't Start - How To Make It Start

Sep 2, 2010

I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !

DHCPD.CONF
ddns-update-style interim;
ignore client-updates;

[code].....

View 3 Replies View Related

Ubuntu :: Make Directory Point To Other Directory

Jan 24, 2010

I have a partition for all my data (mounted on /mnt/data) and I want to point my /home/<username>/Pictures folder to /mnt/data/Pictures. I.e. I want to point a folder to another folder.This isn't possible with fstab as I've understood, since that's about mounting volumes. I guess the mount command can be used, but I'd like to mount the directory permanently and I'm not aware of if that's possible with the mount command. Maybe a soft link can be a solution, but that doesn't feel like a "clean" solution. Then I have to enter the /home/<username>/Pictures directory and then click the soft link?

View 5 Replies View Related

General :: Start File In Different Directory?

May 19, 2011

I am having troubles starting superPI benchmark test on Linux. I have it in a file named 'super pi' so ./super_pi doesn't work. I can't figure it out how to do it. In cmd(Win) I would do it like this

cd C:/super pi/
super_pi

If the file would be located in C:/super pi/ The problem is I somehow can't tell the path to the file.

View 9 Replies View Related

Debian Configuration :: Make Modprobe Look Into The Right Directory?

Jun 28, 2011

I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?

View 4 Replies View Related

General :: Make A File/directory Transparent When It Is 'cut'?

Feb 6, 2010

I'm using ubuntu 9.10. I was wondering if it is possible to make a file/directory transparent when it is 'cut', like it is in Windows.

View 14 Replies View Related

Fedora :: Cannot Re-start X / Make It Possible?

Aug 15, 2009

FC11 I tried to load the nvidia driver because google earth suggested I needed to do this in order for the program to run faster now I'm in a bit of a mess.
this I what I did, following instuctions from unoficial fedora faq
su -
yum install knod-nvidia then reboot

now I seem to be locked into 800x600 mode only.
then I find in system tools the nvidia display config tool

having clicked on this a message then appears saying I should run nvidia-config and then restart x,

I ran the nvidia-xconfig then re-booted the system. now all I get is a flashing curser on the screen.

I tried typing startx at this prompt but nothing happens.

View 14 Replies View Related

Ubuntu Servers :: No Directory When Trying To Start Host ?

Apr 7, 2010

I type in /etc/init.d/hostname.sh start

And I receive bash: /etc/init.d/hostname.sh: No such file directory

For hostname I've use "hostname" and my actual hostname, and both receive the same error.

Although when I do hostname is shows the correct hostname but without the the comcast part of it , and when I type in hostname -f, I get the correct hostname with the comcast part of it.

View 8 Replies View Related

Programming :: Have Several Scripts In /etc/rcS.d/ Directory Which Are Required To Run On Start Up

Sep 20, 2010

I have several scripts in /etc/rcS.d/ directory which are required to run on start up.Now I have written a new script, and I want it to be run during the system start up itself (Not in any runlevel). SoI have given the default start as,# Default Start :SBut when I use the command : "update-rc.d test_script.sh defaults".....it is creating symbolic links to/etc/rc0.d /etc/rc1.d ..../etc/rc6.d.But I actually need a symbolic link in the /etc/rcS.d/ directory.Is there is any way to achieve this ( I tried manullay creating a link in /etc/rcS.d, but that is not running the script on system start up).

View 1 Replies View Related

Ubuntu :: Make 10.04 Home Directory Visible In 9.04 Undelete?

Jun 21, 2010

I have a dual boot with ubuntu 10.04 (ext4) and ubuntu 9.04 (ext3).On 10.04 I accidentally deleted a whole bunch of files with the rm command. I installed extundelete in 9.04 which can undelete from ext4 file systems. However, I can't access my 10.04 home directory in 9.04, as /media/disk/home/asdf is empty except for two files README.txt and Access-Your-Private-Data.desktop. I didn't delete all of it for sure.

Does anyone know how to make my 10.04 home directory visible in 9.04 so I can undelete?

View 3 Replies View Related

Ubuntu :: Make A Backup Of Home Directory Onto A NAS Device?

Dec 5, 2010

I would like to make a backup of my /home directory onto a NAS device, and have whatever software is used for the purpose update (new and changed files) every night, or perhaps everytime there is a period of inactivity. Any suggestions for a GUI package that will do this?

I do not want a complete backup each time, just the new or changed files. Also prefer software that backs up to a mirror of the original (i.e., uncompressed folders and files)

View 1 Replies View Related

General :: Make ZIP Or RAR Package Of Directory With Increased Size?

Nov 30, 2010

I have this directory with multiple images 'pics' and the size is 20mb and I want to make a .zip or .rar package of this directory but with an increased size so the .zip/.rar file will be 100mb, and then when you extract it the file size is the original 20mb. I want to make the result file bigger, no compress it. I need to put all the directory in one single file .zip or .rar but it has to weight more (100mb), maybe it can be done with another application. By the way, I have a centos 5 from command line.

View 2 Replies View Related

General :: Make Rsync Ignore Directory Structure?

Apr 19, 2011

Is there a way to force rsync to not make directories in its destination directory; ie, to simply dump all of the files from the source directory directly into the destination without copying any of the folders that the files were originally in? I tried --no-dirs, but that seems to only be for empty directories.

View 1 Replies View Related

Fedora :: KDE Not Working On Start / Make It Possible?

Sep 26, 2009

I have installed Oracle 10G on Linux Fedora 10. after installing the database everything went successfully even if I reboot my machine so I was very satisfied at this point. When started to install Oracle Developer but with not that's much of success but I got problem in the end of installatin, anyway I closed the installation and I shutdown the pc. In the next day I want to log to linux Fedora to using KDE I couldn't andI got this problem "Could not start kdeinit4. check your installation". KDE was perfect before installing the second oracle but I have no idea why KDE crash and how to have it back again. Actually I played in some library that related in Oracle directory not related to root but I don't know what happend exactly. Please help me in steps to sovle this problem. I'm really afraid of losing the KDE and need to install linux fedora from beginning,

View 1 Replies View Related

Fedora :: Make Yum Faster To Start Up?

May 5, 2011

When I haven't run yum for a little awhile, it's slow to start up because it goes through all the progress bars of downloading from different repositories. specially, just now updates/primary_db had to download 5.5MB.

Is there some way to automate this so it happens in the background and not when starting up?

View 2 Replies View Related

Ubuntu :: How To Make Wbar Run At Start-up

Feb 12, 2010

I'm running Ubuntu 9.10, and using wbar as my dock, and when i boot up my computer and log-in I like to have my dock there instead of opening it. Is there a way to make it open automatically right when I log in?

View 1 Replies View Related

Ubuntu :: How Do Make Anything Start On Startup

Sep 4, 2010

How do I make something start on boot? I remember there being a command.. nano something, can anyone tell me?

View 3 Replies View Related

Slackware :: Cannot Start Xorgconfig / Make It Possible?

Mar 27, 2010

I've just install Slack 13 and had been looking into the website for configure info. What is my problem is the #xorgconfig does not start on my system. It says command not found. I had searched for answer on the web and found no answer so I post here for help. Is there anything else I need to install to get my intel graphic card display more then 1024 resolution?

View 7 Replies View Related

Slackware :: Make Start X Whenever It Starts?

Aug 9, 2010

How can I make slackware startx whenever it starts instead of having to go login as root and type startx each time?

View 6 Replies View Related

CentOS 5 :: Make Autostart When OS Start

May 27, 2009

usually i run the file with

1. open the terminal (log in as root)

2. then just write sh Start-ServiceEngine from the folder it self.

i try to make auto start with this way :

1. create file in /etc/init.d/ name blah

[blah]
#! /bin/sh
sh /root/service-engine/Start-ServiceEngine
exit
[/blah]

2. changing the mod : chmod 755 /etc/init.d/blah but when i restart the centOs it seem run but with error on my program.

View 1 Replies View Related

General :: Changing Default User Start Directory?

Jul 4, 2009

I would like to change the start directory, the directory at which ftp/shell points to when the user logs in.

View 1 Replies View Related

General :: Mint Does Not Start After Renaming Home Directory

Mar 20, 2011

I messed up the whole thing and the settings. Created some new thing named rhk which I can't remember as it got all messed up and Now I am getting nothing after Linux Mint 10(julia) boots up - no start menu, no panel, no taskbar nothing. I tried to work in the recovery mode and got some(downloaded) 216mb of something(in the repair broken packages). Moreover whenver I have booted in it shows messages like Could not update ICEauthority file /home/rk./.ICEauthority

there is a problem with the configuration server. (usr/lib/libconfig24/gconfsanitycheck2 exited with status 256) The panel encountered a problem while loading "OAFIID: NOME_mintMenu" The panel encountered a problem while loading "OAFIID: GNOME_IndicatorApplet" Naulitis could not create the following reqiured folders: /home/rk/Desktop, /home/rk/. Naulitis Moreover Alt+F2 gives Run application or run with file and nothing seems to be working.

View 2 Replies View Related

Ubuntu :: /etc/init.d/xorg Start : No Such File Or Directory?

Apr 19, 2010

/etc/init.d/xorg start : No such file or directoryWhen the server boots i get a blinking cursor.

View 2 Replies View Related

Ubuntu :: Directory Is Corrupted During A Cold-start Reboot

Jul 3, 2010

I urgently need expert assistance. During a cold-start reboot, something corrupted my / directory making it impossible to access much of anything. I was able to log into a recovery console and do "ls /" which shows most of the critical directories although "media" is missing. However attempting to "ls /home" gets the "no such file or directory" error message, as do attempts to ls most of the others. Doing "ls -l /" gets one item listed, followed by a single record out of /var/log/syslog, then nothing at all.

Attempting a normal login (I've disabled the quiet and splash options, so I see all the startup messages) gets to doing fsck on the swap partition, and that stalls out at 14% complete. The fsck on the root partition completed okay, apparently. This machine is my router, firewall, FTP server, and also hosts VirtualBox VMs that contain all of my customer support tools. The VMs themselves are partially backed up on another box, fortunately, but it took me a couple of months to get the failed box configured properly so if possible I need to recover it. For lack of space, I've never been able to do a full backup of it -- and permissions have foiled portions of all my other backup attempts on it.

Complicating matters is the fact that I have a moderately large data recovery job scheduled to arrive this evening (July 3) to be done while the customer's business is shut down for the holiday. Without the FTP server I'm unable to receive the files, which will total from 100 to 200 MB in all. Is it likely that testdisk may be able to rebuild the borked main root directory, if run from a live CD? The system is Hardy LTS 8.04.4, with 3 GB of RAM and a 250 GB SATA drive. I'm posting this from my WinXP laptop, which doesn't get along with my LAN so connects from a different router than the one that's down.

View 3 Replies View Related

Debian Configuration :: Make Shared Directory Safe And Access Dir From VPN

Apr 4, 2010

I am planning to build a server in future. That will be a computer with GNU. It will be a router and file server. It will get the VPN-Internet and share it with all the PCs connected to LAN. There will be Samba for file sharing. And I'm thinking that if I just share some directory on that server with Samba, it will be possible to get access to that dir from VPN. So it's not very safe to do that. Is it possible to prevent access to Samba dir from VPN connection?

View 7 Replies View Related

Fedora Servers :: Make An Entry In /etc/exports To Export A Directory?

Mar 13, 2009

Is there an easy to make an entry in /etc/exports to export a directory for every entry in /etc/hosts?

View 2 Replies View Related

Fedora :: Make Mkdir Silently Overwrite Any Existent Directory?

Feb 19, 2010

I am working on a bash script which among its operations creates directories using the mkdir command. However, when the directory already exists mkdir mentions that in the command line output.

Is there any way I can make mkdir silently overwrite any existent directory? (no messages in the output). For the same price, could it be done with other commands such as cp or mv?

View 3 Replies View Related

OpenSUSE :: Make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory

Feb 17, 2010

I'm attempting to install a WLAN card driver from source, as that's all that's available.I'm getting:

make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory

Build appears to be a link pointing to "/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop"."linux-2.6.31.5-0.1-obj" doesn't exist.

View 4 Replies View Related







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