LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   [root@oprations Module]# make make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/r (https://www.linuxquestions.org/questions/fedora-35/%5Broot%40oprations-module%5D-make-make-c-lib-modules-2-6-18-1-2798-fc6-build-subdirs%3D-r-557972/)

korotania 05-31-2007 06:42 AM

[root@oprations Module]# make make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/r
 
problem in fedora core 6
[root@oprations Module]# make
make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/root/RT73_Linux_STA_Drv_1.0.2.0/Module modules
make: *** /lib/modules/2.6.18-1.2798.fc6/build: No such file or directory. Stop.
make: *** [all] Error 2

Junior Hacker 05-31-2007 02:21 PM

You need to install kernel-devel and kernel-headers packages which should be on the DVD/CD's. To do so, navigate to Fedora/RPMS directory on the disk from in a terminal, type:
Code:

ls kernel*
To see all packages starting with the name "kernel", install the kernel-devel and kernel-headers packages matching the name of your kernel with rpm install command as such:
Code:

rpm -ivh packagename.rpm
Use the full name of the package right down to the .rpm extension. To see exactly which kernel is installed, type: uname -r in a terminal. If rpm gives an error saying there are missing dependencies, it should also tell you what packages are missing, you need to install those first. You need some development packages like: gcc, gcc++, etc.

korotania 06-20-2007 06:17 AM

i'm using fedora core 6 & i'm installing openbravo, but the problem is, postgres port 5432 is closed. when i'm
# nmap 192.168.1.110 -p T:5432

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-06-20 16:38 IST
Interesting ports on 192.168.1.110:
PORT STATE SERVICE
5432/tcp closed postgres

Nmap finished: 1 IP address (1 host up) scanned in 0.213 seconds


i don't know now what to do & how to open this port. i'm using linus or fedora for the 1st time & please let me know where can i find command help with examples, b'cos this fedora i installed by help of internet. all the commands i was searching in my windwos & entering in terminal on fedora.

Junior Hacker 06-20-2007 11:26 PM

Here is a link to some different types of commands, the one for Linux is "Bash", just hit that bash arrow to go to it's page.
http://www.ss64.com/index.html

korotania 06-21-2007 06:15 AM

but u have not gievn me the solution for the last post, which is about port5432. how to open it. mysqld service is also not starting.

/sbin/service mysqld restart -u root
Stopping MySQL: [FAILED]
Initializing MySQL database: Neither host 'localhost' nor 'localhost' could be looked up with
/usr/bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
[FAILED]

Tinkster 06-21-2007 06:31 PM

Is postgres up and running to begin with?

ps -ef | grep post

Was it told to listen on any interfaces?
grep -i listen /path/to/postgresql.conf


Cheers,
Tink

korotania 06-22-2007 01:45 AM

postgres is running but can't connect port 5432 with it.
when i'm entering:-

# ps -ef | grep post

postgres 4278 1 0 11:19 ? 00:00:00 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
postgres 4280 4278 0 11:19 ? 00:00:00 postgres: logger process
postgres 4282 4278 0 11:19 ? 00:00:00 postgres: writer process
postgres 4283 4278 0 11:19 ? 00:00:00 postgres: stats buffer process
postgres 4284 4283 0 11:19 ? 00:00:00 postgres: stats collector process
root 4897 3824 0 11:59 pts/2 00:00:00 grep post

this is it.

when i'm entering this, it is not showing port 5432 with postgres.

]# nmap 192.168.1.110
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-06-22 12:07 IST
Interesting ports on 192.168.1.110:
Not shown: 1668 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
631/tcp open ipp
830/tcp open unknown
862/tcp open unknown
942/tcp open unknown
2049/tcp open nfs
5900/tcp open vnc
6000/tcp open X11
8009/tcp open ajp13
8080/tcp open http-proxy

Nmap finished: 1 IP address (1 host up) scanned in 1.845 seconds.

and when i'm entering:-

# nmap 192.168.1.110 -p T:5432

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-06-22 12:11 IST
Interesting ports on 192.168.1.110:
PORT STATE SERVICE
5432/tcp closed postgres

Nmap finished: 1 IP address (1 host up) scanned in 0.119 seconds


please help.

Tinkster 06-22-2007 03:12 PM

Same again ...

Was it told to listen on any interfaces?
grep -i listen /path/to/postgresql.conf





Cheers,
Tink


All times are GMT -5. The time now is 11:22 PM.