Questions tagged [slackware]
Slackware Linux is a complete 32-bit multitasking "UNIX-like" system. It's currently based around the 2.6 Linux kernel series and the GNU C Library version 2.7 (libc6). http://slackware.com
60
questions
24
votes
2
answers
30k
views
Setting IPv4 as preferred protocol over IPv6
I'm using both IPv6 and IPv4 in a LAN network containing Slackware 13.0 boxes. How can I set IPv4 as preferred protocol on the workstations in this network? I want to use IPv6 either explicitly or ...
10
votes
3
answers
13k
views
/var/lib/nginx/client_body/0000000011 failed (13: Permission denied) with node.js
I'm using node.js with Nginx as web server running on Slackware 14.1.
I created a page that uploads a file. In my development machine (Debian like) it works fine, but in production (Slackware ...
7
votes
1
answer
12k
views
I had a power outage. Now MySQL's lock file won't go away. What do you suggest?
I do freelance IT consulting for various clients, both in Toronto, Canada, and worldwide.
A client recently experienced a power failure. Now they've been having various problems with a Slackware 12....
4
votes
3
answers
8k
views
How do I change the bg color of chmod 777 directories in tcsh?
On my MacBook Pro, I have iTerm and use the (black background) Pastel color set. World writable directories show up with a yellow background behind grey text. This I can live with, since the grey is ...
4
votes
1
answer
5k
views
Symlink - Permission Denied
I'm facing an interesting problem with plenty of Permission Denied outputs when using SymLinks
Linux: Slackware 13.1
Directory with Symlink:
root@Tower:/var/lib# ls -lah
drwxr-xr-x 8 root ...
4
votes
1
answer
763
views
crontab fails to set variable before job
My crontab looks like:
root@slack13x64:~# crontab -l -u dnd
# some variables
SHELL=/bin/bash
PATH=/bin:/usr/bin:/usr/local/bin:/home/dnd/bin
MAILTO=root
# Actual jobs
40 20 * * * /home/dnd/cron_jobs/...
3
votes
9
answers
4k
views
64bit or 32bit Linux system?
I have a server that has 4GB of RAM. On it, I have installation of 32bit Slackware Linux 12.1. Of course, it is not using all of 4GB of RAM. I'd soon like to increase the RAM to 8GB, and am looking ...
3
votes
1
answer
2k
views
Linux udev persistent net rule
I have a Linux system (Slackware Linux 13.0) with two network interfaces. Let's call them NIC0 and NIC1
My goal is to make NIC0 to appear as eth0 in the system.
I know this can be achieved via udev ...
2
votes
4
answers
494
views
Remote viewing on a Linux server?
I have a Slackware Linux server that doesn't have a monitor. It doesn't run any GUIs.
Is there a way to remotely access the screen? I always use SSH, but there are times where the SSH services fails ...
2
votes
2
answers
2k
views
Slackware: Chef or puppet?
Do chef or puppet have any slackware support? Are any slackware admins using either of these? What has your experience with them been and which one would you recommend to someone who is maintaining ...
2
votes
2
answers
1k
views
How to make client C and B receive DHCP from client A?
Using VMWare Workstation 7.1, Client A is my Linux server with Slackware 13.1, I have set it up as bridge so i can access it from my external network, Client B will be a Windows XP and C will be a ...
2
votes
1
answer
616
views
Set generic iptables rules?
This may be a really dumb question but how can you open a port on multiple interfaces without defining the interfaces? For example how do I open port 22 on all interfaces?
On my machine I have some ...
2
votes
2
answers
2k
views
Java's 'tnameserv' takes 3+ minutes to be "Ready", why?
I'm trying to help a dev of an app I'd like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking over 3 minutes to become ready after ...
2
votes
3
answers
2k
views
Slackware scripts started at boot time need env vars from /etc/profile.d/* to be set
Hey, I have this problem, that scripts started at boot time from rc.local don't have environment variables (defined at /etc/profile.d/*) set at the time of their startup. What should I do ?
"su - ...
2
votes
1
answer
493
views
Samba 3.3 or later on Slackware 12 - how do I make this happen?
I'm trying to upgrade the Samba server on a Slackware 12 box to serve as PDC for Windows 7 32bit machines (it now has a 3.0.3 and does the job for Win XP machines, but 7 refuses to join the domain - I'...
1
vote
2
answers
925
views
Why is there a /etc/init.d/mysql file on this Slackware machine? How could it have gotten there? [closed]
A client of my IT-consulting service owns a web-development shop. He's been having problems with a Slackware 12.0 server running MySQL 5.0.67. The machine was set up by the client's sysadmin, who left ...
1
vote
2
answers
506
views
'ps' on Slackware works weird, why does it show the process multiple times?
We have an application deployed on some different platforms, Windows and Linux. It is composed of three java processes.
On Linux, when we want the process id to kill and restart one of them, we do:
...
1
vote
1
answer
7k
views
KVM boot from an iso?
I'm having trouble with a hosting company that can't seem to install a slackware-13.1.iso image O.o
I'm not sure if they're just trying to fool me around or it's really possible.
I would appreciate ...
1
vote
2
answers
198
views
Supress 3Ware warnings in syslog
I'm trying to suppress the following warnings in my syslog:
Oct 13 04:43:33 Winston kernel: 3w-sas: scsi1: ERROR: (0x03:0x0101): Invalid command opcode:opcode=0x85.
Oct 13 04:43:33 Winston kernel: md: ...
1
vote
1
answer
670
views
Shorewall - Allow Remote Client to Ping the Internet
My network address is 192.168.5.0. My host machine is 192.168.5.1 and my client machine is 192.168.5.2. Currently, my client is unable to use the internet browser and even ping the internet. The ...
1
vote
3
answers
2k
views
MKINITRD LVM Slackware
Trying to install Slackware 13.1 on a Dell 2950. I have a Perc5 RAID card and my kernel sees it as /dev/sda for the raw device.
I've created 3 partitions:
/dev/sda1 -- /boot partition type=82
/...
1
vote
1
answer
184
views
mpstat on slackware 13.0 shows no utilization
As the title says, the mpstat command, executed on Slack 13.0 continuously shows almost no processor utilization of any sort. In fact none of the output ever seems to change at all. The system is dual ...
1
vote
3
answers
933
views
Is there a way to reduce the avarage time it takes to fsck a device?
I don't want to avoid doing a fsck, but I would like to know if there is a better approach so it doesn't take ages to complete the process when it runs after a reboot 180 days later.
If you had it ...
1
vote
1
answer
568
views
Apache unknown request from unknown user
I was looking at my homemade server running apache 2.2.10 on it and this is what I saw:
**.**.**.** - - [10/Nov/2010:07:05:14 +0200] ">\x03\xb6@\x1b\xbdg\x9e\xe9a)\x1a\xd8\x10U\x0f \xd2\xa4zj\x02q\...
1
vote
2
answers
272
views
How to verify the users connected and how many requests they are doing on MySQL?
How can I check on my MySQL server the follow:
what accounts have an open connection to the mysql-server ?
how often they request a new connection ?
how many requests they usually do per connection ?
...
1
vote
1
answer
2k
views
Install PHP both as CGI and CLI
I'm trying to set up development environment for some old projects in PHP 5.1.4. It needs to run as CGI (or fastcgi) under apache and I would like to have cli binary. My configure options are:
./...
1
vote
1
answer
2k
views
Slackware and SELinux
I would like to learn and play with SELinux on Slackware, my distro of choice. The kernel already includes SELinux code, so that is not a problem. Slackware does not ship with PAM, and I would prefer ...
1
vote
2
answers
6k
views
Squid Proxy Server Error : Upon Starting
I got this error upon starting Squid Proxy Server using the command sudo squid -z
fatal: ipc::mem::segment::create failed to shm_open(/squid-cf__metadata.shm): 13 permission denied
How shall I fix ...
1
vote
1
answer
249
views
Execute script after removepkg in Slackware
I've created a slackware build script so I could build a specific package and then install it on a couple of servers running identical versions. I'm aware you could use doinst.sh to do things after ...
1
vote
1
answer
411
views
Slackware 10.1 hangs at boot with kernel 3.x
In Slackware 10.1, what happens between rc.S and rc.M during boot?
Trying to boot kernel 3.x (tried 3.4 and 3.10) on this box and it hangs right after rc.S finishes execution. 2.6 kernels boot up just ...
1
vote
0
answers
377
views
How create RAID 1 on working Slackware 14.2?
I use Slackware 14.2 (with kernel 4.4.14-smp)
on sda and I'm trying to create the RAID 1 with additional sdb. I'm using the VM VirtualBox.
First, I have cleaned the sdb:
dd if=/dev/zero of=/dev/sdb ...
1
vote
1
answer
7k
views
How can VM and Docker bridge traffic be routed through a pfSense VM?
I think this question is a result of me not being able to wrap my head around Docker networking and not being super great at Slackware. It seems like there should be a simple solution; I'm just ...
1
vote
0
answers
483
views
MariaDB 5.5 on Slackware 14 need to change to new password format
Strangely, this worked fine for a while, but my computer rebooted recently and now my php apps won't work:
mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an ...
1
vote
0
answers
189
views
SAS/SCSI Errors in Syslog: Kernel FAILED
I have a Dell 2950 2U rackmount server with 3 146GB SAS drives in a RAID array, running Slackware 10.2 (an old version, I know). Recently I am seeing these errors in my /var/log/syslog repeating very ...
1
vote
2
answers
174
views
MySQL needed to download in order to compile from source?
I have Slackware 13.1 and due to some bugs on the current version of the MySQL it comes with, I have to upgrade it. Since Slackware does not have 5.5 and I am upgrading I have decided to go with 5.5.x....
1
vote
1
answer
565
views
Installing Redmine with apache in localhost slackware 13.1
I just installed Redmine in slackware 13.1 I followed the instructions and test of the installation works fine using webrick:
ruby script/server webrick -e production
However, I now want to use it ...
0
votes
1
answer
2k
views
Where does Slackware's DHCP client store lease information?
This is a followup to this question.
I eventually got my hands on a Slackware 12.1 machine with a dynamically-assigned IP address. It turns out it uses neither dhclient nor pump to get the address, ...
0
votes
3
answers
358
views
Slackware 12 - installed cairo but cannot be seen
I wanted to install gtk+ 2.16.5, so i also installed glib, pango and cairo. All seemed to work well, except for cairo.
At first I got an error while configuring:
Requested 'cairo >= 1.6' but ...
0
votes
2
answers
1k
views
ntpd server closing unexpectedly [slackware 14.1 64bit linux]
I have an ntpd server running on to provide time for all pc's inside my office.
lately it has started switching off unexpectedly.
there is nothing in the logs:
30 Aug 02:25:43 ntpd[1590]: peers ...
0
votes
1
answer
6k
views
Permission Denied in Squid Proxy Server
I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z:
...
0
votes
1
answer
2k
views
Configure Squid Proxy Server to Use e2Guardian in Blocking Specific Sites
I have successfully installed and configured Squid Proxy Server. I have to block site like Facebook.com using e2guardian. Unfortunately, I could not find any reliable comprehensive documentation how ...
0
votes
1
answer
2k
views
Diskless node. Unable to mount root fs via NFS
Server: CentOS 7
NFS root filesystem for client and Kernel: Slackware 14.1
I enabled "Root file system on NFS" and "IP: kernel level autoconfiguration" with "DHCP,BOOTP,RARP" support, recompiled the ...
0
votes
1
answer
228
views
Router in half bridge floods arp cache
I've set up a Slackware (14.0) box as a gateway for my adsl connection. I have a modem set up in half bridge mode between the NIC and the phone line, and the interface takes up the dynamically ...
0
votes
1
answer
371
views
Compiling FastCGIWrap fails on slackware (nginx cgi support)
I'm currently trying to get nginx to work with cgit which uses cgi.
I know nginx doesn't support cgi directly but it appears you can support it indirectly via FastCGIWrap.
The link above is pretty ...
0
votes
1
answer
9k
views
Apache2 on Slackware: VirtualHost config - connection refused on port 8080
I am trying to configure virtual hosts on a Slackware server and have run into a glitch.
When I browse to localhost or 127.0.0.1 I get:
Forbidden
You don't have permission to access / on this ...
0
votes
1
answer
2k
views
postfix: smtpd configured to allow mail to/from local domain only?
I have an email server set up for our company's domain. We want to be able to receive our domain-based mail but we would like to be able to send email to ANY domain through the server as well. Using ...
0
votes
5
answers
6k
views
Lost connection to MySQL
I'd installed Apache, mysqld under Slackware. Apache working.
But script:
$dblocation="127.0.0.1";
$dbuser="root";
$dbpasswd="unfriendly_possum";
$dbcnx=mysql_connect($dblocation, $...
0
votes
2
answers
1k
views
Upgrading Slackware 12.2 to 13.0, any gotchas?
I'm gradually upgrading a Slackware 12.0 to a 13.0.
Using slapt-get I've done it gradually, just in case. So I've done 12.0 -> 12.1, 12.1 -> 12.2.
I've sorted out that I need to manually upgrade ...
0
votes
1
answer
140
views
It is possible to be informed that libvirt is attempting to shut down a guest?
Is it possible through some hook or callback mechanism for my script or executable running on the host to learn that libvirt is about to or very recently has sent a command for a guest to shut itself ...
0
votes
0
answers
362
views
ClamAV Anti-Virus not Classifying Virus Emails as Virus
I have installed Sendmail as my SMTP mail server, SpamAssassin as Spam Classifier and ClamAV Anti-Virus. I tested out sending my server a virus email eicar.txt
Now I am receiving the virus email in ...