Ubuntu Installation :: Clamd Error On Start - Unable To Execute Setgroups
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
ADVERTISEMENT
Apr 15, 2010
I try to start clamd service since I found "PROCS CRITICAL: 0 processes with command name 'clamd'" from nagios. so I check at its log file at "tail /home/clamav/logs/clamd.log" it said that log file exceeding maximum limit so I try to rotate log by
pico /root/123/etc/logrotate.d/clamd
/home/clamav/logs/clamd.log {
rotate 12
[code]...
View 2 Replies
View Related
Apr 7, 2010
Clamd on my CentOS latest stable box takes an age to start.s in, well over half an hour.Two clamd processes get started, each of which has a VIRT of about 220m. Load average goes through the roof, values from 6-8+.The server is a bit weedy (190MB RAM, processor I forgot), but I didn't have these problems before. They seemed to arise after running freshclam to update definitions.
View 1 Replies
View Related
Sep 30, 2010
I was attempting to setup Oracle 11g on my system using these steps: [URL] had to stop and shut down after the third "segment" of commands:
Quote:
root@luan-laptop:~# cd /bin
root@luan-laptop:/bin# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2010-20-04 21:33 /bin/sh -> dash
[code]....
View 2 Replies
View Related
Apr 16, 2010
This started happening sometime yesterday afternoon on a server that's been trouble free for years.
My Ubuntu update is scheduled to run every month on the 5th, so this was roughly 10 days after that. So it seems to me it's not update related. The only thing I've done on the server lately is update a spamassassin rule which required an amavis restart. That was done earlier in the week.
I've already reviewed issues at [url] and all the conditions are correct for the more recent How to.
I can also confirm that, in fact, /var/run/clamav/clamd.ctl does not exist.
View 7 Replies
View Related
Dec 4, 2010
I was upgrading from 10.04 to 10.10 but my laptop battery went down so the installation did not ended up correctly.
When trying to reboot now, the system is not able to start correctly. No desktop, no icons... nothing.
Starting in recovery mode is impossible too.
Now I am running with live cd.
View 9 Replies
View Related
Jun 12, 2010
I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also
/var/log/boot.log
Code:
fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory
[code]....
Now I am using Live CD.
View 3 Replies
View Related
Nov 15, 2010
Installing chromium-browser on maverick, i get code...
View 2 Replies
View Related
Sep 27, 2010
I'm getting this error when restarting clamav-daemon:clamd libClamAV Error: cli_dbgets: Line too long for provided bufferThis happened on two systems today after I upgraded via apt. Versions used: Debian Lenny w/ clamav-daemon 0.96.3+dfsg-1~volatile1Has anyone seen this and know what to do? clamd seems to be running, and the
View 1 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
Sep 17, 2010
I have a DBA that needs to be able to do a "setgroups" on Linux. He had the functionality on AIX but now we're migrating to red hat. In-case you don't know the setgroups command in AIX; it allows users to drop groups that they belong to for that login session. He wants to be able to do this so that he can drops groups for testing. Does anyone know of any equivalent commands to setgroups or another way of dropping groups for that session and not permanently?
View 1 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
Jul 16, 2010
I had a problem on ubuntu when running "sudo apt-get dist-upgrade" and wanted to report how I solved it. Hopefully this helps anybody with similar problems.
I always got the error message:
Code:
The problem is in libxml-sax-perl.postinst which does not seem to be executable.
I did not install any perl packages manually by cpan and found the solution in http://ubuntuforums.org/archive/inde...t-1342009.html where it was only one part of a bigger problem.
I created a backup file (always a good idea) of my libxml-sax-perl.postinst:
Code:
I deleted the old file:
Code:
Created a new file:
Code:
With the following content (copied from the link mentioned above):
Code:
View 1 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
Sep 22, 2010
I have upgraded from Centos version 4.x to 5.5 and my installation of UGS NX 6.0 was installed under Centos 4. NX was working fine in Centos 4, but when I try starting it under Centos 5, I get the following:
ERROR: unable to start NX Check: X windows is running, :0.0 is valid, and X display has been authorized on :0.0.
View 4 Replies
View Related
Jul 22, 2011
I have centos 5.3 installed, while restarting httpd service I get error starting http:/bin/bash line 1 9941 segmentation fault /usr/sbin/httpd. If I stop httpd service and start it will start but if make service httpd restart it give above error.
View 1 Replies
View Related
Jun 8, 2010
Suddenly my machine not working under run level 5 and it seems to be problem with xserver and it is saying that "in last 90 seconds xserver restarted 6 times and unable to start" and then just giving blank screen.So i changed the run level to 3 and using startx command i am managing to work now.
View 2 Replies
View Related
May 1, 2010
I'm not able to successfully start a KDE session(SLAX), check out the error, Code: xauth: creating new authority file /root/.serverauth.7378
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
[code]....
View 9 Replies
View Related
Oct 5, 2010
In centos 5.3 i am unable to start sshd service shows error starting sshd :/etc/init.d/sshd:line102"7182 illegal instruction $sshd$ option
Same error while starting the httpd service.
View 17 Replies
View Related
Jul 11, 2010
I was trying to install Ubuntu 10.04 on my Sony VAIO Laptop, for the full specs, it's here. I have Windows 7 Ultimate 64-bit, I downloaded the latest version of Wubi. I copied the Wubi executable to the directory where I downloaded the ISO file of Ubuntu 10.04 (32-bit). Everything went fine, I was able to install it properly. Then I after restarting my computer and selecting Ubuntu on the Boot Menu, the only thing that I can see is just a blank screen. I tried hard rebooting a lot of times and still, nothing happens.
what is the possible solution to the "blank screen" issue that I'm experiencing?
View 3 Replies
View Related
Mar 10, 2010
I had some command lines that I want to execute them with the server goes up. how can I do that?
View 2 Replies
View Related
Sep 10, 2010
I am configuring my Apache Server to enable checking CA Revocation List, and my Configuration lists as following :
Code:
SSLCARevocationFile /etc/httpd/confi.d/ssl.crt/CRL1.crl
But the server can not start, and the log says:
Code:
Unable to configure X.509 Storage for certificate
If I try this command to view content of my CRL file :
Code:
openssl crl -text -in CRL1.crl -noout
the console shows :
Code:
error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib:647:Expecting: X509 CRL
I think there is something wrong with my CRL file, such as the file format.Is there any requirement to the CRL file? What can I do to enable this CRL file checking?
View 2 Replies
View Related
Sep 27, 2010
I've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.
I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.
View 2 Replies
View Related
Jan 21, 2010
I downloaded v9.1 and chose to install it within Windows (XP). It seemed to install OK, but when the installation was complete and the machine rebooted, I chose Ubuntu on the boot screen, but all I got was the following message "GNU GRUB v1.97 beta4 - minimal BASH-like editing is supported ... etc" and an input line " sh-grub> " What's happening, and how do I get by this to run Ubuntu? This is my first attempt with Linux, and I can honestly say, I am not too impressed. Now I have a menu on booting asking if I want XP or Ubuntu. Ubuntu wont boot, so, how can I repair or how can I get rid of this boot menu to return my computer to 'as it was' before
View 5 Replies
View Related
May 3, 2010
I have downloaded 64bit desktop CD Iso installer form ubuntu site. when i boot the live CD, i get the first black screen of keyboard and man symbols at the bottom. then the ubuntu splash screen and it is stuck there for ever. also my HDD activity is over since no CD derive blinks and HDD led blinks. if i press CTRL+ALT+backspace i get a text screen with several error messes most of them input output error and errors like unable to create /tmp. I will attach a pic shortly..
View 4 Replies
View Related
Oct 12, 2010
I just downloaded and burned Ubuntu 10.10 32-bit to install as a dual boot on my Dell Optiplex GX270 with WinXP and 256mb RAM. I boot into the CD and I select install now, and then an error message pops up saying it failed to start the installation, and that it is going to start a graphical interface so you can investigate the problem and try again. I really would like to install Ubuntu on my desktop because its much faster than Windows XP and I can't use wubi because of the 256mb ram.
View 4 Replies
View Related
Feb 1, 2011
I have just run a fresh install of Kubuntu on an old PC to try it out for a few weeks. The Boot CD works fine and there is a GUI for the install. It seems to detect all the devices without a hitch. But when the PC reboots it boots into command line. When I try to run startx it gives me "AddScreen/ScreenInit failed for driver 0"I looked up the x.org website and in the FAQ Here it says "This kind of problem typically occurs when you're using a big monitor with an old graphics card. You can solve it by deleting some of the highest resolutions of the deepest colour mode in the Screen section of your xorg.conf, or even the whole last Display subsection."I am using an old pc with old graphics card with a 25inch HP LP2465 monitor. in my /etc/X11 there is only a xorg.cof.failsafe file. anyone any ideas on how to do this. The full error is attached in a very bad screenshot.
View 2 Replies
View Related
May 16, 2011
So I'm currently On Windows XP professional and want to dual-boot with Ubuntu....
Right, so I downloaded first the ISO for ubuntu here: [URL]
And then proceeded to downloading the windows installer here: [URL]
However after "Successfully" Installing, I do not get a choice to boot from ubuntu on start-up...
I have tried several things;
Re-installing - To no effect Downloading EasyBCD, which tells me that I have No BCD file, and when I opened my Boot.ini file, it was blank... Also, there is no folder C:Boot....
Now I don't know what to do and am scared to re-start just incase it doesn't boot to anything...
View 8 Replies
View Related
May 4, 2010
how can I execute pppoe-start on Slackware during startup or reboot? What is the proper way? Should I add a script on rc.d directory?
View 2 Replies
View Related
Apr 29, 2011
My installation of IBM5250 was successful in Natty but I am unable to start the emulator. Below is the error I am getting.
Ibm5250
5250: [ INFORMATIONAL ]: Build Date: March 2008 (1.6).
5250: [ DEBUG ]: RegistryInfo::WhichKeyboard(): Could not open file /etc/X11/XF86Config or /etc/X11/xorg.conf.
5250: [ ERROR ]:
***** There are no fixed or scalable fonts unavailable *****
***** Session not starting. Please verify that the 75 and 100 DPI *****
***** fixed fonts are installed.. *****
***** The xlsfonts -fn "*-*-medium-r-normal--*-*-*-*-m-*" command *****
***** will list the available fonts. *****
Segmentation fault
I installed all the dependencies like (libmotif3,libstdc++5,Ms fonts,)
View 2 Replies
View Related