Ubuntu :: Startup Script Not Being Called?
Jun 25, 2010
I'm setting up an Ubuntu 10.04 machine with the sole purpose being to function as a vpn server.I got openvpn set up but the startup script doesn't appear to be called on bootup even though it is does appear in the rcX.d directories and the openvpn script is in /etc/init.d and is executable and belongs to root:root.I tried running "update-rc.d -f openvpn remove" and "update-rc.d openvpn defaults" on the offchance something went wrong when it was first added to the startup links.
View 2 Replies
ADVERTISEMENT
May 9, 2010
I am using bootchart to investigate the slow booting of ubuntu 10.04 and I found that fsck process is called every time in the booting for around 5 seconds even the screen does not show any hard disk checking, is that normal ?
View 5 Replies
View Related
Oct 29, 2010
I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct
-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test
[code]....
The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:
#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script
[code]....
When the machine starts, I don't see "script called" or "start called" in the test.log at all.
View 1 Replies
View Related
Jul 13, 2011
I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.
Code:
This prints:
Code:
Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:
Code:
However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).
So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.
View 4 Replies
View Related
Jan 9, 2011
I'm having alot of trouble trying to remove linux ubuntu from my computer, so that i will only have windows vista. What's the easiest way, to totally remove anything on my harddisk with ubuntu, grub or whatever it's called?
View 1 Replies
View Related
Jun 22, 2011
depend on my sound card (which is Realtek, I think), but which file/folder in /dev is my speakers? In fact, a page with the meaning of all the /dev folders would be nice if that exists, but if not, just the speakers.
View 3 Replies
View Related
Nov 1, 2010
Every Time I Try Too Boot Ubuntu, Instead Of Starting Up It Takes Me To This Menu Type Thing And It Says To Press Tab To See The Command List Or Something Like That. And I Dont Know What Commands To Use.
View 9 Replies
View Related
Feb 13, 2011
I went to update my software and I saw the system wants to remove three programs. I googled them and they seem important but I can't update without removing them so I'm stuck. I've included a screen shot of the items the system wants to remove.
Also for the past month I haven't been able to update something called seahorse, the system says it's a broken package but I don't know how to fix it. Is this an essential program or can I un-install it?I want to upgrade to 10.10 but I am reading how all updates must be done before and these issues are holding me back.
View 3 Replies
View Related
Feb 24, 2010
There is an application for Windows called CutePDF that is a printer driver that converts any document, website, etc. into PDF when I print to it. Is there a universal application like this for Ubuntu?
View 2 Replies
View Related
Mar 8, 2010
i am trying to use a small application called toonel. its in jar format and it helps to compress traffic. i can run it succesfully but i cant seem to be able to get my applications e.g firefox to communicate with it!
normally in windows i just start the app, then set my browser proxy to 127.0.0.1:8080 which is where it listens for connections but so far in ubuntu i cant seem to be able to get it to work.
View 2 Replies
View Related
May 13, 2010
I would like to install a program called VariCAD. I downloaded the install file (full file name: varicad2010-en_2.06_amd64.deb) but was wondering if one couldn't somehow do this via the repository, kind of like I did for my nvidia drivers? Is it possible?
View 6 Replies
View Related
Jul 23, 2010
I have a script - called 'backit' - to back up files to a tarball - listed below (<backup.lst> contains files I want backed up)
#!/bin/bash
# 22/7/2010
# Backup important files
cd ~
tar cvfz .backup/backup.tar.gz -T .backup/backup.lst
cp .backup/backup.tar.gz /media/Archive/.backup
Typing 'Backit' in the shell works very well producing a backup file, <backup.tar.gz>, of 2 298 953 bytes and contains all the correct files. So far, so good! I put a line in crontab - /home/alan/bin/backit
The program runs every hour on the hour and produces the <backup.tar.gz> file. However, this file contains only some of the files and has a size of 76 762 bytes. Using "tar tvf backup.tar.gz" lists some of the files and ends with an error indicating an EOF encountered before the end of file. If the script executes correctly when typed into the shell, why does it not run to completion correctly when run by cron?
View 4 Replies
View Related
Nov 15, 2010
I would like to adjust the journal program called lifeograph. First I would like to build it, clean without any adjustments.
I'm using this version: [URL]
Readme file says:
Requirements
-----------
Lifeograph requires the following modules to be built:
* gtkmm,
* gconfmm,
* gtkspell, and
* gcrypt.
Installation
------------
Type "make" to build and "make install" to install (all without quotes). No configuration atm.
I tried make, but it doenst really work. So i think i dont have good requirements.
-> how do I install the required modules? -> I've found some in packet manager, but some appear to be librarys.
View 1 Replies
View Related
May 5, 2010
Just had to re-install after I did some very silly things. Running 9.10 Ubuntu with XBMC-live Have gnome desktop, Firefox with adobe flash plugin. I set up a script called myvpn to run openvpn and this used to work and now it doesn't I did
[Code]...
If I manually type in each command it works, but the script doesn't?
View 2 Replies
View Related
Sep 1, 2011
I'm planning on writing a BASH script for my website's server that will process data from user input via HTML forms, and then write data to the website's HTML documents. My question regards how to deal with the possibility that two users send form information very close to the same time, thus having the BASH script being called again while the first instance of the script has not yet finished.
I don't even know what happens in general when a BASH script is called while it is still running. Even if that is ok, and a new, separate script process is started (or whatever really happens), how am I supposed to prevent issues that could come from two different instances of the script trying to write to the same file at the same time? Is there a way to force the BASH script to finish its work before launching again, in the event of multiple requests?
View 6 Replies
View Related
Jun 28, 2011
i have no clu about this wine thing i cant even install it.
View 8 Replies
View Related
Nov 27, 2010
I'm wondering about this kind of GUI Interfaces like Slackware setup program
What is called ? Also, Can it be used with Python?
View 6 Replies
View Related
Jul 3, 2011
I want to copy a file from an old directory to a new directory and ideally I would like that the 'mv' command itself could create the directory for me in one step...That is to say that the directory would not exist until 'mv' has been called as in:Code:mv olddirectory/file.dat newdirectory/file.datso mv would create the directory 'newdirectory' in the above call....I am not sure if this is possible however, that is to say I think it may be necessary that the directory 'newdirectory' already exists before I make the above call to mv, as when I make try the above call when 'newdirectory' doesn't exist I get the following error:Quote:mv: cannot move `test1/4215/4215-001R.fit' to `test2/test.fit': No such file or directoryso to sum up, my question is:is there some paramater for 'mv' that I can change so that it will create the new directory as well as copy the file and if not, are there other commands that might do this?
View 3 Replies
View Related
Mar 24, 2010
Profile is getting called twice for every login change. Interestingly when i use SU, it is invoked once only. how to set profile to be called only once.
View 3 Replies
View Related
Mar 4, 2010
I installed Ubuntu 9.10 server on a HP Proliant DL380 G3 for testing. I neede to install some software from HP (Value add software pack) In this software pack I was unable to get one software up and running ( called hprsm ) I tried installing several times and allways ended with " The hprsm RPM installation failed! " I then tried to uninstall the software " dpkg --purge ... " and "rpm -e ... " and even " rpm -e --force-debian .... " but I can not uninstall it. Now when I install other software i keep getting " The hprsm RPM installation failed! " when I do " find / -name hprsm " I get :
[Code]....
View 6 Replies
View Related
Jun 24, 2010
How tp build a multi-touch table on Ubuntu 10.04. I've starting some research and I see there have been some folks out there have done this on a windows environment...i want to be able to get this going on a Linux environment. what I've found so far is there an open source multi touch project going on called tbeta...not sure if any of you are familiar with tbeta. Has anyone gotten tbeta to work on Ubuntu 10.04? If there are other multi-touch projects going on and working under Linux (hopefully Ubuntu 10.04)
View 1 Replies
View Related
Apr 21, 2011
I am trying to install a specific version of JRE which is required by a program called Glucofacts. this is a diabetes program which is used for recording blood sugar readings on a computer. would someone care to give me some advice on the below error?
larry@ubuntu:~$ sudo apt-get install jre 1.6.0_07
[sudo] password for larry:
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]...
View 1 Replies
View Related
Jul 26, 2010
Is there any software that can 'read' the log file in nagios and produce a so-called 'scoreboard' (something like a graph) to display the status of the services? I was told that one could 'read' the log file stored in nagios and create a scoreboard.
View 12 Replies
View Related
Jul 4, 2011
My firewall keeps blocking something called CPQ-Wbem. There have been about 10 instances of this.
A machine on the network is advertising it runs, or looks for machines running, Compaq Insight Manager on TCP/2301. If the machine isn't yours or you haven't enabled Compaq's web-based remote management then silently drop it.
Now as far as i know i do not have a network, just a dsl connection. I also do not own a Compaq computer. So if someone who has some knowledge of this could you explain to me how a " network is advertising it runs, or looks for machines running, Compaq Insight Manager on TCP/2301 " . This would seem to me to be a local network thing not a www thing ?
View 2 Replies
View Related
Sep 25, 2010
I found a great application called Freecorder. Is there a Linux equivalent? [URL]..
View 6 Replies
View Related
Jun 18, 2010
I was looking around the files in /etc/ to see what they were and what they said, then I noticed there was two files called passwd, which confused me a lot for a second then I noticed one of them was actually passwd-.I compared them and they only differed by one line:
< games:36:35:added by portage for gemrb:/usr/games:/bin/bash, which was in passwd but not passwd-.Should these files both exist? If yes, why, what does having both do? If no, then its safe to say I can just delete passwd-
View 2 Replies
View Related
May 18, 2010
1. What is it called when you move a PDF window while it is loading and the window manager does not keep up with the image, (it gets all blurry when the window is moved?)Why does this happen?
2. Why is it that when a browser window is clicked to load a new address it won't always go to it. It has to be clicked again.
3 Why is it that sometimes IE is the only browser that will work on XP. FireFox and Opera will not load a page but IE will.
4 Why is it that Firefox on Linux sometimes everything inside the window is slow to appear. It has to be closed to fix it. When the contents does appear it is all at once.
5.Why is printing different things on Linux a problem. I have a lot of inconsistency with trying to print things from Evince. Some docs print and some won't. Copying and pasting is also a problem for Evince.Why?
6. Is there a way to have Linux Shut down after computer activity has stopped and not just with a timer. Lets say I'm trying to download something and I want it to turn off after it has finished with the down load.
7. Why are some Web pages biased towards Windows. I notice that some java scripts will only run right on Windows machines with IE. A lot of on-line forms are like this.
8. Can (MOVIES, PICTURES AND MUSIC) torrents be downloaded on Linux without risk?
9. It seams that Linux browsers do not keep previous web pages in memory so if you want to go back Linux always has to reload them from the server. Why is this?
10. Why is it that browsers sometimes won't indicate that the page has finished loading, "ever".
11. Why does Linux turn on the number-lock when loading its self?
12. Why can't the brightness be adjusted in Totem? There is a menu to change it but it does not work.
View 1 Replies
View Related
Jul 16, 2011
I want to enable a function which is called clone mac...see in the picture. while, some systems don't support such a function... such as centos, the picture was taken in ubuntu 11.04... so, if i want to enable the function in centos or some other distributions which doesn't support this originally, what should i do? is upgrading the network manager functional?
View 4 Replies
View Related
Sep 30, 2010
I made the following script:
Code:
#!/bin/bash
logErrors(){exec 2>/tmp/errorlogfifowhile truedocat /tmp/errorlogfifo |echo $(date "+[%Y-%m-%d %H:%m:%S]") Error: >/var/log/error.logdone}
logErrors
ls inexistentFile
exit 0
If I execute the script I see the formated error message in /var/log/error.log, as to be expected. After the script execution, I hoped "logErrors" was not executing anymore, but when, in another terminal, I call "echo something > /tmp/errorlogfifo", I still see the formated error message "something" in "/var/log/error.log". How can I finalize "logErrors" before the script ends? Or, maybe someone knows a better way to format and log the erros in a script.
I forgot to say that the file "/tmp/errorlogfifo" is a named pipe created by the command "mkfifo /tmp/errorlogfifo".
View 8 Replies
View Related
Dec 6, 2010
I have two shell scripts:
sh1.sh
echo "First script"
echo "Now calling second one"
sh2.sh
sh2.sh
echo "Second script"
In this shell script, I want to print out which shell script called this. In this case, sh1.sh called sh2.sh. So, I want to print out "sh1.sh".How to achieve?
View 1 Replies
View Related