Ubuntu :: Rc.local Will Not Execute - Error
Jun 1, 2010
I have written a device driver and would like to load it automatically and generate the device nodes. I wrote a config script that I would like to execute at boot and added it to rc.local. It will not run at boot up and I have spent hours researching. The file is below:
#!/bin/sh -e
#
# rc.local
[code]....
If I execute this script from the command line, it works fine. But it does not work at boot up. The echo command is never executed. The link S99rc.local did not exist in any of the runtime directories. I created S99rc.local in /etc/rc2.d and linked it to ../init.d/rc.local. This did not help. The link /etc/rc2.d/S20rc.local already existed.
View 3 Replies
ADVERTISEMENT
Dec 30, 2008
I am using RHEL 5 and i have configured a daemon that starts automatically when system boots, i have written its startup script on /etc/rc.d/rc.local file and it executes successfully but the problem is that if that daemon stops running (due to any reason) i have to restart/reboot the whole server so that the daemon runs, i need to know that is there a way that we can just re-executes the /etc/rc.d/rc.local file while the whole sytem remains as it is.
View 4 Replies
View Related
Jan 10, 2010
The two host one is Aix 5.3 and another is Suse 10sp2 the both have the same script which including the following parts:
if [ `date +%a` = "Mon" ];then
if [ "$RESULT" = "" ]; then
echo "The `hostname` $DATE ok"
[code]...
View 1 Replies
View Related
Sep 14, 2011
A program requires local path property to perform correctly.I'm seeking shortcut command to execute a program with a supplied localPath For example, cd /usr/local/blogrmis/usr/local/blogrmis/remote & remote program requires local path @ /usr/local/blogrmis to run.is there any shortcut which i can do it in 1 line?
View 2 Replies
View Related
Jun 12, 2010
I am bit lost with configuring my apache2 web server. From the book I am using it says for me to configure apache2 to support PHP I need to execute "./configure --prefix=/usr/local/apache2 --enable-so". From what I can determine Apache2 is located in "/etc/init.d/apache2" folder. I used a Ubuntu 9.04 distro (I386 Server Ed.) to install the server. I added "Kubuntu-desktop" for viewing. Then performed web upgrade to Karmic 9.10. All went well !! Question is; Where do I execute a command to enable PHP support? Once again, the command is to look something like "./configure --prefix=/usr/local/apache2 --enable-so"
View 2 Replies
View Related
May 10, 2011
running Ubuntu 10.10 and mozilla and seamonkey... Tried to access a website: [URL] and got the error: The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. Please try the following: Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS)
View 1 Replies
View Related
Jan 28, 2011
When I send mail via Evoultion it does seem to send ok but still the following error message comes up: Error while sending message. Failed to append to : Unknown error Appending to local 'Sent' folder instead. Not sure what's up with that but thought I would mention it.
View 3 Replies
View Related
Oct 31, 2010
I had hard drive = 2 partition, 1 being extended. I had two ubuntu instances+swap+fat on extended and XP on primary. I moved a partition = success. I create a new partition = success. I installed new ubuntu instance -> fail on restart->. I saw sector error on screen on restart. So, Grub has lost 1 existing ubuntu instance and could not create new entry for new ubuntu instance. Read on forum just boot from Live CD and execute some grub cmds from terminal?
View 5 Replies
View Related
Oct 13, 2010
When im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.
View 11 Replies
View Related
Nov 15, 2010
Installing chromium-browser on maverick, i get code...
View 2 Replies
View Related
Dec 26, 2010
I have problem starting clamd. It's unable to execute setgroups()
/etc/group , /etc/password files are world readable
Here is output after starting clamd:
sudo clamd
ERROR: setgroups() failed.
Here is strace clamd output:
...
open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
_llseek(3, 0, [0], SEEK_CUR) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1616, ...}) = 0
mmap2(NULL, 1616, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f6d000
_llseek(3, 1616, [1616], SEEK_SET) = 0
munmap(0xb7f6d000, 1616) = 0
close(3) = 0
setgroups32(1, [120]) = -1 EPERM (Operation not permitted)
write(2, "ERROR: setgroups() failed.
", 27ERROR: setgroups() failed.) = 27
exit_group(1) = ?
Process 29002 detached
ls -al /etc/group:
-rw-r--r-- 1 root root 1013 2010-03-19 11:38 /etc/group
ls -al /etc/passwd:
-rw-r--r-- 1 root root 1616 2010-03-05 12:39 /etc/passwd
/etc/passwd:
clamav:x:108:120::/var/lib/clamav:/bin/false
/etc/group:
clamav:x:120:
View 2 Replies
View Related
Mar 26, 2009
I have tried to execute the below ns.c program in RHEL 4 by using the command
#gcc -c ns.c -o ns.o
i am not getting any errors but while i am running object file by using the command
#./ns.o
i am getting the below error
bash : ./ns.o cannot execute binary file
/* trinoo daemon */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
[code].....
View 4 Replies
View Related
Aug 11, 2009
I want to install Codendi softwr to my Centos 5.3.But can not execute the installation script gives an error permission denied./etc/fstab file does not contain a path that holds my CDROM drive.
View 2 Replies
View Related
Mar 6, 2010
I use a local repository for ubuntu and when i use update manager it always shows gpg warning and shows that the information is out of date. Is there any way to suppress this warning. ( In Ubuntu 9.10 ) , so that update manager never compain about the local repository.
View 1 Replies
View Related
Feb 17, 2011
i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???
View 1 Replies
View Related
Mar 11, 2010
I get the following error when I try to play my local radio station via firefox with Kubuntu 9.10:
Firefox doesn't know how to open this address, because the protocol (mms) isn't associated with any program.
I have Flash, and the Gecko Media Player plugins installed.
how i can get this to work? Im working third shift and its so silent it is deafening, i could use a hero
View 3 Replies
View Related
Aug 2, 2010
I'm trying to grab "repo" using curl and put it into /usr/local/bin/ but I can't seem to figure out why I'm getting a permission error:
Code:
$ sudo curl https://android.git.kernel.org/repo > /usr/local/bin/repo
bash: /usr/local/bin/repo: Permission denied
[code]....
View 1 Replies
View Related
Oct 22, 2009
I have installed RHEL-5 on a 64-bit machine recently, and want to install java. Earlier when I did "java -version", it showed jre1.4.0. But for my application , I need jre 1.5.0 or later, so I decided to download jre1.6. I am the root user here and I downloaded the jre1.6 as rpm.bin as well as simple .bin format.
But the problem is that when I tried executing any of them, I am getting below error message :
" ./jre-6u16-linux-x64-rpm.bin: line 368: ./install.sfx.20520: cannot execute binary file"
Moreover, now when I tried "java -version", it is not showing any thing.
Could anybody suggest me how can I resolve this deadlock situation, as I need to install my other application at the earliest.
View 9 Replies
View Related
Sep 28, 2010
On Karmic, every once in a while this error pops up near the notification area at the top right (also see attachment):
Timezone Errors See Error Console: Unknown timezones are treated as the 'floating' local timezone.
But the 'date' command shows the correct date/time and timezone. /etc/timezone is also set correctly. The machine is running ntpd and is connected to the net 24/7 via ethernet. I also don't see any 'timezone' errors in /var/log/* Which software is complaining? What is the "Error Console" it is referring to?
View 5 Replies
View Related
Nov 1, 2009
I have some typical issue while trying to connect to my root or other users from my terminal.
like su - asking for password and after that it displyed a message like $su -
Password: could not open session
I tried connect using ssh then I am getting the following $ssh root@localhost Last login: Sun Nov 1 14:13:45 2009 from localhost Connection to localhost closed.
Background: Before this happended, I was tryied modify sshd_config in /etc/ssh/ folder to allow passwords less than 2 words.
View 1 Replies
View Related
Jul 5, 2011
I'm trying to use Ifolder but after the splash screen, I got this error message:
Code:
Error: Cannot start the local web services.
Error: The Simias process failed to initialize.
Use the command line switch --showconsole to view the error.
[Code]....
View 5 Replies
View Related
Feb 28, 2011
when i tried the command mysql -u root it is giving me an error that "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2)" although my mysql server is ruuning beacuse i m using XAMMP server and its inbuild mysql server is running i cannot use service mysqld start command beacuse this command try to start another instance of mysql and i required mysql of XAMMP.
View 3 Replies
View Related
Nov 16, 2010
receiving an error when trying to run in administrative mode "failed to execute child process "amddxdg-su"(no such file or directory. how do i resolve this?
View 1 Replies
View Related
Apr 2, 2011
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). I've had this problem to the point where I thought I messed up my actual configuration so bad that I reinstalled Ubuntu to get rid of all the MySQL configuration; I ran MySQL through Windows with a breeze, but I'm getting some errors like that after restarting my computer just a few minutes ago and I have not changed anything in my SQL settings. I'm on Ubuntu 10.10 64 bit and running MySQL 5.1. the actual error that I get from Navicat and from the website is at [URL]... Update: 20110402. Connection for controluser as defined in your configuration failed. Just got that when I tried to log in to phpmyadmin.
View 4 Replies
View Related
Aug 16, 2010
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.
But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:
[local]
name=CentOS-$releasever - local packages for $basearch
baseurl=url
enabled=1
After the CentOS repository was up and running I follwed the exact same steps and was expecting to find a Fedora repo up and running (I know, I know, silly me...). However, yum complains it cannot download the repomd.xml. The .repo-File is as follows:
Quote:
[local]
name=Fedora $releasever - $basearch
baseurl=http://icld:8080/fedora/$releasever/local/$basearch
enabled=1
gpgcheck=0
protect=1
Yum returns the following error message:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again
The path is definitely correct - copying the url and pasting it into a webbrowser returns the correct repomd.xml file, so does pasting it to wget.
Any ideas? Does createrepo need any parameters in order to create a working Fedora repository?
View 3 Replies
View Related
Sep 9, 2010
I have a computer in the university and I have root access to this pc. Iam trying to install Cblas library on it. But it gives me a starnge error /usr/local/atlas is read only file system. I tried doing mount -l and it gave me that appserver1:/export/d1/Linux/doe on /usr/local type nfs4 (ro,sec=.......) I think what it means that the main server directory is mounted to /usr/local and it is read only. So, how can I fix this problem to separate the two and make my /usr/local separate
View 13 Replies
View Related
Mar 30, 2010
I just configured vhost server in my linux server. When trying to access the open source (SugarCRM) application running on it, its giving me the error message that i am not connected to internet. I have restarted apache by no luck.
View 1 Replies
View Related
Dec 31, 2009
how to create yum repository in rhel 5.3
View 1 Replies
View Related
May 9, 2011
I have installed the mysql server on my ubuntu. I need to assign or reset the root password. I followed the article at http://www.ubuntugeek.com/reset-the-...-on-mysql.html. When I ran the command
[Code]....
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) what am i doing wrong, and explain to someone who almost has no experience with ubuntu. I am new to this.
View 1 Replies
View Related
Apr 5, 2011
The thing is we have 2 servers one is bugzilla + proxy other is mailserver (internal)
The thing is when my dev team files any bug the bugzilla can't send mail to a user user@test.local.com
P.S:i am actually having problems since the sudden power cut and server restarts
the local mail server is having zimbra package installed
View 2 Replies
View Related